AnsweredAssumed Answered

How do I recover from a failed u-boot flash on the LS1021A?

Question asked by Henry Yei on Dec 4, 2014
Latest reply on Apr 1, 2015 by Jan Brand

I have corrupted both bank0 and bank1 on the LS1021A while attempting to flash a custom u-boot image, so am looking to restore the board to a working state.

However, I am having trouble restoring the recovery image from the Freescale 1.3 SDK found under flash-image/LS1021A_SDK_1.3_LS1021ATWR_20141027_NOR_FLASH.bin. Is there some trick to this that I am missing while following the documentation included with the 1.3 SDK (QorIQ LS1021A SDK v1.3 mini uberPDF - Final Release.pdf)?


I have a rev X4 board if that makes a difference.


I'm able to load the recovery u-boot (u-boot-with-spl-pbl-ls1021atwr_sdcard-2013.10+fslgit-r0.bin) from SDCard, and attempted to flash LS1021A_SDK_1.3_LS1021ATWR_20141027_NOR_FLASH.bin found under the flash-image directory with the instructions from the documentation:


I have copied LS1021A_SDK_1.3_LS1021ATWR_20141027_NOR_FLASH.bin as img.bin and tried both tftp and fatload methods, which seem to successfully load it to 0x82000000 (default loadaddr value)


=> tftp $loadaddr img.bin

=> protect off all

=> erase 60000000 67ffffff

=> cp.b $loadaddr 60000000 8000000


After the above cmds successfully complete, I set SW2:1 back to ON and SW2:3 to OFF to boot from NOR Flash, but I don't get any output from the console as I would expect.


Any pointers to what I am doing wrong would be much appreciated!