Apply squashfs filesystem to the initrd(ramdisk) of TV 53/253653/2 accepted/tizen/unified/20210217.030950 submit/tizen/20210217.020358
authorINSUN PYO <insun.pyo@samsung.com>
Tue, 16 Feb 2021 06:05:23 +0000 (15:05 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Tue, 16 Feb 2021 10:43:58 +0000 (19:43 +0900)
squashfs supports compression.

=====================================
| ext4 (M byte) | squashfs (M byte) |
====================================|
|      6.5      |       3.7         |
|     10.0      |       5.5         |
-------------------------------------
|     13.0      |       7.0         |
|     13.4      |       7.3         |
-------------------------------------
|     13.8      |       7.7         |
|     14.3      |       7.9         |
-------------------------------------
|     15.0      |       8.2         |
|     16.3      |       9.1         |
=====================================

Change-Id: Ie922ba91d0600cddf4dae93e87e9905099ada9c6

partitions/tv-3parts-ramdisk-recovery

index 5f87833..3786b96 100644 (file)
@@ -1,5 +1,5 @@
 part / --fstype="ext4" --size=3500 --ondisk=mmcblk0 --label rootfs --fsoptions=defaults,noatime
 part /opt --fstype="ext4" --size=512 --ondisk=mmcblk0 --label system-data --fsoptions=defaults,noatime
 part /opt/usr --fstype="ext4" --size=3500 --ondisk=mmcblk0 --label user --fsoptions=defaults,noatime
-part /mnt/initrd --size=8 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk --extoptions="-b 1024 -O ^has_journal"
+part /mnt/initrd --size=14 --ondisk mmcblk0p --fstype=squashfs --label=ramdisk --extoptions="-b 1024 -O ^has_journal"
 part /mnt/initrd-recovery --size=32 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk-recovery --extoptions="-b 1024 -O ^has_journal"