--- elwix/config/ELWIX_ALFA_N2 2014/01/14 20:03:54 1.1.2.3 +++ elwix/config/ELWIX_ALFA_N2 2014/01/15 12:11:05 1.1.2.6 @@ -6,7 +6,7 @@ # machine mips mips -ident ELWIX_ALFA_NX +ident ELWIX_ALFA_N2 # XXX The default load address in the Uboot environment is 0x80010000 makeoptions KERNLOADADDR=0x80050000 options HZ=1000 @@ -16,15 +16,15 @@ options HWPMC_HOOKS options AR71XX_REALMEM=32*1024*1024 # It's UBOOT, not Redboot - without this, things will hang at startup -options AR71XX_ENV_UBOOT +#options AR71XX_ENV_UBOOT #options AR71XX_ATH_EEPROM # Fetch EEPROM/PCI config from flash #options ATH_EEPROM_FIRMWARE # Use EEPROM from flash #device firmware # Used by the above -device etherswitch +#device etherswitch #device arswitch -hints "ALFA_NX.hints" +hints "ELWIX_ALFA_N2.hints" include "../atheros/std.ar71xx" makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols @@ -35,8 +35,7 @@ options DDB options SCHED_4BSD #4BSD scheduler options INET #InterNETworking -# Can't do IPv6 - it just doesn't fit. -# options INET6 +options INET6 # options NFSCL #Network Filesystem Client options PSEUDOFS #Pseudo-filesystem framework options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions @@ -56,7 +55,8 @@ options FFS #Berkeley Fast # Support uncompress lzma rootfs device geom_uncompress options GEOM_UNCOMPRESS -options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\" +#options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\" +options ROOTDEVNAME=\"ufs:/dev/md0.uzip\" # PCI bus device pci @@ -65,8 +65,7 @@ device ar724x_pci # NVRAM U-Boot Environment -> Kernel environment device nvram2env -#options MD_ROOT # MD is a potential root device -#options MD_ROOT_SIZE=5120 +options MD_ROOT # MD is a potential root device #options NFSD # New Network Filesystem Server #options NFSCLIENT #Network File System client @@ -108,12 +107,11 @@ options ATH_DEBUG options ATH_ENABLE_11N options ATH_DIAGAPI -# device ath_hal +device ath_hal options AH_SUPPORT_AR5416 options AH_DEBUG options AH_DEBUG_ALQ -device ath_hal #option AH_SUPPORT_AR9130 # Makes other chipsets not function! device ath_rate_sample option AH_RXCFG_SDMAMW_4BYTES @@ -129,18 +127,22 @@ device arge #options ARGE_MDIO # Export an MDIO bus separate from arge #device miiproxy # MDIO bus <-> MII PHY rendezvous -#device usb +# USB devices - PB92 has EHCI only + +device usb options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order #options USB_DEBUG options USB_HOST_ALIGN=32 -#device ehci +device ehci # Mass storage device scbus -#device umass +device umass device da # Read MSDOS formatted disks +options GEOM_PART_BSD +options GEOM_PART_MBR options MSDOSFS # GPIO Bus @@ -159,7 +161,7 @@ device ar71xx_wdog # Serial device uart -device uart_ar71xx +#device uart_ar71xx # Network twiddling device loop