From owner-svn-src-all@FreeBSD.ORG Thu Oct 30 23:47:29 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BDE4E9F8; Thu, 30 Oct 2014 23:47:29 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AA15D38F; Thu, 30 Oct 2014 23:47:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9UNlTcu026158; Thu, 30 Oct 2014 23:47:29 GMT (envelope-from hiren@FreeBSD.org) Received: (from hiren@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9UNlTY5026157; Thu, 30 Oct 2014 23:47:29 GMT (envelope-from hiren@FreeBSD.org) Message-Id: <201410302347.s9UNlTY5026157@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: hiren set sender to hiren@FreeBSD.org using -f From: Hiren Panchasara Date: Thu, 30 Oct 2014 23:47:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273876 - head/sys/mips/conf X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 23:47:29 -0000 Author: hiren Date: Thu Oct 30 23:47:28 2014 New Revision: 273876 URL: https://svnweb.freebsd.org/changeset/base/273876 Log: Use search method instead of fixed offsets for finding rootfs. This unbreaks recent images for picostation by allowing to find rootfs at correct location. Suggested by: loos MFC after: 1 month Modified: head/sys/mips/conf/PICOSTATION_M2HP.hints Modified: head/sys/mips/conf/PICOSTATION_M2HP.hints ============================================================================== --- head/sys/mips/conf/PICOSTATION_M2HP.hints Thu Oct 30 22:47:32 2014 (r273875) +++ head/sys/mips/conf/PICOSTATION_M2HP.hints Thu Oct 30 23:47:28 2014 (r273876) @@ -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