how to use cramfs as rootfs
1.uboot:
includeconfigsas352xpb.h :
command set to:
#define CONFIG_BOOTARGS "root=/dev/mtdblock2 init=/linuxrc console=ttyS0,115200 mem=32M rootfstype=cramfs"
2.in kernel:
add cramfs support:
make ARCH=arm menuconfig:
File systems —>
Miscellaneous filesystems —>
<*> Compressed ROM file system support (cramfs)
3.in buildroot:
make menuconfig:
Target filesystem options —>
[*] cramfs root filesystem
转载请注明:在路上 » how to use cramfs as rootfs