昨天开始突然想在4412上面跑人QT玩,首先得跑个纯linux
昨天做好第一步,把根文件系统,用make_ext4fs 打包。make_ext4fs -l 34M -s system.img minifs/
然后在uboot启动命令中把启动参数修改:
setenv bootargs noinitrd root=/dev/mmcblk0p2 rootfstype=ext4
原先没有加noinitrd一直找不到文件系统,加入到成功启动,
还有在过程中查看到fdisk -p 0 查看分区信息。
partion # size(MB) block start # block count partition_Id
1 1033 5478825 2115960 0x0C
2 302 136026 619674 0x83
3 2003 755700 4103451 0x83
4 302 4859151 619674 0x83
其中part2 ,是system
part3, 是user
part4, 是cache
阅读(198) | 评论(0) | 转发(0) |