From a254279a6c3048feb83909649c41ee4a7d37ec93 Mon Sep 17 00:00:00 2001 From: Pawel Dembicki Date: Mon, 24 Aug 2020 14:29:32 +0200 Subject: 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 Signed-off-by: Pawel Dembicki [reword README, reword DEVICE_COMPAT_MESSAGE, keep original indent] Signed-off-by: Adrian Schmutzler --- .../layerscape/base-files/etc/uci-defaults/05_fix-compat-version | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target/linux/layerscape/base-files/etc') diff --git a/target/linux/layerscape/base-files/etc/uci-defaults/05_fix-compat-version b/target/linux/layerscape/base-files/etc/uci-defaults/05_fix-compat-version index 923f4ac273..6cd137af9a 100644 --- a/target/linux/layerscape/base-files/etc/uci-defaults/05_fix-compat-version +++ b/target/linux/layerscape/base-files/etc/uci-defaults/05_fix-compat-version @@ -5,11 +5,17 @@ . /lib/functions.sh case "$(board_name)" in + fsl,ls1012a-frwy-sdboot | \ fsl,ls1012a-rdb | \ + fsl,ls1021a-iot-sdboot | \ fsl,ls1021a-twr | \ + fsl,ls1021a-twr-sdboot | \ fsl,ls1043a-rdb | \ + fsl,ls1043a-rdb-sdboot | \ fsl,ls1046a-rdb | \ + fsl,ls1046a-rdb-sdboot | \ fsl,ls1088a-rdb | \ + fsl,ls1088a-rdb-sdboot | \ fsl,ls2088a-rdb) uci set system.@system[0].compat_version="2.0" uci commit system -- cgit v1.2.3