关于imx6uLL用busybox制作文件系统
用Busybox制作了一个ramdisk文件系统,用qspi flash作为启动。
u_boot参数配置:
setenv bootargs 'console=ttymxc0,115200 root=/dev/ram0 rw rdinit=/linuxrc mtdparts=21e0000.qspi:1M(uboot),15M(kernel),1M(dtb),1M(config)'
setenv bootcmd 'sf probe 0;sf read 0x80800000 0x100000 0xF00000;sf read 0x83000000 0x1000000 0x100000;bootm 0x80800000 - 0x83000000'
成功挂载!!
并且cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00010000 "uboot"
mtd1: 00f00000 00010000 "kernel"
mtd2: 00100000 00010000 "dtb"
mtd3: 00100000 00010000 "config"
非常nice!!
接下来mount!!好像搞不定了。。咋办!