head	1.8;
access;
symbols
	RELENG_9_1_0_RELEASE:1.3.2.1.4.2
	RELENG_9_1:1.3.2.1.0.4
	RELENG_9_1_BP:1.3.2.1
	RELENG_9_0_0_RELEASE:1.3.2.1.2.1
	RELENG_9_0:1.3.2.1.0.2
	RELENG_9_0_BP:1.3.2.1
	RELENG_9:1.3.0.2
	RELENG_9_BP:1.3;
locks; strict;
comment	@# @;


1.8
date	2012.11.17.05.10.20;	author svnexp;	state Exp;
branches;
next	1.7;

1.7
date	2012.11.17.01.52.48;	author svnexp;	state Exp;
branches;
next	1.6;

1.6
date	2012.08.23.22.23.56;	author ray;	state Exp;
branches;
next	1.5;

1.5
date	2012.03.12.01.15.58;	author adrian;	state Exp;
branches;
next	1.4;

1.4
date	2011.11.24.04.21.19;	author adrian;	state Exp;
branches;
next	1.3;

1.3
date	2011.05.11.00.52.41;	author gonzo;	state Exp;
branches
	1.3.2.1;
next	1.2;

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

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

1.3.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.3.2.1.2.1
	1.3.2.1.4.1;
next	1.3.2.2;

1.3.2.2
date	2012.11.17.11.37.15;	author svnexp;	state Exp;
branches;
next	;

1.3.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.3.2.1.2.2;

1.3.2.1.2.2
date	2012.11.17.08.37.11;	author svnexp;	state Exp;
branches;
next	;

1.3.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.3.2.1.4.2;

1.3.2.1.4.2
date	2012.11.17.08.48.02;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.8
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/243177
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r243177 | adrian | 2012-11-17 04:05:46 +0000 (Sat, 17 Nov 2012) | 5 lines
## SVN ##
## SVN ## Migrate the AR71xx UART (an 8250 derivative) to hide behind uart_ar71xx.
## SVN ##
## SVN ## The AR9330/AR9331 UART is a totally different thing, so having it included
## SVN ## with 'uart' is not going to work out.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@#
# PB92 -- Kernel configuration file for FreeBSD/mips for Atheros PB92 reference
#         board (AR7242)
#
# $FreeBSD: head/sys/mips/conf/PB92 243177 2012-11-17 04:05:46Z adrian $
#

ident		PB92
# XXX The default load address in the Uboot environment is 0x80010000
makeoptions	KERNLOADADDR=0x80050000
options		HZ=1000

# The PB92 has 32mb of RAM; hard-code that
options		AR71XX_REALMEM=32*1024*1024

# It's UBOOT, not Redboot - without this, things will hang at startup
options		AR71XX_ENV_UBOOT

# We have to build most things as modules rather than in the kernel.
# The PB92 has 4MB of SPI flash and the default kernel "partition"
# is only 892KiB.  In order to try and squeeze into that (so people
# who already are using it without modifying the default flash layout)
# we need to cut down on a lot of things.

makeoptions	MODULES_OVERRIDE="ath ath_pci ath_ahb bridgestp if_bridge if_gif if_gre random wlan wlan_acl wlan_amrr wlan_ccmp wlan_rssadapt wlan_tkip wlan_wep wlan_xauth usb ar71xx"

hints		"PB92.hints"
include		"../atheros/std.ar71xx"

makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
makeoptions	MODULES_OVERRIDE=""

options		DDB
options		KDB

options		SCHED_4BSD		#4BSD scheduler
options		INET			#InterNETworking
# Can't do IPv6 - it just doesn't fit.
# options		INET6
# options		NFSCL			#Network Filesystem Client
options		PSEUDOFS		#Pseudo-filesystem framework
options		_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options		ALQ

# Debugging for use in -current
options		DEADLKRES
options		INVARIANTS
options		INVARIANT_SUPPORT
options		WITNESS
options		WITNESS_SKIPSPIN
options         FFS                     #Berkeley Fast Filesystem
#options         SOFTUPDATES             #Enable FFS soft updates support
#options         UFS_ACL                 #Support for access control lists
#options         UFS_DIRHASH             #Improve performance on big directories

# Support uncompress lzma rootfs
device		geom_uncompress
options		GEOM_UNCOMPRESS
options		ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\"

# PCI bus
device		pci
device		ar724x_pci

# NVRAM U-Boot Environment -> Kernel environment
device		nvram2env

# Wireless NIC cards
options		IEEE80211_DEBUG
options		IEEE80211_SUPPORT_MESH
options		IEEE80211_SUPPORT_TDMA
options		IEEE80211_ALQ
#device		wlan            # 802.11 support
#device		wlan_wep        # 802.11 WEP support
#device		wlan_ccmp       # 802.11 CCMP support
#device		wlan_tkip       # 802.11 TKIP support
#device		wlan_xauth	# 802.11 hostap support

#device		ath		# Atheros pci/cardbus NIC's
#device		ath_pci		# PCI/PCIe bus glue
options 	ATH_DEBUG
options		ATH_ENABLE_11N
options		ATH_DIAGAPI

