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

how to use cramfs as rootfs

工作和技术 crifan 2169浏览 0评论

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

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
79 queries in 0.163 seconds, using 22.07MB memory