cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
320 Views
Registered: ‎02-19-2018

Possible to fix SD card boot remotely?

I am interfacing with a ZCU102 remotely (while I am working from home). The boot pins on the device are set to boot from the SD card. This has been working quite well for a few weeks but earlier today the device failed to boot after updating the BOOT.BIN file. I recompiled the FSBL with detailed debug info enabled and loaded it with JTAG and saw the following message:

Xilinx Zynq MP First Stage Boot Loader
Release 2019.2   May 28 2020  -  19:03:47
Reset Mode      :       System Reset
Platform: Silicon (4.0), Cluster ID 0x80000000
Running on A53-0 (64-bit) Processor, Device Name: XCZU9EG
FMC VADJ Configuration Successful
Board Configuration successful
Processor Initialization Done
================= In Stage 2 ============
SD1 with level shifter Boot Mode
SD: rc= 0
File name is BOOT8192.BIN
SD: Unable to open file BOOT8192.BIN: 4
                                       XFSBL_ERROR_SD_F_OPEN
Boot Device Initialization failed 0x29
================= In Stage Err ============
Fsbl Error Status: 0x0

How do I interpret this message? Did the filename of the BOOT.BIN file somehow get corrupted (for reference, I used the `update_boot` function in U-Boot using `run update_boot` to update the BOOT.BIN file over TFTP. Maybe the filename got corrupted somehow in that process?)

Secondly, is there anything I can do to fix this remotely? If I can find a way to boot the device over JTAG I can mount the SD card and update the BOOT.BIN file, but I haven't been able to figure out how to do that.

Thanks for any help!

0 Kudos
4 Replies
Highlighted
Xilinx Employee
Xilinx Employee
244 Views
Registered: ‎10-11-2011

Re: Possible to fix SD card boot remotely?

The MULTIBOOT_REGISTER is non-zero for some reasons. Try changing it to 0x0 with mwr commands.

Can you issue a POR_B or power cycle on the board?

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Explorer
Explorer
185 Views
Registered: ‎02-19-2018

Re: Possible to fix SD card boot remotely?

Thanks for your reply @denist.

Do you have a reference for the different registers I can write to with mwr? I just tried searching both the TRM and software developers guide for "MULTIBOOT_REGISTER" but didn't get any results.


Can you issue a POR_B or power cycle on the board?


I can power cycle the board (it's connected to a network connected power supply that I can switch on and off remotely), but I'm afraid I don't know what a POR_B is or how to issue one.

 

0 Kudos
Highlighted
Explorer
Explorer
150 Views
Registered: ‎02-19-2018

Re: Possible to fix SD card boot remotely?

Hello again @denist,

 

I'm afraid I've once again come up against this problem (the BOOT.BIN file on the SD card is apparently corrupted) and trying to boot over JTAG is still giving me the "APU L2 cache is held in reset" message.

Would you be willing to provide more detailed instructions on what I need to do here?

Thanks.

UPDATE: I was able to find the multiboot register through the Register Reference but trying to write to it still gives the same error:

xsdb% mwr 0xffca0010 0x0
Memory write error at 0xFFCA0010. APU L2 cache is held in reset
0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
104 Views
Registered: ‎10-11-2011

Re: Possible to fix SD card boot remotely?

Which target are you using?

Try enabling access to the Microblaze PMU (See https://www.xilinx.com/support/answers/67871.html ) and issue the write from there.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos