Boot from NOR flash (via IFC) to SDRAM (CPC initialized in PBI) for T1042

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

Boot from NOR flash (via IFC) to SDRAM (CPC initialized in PBI) for T1042

780 Views
llteam
Contributor I

Hello,

I want to boot a u-boot image from Nor Flash (IFC) to SDRAM(CPC) which is initialized in PBI.

NOR Flash boot RCW is imported to Configuation Tool of CodeWarrior. Like SD-CARD boot described in application note, PBI command are copied but SPI controller initialization is not inluded. PBL does not succeed to copy image from NOR flash to SDRAM. Please help.

Why PBL copy image?

Any Suggestions? 

How can I achieve such a requirement? 

0 Kudos
3 Replies

771 Views
ufedor
NXP Employee
NXP Employee

You wrote:

> but SPI controller initialization is not inluded

Why SPI controller?

> Why PBL copy image?

What do you mean?

 

Please consider that for NOR Flash booting there is no need to copy U-Boot code to SRAM - usually U-Boot code is executed from NOR Flash directly.

 

Please consider using NXP Professional Engineering Services if you need custom solution development: https://www.nxp.com/support/support/nxp-engineering-services:SW-SUPPORT

0 Kudos

766 Views
llteam
Contributor I

Hi,

 > usually U-Boot code is executed from NOR Flash directly.

We already run out custom bootloader in that manner. However for a faster boot, we want to run our boot codes from CPC (SRAM). Therefore, we want to copy our codes from NOR Flash to SRAM in PBL phase.

- Can we copy, it is possible in PBL like (SDCARD)?

- Does this process improve our boot process' speed? (running directly from NOR Flash vs copying SRAM and running directy from SRAM) 

0 Kudos

761 Views
ufedor
NXP Employee
NXP Employee

Which exactly PBI commands you think have to copy the U-Boot image into SRAM?

0 Kudos