diff options
author | Pawel Dembicki <paweldembicki@gmail.com> | 2020-08-24 14:29:32 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-10-26 00:40:12 +0100 |
commit | a254279a6c3048feb83909649c41ee4a7d37ec93 (patch) | |
tree | bc6d544a7d45fbf6f7362f28289c1d94dd894e38 /target/linux/layerscape/README | |
parent | c51f8030b623e03567a73fbcedc4ee69a8896688 (diff) | |
download | upstream-a254279a6c3048feb83909649c41ee4a7d37ec93.tar.gz upstream-a254279a6c3048feb83909649c41ee4a7d37ec93.tar.bz2 upstream-a254279a6c3048feb83909649c41ee4a7d37ec93.zip |
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>
Diffstat (limited to 'target/linux/layerscape/README')
-rw-r--r-- | target/linux/layerscape/README | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/layerscape/README b/target/linux/layerscape/README index 8cbf05bd15..4bade4a9c0 100644 --- a/target/linux/layerscape/README +++ b/target/linux/layerscape/README @@ -39,13 +39,14 @@ $ ./scripts/feeds install -a * Final firmware/image Path: bin/targets/layerscape/<subtarget>/ Firmware for flash: openwrt-layerscape-<subtarget>-<device>-<rootfs>-firmware.bin - Image for SD card: openwrt-layerscape-<subtarget>-<device>-<rootfs>-sdcard.img + Image for SD card: openwrt-layerscape-<subtarget>-<device>-<rootfs>-sdcard.img.gz + Sysupgrade images: openwrt-layerscape-<subtarget>-<device>-<rootfs>-sysupgrade.bin 3. Program NOR/QSPI flash or SD card ------------------------------------ -The firmware.bin or sdcard.img is an all-in-one image including all things for -OpenWrt staring up. (except LS1012AFRWY. Refer to 3.3.) +The firmware.bin or sdcard.img (after extract from gz) is an all-in-one image including all +things for OpenWrt staring up. (except LS1012AFRWY. Refer to 3.3.) If you want to install all things into flash, please use firmware.bin. If you want to install all things into SD card, please use sdcard.img. @@ -53,7 +54,7 @@ If you want to install all things into SD card, please use sdcard.img. --------------------------------- sdcard.img could be programmed to SD card in either u-boot environment or linux environment. After programming, configure the board to boot -from SD card. +from SD card. (sdcard.img images are gz-iped to save space. Please extract them first.) * u-boot environment |