freebsd-dev/sys/mips/conf/PB47
Konstantin Belousov e8643b01e6 Modularize xz.
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
2019-02-26 19:55:03 +00:00

43 lines
945 B
Plaintext

#
# Atheros PB47 reference board.
#
# * one MiniPCI+ slot (modified to allow two idsel lines
# on the one slot, for a specific kind of internal-only
# NIC;
# * one XMII slot
# * One ethernet PHY
# * Akros Silicon AS1834
# * 8MB NOR SPI flash
# * 64MB RAM
#
# $FreeBSD$
#
#NO_UNIVERSE
include "AR71XX_BASE"
ident "PB47"
hints "PB47.hints"
# Enable the uboot environment stuff rather then the
# redboot stuff.
options AR71XX_ENV_UBOOT
# XXX TODO: add uboot boot parameter parsing to extract MAC, RAM.
# Right now it will just detect 32mb out of 64mb, as well as
# return a garbage MAC address.
options AR71XX_REALMEM=64*1024*1024
# For DOS - enable if required
options MSDOSFS
# uncompress - to boot read-only lzma natively from flash
device xz
options GEOM_UZIP
# Used for the static uboot partition map
device geom_map
# Boot off of the rootfs, as defined in the geom_map setup.
options ROOTDEVNAME=\"ufs:map/rootfs.uzip\"