Openwrt/target/linux
Christian Lamparter aed4799d6d apm821xx: build squashfs-rootfs images for the MBL
This patch adds support for squashfs as the root filesystem.

advantages:
 - migrate from a existing -ext4 installation and back
   with the sysupgrade utility
 - existing partition layout will not be lost during switch
 - slightly smaller image size as compared to the -ext4 image.

disadvantages:
 - needs f2fs + tools. This is because fstools rootdisk.c decides based
   on the partition size (currently root partitions > 100 MiB) f2fs is
   used as the rootfs_data filesystem.
 - rootfs_data is placed into the rootfs partition after the squashfs.
   This makes it difficult for tools that expect a /dev/sda${X} device.
   It also makes it difficult for data recovery tools as they might not
   expect to find a embedded partition or will be slightly confused.
   ... or will not support f2fs.

For people with existing build configurations: make sure to include mkf2fs
and f2fsck packages into the image. Otherwise the new -squashfs image will
only boot from the ram-overlay.

Note:
All overlay data (configurations/all installed packages/...) will be
placed in inside the rootfs partition (i.e. /dev/sda2) just after the
squashfs image.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2018-07-30 08:11:56 +02:00
..
adm5120 kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
adm8668
apm821xx apm821xx: build squashfs-rootfs images for the MBL 2018-07-30 08:11:56 +02:00
ar7
ar71xx ar71xx: Move F9K1115v2 under ar71xx tiny target 2018-07-16 15:12:19 +02:00
arc770 arc: Update variables substitutions in u-boot env files 2018-07-12 10:24:31 +02:00
archs38 arc: Update variables substitutions in u-boot env files 2018-07-12 10:24:31 +02:00
armvirt
at91 kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
ath25
ath79 ath79: fix OCEDO Raccoon 2018-07-25 08:59:33 +02:00
au1000 kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
bcm53xx bcm53xx: revert SPI controller commit breaking flash reads 2018-07-29 11:02:57 +02:00
brcm47xx brcm47xx: revert upstream commit breaking BCM4718A1 2018-07-27 15:58:51 +02:00
brcm63xx brcm63xx: drop linux,part-probe usage where possible 2018-07-29 15:38:33 +02:00
brcm2708 brcm2708: split sdcard.img.gz into a sysupgrade and factory image 2018-07-30 08:11:36 +02:00
cns3xxx
gemini
generic kernel: backport mtd support for subpartitions in DT 2018-07-27 22:16:24 +02:00
imx6
ipq40xx ipq40xx: move essedma patches into same range 2018-07-25 12:13:19 +02:00
ipq806x ipq806x: dts: Remove device_type = "ethernet-phy" 2018-07-19 18:58:24 +02:00
ixp4xx
kirkwood
lantiq lantiq: add support for FritzBox 7312 2018-07-18 19:17:46 +02:00
layerscape kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
malta
mcs814x kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
mediatek mediatek: fix parallel build issues in image build code 2018-07-17 14:40:04 +02:00
mpc85xx
mvebu
mxs
octeon
octeontx
omap
omap24xx
orion
oxnas
pistachio
ppc40x kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
ppc44x kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
ramips ramips: remove stale get_status_led call 2018-07-25 08:57:17 +02:00
rb532 kernel: only optimized for size if small_flash 2018-07-12 18:15:32 +02:00
sunxi
uml
x86
xburst
zynq
Makefile