# device		ath_hal
options		AH_SUPPORT_AR5416
options		AH_DEBUG
options		AH_DEBUG_ALQ

# device		ath_rate_sample

device		mii
device		arge

# USB devices - PB92 has EHCI only

#device		usb
options		USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
options		USB_DEBUG
options		USB_HOST_ALIGN=32
#device		ehci

# Mass storage
#device		scbus
#device		umass
#device		da

# Read MSDOS formatted disks
# options		MSDOSFS

# GPIO Bus
#device		gpio
#device		gpioled

# SPI and flash
device		spibus
device		ar71xx_spi
device		mx25l

# The flash is statically partitioned; add in that
device		geom_map

device		ar71xx_wdog

# Serial
device		uart
device		uart_ar71xx

# Network twiddling
device		loop
device		ether
#device		md
#device		bpf
#device		random
#device		if_bridge
@


1.7
log
@Switching exporter and resync
@
text
@d5 1
a5 1
# $FreeBSD: head/sys/mips/conf/PB92 239625 2012-08-23 22:23:56Z ray $
d127 1
@


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

Remove duplicated GEOM_PART_* options.

PR:		170931
Approved by:	adrian
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.5
log
@SVN rev 232845 on 2012-03-12 01:15:58Z by adrian

Begin modifying the PB92 config file to actually generate a flashable,
bootable image.

The kernel has to fit inside an 896KiB area in a 4MB SPI flash.
So a bunch of stuff can't be included (and more is to come), including
(unfortunately) IPv6.

TODO:

* GPIO modules need to be created
* Shrink the image a bit more by removing some of the CAM layer debugging
  strings.
@
text
@a108 2
options		GEOM_PART_BSD
options		GEOM_PART_MBR
@


1.4
log
@SVN rev 227918 on 2011-11-24 04:21:19Z by adrian

Flip on these debugging options by default. This is -HEAD after all.
@
text
@d16 11
d38 2
a39 1
options		INET6
d56 4
a59 5
options		MD_ROOT
options		MD_ROOT_SIZE=5120
device		geom_uzip
options		GEOM_UZIP
options		ROOTDEVNAME=\"ufs:/dev/md0.uzip\"
d72 6
a77 5
device		wlan            # 802.11 support
device		wlan_wep        # 802.11 WEP support
device		wlan_ccmp       # 802.11 CCMP support
device		wlan_tkip       # 802.11 TKIP support
device		wlan_xauth	# 802.11 hostap support
d79 2
a80 2
device		ath		# Atheros pci/cardbus NIC's
device		ath_pci		# PCI/PCIe bus glue
d85 1
a85 1
device		ath_hal
d90 1
a90 1
device		ath_rate_sample
d97 1
a97 1
device		usb
d101 1
a101 1
device		ehci
d104 3
a106 3
device		scbus
device		umass
device		da
d111 1
a111 1
options		MSDOSFS
d114 2
a115 2
device		gpio
device		gpioled
d133 4
a136 4
device		md
device		bpf
device		random
device		if_bridge
@


1.3
log
@SVN rev 221753 on 2011-05-11 00:52:41Z by gonzo

Use new option names for NFS client and NFS server

See UPDATING entry for 20110427
@
text
@d34 5
a38 5
#options		DEADLKRES
#options		INVARIANTS
#options		INVARIANT_SUPPORT
#options		WITNESS
#options		WITNESS_SKIPSPIN
@


1.3.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.3.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
# $FreeBSD: stable/9/sys/mips/conf/PB92 221753 2011-05-11 00:52:41Z gonzo $
@


1.3.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.3.2.1.4.2
log
@Switch importer
@
text
@d5 1
a5 1
# $FreeBSD: releng/9.1/sys/mips/conf/PB92 221753 2011-05-11 00:52:41Z gonzo $
@


1.3.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.3.2.1.2.2
log
@Switch importer
@
text
@d5 1
a5 1
# $FreeBSD: releng/9.0/sys/mips/conf/PB92 221753 2011-05-11 00:52:41Z gonzo $
@


1.2
log
@SVN rev 221489 on 2011-05-05 09:04:49Z by adrian

Add nvram2env (untested) and geom_map (tested) to PB92.
@
text
@d28 1
a28 1
# options		NFSCLIENT		#Network Filesystem Client
@


1.1
log
@SVN rev 221259 on 2011-04-30 12:25:09Z by adrian

An example configuration file for the Atheros PB92.

TODO:

* pcie doesn't yet work properly, I'm working on it.
* if_arge doesn't work - it's likely the phy mask is wrong; again I'm working on it.
@
text
@d9 1
d13 3
d28 1
a28 1
options		NFSCLIENT		#Network Filesystem Client
a32 3
# options		NFS_LEGACYRPC
#options		NFS_DEBUG

d34 5
a38 5
options		DEADLKRES
options		INVARIANTS
options		INVARIANT_SUPPORT
options		WITNESS
options		WITNESS_SKIPSPIN
d50 1
d54 3
d83 2
d91 11
d105 1
d110 3
d115 1
d118 1
@

