最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

how to use cramfs as rootfs

工作和技术 crifan 2500浏览

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

76 queries in 0.401 seconds, using 19.20MB memory