How to add reserved-memory in dts on imx7?

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

How to add reserved-memory in dts on imx7?

Jump to solution
2,055 Views
ZhijianYe
Contributor II

Hi,

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

Labels (1)
0 Kudos
Reply
1 Solution
2,034 Views
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/..."

View solution in original post

9 Replies
2,018 Views
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 Kudos
Reply
2,053 Views
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 Kudos
Reply
2,048 Views
joanxie
NXP TechSupport
NXP TechSupport

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

2,039 Views
ZhijianYe
Contributor II

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

0 Kudos
Reply
2,035 Views
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,028 Views
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 Kudos
Reply
2,024 Views
joanxie
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply
2,020 Views
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 Kudos
Reply
2,022 Views
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 Kudos
Reply