How to add reserved-memory in dts on imx7?

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

How to add reserved-memory in dts on imx7?

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

Hi,

I want to add reserved-memory in dts on imx7. Would you show me?

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
2,342件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

yes, if you need to change the memory for gpu, you can add "gpumem=xxx" in your uboot command, for more detailed information, pls refer to the document as below:

"https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Memory-Management-on-i-MX6-Android/ta-p/..."

元の投稿で解決策を見る

9 返答(返信)
2,326件の閲覧回数
ZhijianYe
Contributor II

I mean I will write data in the memory by coding during uboot working, not command.Will the data be clean when uboot quit?

0 件の賞賛
返信
2,361件の閲覧回数
ZhijianYe
Contributor II

logo_mem@0xbe000000{
compatible = "logo_mem";
device_type = "memory";
reusable;
reg = <0xbe000000 0x02000000>;
status = "okay";
};

 

Is it right? How to make it right and work?

0 件の賞賛
返信
2,356件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

you need add reserved-memory for what? vpu or gpu?

2,347件の閲覧回数
ZhijianYe
Contributor II

For saving a memory that is transmited from uboot to kernel. Will it work?

0 件の賞賛
返信
2,343件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

yes, if you need to change the memory for gpu, you can add "gpumem=xxx" in your uboot command, for more detailed information, pls refer to the document as below:

"https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Memory-Management-on-i-MX6-Android/ta-p/..."

2,336件の閲覧回数
ZhijianYe
Contributor II

Thanks a lot.

And will the reserved-memory be initialized? I need it to keep the date that is written on uboot.

0 件の賞賛
返信
2,332件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

I don't know what you mean, uboot command just set the memory size

0 件の賞賛
返信
2,328件の閲覧回数
ZhijianYe
Contributor II

I mean I will write data in the memory by coding during uboot working, not command.Will the data be clean when uboot quit?

I think it will be clean. Is there any other way to save the data?

0 件の賞賛
返信
2,330件の閲覧回数
ZhijianYe
Contributor II

I mean I will write data in the memory by coding, not command.Will the data be clean when uboot quit?

0 件の賞賛
返信