e8643b01e6
Embedded lzma decompression library becomes a module usable by other consumers, in addition to geom_uzip. Most important code changes are - removal of XZ_DEC_SINGLE define, we need the code to work with XZ_DEC_DYNALLOC; - xz_crc32_init() call is removed from geom_uzip, xz module handles initialization on its own. xz is no longer embedded into geom_uzip, instead the depend line for the module is provided, and corresponding kernel option is added to each MIPS kernel config file using geom_uzip. The commit also carries unrelated cleanup by removing excess "device geom_uzip" in places which were missed in r344479. Reviewed by: cem, hselasky, ray, slavash (previous versions) Sponsored by: Mellanox Technologies Differential revision: https://reviews.freebsd.org/D19266 MFC after: 3 weeks
67 lines
1.3 KiB
Plaintext
67 lines
1.3 KiB
Plaintext
#
|
|
# Specific board setup for the D-Link DIR-825B1 router.
|
|
#
|
|
# The DIR-825B1 has the following hardware:
|
|
#
|
|
# + AR7161 CPU SoC
|
|
# + AR9223 2.4GHz 11n
|
|
# + AR9220 5GHz 11n
|
|
# + RealTek RTL8366S Gigabit switch
|
|
# + m25p64 based 8MB flash
|
|
# + 64MB RAM
|
|
# + uboot environment
|
|
|
|
# $FreeBSD$
|
|
|
|
#NO_UNIVERSE
|
|
|
|
include "AR71XX_BASE"
|
|
ident "DIR-825B1"
|
|
hints "DIR-825B1.hints"
|
|
|
|
# Since the kernel image must fit inside 1024KiB, we have to build almost
|
|
# everything as modules.
|
|
# nodevice random
|
|
nodevice gpio
|
|
nodevice gpioled
|
|
nodevice gif
|
|
nodevice gre
|
|
nodevice if_bridge
|
|
nodevice usb
|
|
nodevice ehci
|
|
nodevice wlan
|
|
nodevice wlan_xauth
|
|
nodevice wlan_acl
|
|
nodevice wlan_wep
|
|
nodevice wlan_tkip
|
|
nodevice wlan_ccmp
|
|
nodevice wlan_rssadapt
|
|
nodevice wlan_amrr
|
|
nodevice ath
|
|
nodevice ath_pci
|
|
nodevice ath_hal
|
|
nodevice umass
|
|
nodevice ath_rate_sample
|
|
|
|
nooptions INET6
|
|
|
|
# GEOM modules
|
|
device geom_map # to get access to the SPI flash partitions
|
|
device xz
|
|
options GEOM_UZIP
|
|
options GEOM_PART_GPT
|
|
|
|
options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uzip\"
|
|
options AR71XX_REALMEM=64*1024*1024
|
|
|
|
options AR71XX_ENV_UBOOT
|
|
|
|
# options MSDOSFS # Read MSDOS filesystems; useful for USB/CF
|
|
|
|
# options MD_ROOT
|
|
# options MD_ROOT_SIZE="6144"
|
|
|
|
options AR71XX_ATH_EEPROM # Fetch EEPROM/PCI config from flash
|
|
options ATH_EEPROM_FIRMWARE # Use EEPROM from flash
|
|
device firmware # Used by the above
|