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:
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.
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
2) Rebuild your PetaLinux project.
3) To boot QEMU with 4GB, pass the following additional parameters through:
--qemu-args "-m 4G"