summaryrefslogtreecommitdiffstats
path: root/sys/mips/conf
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-08-30 17:35:12 +0000
committeradrian <adrian@FreeBSD.org>2012-08-30 17:35:12 +0000
commitf98fd2305e90dae9fc45734be475faba9b5de314 (patch)
tree62624f5cd8da1db7f879a61b5b3a7c6a8787f436 /sys/mips/conf
parent88b1307252e748c6e3141597c928606a9a776df1 (diff)
downloadFreeBSD-src-f98fd2305e90dae9fc45734be475faba9b5de314.zip
FreeBSD-src-f98fd2305e90dae9fc45734be475faba9b5de314.tar.gz
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.)
Diffstat (limited to 'sys/mips/conf')
-rw-r--r--sys/mips/conf/DIR-825.hints9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/mips/conf/DIR-825.hints b/sys/mips/conf/DIR-825.hints
index 2a2a20c..c978f6d 100644
--- a/sys/mips/conf/DIR-825.hints
+++ b/sys/mips/conf/DIR-825.hints
@@ -31,6 +31,9 @@ hint.ath.1.eeprom_firmware="pcib.0.bus.0.18.0.eeprom_firmware"
# 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
OpenPOWER on IntegriCloud