530028c9d6
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.
25 lines
493 B
Plaintext
25 lines
493 B
Plaintext
#
|
|
# Ubiquiti Routerstation: Boot from onboard flash
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
include "UBNT_AR71XX_BASE"
|
|
ident "ROUTERSTATION"
|
|
hints "ROUTERSTATION.hints"
|
|
|
|
# XXX Is there an RTC on the RS?
|
|
|
|
# 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 path - redboot MFS
|
|
options ROOTDEVNAME=\"ufs:redboot/rootfs.uzip\"
|