Procedure to load uboot through SPI on a bareboard

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

Procedure to load uboot through SPI on a bareboard

828 Views
Irfan3
Contributor III

Hi Team,

I am currently using T2081 based custom board. I need to load RCW and U-boot on the board through SPI flash.

Can someone suggest me how to perform this operation correctly. Currently i am referring the SDK 2.0 document for flashing u-boot on SPI flash through codewarrior. But in console i am getting error also  it gets stopped at "Loading secondary stage bootloader".

So can anyone suggest how to solve this issue?

FYI,

I am using N25Q512A flash device for programming spi flash.

Thanks & Regards,

Irfan

 

0 Kudos
1 Reply

791 Views
bpe
NXP Employee
NXP Employee

There is a very detailed application note which explains how to debug u-Boot on
PowerPC targets:

https://www.nxp.com/docs/en/application-note/AN4876.pdf

The appnote explains the specific of various boot scenarios, including SPI boot.

The secondary stage runs from the system DDR memory which is supposed to be
fully initialized and ready after the first stage. If the boot process
gets stuck stuck after an attempt to load, or to transfer control to the second stage,
the first recommended step is to check your memory: (a) run memory tests;
(b) follow the appnote mentioned above to debug your u-Boot.

Best Regards,
Platon

 

0 Kudos