]> git.baikalelectronics.ru Git - uboot.git/commit
adding saveenv-command for bananapi r2
authorFrank Wunderlich <frank-w@public-files.de>
Tue, 15 Jan 2019 17:49:06 +0000 (18:49 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 18 Jan 2019 14:26:04 +0000 (09:26 -0500)
commitcb424935edd44022ce8ad36eaad5091c4215c954
treeb6f9f5a8f84515a7639e6a31762746468d81e3e1
parent8eefc7ee0ca18abcf88ed3d3337c0d111e8fcfe8
adding saveenv-command for bananapi r2

bananapi r2 can be booted from sd-card and emmc
saving the environment have to choose the storage
from which the device has booted

also the offset is set to 1MB to make sure env is written
to block "user data area" between uboot and first partition

https://www.fw-web.de/dokuwiki/lib/exe/fetch.php?cache=&media=bpi-r2:boot-structure.png

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
board/mediatek/mt7623/mt7623_rfb.c
configs/mt7623n_bpir2_defconfig
include/configs/mt7623.h