Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2014 13:09:35 +0000 (UTC)
From:      Luiz Otavio O Souza <loos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r260392 - head/sys/mips/conf
Message-ID:  <201401071309.s07D9ZOI011579@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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