aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2019-03-01 01:56:11 +0100
committerDaniel Golle <daniel@makrotopia.org>2019-03-01 03:36:53 +0100
commit9a9c6f37d5d92af89903e76c9b08c50e1a40c064 (patch)
tree6e3c910ce54798888e8090490917dea84969948c /package/boot/uboot-envtools
parent858aebc0ef112204aa3008630980b6eff21e4a2a (diff)
downloadupstream-9a9c6f37d5d92af89903e76c9b08c50e1a40c064.tar.gz
upstream-9a9c6f37d5d92af89903e76c9b08c50e1a40c064.tar.bz2
upstream-9a9c6f37d5d92af89903e76c9b08c50e1a40c064.zip
uboot-envtools: oxnas: sync with current oxnas/ox820 DTS
Use tested values on shuttle,kd20 and assumed values for mitrastar,stg-212 and cloudengines,pogoplug*. akitio users have yet to report back stock flash layout to support vendor bootloader environment there as well. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot/uboot-envtools')
-rw-r--r--package/boot/uboot-envtools/files/oxnas9
1 files changed, 4 insertions, 5 deletions
diff --git a/package/boot/uboot-envtools/files/oxnas b/package/boot/uboot-envtools/files/oxnas
index 70b0f1663a..e54fae8173 100644
--- a/package/boot/uboot-envtools/files/oxnas
+++ b/package/boot/uboot-envtools/files/oxnas
@@ -13,11 +13,10 @@ touch /etc/config/ubootenv
board=$(board_name)
case "$board" in
-akitio|\
-kd20|\
-stg212)
- ubootenv_add_uci_config "/dev/ubi0_0" "0x0" "0x4000" "0x1F000" "1"
- ubootenv_add_uci_config "/dev/ubi0_1" "0x0" "0x4000" "0x1F000" "1"
+"cloudengines,pogoplug"* | \
+"mitrastar,stg-212" | \
+"shuttle,kd20")
+ ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x2000" "0x2000" "1"
;;
esac