How to resolve the booting issue with JTAG using the petalinux-boot?

From 2021.1 Xilinx has added env_get_location in U-boot. This function determines the environment’s location based on the current boot mode.

By default, the system selects ENV_IS_IN_FAT. In eMMC/SD boot mode it finds the device and causes no error. In JTAG mode, it should be set to ‘ENVL_NOWHERE’ but by default it is set to ENVL_UNKNOWN and crashes the U-boot during the function call env_init.

Enable the configuration ‘CONFIG_ENV_IS_NOWHERE’ in U-boot to solve this issue with both JTAG and Qemu boot through Petalinux along with the environment variable “setnev modeboot ‘jtagboot’” set in U-boot.

This issue is fixed from Petalinux 2023.2 version.

For further inquiries, please get in touch with mktg@iwave-global.com

Please find the detailed G30M product information in the below link,

https://iwave-global.com/product/zynq-ultrascale-zu7-zu5-zu4-system-on-module/