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 ?