ramdisk: switch from initrd (ext4 based) to initramfs (cpio.gz based) format 07/314207/1 accepted/tizen_unified accepted/tizen_unified_dev accepted/tizen_unified_x tizen accepted/tizen/unified/20240709.165138 accepted/tizen/unified/dev/20240710.032413 accepted/tizen/unified/x/20240710.012927
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 1 Mar 2024 17:19:31 +0000 (18:19 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 8 Jul 2024 23:08:29 +0000 (08:08 +0900)
commit6215b53e24157b9042629db3cd2ec0bc463747c0
tree4e46c1783e2cd0f15aa65807aa83249fa67c709b
parent9fe0903f6dc285f999ab5b19e4aef9d4e1175e24
ramdisk: switch from initrd (ext4 based) to initramfs (cpio.gz based) format

Initrd-style booting is deprecated since Linux kernel commit 9acc17baf1fd
("initrd: mark initrd support as deprecated") included in v5.9 release.

Since commit ff26956875c2 ("brd: remove support for BLKFLSBUF") included
in Linux kernel v4.10 it is no longer possible to free the memory
occupied by the initrd.

Switch Tizen ramdisk images to initramfs format (cpio.gz based) to comply
with the new approach of starting Linux based systems.

During build arm64 on QB, ramdisk-recovery is failed because of no space
issue.
- It's a strange issue, so increase the ramdisk-recovery size from
32MB to 64MB.

Change-Id: I67ab60d95b751958f7a42f088047b8f289c58bc5
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
partitions/btrfs-rootfs-2parts-ramdisk-recovery
partitions/common-2parts-ramdisk-recovery
partitions/common-3parts-ramdisk
partitions/common-3parts-ramdisk-recovery