下面是SquashFs.tar.gz的下載地址,解壓后,直接執行其中的Makefile即可。
SquashFs.tar.gz
說明:
制作squashfs格式的壓縮鏡像:
./mksquashfs ./rootfs ./rootfs.squashfs.img -b 64K -comp xz || exit -1
修改uboot傳參:
mem=104M console=ttyAMA0,115200 root=/dev/mtdblock1 rootfstype=squashfs mtdparts=hi_sfc:4M(boot),11776K(rootfs),512K(config)
?
配置內核使其支持SquashFs:
?