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>
This commit is contained in:
committed by
Adrian Schmutzler
parent
c51f8030b6
commit
a254279a6c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user