Restore vBank0 image on LS1046A-RDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Restore vBank0 image on LS1046A-RDB

840 Views
penman
Contributor II
Question: Restore vBank0 image on LS1046A-RDB
I wrote a bad image file to vBank0 and cannot seem to restore a bootable image in this location.
Referencing Layerscape SDK 19.03 Users Guide, Section 4.1.6.3.3, Step 8 for QSPI and cold booting the working QSPI NOR flash 1 (vBank4), after completing these steps, the board still does not cold boot from vBank0.
I've tried programming these QSPI images to vBank0:
QSPI image downloaded with WGET
QSPI firmware built with LSDK
QSPI image copy from vBank4
Of particular note, with the vBank4 image copied to vBank0, and booting the LSDK Ubuntu from SD, I verified that /dev/mtd1 and mtd2 binary match, though RDB still won't boot vBank0.
This appears to be similar to JS Park question that was not resolved here:
Labels (1)
0 Kudos
3 Replies

588 Views
Pavel
NXP Employee
NXP Employee

You can use u-boot from SD card for QSPI NOR burning.

CodeWarrior Flash programmer also can be used for QSPI NOR programming.


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:

This thread is continued as a private discussion with the submitter,
NXP support is not following the thread anymore.
-------------------------------------------------------------------------------

0 Kudos

588 Views
Pavel
NXP Employee
NXP Employee

Try to use the Table 51 and Section 4.4.8.8 from SDK 2.0-1703 documentation for programming new u-boot on the LS1046ARDB board:

https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

588 Views
penman
Contributor II

Hi Pavel, thank you for looking into this however my experience was similar to JS Park in this message.

https://community.nxp.com/docs/DOC-341836#comments 

Despite following the programming guide directed to NOR flash 0, I would notice the first 0x8000 bytes would silently fail to erase/write. It may not be a coincidence that this is also the first 8 4kB 'hybrid' sectors of S25F512S though I don't have drivers to lock/unlock the QSPI configuration register default settings. I was lucky to have access to a CodeWarrior and TAP/cable and recover this.

0 Kudos