TFTP cannot load to SRAM in BSP 33.0

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

TFTP cannot load to SRAM in BSP 33.0

Jump to solution
689 Views
glenfujimori
Contributor I

I am unable to tftp the multi-core IPCF demo bin files for M7 core 0 and 1 to SRAM. The following error is displayed: : "TFTP error: trying to overwrite reserved memory".  This is on the S32G274A RDB2 board. This worked for earlier BSPs (30.0).  Can someone tell me how to modify u-boot to allow TFTP to load to SRAM. This is needed for development for the M7 cores; it's not a realistic option to update the micro SD card and load from there.

I've done a little searching and see that this may have something to do with u-boot's DTS file marking the SRAM 8MB region as reserved.

Any help would be apprcieated!

0 Kudos
1 Solution
665 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

There is a section on the Linux BSP33.0 for S32G2 Platform regarding the TFTP Boot, following this the behavior is the same?

Are you trying to directly copy the files to SRAM? Or are you copying them to DDR then to SRAM? In the same fashion as if you load them from SD [description.txt from IPCF multi instance example]:

fatload mmc 0:1 0x80000000 IPCF_Example_multi_instance_S32G274_M7_0.bin
cp.q 0x80000000 0x34300000 0x30000

Please, let us know.

View solution in original post

0 Kudos
3 Replies
666 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

There is a section on the Linux BSP33.0 for S32G2 Platform regarding the TFTP Boot, following this the behavior is the same?

Are you trying to directly copy the files to SRAM? Or are you copying them to DDR then to SRAM? In the same fashion as if you load them from SD [description.txt from IPCF multi instance example]:

fatload mmc 0:1 0x80000000 IPCF_Example_multi_instance_S32G274_M7_0.bin
cp.q 0x80000000 0x34300000 0x30000

Please, let us know.

0 Kudos
658 Views
glenfujimori
Contributor I

Hi Daniel-Aguirre,

I can confirm that tftp'ing to SDRAM first and then copying to SRAM works OK. Thanks for the quick response. You can close this help request.

Glen

0 Kudos
649 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Thanks for your feedback, will do.

0 Kudos