head	1.5;
access;
symbols;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.01.52.48;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.08.23.22.23.56;	author ray;	state Exp;
branches;
next	1.3;

1.3
date	2012.01.05.07.19.05;	author adrian;	state Exp;
branches;
next	1.2;

1.2
date	2012.01.05.03.38.34;	author adrian;	state Exp;
branches;
next	1.1;

1.1
date	2011.12.30.09.48.35;	author adrian;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switching exporter and resync
@
text
@#
# 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: head/sys/mips/conf/PB47 239625 2012-08-23 22:23:56Z ray $
#

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		geom_uncompress
options		GEOM_UNCOMPRESS

# 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.uncompress\"
@


1.4
log
@SVN rev 239625 on 2012-08-23 22:23:56Z by ray

Remove duplicated GEOM_PART_* options.

PR:		170931
Approved by:	adrian
@
text
@d13 1
a13 1
# $FreeBSD$
@


1.3
log
@SVN rev 229561 on 2012-01-05 07:19:05Z by adrian

This isn't required any longer - it turns out the flash
has ~ 1.7MB of space for a kernel.  There's thus plenty of
space for a full, non-module kernel.
@
text
@a29 2
options		GEOM_PART_BSD
options		GEOM_PART_MBR
@


1.2
log
@SVN rev 229556 on 2012-01-05 03:38:34Z by adrian

Use geom_uncompress now, rather than geom_uzip.

This results in a much smaller rootfs image and it easily
fits in the 8MB flash.
@
text
@d27 1
a27 10

# 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
d30 3
a32 3
#options		GEOM_PART_BSD
#options		GEOM_PART_MBR
#options		MSDOSFS
@


1.1
log
@SVN rev 228988 on 2011-12-30 09:48:35Z by adrian

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.
@
text
@d43 3
a45 3
# uzip - to boot natively from flash
device		geom_uzip
options		GEOM_UZIP
d51 1
a51 1
options		ROOTDEVNAME=\"ufs:map/rootfs.uzip\"
@

