summaryrefslogtreecommitdiffstats
path: root/sys/mips/conf
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-03-21 06:18:25 +0000
committeradrian <adrian@FreeBSD.org>2015-03-21 06:18:25 +0000
commitc8a8635ae02fe1f70ea236cd6f58684e37d053ce (patch)
tree72eb76f2d08c74e889be73115eabbcea44bfaac4 /sys/mips/conf
parent202800c9bae30b6032e638a341bb6cdf7e725dd1 (diff)
downloadFreeBSD-src-c8a8635ae02fe1f70ea236cd6f58684e37d053ce.zip
FreeBSD-src-c8a8635ae02fe1f70ea236cd6f58684e37d053ce.tar.gz
Migrate these configs to use the geom map search function.
Now that the search function reliably works, this allows for smaller images.
Diffstat (limited to 'sys/mips/conf')
-rw-r--r--sys/mips/conf/CARAMBOLA2.hints4
-rw-r--r--sys/mips/conf/DIR-825B1.hints4
-rw-r--r--sys/mips/conf/DIR-825C1.hints14
3 files changed, 11 insertions, 11 deletions
diff --git a/sys/mips/conf/CARAMBOLA2.hints b/sys/mips/conf/CARAMBOLA2.hints
index 35400d5..e66f67c28 100644
--- a/sys/mips/conf/CARAMBOLA2.hints
+++ b/sys/mips/conf/CARAMBOLA2.hints
@@ -61,12 +61,12 @@ hint.map.1.readonly=0
hint.map.2.at="flash/spi0"
hint.map.2.start=0x00050000
-hint.map.2.end=0x00250000
+hint.map.2.end="search:0x00050000:0x10000:.!/bin/sh"
hint.map.2.name="kernel"
hint.map.2.readonly=0
hint.map.3.at="flash/spi0"
-hint.map.3.start=0x00250000
+hint.map.3.start="search:0x00050000:0x10000:.!/bin/sh"
hint.map.3.end=0x00fe0000
hint.map.3.name="rootfs"
hint.map.3.readonly=0
diff --git a/sys/mips/conf/DIR-825B1.hints b/sys/mips/conf/DIR-825B1.hints
index 87cebd1..c380f49 100644
--- a/sys/mips/conf/DIR-825B1.hints
+++ b/sys/mips/conf/DIR-825B1.hints
@@ -52,12 +52,12 @@ hint.map.1.readonly=0
hint.map.2.at="flash/spi0"
hint.map.2.start=0x0050000
-hint.map.2.end=0x00150000
+hint.map.2.end="search:0x00050000:0x10000:.!/bin/sh"
hint.map.2.name="kernel"
hint.map.2.readonly=1
hint.map.3.at="flash/spi0"
-hint.map.3.start=0x00150000
+hint.map.3.start="search:0x00050000:0x10000:.!/bin/sh"
hint.map.3.end=0x00660000
hint.map.3.name="rootfs"
hint.map.3.readonly=0
diff --git a/sys/mips/conf/DIR-825C1.hints b/sys/mips/conf/DIR-825C1.hints
index 7ea6968..18ad6b8 100644
--- a/sys/mips/conf/DIR-825C1.hints
+++ b/sys/mips/conf/DIR-825C1.hints
@@ -83,27 +83,27 @@ hint.ath.1.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_firmware"
# 64KiB u-boot
hint.map.0.at="flash/spi0"
hint.map.0.start=0x00000000
-hint.map.0.end= 0x00010000
+hint.map.0.end=0x00010000
hint.map.0.name="u-boot"
hint.map.0.readonly=1
# 64KiB u-boot-env
hint.map.1.at="flash/spi0"
hint.map.1.start=0x00010000
-hint.map.1.end= 0x00020000
+hint.map.1.end=0x00020000
hint.map.1.name="u-boot-env"
hint.map.1.readonly=1
# 1344KiB kernel
hint.map.2.at="flash/spi0"
hint.map.2.start=0x00020000
-hint.map.2.end="search:0x00100000:0x10000:.!/bin/sh"
+hint.map.2.end="search:0x00020000:0x10000:.!/bin/sh"
hint.map.2.name="kernel"
hint.map.2.readonly=1
# 14592KiB rootfs
hint.map.3.at="flash/spi0"
-hint.map.3.start="search:0x00100000:0x10000:.!/bin/sh"
+hint.map.3.start="search:0x00020000:0x10000:.!/bin/sh"
hint.map.3.end=0x00fb0000
hint.map.3.name="rootfs"
hint.map.3.readonly=1
@@ -111,20 +111,20 @@ hint.map.3.readonly=1
# 192KiB lang -- remapped to cfg
hint.map.4.at="flash/spi0"
hint.map.4.start=0x00fb0000
-hint.map.4.end= 0x00fe0000
+hint.map.4.end=0x00fe0000
hint.map.4.name="cfg"
hint.map.4.readonly=0
# 64KiB mac
hint.map.5.at="flash/spi0"
hint.map.5.start=0x00fe0000
-hint.map.5.end= 0x00ff0000
+hint.map.5.end=0x00ff0000
hint.map.5.name="mac"
hint.map.5.readonly=1
# 64KiB art
hint.map.6.at="flash/spi0"
hint.map.6.start=0x00ff0000
-hint.map.6.end= 0x01000000
+hint.map.6.end=0x01000000
hint.map.6.name="art"
hint.map.6.readonly=1
OpenPOWER on IntegriCloud