cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
203 Views
Registered: ‎07-28-2018

failed to download bl31.elf when downloading petalinux through JTAG

I'm using ZCU106 and PetaLinux 2019.1 and 2019.2.

I generated PetaLinux project and download bitstream via JTAG: "petalinux-boot --jtag --fpga", it outputs:

APU L2 cache is held in reset

........

Failed to download xxxxxxxxxxx/zcu106/images/linux/bl31.elf.

Both PetaLinux 2019.1 and PetaLinux 2019.2 gave the same errors. I also used Xilinx ZCU106 BSP, but got the same problem.

 

Other similar posts suggest using xsct to manually reset APU, but I don't know how to do that, it seems that I need to access

some memory addresses.

 

Did anyone encounter the same downloading error? Or could anyone point to me how to use XSCT to boot PetaLinux on ZCU106?

 

Thank you.

2 Replies
Highlighted
Moderator
Moderator
115 Views
Registered: ‎03-25-2019

Re: failed to download bl31.elf when downloading petalinux through JTAG

Hi @zouyu930503,

Please check if you are setting the boot mode to the JTAG mode on your board.

Best regards,
Abdallah
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
Highlighted
Contributor
Contributor
52 Views
Registered: ‎07-28-2018

Re: failed to download bl31.elf when downloading petalinux through JTAG

Yes, the JTAG mode is correctly set.

I'm not sure if this is a bug of PetaLinux or something else. But when I manually reset APU, it works fine.

It seems that somehow the APU is not correctly reset when downloading files.

I followed this link:

https://forums.xilinx.com/t5/Embedded-Linux/ZCU102-APU-L2-cache-is-held-in-reset-petalinux-boot-jtag/td-p/936649

0 Kudos