diff options
author | sam <sam@FreeBSD.org> | 2008-12-17 00:53:59 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-12-17 00:53:59 +0000 |
commit | d31587da9431cef6ad76c501d06a3a7af00409e6 (patch) | |
tree | 5f4049fd89cbb713f85ac5477705241197486569 | |
parent | 02993c5ba0393caa0e4d20055c2d50d439aeb04a (diff) | |
download | FreeBSD-src-d31587da9431cef6ad76c501d06a3a7af00409e6.zip FreeBSD-src-d31587da9431cef6ad76c501d06a3a7af00409e6.tar.gz |
seems I never committed these
-rw-r--r-- | sys/arm/conf/CAMBRIA | 149 | ||||
-rw-r--r-- | sys/arm/conf/CAMBRIA.hints | 54 |
2 files changed, 203 insertions, 0 deletions
diff --git a/sys/arm/conf/CAMBRIA b/sys/arm/conf/CAMBRIA new file mode 100644 index 0000000..d131f36 --- /dev/null +++ b/sys/arm/conf/CAMBRIA @@ -0,0 +1,149 @@ +# CAMBRIA -- Gateworks Cambria 235x boards +# kernel configuration file for FreeBSD/arm +# +# For more information on this file, please read the handbook section on +# Kernel Configuration Files: +# +# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html +# +# The handbook is also available locally in /usr/share/doc/handbook +# if you've installed the doc distribution, otherwise always see the +# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the +# latest information. +# +# An exhaustive list of options and more detailed explanations of the +# device lines is also present in the ../../conf/NOTES and NOTES files. +# If you are in doubt as to the purpose or necessity of a line, check first +# in NOTES. +# +# $FreeBSD$ + +machine arm +ident CAMBRIA + +include "../xscale/ixp425/std.ixp435" +# NB: memory mapping is defined in std.avila +include "../xscale/ixp425/std.avila" +options XSCALE_CACHE_READ_WRITE_ALLOCATE +#options ARM_USE_SMALL_ALLOC +#To statically compile in device wiring instead of /boot/device.hints +hints "CAMBRIA.hints" # Default places to look for devices. + +makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols +makeoptions CONF_CFLAGS=-mcpu=xscale +makeoptions MODULES_OVERRIDE="" +#options HZ=1000 +options HZ=100 +options DEVICE_POLLING + +# Debugging for use in -current +options KDB +#options GDB +options DDB #Enable the kernel debugger +options INVARIANTS #Enable calls of extra sanity checking +options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS +#options WITNESS #Enable checks to detect deadlocks and cycles +#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed +#options DIAGNOSTIC + +options SCHED_4BSD #4BSD scheduler +#options PREEMPTION +options INET #InterNETworking +options FFS #Berkeley Fast Filesystem +options SOFTUPDATES #Enable FFS soft updates support +options NFSCLIENT #Network Filesystem Client +options NFS_ROOT #NFS usable as /, requires NFSCLIENT +options BOOTP +options BOOTP_NFSROOT +options BOOTP_NFSV3 +options BOOTP_WIRED_TO=npe0 +options BOOTP_COMPAT + +#options VERBOSE_SYSINIT +options VERBOSE_INIT_ARM + +#device saarm + +device pci +device uart + +# I2C Bus +device iicbus +device iicbb +device iic + +device ixpiic # I2C bus glue +device ixpwdog # watchdog timer +device ds1672 # DS1672 on I2C bus +device ad7418 # AD7418 on I2C bus + +device cambria_fled # Font Panel LED on I2C bus +device cambria_led # 8-LED latch + +device ata +device atadisk # ATA disk drives +device avila_ata # Gateworks CF/IDE support + +device npe # Network Processing Engine +device npe_fw +device firmware +device qmgr # Q Manager (required by npe) +device miibus # NB: required by npe +device ether +device bpf + +device pty +device loop +device if_bridge + +device md +device random # Entropy device + +# NB: 2 USB 2.0 ports standard +device usb +options USB_DEBUG +device ohci +device ehci +device ugen +device umass +device scbus # SCSI bus (required for SCSI) +device da # Direct Access (disks) + +# Wireless NIC cards +device wlan # 802.11 support +options IEEE80211_DEBUG +device wlan_wep # 802.11 WEP support +device wlan_ccmp # 802.11 CCMP support +device wlan_tkip # 802.11 TKIP support +device wlan_xauth + +device ath # Atheros pci/cardbus NIC's +options ATH_DEBUG +options ATH_DIAGAPI +#options ATH_TX99_DIAG +device ath_rate_sample # SampleRate tx rate control for ath + +options AH_DEBUG +#options AH_ASSERT +options AH_PRIVATE_DIAG +#device ath_ar5210 +#device ath_ar5211 +# +device ath_ar5212 +#device ath_rf2413 +#device ath_rf2425 # NB:supports 2417 too +#device ath_rf5111 +device ath_rf5112 +device ath_rf5413 +# +#device ath_ar5416 +#options AH_SUPPORT_AR5416 # NB: for 11n descriptor format +#device ath_rf2133 +#device ath_ar9160 +#device ath_ar9280 +#device ath_rf9280 +#device ath_ar9285 + +device ural +device zyd +device wlan_amrr diff --git a/sys/arm/conf/CAMBRIA.hints b/sys/arm/conf/CAMBRIA.hints new file mode 100644 index 0000000..208029f --- /dev/null +++ b/sys/arm/conf/CAMBRIA.hints @@ -0,0 +1,54 @@ +# $FreeBSD$ + +# +# Device wiring for the Gateworks Cambria 2358. +# + +# DBGU is unit 0 +hint.uart.0.at="ixp0" +hint.uart.0.addr=0xc8000000 +hint.uart.0.irq=15 +hint.uart.0.flags=0x10 + +# NB: no UART1 on ixp436 + +# NPE Hardware Queue Manager +hint.ixpqmgr.0.at="ixp0" + +# NPE wired NIC's, requires ixpqmgr +hint.npe.0.at="ixp0" +hint.npe.0.npeid="C" +hint.npe.0.mac="C" +hint.npe.0.mii="C" +hint.npe.0.phy=1 +#hint.npe.1.at="ixp0" +#hint.npe.1.npeid="A" +#hint.npe.1.mac="A" +#hint.npe.1.mii="C" +#hint.npe.1.phy=2 + +# CF IDE controller +hint.ata_avila.0.at="ixp0" + +# Front Panel LED +hint.fled.0.at="iicbus0" +hint.fled.0.addr=0x5a + +# Octal LED Latch +hint.led_cambria.0.at="ixp0" + +# Analog Devices AD7418 temperature sensor +hint.ad7418.0.at="iicbus0" +hint.ad7418.0.addr=0x50 + +# Dallas Semiconductor DS1672 RTC +hint.ds1672.0.at="iicbus0" +hint.ds1672.0.addr=0xd0 + +# USB is part of the chip +hint.ehci.0.at="ixp0" +hint.ehci.0.addr=0xcd000000 +hint.ehci.0.irq=32 +hint.ehci.1.at="ixp0" +hint.ehci.1.addr=0xce000000 +hint.ehci.1.irq=33 |