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
This commit is contained in:
parent
f848c9aa75
commit
fea8015ddb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273876
@ -80,13 +80,13 @@ hint.map.1.readonly=1
|
|||||||
|
|
||||||
hint.map.2.at="flash/spi0"
|
hint.map.2.at="flash/spi0"
|
||||||
hint.map.2.start=0x00050000
|
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.name="kernel"
|
||||||
hint.map.2.readonly=1
|
hint.map.2.readonly=1
|
||||||
|
|
||||||
hint.map.3.at="flash/spi0"
|
hint.map.3.at="flash/spi0"
|
||||||
hint.map.3.start=0x130000
|
hint.map.3.start="search:0x00100000:0x10000:.!/bin/sh"
|
||||||
hint.map.3.end=0x007b0000 # 6656k rootfs
|
hint.map.3.end=0x007b0000
|
||||||
hint.map.3.name="rootfs"
|
hint.map.3.name="rootfs"
|
||||||
hint.map.3.readonly=0
|
hint.map.3.readonly=0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user