projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0246e48
)
uboot-envtools: add defaults for Bananapi BPi-R64
author
Daniel Golle
<daniel@makrotopia.org>
Sat, 27 Feb 2021 23:02:59 +0000
(23:02 +0000)
committer
Daniel Golle
<daniel@makrotopia.org>
Sun, 28 Feb 2021 04:12:23 +0000
(
04:12
+0000)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/boot/uboot-envtools/files/mediatek
patch
|
blob
|
history
diff --git
a/package/boot/uboot-envtools/files/mediatek
b/package/boot/uboot-envtools/files/mediatek
index c821a1f25ac441fea351fce74bfcb516f49956ae..ba6d780c4926e2c0eaa682dacb1c6909474d7ede 100644
(file)
--- a/
package/boot/uboot-envtools/files/mediatek
+++ b/
package/boot/uboot-envtools/files/mediatek
@@
-17,6
+17,13
@@
case "$board" in
ubootenv_add_uci_config "/dev/ubi0_0" "0x0" "0x1f000" "0x1f000" "1"
ubootenv_add_uci_config "/dev/ubi0_1" "0x0" "0x1f000" "0x1f000" "1"
;;
+"bananapi,bpi-r64")
+ . /lib/upgrade/platform.sh
+ local rootdev=$(get_rootdev)
+ local envdev=/dev/$(get_partition $rootdev ubootenv)
+ ubootenv_add_uci_config "$envdev" "0x0" "0x80000" "0x80000" "1"
+ ubootenv_add_uci_config "$envdev" "0x80000" "0x80000" "0x80000" "1"
+ ;;
esac
config_load ubootenv