Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 2015 19:54:41 +0000 (UTC)
From:      Hiren Panchasara <hiren@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r276716 - stable/10/sys/mips/conf
Message-ID:  <201501051954.t05JsfeL009120@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hiren
Date: Mon Jan  5 19:54:40 2015
New Revision: 276716
URL: https://svnweb.freebsd.org/changeset/base/276716

Log:
  MFC r273876
  
  Use search method instead of fixed offsets for finding rootfs. This unbreaks
  recent images for picostation by allowing to find rootfs at correct location.

Modified:
  stable/10/sys/mips/conf/PICOSTATION_M2HP.hints
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/mips/conf/PICOSTATION_M2HP.hints
==============================================================================
--- stable/10/sys/mips/conf/PICOSTATION_M2HP.hints	Mon Jan  5 19:49:20 2015	(r276715)
+++ stable/10/sys/mips/conf/PICOSTATION_M2HP.hints	Mon Jan  5 19:54:40 2015	(r276716)
@@ -80,13 +80,13 @@ hint.map.1.readonly=1
 
 hint.map.2.at="flash/spi0"
 hint.map.2.start=0x00050000
-hint.map.2.end=0x00130000       # 896k kernel
+hint.map.2.end="search:0x00100000:0x10000:.!/bin/sh"
 hint.map.2.name="kernel"
 hint.map.2.readonly=1
 
 hint.map.3.at="flash/spi0"
-hint.map.3.start=0x130000
-hint.map.3.end=0x007b0000       # 6656k rootfs
+hint.map.3.start="search:0x00100000:0x10000:.!/bin/sh"
+hint.map.3.end=0x007b0000
 hint.map.3.name="rootfs"
 hint.map.3.readonly=0
 



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