1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys/mips/conf/PB47
Adrian Chadd 38192bfc9f Add a configuration file for the Atheros PB47 reference board.
This is an AR71xx based board with 8MB flash, 64MB RAM, a
Mini-PCI+ slot (see below) and a single 10/100/1000baseT
ethernet port.  It also has two USB ports.

This is an easier board than most to add as it doesn't have a
switch PHY on-board.  This made it (mostly) trivial to craft a
working configuration.

Things to note:

* This, like most other reference boards, use uboot rather then
  redboot.  It means that you typically have to manually flash
  both the kernel and rootfs partitions.

* Since there's currently no (nice) way to extract out the
  ethernet MAC and RAM from the uboot environment, the RAM
  will default to 32mb and the MAC will be something very
  incorrect.   I'll try to fix this up in a subsequent commit
  or two, even if it's just some hard-coded nonsense in
  ar71xx_machdep.c for now.

* The board is designed for a specific model of mini-PCI+
  NIC which never made it into production.  Normal mini-PCI
  NICs will work fine; if you happen to have the NIC in question
  then it will work fine with this board.
2011-12-30 09:48:35 +00:00

52 lines
1.3 KiB
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$
#
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.
# don't compile these in - the default flash area for kernel space
# is only 1.2 megabytes. To keep the flash allocation in line with
# what the documentation says for this board, we'll just have to keep
# the kernel smaller than that.
nodevice wlan, wlan_wep, wlan_ccmp, wlan_tkip, wlan_xauth
nodevice ath, ath_pci, ath_hal, ath_rate_sample
# Since the module build doesn't like TDMA..
nooptions IEEE80211_SUPPORT_TDMA
# For DOS - enable if required
#options GEOM_PART_BSD
#options GEOM_PART_MBR
#options MSDOSFS
# uzip - to boot natively from flash
device geom_uzip
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\"