Boot from HBM/Higher DDR/LP DDR - 2023.2 English - UG1144

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2023-10-18
Version
2023.2 English
  1. Source the latest PetaLinux tool.
  2. Create plnx project with Versal template.
  3. Point the HBM/higher ddr/lp ddr enabled design xsa file.
    petalinux-config --get-wh-description <xsa file>
    Note: The current VHK158 Prod BSP has HBM enabled design.
  4. Go to Subsystem Auto Hardware Settings → Memory Settings → select the memory region of DDR/HBM
  5. Save and Exit
  6. petalinux-build
  7. Boot the images.

    The above-built images, by default, boot out of HBM/Higher DDR/LP DDR based on your selection for all boot modes except for jtag and pxe boot.

    For jtag, U-Boot is expecting boot.scr at 0x20000000, and this was hardcoded. PetaLinux does not have any U-Boot config option to change this. But U-Boot is providing a mechanism soon to configure the boot script address.

    For now, you have the following workaround to work with jtag boot for HBM:
    petalinux-boot --jtag --kernel --bootscr-addr 0x20000000 --hw_server-url <hostname:3121>

    For PXE boot, still the default, the images boot from Lower DDR. This will be enhanced in future releases.