Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2012 17:35:12 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239911 - head/sys/mips/conf
Message-ID:  <201208301735.q7UHZCMM084895@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Thu Aug 30 17:35:12 2012
New Revision: 239911
URL: http://svn.freebsd.org/changeset/base/239911

Log:
  The DIR-825 cal data is in an odd spot. I don't know why it's here.
  
  (This works on my board because I wrote new caldata into this spot;
  but this obviously won't work for stock DIR-825 units out there.)

Modified:
  head/sys/mips/conf/DIR-825.hints

Modified: head/sys/mips/conf/DIR-825.hints
==============================================================================
--- head/sys/mips/conf/DIR-825.hints	Thu Aug 30 16:45:27 2012	(r239910)
+++ head/sys/mips/conf/DIR-825.hints	Thu Aug 30 17:35:12 2012	(r239911)
@@ -31,6 +31,9 @@ hint.ath.1.eeprom_firmware="pcib.0.bus.0
 
 # Geom MAP
 
+# The DIR-825 has an 8MB flash part - HOWEVER, the 64k caldata isn't
+# at the end of the flash. It's ~ 6MB into the flash image.
+
 # mtdparts=ar7100-nor0:256k(uboot),64k(Config),1024k(vmlinux),5184k(rootfs),64k(caldata)
 
 hint.map.0.at="flash/spi0"
@@ -55,13 +58,13 @@ hint.map.2.readonly=1
 
 hint.map.3.at="flash/spi0"
 hint.map.3.start=0x00150000
-hint.map.3.end=0x007f0000
+hint.map.3.end=0x00660000
 hint.map.3.name="rootfs"
 hint.map.3.readonly=0
 
 hint.map.4.at="flash/spi0"
-hint.map.4.start=0x007f0000
-hint.map.4.end=0x00800000
+hint.map.4.start=0x00660000
+hint.map.4.end=0x00670000
 hint.map.4.name="art"
 hint.map.4.readonly=1
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208301735.q7UHZCMM084895>