Hey !
There is tutorial on nxp side about recover your device by USB debug whereby I have uboot in ram. But I want write this uboot to nand without ethernet and USB. Imx_usb save u-boot to address 0x877FF400.
Address get from imx_usb output"
"loading binary file(/home/adrian/workspace/ccimx6ulstarter/image_new/ccimx6ulstarter/u-boot-ccimx6ulstarter.imx) to 877ff400, skip=0, fsize=90c00 type=aa"
Now I try save this to nand
"nand write 0x877FF400 0x0 0x90C00"
and I get error:
NAND write: device 0 offset 0x0, size 0x90c00
NAND write to offset 0 failed -5
0 bytes written: ERROR
Can You tell me what I doing wrong ?
Regards,
Adrian
Solved! Go to Solution.
Hi Adrian
seems problem is that nand boot programming requires kobs-ng which is available
only in linux. Partially such approach is implemented on
U-Boot - i.MX6: NAND boot with SPL
u-boot/README at master · ARM-software/u-boot · GitHub
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Yes, that helped.
Thanks Igor !! :smileywink:
Regards,
Adrian
Hi Adrian
seems problem is that nand boot programming requires kobs-ng which is available
only in linux. Partially such approach is implemented on
U-Boot - i.MX6: NAND boot with SPL
u-boot/README at master · ARM-software/u-boot · GitHub
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Ok, Firstly I had to erase nand.
But after reset, program don't see bootloader in nand and go to debug mode. Do You know why ?
Regards
Adrian