Page 1 of 1

Available DRAM space for user space's use in demo bundle prj

PostPosted:
by Guest
Hi, sir,

I'm porting the xillybus demo bundle project over ZYBO and is planning the test code in linux user space. May I know how or where to check how many available DRAM space of the demo project user can use ?

thx

Re: Available DRAM space for user space's use in demo bundle

PostPosted:
by support
Hello,

Xillinux is just another Ubuntu Linux distribution, as far as the software environment goes. So your quickest path to answers in those matters is using Google.

There are endless ways for checking how RAM is available on a Linux system. Personally, I just type "top" at shell prompt, and read the top lines.

Regards,
Eli

Re: Available DRAM space for user space's use in demo bundle

PostPosted:
by Guest
Hello,

The problem I came up with is that the Linux SW is ported by Xillybus including the demo project. Thus, the Linux SW including bootloader should plan what physical address space in 512MB DRAM are left for user space application. So, that' why I asked the question. Correct me if my understand is wrong.

Thanks

Re: Available DRAM space for user space's use in demo bundle

PostPosted:
by support
Hello,

The amount of physical RAM available on the board is passed to Linux through the device tree blob (DTB) during boot.

Regards,
Eli