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


1.2
date	2012.11.17.01.52.48;	author svnexp;	state Exp;
branches;
next	1.1;

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


desc
@@


1.2
log
@Switching exporter and resync
@
text
@#
# Specific board setup for the D-Link DIR-825 router.
#
# The DIR-825 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: head/sys/mips/conf/DIR-825 239765 2012-08-28 06:17:44Z adrian $

include		"AR71XX_BASE"
ident		"DIR-825"
hints		"DIR-825.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 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

# Don't include the SCSI/CAM strings in the default build
options 	SCSI_NO_SENSE_STRINGS
options 	SCSI_NO_OP_STRINGS

# .. And no sysctl strings
options 	NO_SYSCTL_DESCR

# GEOM modules
device		geom_map	# to get access to the SPI flash partitions
device		geom_uncompress	# compressed in-memory filesystem hackery!
options		GEOM_UNCOMPRESS

options		ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\"
options		AR71XX_REALMEM=64*1024*1024

options		AR71XX_ENV_UBOOT

# 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
@


1.1
log
@SVN rev 239765 on 2012-08-28 06:17:44Z by adrian

This is an initial board configuration for the D-Link DIR-825 dual-band
802.11n router.

The flash layout defaults to a 1 MiB section for the kernel so I'm trying
very hard to squeeze a minimialistic (LZMA compressde) kernel image into
that.

I've verified that it boots through to single user mode fine.

Issues:

* USB doesn't yet work as a module - I need to add something else to the
  USB AR71xx build before that will work.
* There's no switch PHY support - but for now it quite happily behaves
  as a useful dumb switch out of the box.  Phew.
* Since a previous flash attempt trashed my radio configuration block,
  I haven't yet verified whether the wireless works correctly.
  I'll test that out shortly (read: once I re-calibrate the board somehow.)

Thanks to ray@@ and the zrouter project for doing some of the initial
hard work in figuring out how to bring this board up.
@
text
@d14 1
a14 1
# $FreeBSD$
@

