-
mkubiimg.sh
2 sudo mkfs.ubifs -F -q -r rootfs_ecm_5410 -m 4096 -e 253952 -c 3600 -o ubifs.img 3 4 echo mkfs.ubifs over! 5 sudo ubinize -o ubi.img -m 4096 -p 256KiB -s 4096 -O 4096 ubinize.cfg 6 echo ubinize over! 7 8 sync 9 10 sudo cp ubi.img ~/image -rf 11 12 sudo rm ubifs.img ubi.img -rf 13 sync 14 echo make file system ok !
-
ubinize.cfg
1 [ubifs] 2 mode=ubi 3 image=ubifs.img 4 vol_id=0 5 vol_size=900MiB 6 vol_type=dynamic 7 vol_name=rootfs 8 vol_flags=autoresize
- 参考: http://processors.wiki.ti.com/index.php/Linux_Core_NAND_User‘s_Guide?keyMatch=253952&tisearch=Search-EN-Everything
原文地址:https://www.cnblogs.com/chenfulin5/p/8430741.html
时间: 2024-10-15 18:33:18