mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
a254279a6c
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>
26 lines
462 B
Plaintext
26 lines
462 B
Plaintext
#
|
|
# Copyright (C) 2020 OpenWrt.org
|
|
#
|
|
|
|
. /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
|
|
;;
|
|
esac
|
|
|
|
exit 0
|