S32DS DRAM U-Boot Code Generation

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

S32DS DRAM U-Boot Code Generation

Jump to solution
848 Views
minersrevolt
Contributor III

I am using the S32DS DRAM Tool for profiling my board and am able to generate functional Arm Trusted Firmware code. When I change the setting to instead generate U-Boot code it creates the same code set as used for the ATF. Ive created a clean new project to try to generate U-Boot code but it is not generating. Is this feature functional? 

The AT-F generated code is not compatible with the U-Boot code base as far as I can tell, the files that are generated do not exist in the U-Boot code tree.

0 Kudos
Reply
1 Solution
813 Views
chenyin_h
NXP Employee
NXP Employee

Thanks for the post.

I have checked the document, and do not find that the u-boot feature is removed from the generated code style with DDR tools.

But since several year ago, the BSP for S32G has moved the DDR code to TFA

Instead of the u-boot, as a result, you may have a try with the DDR tools in S32DS3.4, also I suggest referencing the DDR code structure from BSP31 or a little earlier. In which the DDR code are located under u-boot.

Sorry for your inconvenience.

 

BR

Chenyin

View solution in original post

0 Kudos
Reply
1 Reply
814 Views
chenyin_h
NXP Employee
NXP Employee

Thanks for the post.

I have checked the document, and do not find that the u-boot feature is removed from the generated code style with DDR tools.

But since several year ago, the BSP for S32G has moved the DDR code to TFA

Instead of the u-boot, as a result, you may have a try with the DDR tools in S32DS3.4, also I suggest referencing the DDR code structure from BSP31 or a little earlier. In which the DDR code are located under u-boot.

Sorry for your inconvenience.

 

BR

Chenyin

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1950302%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32DS%20DRAM%20U-Boot%20Code%20Generation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1950302%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20using%20the%20S32DS%20DRAM%20Tool%20for%20profiling%20my%20board%20and%20am%20able%20to%20generate%20functional%20Arm%20Trusted%20Firmware%20code.%20When%20I%20change%20the%20setting%20to%20instead%20generate%20U-Boot%20code%20it%20creates%20the%20same%20code%20set%20as%20used%20for%20the%20ATF.%20Ive%20created%20a%20clean%20new%20project%20to%20try%20to%20generate%20U-Boot%20code%20but%20it%20is%20not%20generating.%20Is%20this%20feature%20functional%3F%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20AT-F%20generated%20code%20is%20not%20compatible%20with%20the%20U-Boot%20code%20base%20as%20far%20as%20I%20can%20tell%2C%20the%20files%20that%20are%20generated%20do%20not%20exist%20in%20the%20U-Boot%20code%20tree.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1951716%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32DS%20DRAM%20U-Boot%20Code%20Generation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1951716%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20for%20the%20post.%3C%2FP%3E%0A%3CP%3EI%20have%20checked%20the%20document%2C%20and%20do%20not%20find%20that%20the%20u-boot%20feature%20is%20removed%20from%20the%20generated%20code%20style%20with%20DDR%20tools.%3C%2FP%3E%0A%3CP%3EBut%20since%20several%20year%20ago%2C%20the%20BSP%20for%20S32G%20has%20moved%20the%20DDR%20code%20to%20TFA%3C%2FP%3E%0A%3CP%3EInstead%20of%20the%20u-boot%2C%20as%20a%20result%2C%20you%20may%20have%20a%20try%20with%20the%20DDR%20tools%20in%20S32DS3.4%2C%20also%20I%20suggest%20referencing%20the%20DDR%20code%20structure%20from%20BSP31%20or%20a%20little%20earlier.%20In%20which%20the%20DDR%20code%20are%20located%20under%20u-boot.%3C%2FP%3E%0A%3CP%3ESorry%20for%20your%20inconvenience.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EChenyin%3C%2FP%3E%3C%2FLINGO-BODY%3E