Skip to content

Commit

Permalink
ubifs: use zlib
Browse files Browse the repository at this point in the history
For the price of 1 second in the loader stage we get 1 MiB of flash
space. 13.35 MiB -> 12.29 MiB, 6.5 sec - > 7.6 sec.

Signed-off-by: Christian Svensson <[email protected]>
  • Loading branch information
bluecmd committed Apr 8, 2019
1 parent 3811694 commit 566f368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ root.ubifs.img: initramfs.cpio $(ROOT_DIR)boot/zImage.full $(ROOT_DIR)boot/signe
fakeroot sh -c "(cd root/; cpio -idv < ../$(<)) && \
cat root/bbin/bb $(TEST_EXTRA_SIGN) | \
$(ROOT_DIR)boot/signer/signer > root/bbin/bb.gpg && \
mkfs.ubifs -r root -R0 -m 1 -e ${LEB} -c 2047 -o $(@)"
mkfs.ubifs -x zlib -r root -R0 -m 1 -e ${LEB} -c 2047 -o $(@)"

ubi.img: root.ubifs.img $(ROOT_DIR)ubi.cfg
ubinize -vv -o ubi.img -m 1 -p64KiB $(ROOT_DIR)ubi.cfg
Expand Down

0 comments on commit 566f368

Please sign in to comment.