Hi,
Currently I am using MFG tool to flash u-boot.bin, due to project requirement I am looking for method to flash uboot without using MFG tool. I have tried below methods, but to my surprise they are not working.
1. dd command : sudo dd if=u-boot.bin of=/dev/mtdblock0 or sudo dd if=u-boot.bin of=/dev/mtdblock0 bs=1K seek=1 skip=1
2. nandwrite -p /dev/mtd0 u-boot.bin
3. tftp + nand erase + nand write
My build environment is LTIB and target is iMX6 solo. I checked script file used by MFG tool, it is using kobs-ng. Is this mandatory?
Thanks
Rajendra
Solved! Go to Solution.
Hi Rajendra
yes for creating bootable NAND kobs-ng is mandatory.
In ltib one needs to select SABRE-AI board, as it supports NAND.
Best regards
igor
Hi Rajendra
yes for creating bootable NAND kobs-ng is mandatory.
In ltib one needs to select SABRE-AI board, as it supports NAND.
Best regards
igor
Hi Igor,
Thanks for confirmation. Just curious to know why we can't employ other mechanism like dd, etc.
regards
Rajendra
Hi Rajendra
kobs-ng makes FCB automatically, otherwise one will have
to write it manually, sect.8.5.2.3 Firmware Configuration Block IMX6DQRM
Best regards
igor
Hi Rajendra
I think you can use dd also, however one needs to reorder
data in necessary format, described in IMX6DQRM
Figure 17-3. FLASH Page Layout Options
Best regards
igor
Thanks for providing insights. It's helpful.