layerscape: Change to combined rootfs on sd images
authorPawel Dembicki <paweldembicki@gmail.com>
Mon, 24 Aug 2020 12:29:32 +0000 (14:29 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 25 Oct 2020 23:40:12 +0000 (00:40 +0100)
commita254279a6c3048feb83909649c41ee4a7d37ec93
treebc6d544a7d45fbf6f7362f28289c1d94dd894e38
parentc51f8030b623e03567a73fbcedc4ee69a8896688
layerscape: Change to combined rootfs on sd images

At this moment layerscape images are ext4 only. It causes problem with
save changes durring sysupgrade and make "firstboot" and failsafe mode
useless.

This patch changes sd-card images to squashfs + f2fs combined images.
To make place, for saving config, kernel space ar now ext4 partition
with fit kernel.

This method of image generation is similar to rest of OpenWrt sd-card
targets.

Reviewed-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
[reword README, reword DEVICE_COMPAT_MESSAGE, keep original indent]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
17 files changed:
package/boot/uboot-layerscape/files/fsl_ls1012a-frwy-sdboot-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1021a-iot-sdboot-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1021a-twr-sdboot-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1043a-rdb-sdboot-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1046a-rdb-sdboot-uEnv.txt
package/boot/uboot-layerscape/files/fsl_ls1088a-rdb-sdboot-uEnv.txt
target/linux/layerscape/Makefile
target/linux/layerscape/README
target/linux/layerscape/armv7/config-5.4
target/linux/layerscape/armv8_64b/config-5.4
target/linux/layerscape/base-files/etc/uci-defaults/05_fix-compat-version
target/linux/layerscape/base-files/lib/preinit/79_move_config [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
target/linux/layerscape/image/gen_sdcard_head_img.sh