layerscape: add dtb to sysupgrade
authorPawel Dembicki <paweldembicki@gmail.com>
Wed, 19 Aug 2020 10:13:26 +0000 (12:13 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 25 Oct 2020 23:40:12 +0000 (00:40 +0100)
commit3605eff88190af9cc2905ba750252c1643a1bc7d
tree478a38f0a5e5e459131fa6cd9e360731c1e8a878
parent6180005debe3f2502e5c2e1839f05682338990b4
layerscape: add dtb to sysupgrade

At this moment sysupgrade replaces only kernel and rootfs.

This patch add dtb part to sysupgrade images to avoid situation
when old dtb make system broken.

Is possible to sysupgrade older images for NOR devices:
1. Firmware partition in bootargs need to be updated to:
   "49m@0xf00000(firmware)". Env should be saved after changes.
2. After step one, "sysupgrade -F" will work.

Run tested: LS1046A-RDB

Reviewed-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
[bump PKG_RELEASE for uboot-layerscape]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
12 files changed:
package/boot/uboot-layerscape/Makefile
package/boot/uboot-layerscape/files/fsl_ls1012a-rdb-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1021a-twr-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1043a-rdb-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1046a-rdb-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1088a-rdb-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls2088a-rdb-uEnv.txt
target/linux/layerscape/base-files/etc/uci-defaults/05_fix-compat-version [new file with mode: 0644]
target/linux/layerscape/base-files/lib/upgrade/platform.sh
target/linux/layerscape/image/Makefile
target/linux/layerscape/image/armv7.mk
target/linux/layerscape/image/armv8_64b.mk