cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
705 Views
Registered: ‎04-08-2019

Available memory to use for RPU

Jump to solution

Hello,

I am using Petalinux 2018.3 on zcu102 and I would like to know how much available memory I have so I can edit device tree to increase the memories for RPU core 0 and 1. How is this possible?

Thank you for your time,
Thanos

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
590 Views
Registered: ‎05-10-2017

Yes that's right. Up until 0x7ff00000 to be specific. You can also take a look at the memory node in the dts which has the ddr ranges specified.

memory {
device_type = "memory";
reg = <0x0 0x0 0x0 0x7ff00000 0x8 0x0 0x0 0x80000000>;
};

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
4 Replies
Highlighted
Moderator
Moderator
649 Views
Registered: ‎05-10-2017

You are reserving memory from the lower ddr region which is 2G. 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Adventurer
Adventurer
634 Views
Registered: ‎04-08-2019

Hello jovitac,

Thank you for your reply but could be a little bit more specific? I mean which area is the lower ddr region? 0x0000_0000 until 0x8000_0000?

Thanos

0 Kudos
Highlighted
Moderator
Moderator
591 Views
Registered: ‎05-10-2017

Yes that's right. Up until 0x7ff00000 to be specific. You can also take a look at the memory node in the dts which has the ddr ranges specified.

memory {
device_type = "memory";
reg = <0x0 0x0 0x0 0x7ff00000 0x8 0x0 0x0 0x80000000>;
};

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
Highlighted
Adventurer
Adventurer
574 Views
Registered: ‎04-08-2019

Ok now it's clear. Thank you Jovitac for your time and your help

0 Kudos