It looks the ARC BIOS has another limit which prevents loading
a kernel larger than 8MB (it is not emulated by gxemul BTW), so disable several devices in GENERIC and shrink RAMDISK kernel again by sprinkled "no" keywords etc.
This commit is contained in:
parent
d02a8caa63
commit
0fe756618b
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.10 2008/02/02 13:47:04 tsutsui Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2008/11/20 13:57:09 tsutsui Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
||||
|
@ -9,10 +9,6 @@ RAMDISK= ${RAMDISKDIR}/ramdisk.fs
|
|||
MDSETTARGETS= RAMDISK ${RAMDISK} -
|
||||
MDSET_RELEASEDIR= binary/kernel
|
||||
|
||||
# do not strip kernels, there's no space constraints here.
|
||||
MDSET_NOSTRIP.netbsd-RAMDISK=
|
||||
MDSET_NOSYMBOLS.netbsd-RAMDISK=
|
||||
|
||||
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: GENERIC,v 1.158 2008/11/12 12:35:56 ad Exp $
|
||||
# $NetBSD: GENERIC,v 1.159 2008/11/20 13:57:09 tsutsui Exp $
|
||||
#
|
||||
# GENERIC machine description file
|
||||
#
|
||||
|
@ -22,7 +22,7 @@ include "arch/arc/conf/std.arc"
|
|||
|
||||
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
|
||||
|
||||
#ident "GENERIC-$Revision: 1.158 $"
|
||||
#ident "GENERIC-$Revision: 1.159 $"
|
||||
|
||||
maxusers 32 # estimated number of users
|
||||
|
||||
|
@ -318,9 +318,9 @@ trm* at pci? dev ? function ? # Tekram DC-395/315 SCSI
|
|||
pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
|
||||
acardide* at pci? dev ? function ? # Acard IDE controllers
|
||||
#aceride* at pci? dev ? function ? # Acer Lab IDE controllers
|
||||
artsata* at pci? dev ? function ? # Intel i31244 SATA controller
|
||||
#artsata* at pci? dev ? function ? # Intel i31244 SATA controller
|
||||
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
|
||||
cypide* at pci? dev ? function ? # Cypress IDE controllers
|
||||
#cypide* at pci? dev ? function ? # Cypress IDE controllers
|
||||
hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
|
||||
optiide* at pci? dev ? function ? # Opti IDE controllers
|
||||
pdcide* at pci? dev ? function ? # Promise IDE controllers
|
||||
|
@ -343,7 +343,7 @@ fxp* at pci? dev ? function ? # Intel EtherExpress PRO
|
|||
gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet
|
||||
#hme* at pci? dev ? function ? # Sun STP2002-STQ
|
||||
#le* at pci? dev ? function ? # PCnet-PCI Ethernet
|
||||
lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
|
||||
#lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
|
||||
#mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet
|
||||
ne* at pci? dev ? function ? # NE2000-compatible
|
||||
#ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
|
||||
|
@ -356,12 +356,12 @@ sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
|
|||
#sk* at skc? # SysKonnect SK9821
|
||||
ste* at pci? dev ? function ? # Sundance ST-201 Ethernet
|
||||
#stge* at pci? dev ? function ? # Sundance/Tamarack TC9021
|
||||
ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet
|
||||
#ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet
|
||||
tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
|
||||
tlp* at pci? dev ? function ? # DECchip 21x4x and clones
|
||||
vge* at pci? dev ? function ? # VIA VT612X Gigabit Ethernet
|
||||
vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
|
||||
wi* at pci? dev ? function ? # Intersil Prism Mini-PCI
|
||||
#wi* at pci? dev ? function ? # Intersil Prism Mini-PCI
|
||||
wm* at pci? dev ? function ? # Intel 82543/82544 gigabit
|
||||
|
||||
#### MII/PHY support
|
||||
|
@ -372,7 +372,7 @@ brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
|
|||
ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs
|
||||
dmphy* at mii? phy ? # Davicom DM9101 PHYs
|
||||
exphy* at mii? phy ? # 3Com internal PHYs
|
||||
gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
|
||||
#gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
|
||||
glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
|
||||
gphyter* at mii? phy ? # NS83861 Gig-E PHY
|
||||
icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: RAMDISK,v 1.75 2008/02/02 04:25:54 tsutsui Exp $
|
||||
# $NetBSD: RAMDISK,v 1.76 2008/11/20 13:57:09 tsutsui Exp $
|
||||
#
|
||||
# memory disk based configuration file for MIPS R4x00 ARC Systems
|
||||
#
|
||||
|
@ -12,3 +12,78 @@ options MEMORY_DISK_SERVER=0 # no userspace md(4) support
|
|||
options MEMORY_DISK_ROOT_SIZE=5120 # size of memory disk, in blocks
|
||||
|
||||
makeoptions COPTS="-Os -mmemcpy" # generates smaller code than -O2, -O1
|
||||
|
||||
# shrink kernel since ARC BIOS seems to have 8MB limit
|
||||
options FFS_NO_SNAPSHOT
|
||||
|
||||
no options KTRACE
|
||||
no options NTP
|
||||
no options SYSVMSG
|
||||
no options SYSVSEM
|
||||
no options SYSVSHM
|
||||
no options P1003_1B_SEMAPHORE
|
||||
no options SYSCTL_INCLUDE_DESCR
|
||||
no options COMPAT_10
|
||||
no options COMPAT_11
|
||||
no options COMPAT_12
|
||||
no options COMPAT_13
|
||||
no options COMPAT_14
|
||||
no options COMPAT_ULTRIX
|
||||
no options EXEC_ECOFF
|
||||
|
||||
no file-system EXT2FS
|
||||
no file-system LFS
|
||||
no file-system FDESC
|
||||
no file-system KERNFS
|
||||
no file-system NULLFS
|
||||
no file-system OVERLAY
|
||||
no file-system PORTAL
|
||||
no file-system UMAPFS
|
||||
no file-system UNION
|
||||
no file-system TMPFS
|
||||
no file-system PTYFS
|
||||
|
||||
no options QUOTA
|
||||
no options NFSSERVER
|
||||
no options PPP_FILTER
|
||||
no options NETATALK
|
||||
no options MIIVERBOSE
|
||||
no options PCIVERBOSE
|
||||
no options SCSIVERBOSE
|
||||
|
||||
no lpt0 at jazzio?
|
||||
no ast0 at isa?
|
||||
no lpt0 at isa?
|
||||
|
||||
no hifn* at pci?
|
||||
no ubsec* at pci?
|
||||
|
||||
no pms* at pckbc?
|
||||
no wsmouse* at pms?
|
||||
|
||||
no ch* at scsibus?
|
||||
no ss* at scsibus?
|
||||
no uk* at scsibus?
|
||||
no uk* at atapibus?
|
||||
|
||||
no pseudo-device crypto
|
||||
no pseudo-device swcrypto
|
||||
|
||||
no pseudo-device raid
|
||||
no pseudo-device vnd
|
||||
no pseudo-device fss
|
||||
|
||||
no pseudo-device ipfilter
|
||||
no pseudo-device ppp
|
||||
no pseudo-device pppoe
|
||||
no pseudo-device tap
|
||||
no pseudo-device tun
|
||||
no pseudo-device gif
|
||||
no pseudo-device stf
|
||||
no pseudo-device vlan
|
||||
no pseudo-device bridge
|
||||
no pseudo-device agr
|
||||
no pseudo-device clockctl
|
||||
|
||||
no pseudo-device accf_data
|
||||
no pseudo-device accf_http
|
||||
|
|
Loading…
Reference in New Issue