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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,384 次查看
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 项奖励
回复
3 回复数

1,375 次查看
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 项奖励
回复

1,370 次查看
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 项奖励
回复

1,365 次查看
ufedor
NXP Employee
NXP Employee

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

0 项奖励
回复