Hello,
avnet/hdl/projects/zub1cg_sbc_base_2022_1 and avnet/petalinux/projects/zub1cg_sbc_base_2022_1 are installed in Ubuntu 18.04.
SD boot and QSPI boot worked well with the petalinux images. The boot_qspi_mmc.sh script was used for QSPI boot image w/o any problem.
I want to execute a RPU application or APU application at QSPI boot. So, I added the Mtest_a53.elf to the existing script as below. (highlighted in yellow color) However, the image didn't show any prints over the uart console.
The bootgen.bif file and xsct error log are as follows. Please help me to run the user application at QSPI boot.
Thanks.
- the modified boot_qspi_mmc.sh script
petalinux-package --boot --fsbl ./images/linux/zynqmp_fsbl.elf --add ./images/linux/Mtest_a53.elf --cpu=a53-0 --fpga ./images/linux/system.bit --uboot -o BOOT_LINUX_APU_UBOOT_QSPI.BIN --force --boot-device flash --add ./images/linux/avnet-boot/avnet_mmc.scr --offset 0x01e80000
~/pkg/petalinux/2022.1/tools/xsct/bin/program_flash -f ./BOOT_LINUX_APU_UBOOT_QSPI.BIN -offset 0 -flash_type qspi-x4-single -fsbl ./images/linux/zynqmp_fsbl.elf
- bootgen.bif file
the_ROM_image:
{
[bootloader, destination_cpu=a53-0] /home/ubuntu/avnet/petalinux/projects/zub1cg_sbc_base_2022_1/images/linux/zynqmp_fsbl.elf
[pmufw_image] /home/ubuntu/avnet/petalinux/projects/zub1cg_sbc_base_2022_1/images/linux/pmufw.elf
[destination_device=pl] /home/ubuntu/avnet/petalinux/projects/zub1cg_sbc_base_2022_1/images/linux/system.bit
[destination_cpu=a53-0, exception_level=el-3, trustzone] /home/ubuntu/avnet/petalinux/projects/zub1cg_sbc_base_2022_1/images/linux/bl31.elf
[destination_cpu=a53-0, load=0x00100000] /home/ubuntu/avnet/petalinux/projects/zub1cg_sbc_base_2022_1/images/linux/system.dtb
[destination_cpu=a53-0, exception_level=el-2] /home/ubuntu/avnet/petalinux/projects/zub1cg_sbc_base_2022_1/images/linux/u-boot.elf
[destination_cpu=a53-0] /home/ubuntu/avnet/petalinux/projects/zub1cg_sbc_base_2022_1/images/linux/Mtest_a53.elf
[destination_cpu=a53-0, offset=0x01e80000] /home/ubuntu/avnet/petalinux/projects/zub1cg_sbc_base_2022_1/images/linux/avnet-boot/avnet_mmc.scr
}
- xsct register dump at QSPI boot
source boot_registers_log_rev1_0.tcl
======================================================================
== Registers Dump
BOOT_MODE_USER = FF5E0200: 00000002
BOOT_MODE_POR = FF5E0204: 00000222
RESET_REASON = FF5E0220: 00000021
PMU_GLOBAL.PWR_STATE = FFD80100: 00FFFC83
PWR_SUPPLY_STATUS = FFD8010C: 00000007
CSU_BR_ERROR = FFD80528: 80002400
ERROR_STATUS_1 = FFD80530: 00000000
ERROR_STATUS_2 = FFD80540: 04000000
csu_status = FFCA0000: 00000000
csu_ft_status = FFCA0018: 00000000
CSU_ISR = FFCA0020: 00008024
pcap_status = FFCA3010: 00000A02
tamper_status = FFCA5000: 00000000
jtag_chain_status = FFCA0034: 00000003
jtag_sec = FFCA0038: 000001FF
1 PS TAP
2 PMU
13* MicroBlaze PMU (Sleeping after reset. No clock)
3 PL
4 PSU
5 RPU (Reset)
6 Cortex-R5 #0 (RPU Reset)
7 Cortex-R5 #1 (RPU Reset)
8 APU (L2 Cache Reset)
9 Cortex-A53 #0 (APU Reset)
10 Cortex-A53 #1 (APU Reset)
CONFIG STATUS: 0
CRC ERROR (Bits [0]): 0
DECRYPTOR ENABLE (Bits [1]): 0
PLL LOCK STATUS (Bits [2]): 0
DCI MATCH STATUS (Bits [3]): 0
END OF STARTUP (EOS) STATUS (Bits [4]): 0
GTS_CFG_B STATUS (Bits [5]): 0
GWE STATUS (Bits [6]): 0
GHIGH STATUS (Bits [7]): 0
MODE PIN M[0] (Bits [8]): 0
MODE PIN M[1] (Bits [9]): 0
MODE PIN M[2] (Bits [10]): 0
INIT_B INTERNAL SIGNAL STATUS (Bits [11]): 0
INIT_B PIN (Bits [12]): 0
DONE INTERNAL SIGNAL STATUS (Bits [13]): 0
DONE PIN (Bits [14]): 0
IDCODE ERROR (Bits [15]): 0
SECURITY ERROR (Bits [16]): 0
SYSTEM MONITOR OVER-TEMP ALARM STATUS (Bits [17]): 0
CFG STARTUP STATE MACHINE PHASE (Bits [20:18]): 0
SECURITY_STATUS (Bits [23:21]): 0
RESERVED (Bits [24]): 0
CFG BUS WIDTH DETECTION (Bits [26:25]): 0
SECURITY AUTH ERROR (Bits [27]): 0
PUDC_B PIN (Bits [28]): 0
BAD PACKET ERROR (Bits [29]): 0
CFGBVS PIN (Bits [30]): 0
RESERVED (Bits [31]): 0
xsct% Info: tcfchan#9 closed