1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Default to booting off the SD card. It is more useful, and a full

FreeBSD/arm installworld install is only 170MB.  The smallest SD card
I could find at the store today was 512MB (and it was only $10 after
rebate), with a 2GB card for as low as $25.00...

Now that the IIC stuff has been sorted out, include that as well.
Include hints for the icee 16kb 16-bit i2c device.  It should include
info about the temperature sensor as well, but that driver isn't quite
ready.

Add bpf for dhclient happiness.

MFC After: 1 week
This commit is contained in:
Warner Losh 2007-03-23 23:47:59 +00:00
parent 66c7612a8d
commit 657c256c31
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167858
2 changed files with 32 additions and 5 deletions

View File

@ -24,6 +24,7 @@ ident KB920X
include "../at91/std.kb920x"
#To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" #Default places to look for devices.
hints "KB920X.hints"
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
options DDB
@ -38,12 +39,12 @@ options FFS #Berkeley Fast Filesystem
#options UFS_DIRHASH #Improve performance on big directories
#options MD_ROOT #MD is a potential root device
#options MD_ROOT_SIZE=4096 # 3MB ram disk
#options ROOTDEVNAME=\"ufs:md0\"
options ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
options NFSCLIENT #Network Filesystem Client
#options NFSSERVER #Network Filesystem Server
options NFS_ROOT #NFS usable as /, requires NFSCLIENT
options BOOTP_NFSROOT
options BOOTP
#options NFS_ROOT #NFS usable as /, requires NFSCLIENT
#options BOOTP_NFSROOT
#options BOOTP
#options MSDOSFS #MSDOS Filesystem
#options CD9660 #ISO 9660 Filesystem
@ -79,6 +80,16 @@ device lxtphy
device mem # Memory and kernel memory devices
device md
# device at91_twi # TWI: Two Wire Interface
device at91_twi # TWI: Two Wire Interface
device at91_spi # SPI:
device spibus
# MMC/SD
device at91_mci
device mmc
device mmcsd
# iic
device iic
device iicbus
device icee
device bpf

16
sys/arm/conf/KB920X.hints Normal file
View File

@ -0,0 +1,16 @@
# $FreeBSD$
#
# Kwikbyte KB9202A description (will also work for 9202 and might work with
# a boot loader tweak on the KB9202B). For the moment, all we list is the
# eeprom. The temperature sensor isn't listed.
#
# boot eeprom at 'default' address of 0xa0
hint.icee.0.at="iicbus0"
hint.icee.0.addr=0xa0
hint.icee.0.type=16
hint.icee.0.size=16384
hint.icee.0.rd_sz=256
hint.icee.0.wr_sz=16
# XXX add temperature sensor