577d3885b9
bits. The ROUERSTATION and RSPRO variants contain: * the board specific bits (eg the RTC for RSPRO, later on it'll include the GPIO/LED definitions); * the boot specific bits (eg, on-board flash, usb flash, etc). For now the AR71XX_BASE file contains the common board config, drivers and net80211/ath wireless drivers. I'll follow this up with config files for the other boards I have (eg the Ubiquiti LSSR71, as well as some Mikrotik boards that use the AR71XX and atheros reference boards) which will be quite easy to do now.
27 lines
502 B
Plaintext
27 lines
502 B
Plaintext
#
|
|
# Routerstation Pro: boot from on-board flash
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
include "AR71XX_BASE"
|
|
ident "RSPRO"
|
|
hints "RSPRO.hints"
|
|
|
|
# RTC - requires hackery in the spibus code to work
|
|
device pcf2123_rtc
|
|
|
|
# GEOM modules
|
|
device geom_redboot # to get access to the SPI flash partitions
|
|
device geom_uzip # compressed in-memory filesystem support
|
|
options GEOM_UZIP
|
|
|
|
# For DOS
|
|
options GEOM_PART_BSD
|
|
options GEOM_PART_MBR
|
|
options MSDOSFS
|
|
|
|
# Boot off of flash
|
|
options ROOTDEVNAME=\"ufs:redboot/rootfs.uzip\"
|
|
|