Skip to content
Snippets Groups Projects
Commit b102e281 authored by Daniel Golle's avatar Daniel Golle
Browse files

uboot-envtools: add defaults for Bananapi BPi-R64

parent 0246e484
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment