svn commit: r260392 - head/sys/mips/conf
Luiz Otavio O Souza
loos at FreeBSD.org
Tue Jan 7 13:09:36 UTC 2014
Author: loos
Date: Tue Jan 7 13:09:35 2014
New Revision: 260392
URL: http://svnweb.freebsd.org/changeset/base/260392
Log:
Fix the geom mappings for WR1043ND.
The uboot mapping is only 128KiB (0x20000) and not 2MiB (0x200000).
Dynamically adjust kernel and rootfs mappings based on the
geom_uncompress(4) magic.
This makes the built images more reliable by accepting changes on kernel
size transparently and matches the images built with zrouter and
freebsd-wifi-build.
Tested by: gjb
Approved by: adrian (mentor)
Obtained from: Zrouter
Modified:
head/sys/mips/conf/TP-WN1043ND.hints
Modified: head/sys/mips/conf/TP-WN1043ND.hints
==============================================================================
--- head/sys/mips/conf/TP-WN1043ND.hints Tue Jan 7 11:51:00 2014 (r260391)
+++ head/sys/mips/conf/TP-WN1043ND.hints Tue Jan 7 13:09:35 2014 (r260392)
@@ -45,18 +45,18 @@ hint.ath.0.eepromaddr=0x1fff1000
hint.map.0.at="flash/spi0"
hint.map.0.start=0x00000000
-hint.map.0.end=0x000200000
+hint.map.0.end=0x00020000
hint.map.0.name="uboot"
hint.map.0.readonly=1
hint.map.1.at="flash/spi0"
hint.map.1.start=0x00020000
-hint.map.1.end=0x00220000
+hint.map.1.end="search:0x00100000:0x10000:.!/bin/sh"
hint.map.1.name="kernel"
hint.map.1.readonly=1
hint.map.2.at="flash/spi0"
-hint.map.2.start=0x00220000
+hint.map.2.start="search:0x00100000:0x10000:.!/bin/sh"
hint.map.2.end=0x007e0000
hint.map.2.name="rootfs"
hint.map.2.readonly=1
More information about the svn-src-all
mailing list