summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorhiren <hiren@FreeBSD.org>2015-01-05 19:54:40 +0000
committerhiren <hiren@FreeBSD.org>2015-01-05 19:54:40 +0000
commit79a2e9261d7a3397cae06a4a4d485b39892f0c01 (patch)
tree2ef57f45df77f739aed439f5267ad8a9aac3989e /sys/mips
parent1bedd19bafe77441ef3877d91c0d83bb3990b45d (diff)
downloadFreeBSD-src-79a2e9261d7a3397cae06a4a4d485b39892f0c01.zip
FreeBSD-src-79a2e9261d7a3397cae06a4a4d485b39892f0c01.tar.gz
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.
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/conf/PICOSTATION_M2HP.hints6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/mips/conf/PICOSTATION_M2HP.hints b/sys/mips/conf/PICOSTATION_M2HP.hints
index bd17428..b85898c 100644
--- a/sys/mips/conf/PICOSTATION_M2HP.hints
+++ b/sys/mips/conf/PICOSTATION_M2HP.hints
@@ -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
OpenPOWER on IntegriCloud