mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-22 04:18:10 +00:00
uboot-envtools: add defaults for Bananapi BPi-R64
Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
5281ef0daf
commit
0fe5214776
@ -17,6 +17,13 @@ case "$board" in
|
|||||||
ubootenv_add_uci_config "/dev/ubi0_0" "0x0" "0x1f000" "0x1f000" "1"
|
ubootenv_add_uci_config "/dev/ubi0_0" "0x0" "0x1f000" "0x1f000" "1"
|
||||||
ubootenv_add_uci_config "/dev/ubi0_1" "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
|
esac
|
||||||
|
|
||||||
config_load ubootenv
|
config_load ubootenv
|
||||||
|
Loading…
Reference in New Issue
Block a user