Set ram size from SPL.

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

Set ram size from SPL.

ソリューションへジャンプ
2,308件の閲覧回数
Arm7
Contributor II

Hello,

Could you help me, Where in the SPL ( Secondary program Loader ) can I set the ram size?

 

Currently, the configuration is done in u-boot like: gd->ram_size = PHYS_SDRAM_SIZE;

And now, I have to do it in the SPL side.

 

I'd appreciate the support. Thank you!

タグ(1)
0 件の賞賛
返信
1 解決策
2,221件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello @Arm7  

The SPL is not designed to set global data

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
2,264件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Arm7 

There is no example code for setting ram size in SPL.

0 件の賞賛
返信
2,245件の閲覧回数
Arm7
Contributor II

Hello @Zhiming_Liu,

Thank you for the support, CONFIG_SPL_SIZE_LIMIT it seems, this configuration is only for SPL side, When the boot sequence ends, in kernel, the configuration would be kept ?

0 件の賞賛
返信
2,222件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello @Arm7  

The SPL is not designed to set global data

0 件の賞賛
返信
2,195件の閲覧回数
Arm7
Contributor II
Hello @Zhiming_Liu

Could you give me a little more detail please?
Is this documented somewhere ?

Thank you!
0 件の賞賛
返信
2,171件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport