Bare metal Startup code on S32V234

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bare metal Startup code on S32V234

1,559件の閲覧回数
vedhachalam_p
Contributor I

Hi NXP Community,

I am working on Bare metal starup code on S32v234 EVB board. I am facing issue with booting the image with boot device as flash(non-xip).

I have provided below the steps followed and working/non-working scenarios in starup code and uboot code

a)U-boot code:

Working case(Image -> RAM):

1) uboot image(.bin) generated

2) Load the generated image(.bin) to specific address in SRAM directly with Trace32

3) uboot image is working and console log output is printed

Working case(Image -> Flash(non-XIP)):

1) uboot image(.bin) generated

2) Add IVT header and qspi commands to the generated bin

3) Flash the image to Internal flash(non-xip)

4) Boot the board and uboot image is working and console output is printed

b) Startup code:

Working case(Image ->RAM):

1) Startup code image(.bin) generated

2) Load the generated image(.bin) to specific address in SRAM directly with Trace32

3) Startup code is working and console log output is printed

Non-working case(Image -> Flash(non-XIP)):

1) Startup code(.bin) generated

2) Add IVT header and qspi commands to the generated bin -> the IVT header fields are updated with reference to working u-boot code 

3) Flash the image to Internal flash(non-xip)

4) Boot the board and startup code image is not working and no console output is printed

Could you please let me know if any other modification is required apart from IVT header and DCD information for Boot ROM to load the image from flash to SRAM and start execution.

Thanks and Regards,

Vedhachalam

ラベル(2)
0 件の賞賛
返信
0 返答(返信)