cfimager.exe tool is used to flash boot images and create FAT partition on SD/MMC cards
on the host PC
- To flash the uboot, use the following command:
cfimager -raw -offset 0x400 -skip 0x400 -f u-boot.bin -d
cfimager.exe -raw -offset 0x2000 -f boot.bin -d F
Note if changing -offset 0xXXXX, other image can be flashed to SD card "F".
Exemple bat file:
rem cfimager.exe -raw -offset 0x2000 -f boot.bin -d Disk F
cfimager.exe -raw -offset 0x2000 -f boot.bin -d F
pause
https://gitlab.com/my-imx6/mfgtools/tree/master/Utils/cfimager
https://github.com/NXPmicro/cfimager
https://whycan.com/files/members/4986/QQ截图20200927185730.png
dd if=fel-sdboot.sunxi of=fel-sdboot.img bs=1024 seek=8
然后用 win32diskimager 烧录 fel-sdboot.img 就可以了.
本站下载: fel-sdboot.zip
感谢, 学到了新知识。
]]>dd if=fel-sdboot.sunxi of=fel-sdboot.img bs=1024 seek=8
然后用 win32diskimager 烧录 fel-sdboot.img 就可以了.
插入SD0然后上电, 强制进入USB烧录模式。
本站下载: fel-sdboot.zip
]]>功能和Win32DiskImager类似?
实现方法类似。功能不一样,我这个主要是为了偏移量。
]]>