Date:2010-09-12 04:11:08 (12 years 18 days ago)
Author:Maarten ter Huurne
Commit:0bb81e1eb2cd914e57a0b890515b2ce7d39a70ad
Message:MIPS: JZ4740: A320: Switch rootfs from romfs to squashfs.

The compression made the image about 40% smaller. Also loading speed improved by about 20%, probably because less data has to be loaded from the SD card and the time saved there is more than the time spent on decompression.
We are using gzip compression rather than lzma compression: the lzma image was about 15% smaller than the gzip image, but loading took over twice as long.
The benchmark used was copying /usr/lib to /tmp with the CPU clocked at 408 MHz.
Files: arch/mips/configs/a320_defconfig (4 diffs)

Change Details

arch/mips/configs/a320_defconfig
11#
22# Automatically generated make config: don't edit
33# Linux kernel version: 2.6.35
4# Wed Sep 8 02:26:06 2010
4# Sun Sep 12 04:07:55 2010
55#
66CONFIG_MIPS=y
77
...... 
11541154# CONFIG_JFFS2_FS is not set
11551155# CONFIG_LOGFS is not set
11561156# CONFIG_CRAMFS is not set
1157# CONFIG_SQUASHFS is not set
1157CONFIG_SQUASHFS=y
1158# CONFIG_SQUASHFS_XATTRS is not set
1159# CONFIG_SQUASHFS_LZMA is not set
1160# CONFIG_SQUASHFS_EMBEDDED is not set
1161CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
11581162# CONFIG_VXFS_FS is not set
11591163# CONFIG_MINIX_FS is not set
11601164# CONFIG_OMFS_FS is not set
11611165# CONFIG_HPFS_FS is not set
11621166# CONFIG_QNX4FS_FS is not set
1163CONFIG_ROMFS_FS=y
1164CONFIG_ROMFS_BACKED_BY_BLOCK=y
1165# CONFIG_ROMFS_BACKED_BY_MTD is not set
1166# CONFIG_ROMFS_BACKED_BY_BOTH is not set
1167CONFIG_ROMFS_ON_BLOCK=y
1167# CONFIG_ROMFS_FS is not set
11681168# CONFIG_SYSV_FS is not set
11691169# CONFIG_UFS_FS is not set
11701170# CONFIG_NETWORK_FILESYSTEMS is not set
...... 
12451245CONFIG_HAVE_ARCH_KGDB=y
12461246# CONFIG_EARLY_PRINTK is not set
12471247CONFIG_CMDLINE_BOOL=y
1248CONFIG_CMDLINE="console=tty0 boot=/dev/mmcblk0,/dev/mmcblk0p1 loop0=/boot/rootfs root=/dev/loop0 jz4740_udc.use_dma=0 mem=32M"
1248CONFIG_CMDLINE="console=tty0 boot=/dev/mmcblk0,/dev/mmcblk0p1 loop0=/boot/rootfs.bin root=/dev/loop0 jz4740_udc.use_dma=0 mem=32M"
12491249CONFIG_CMDLINE_OVERRIDE=y
12501250
12511251#
...... 
12741274CONFIG_CRC32=y
12751275# CONFIG_CRC7 is not set
12761276# CONFIG_LIBCRC32C is not set
1277CONFIG_ZLIB_INFLATE=y
12771278CONFIG_LZO_COMPRESS=y
12781279CONFIG_LZO_DECOMPRESS=y
12791280CONFIG_HAS_IOMEM=y

Archive Download the corresponding diff file



interactive