openwrt/target/linux/apm821xx
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
..
base-files treewide: move nand_do_upgrade call to platform_do_upgrade 2018-02-16 14:44:02 +01:00
dts apm821xx: unify My Book Live Single + Duo images 2018-07-19 18:58:24 +02:00
files/arch/powerpc/platforms/44x apm821xx: fix atheros PCIe cards on the MR24 2016-07-25 10:38:48 +02:00
image apm821xx: build squashfs-rootfs images for the MBL 2018-07-30 08:11:56 +02:00
nand apm821xx: nand remove obsolete kernel config symbol 2018-02-23 07:54:29 +01:00
patches-4.14 apm821xx: attempt to fix sata access freezes 2018-07-16 15:10:21 +02:00
sata apm821xx: build squashfs-rootfs images for the MBL 2018-07-30 08:11:56 +02:00
config-4.14 kernel: enable THIN_ARCHIVES by default 2018-05-22 07:55:20 +02:00
Makefile apm821xx: switch to 4.14.x kernel 2018-01-12 08:00:05 +01:00