projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
871e0a6
)
uboot-envtools: use environment stored in UBI also for KD20
author
John Crispin
<john@openwrt.org>
Wed, 3 Dec 2014 16:05:23 +0000
(16:05 +0000)
committer
John Crispin
<john@openwrt.org>
Wed, 3 Dec 2014 16:05:23 +0000
(16:05 +0000)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43510
package/boot/uboot-envtools/files/oxnas
patch
|
blob
|
history
diff --git
a/package/boot/uboot-envtools/files/oxnas
b/package/boot/uboot-envtools/files/oxnas
index b456fb3e2dc12efe5afd59a480875f96660dea63..063ffa0b92e15e9e0c29e20eec68da0838ce2115 100644
(file)
--- a/
package/boot/uboot-envtools/files/oxnas
+++ b/
package/boot/uboot-envtools/files/oxnas
@@
-14,13
+14,11
@@
touch /etc/config/ubootenv
board=$(oxnas_board_name)
case "$board" in
-stg212)
+stg212 | \
+kd20)
ubootenv_add_uci_config "/dev/ubi0_0" "0x0" "0x4000" "0x1F000" "1"
ubootenv_add_uci_config "/dev/ubi0_1" "0x0" "0x4000" "0x1F000" "1"
;;
-kd20)
- ubootenv_add_uci_config "/dev/mtd0" "0x220000" "0x02000" "0x20000" "1"
- ;;
esac
config_load ubootenv