AR# 69117

|

2017.1 PetaLinux: Zynq UltraScale+ MPSoC lacks addressing for high-order DRAM

Description

I have built a zcu102-es1 project off of the base BSP using the below command:

petalinux-create -t project -n zcu102_test -s xilinx-zcu102-v2017.1-final.bsp

When booting, it states that it features only 2GB of RAM [lacking the address range from 0x1_0000_0000 to 0x1_7FFF_FFFF].

I observe the following in the free memory of the booted system:

root@plnx_aarch64:~# free

total used free shared buffers cached
Mem: 2052360 57984 1994376 30968 0 30968
-/+ buffers/cache: 27016 2025344
Swap: 0 0 0

I have observed the same thing on platforms for zcu102_es2, and for both of those boards when I supply my own HDF that has high-order addresses enabled.

Solution

To work around this issue follow the steps below:.

1) In system-user.dtsi, add the serial 1 as show below:

$ vim <plnx-proj-root>/project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi
/include/ "system-conf.dtsi"
/ {
memory {
device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>,
      <0x00000008 0x00000000 0x0 0x80000000>;;
};
};

2) Rebuild your PetaLinux project.

$ petalinux-build

3) To boot QEMU with 4GB, pass the following additional parameters through:

--qemu-args "-m 4G"
AR# 69117
Date 05/03/2017
Status Active
Type Known Issues
Devices
Tools
People Also Viewed