forked from Ivasoft/openwrt
mediatek: rework Bananapi BPi-R2
* introduce recovery (=initramfs) vs. production dual boot scheme * make use of uImage.FIT (instead of FAT partition) * generate images using build steps (instead of external scripts) * simplify sysupgrade and config restore (thanks to uImage.FIT) * make sure mmc devices are ordered persistently (set DT aliases) This commit breaks sysupgrade from existing installations, you will have to re-install using the sdcard.img.gz image. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
@@ -6,9 +6,6 @@ move_config() {
|
||||
local partdev partnum
|
||||
|
||||
case $(board_name) in
|
||||
bananapi,bpi-r2)
|
||||
partnum=2
|
||||
;;
|
||||
unielec,u7623-02-emmc-512m)
|
||||
if grep -q root=/dev/mmcblk0p2 /proc/cmdline; then
|
||||
partnum=1;
|
||||
|
||||
Reference in New Issue
Block a user