cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
chepner
Contributor
Contributor
1,077 Views
Registered: ‎10-10-2018

ZCU102 Boot QSPI Hangup

Jump to solution

Hello,

I'm using a zcu102 and I want to Boot for QSPI Boot Mode. I have already boot.bin file that boot from sdcard.

I've used the ug1209-embedded-design-tutorial (Page 74) to prepare my boot partition without R5 app.

My fsbl is hanging up with this traces:

 

 

U-Boot 2018.01 (Jan 27 2020 - 18:00:56 +0100) Xilinx ZynqMP ZCU102 rev1.0

aarch64-poky-linux-gcc (GCC) 7.2.0
GNU ld (GNU Binutils) 2.29.0.20170912
ZynqMP> UXilinx Zynq MP First Stage Boot Loader
Release 2018.2   Feb 10 2020  -  10:40:37
Reset Mode      :       System Reset
Platform: Silicon (4.0), Cluster ID 0x80000000
Running on A53-0 (64-bit) Processor, Device Name: XCZU9EG
Processor Initialization Done
================= In Stage 2 ============
QSPI 32 bit Boot Mode
QSPI is in Dual Parallel connection
QSPI is using 4 bit bus
FlashID=0x20 0xBB 0x20
MICRON 512M Bits
Multiboot Reg : 0x0
QSPI Reading Src 0x0, Dest FFFF1C40, Length EC0
.QSPI Read Src 0x0, Dest FFFF1C40, Length EC0
Image Header Table Offset 0x8C0
QSPI Reading Src 0x8C0, Dest FFFDC150, Length 40
.QSPI Read Src 0x460, Dest FFFDC150, Length 40
*****Image Header Table Details********
Boot Gen Ver: 0x1020000
No of Partitions: 0x7
Partition Header Address: 0x440
Partition Present Device: 0x0
QSPI Reading Src 0x1100, Dest FFFDC190, Length 40
.QSPI Read Src 0x880, Dest FFFDC190, Length 40
QSPI Reading Src 0x1140, Dest FFFDC1D0, Length 40
.QSPI Read Src 0x8A0, Dest FFFDC1D0, Length 40
QSPI Reading Src 0x1180, Dest FFFDC210, Length 40
.QSPI Read Src 0x8C0, Dest FFFDC210, Length 40
QSPI Reading Src 0x11C0, Dest FFFDC250, Length 40
.QSPI Read Src 0x8E0, Dest FFFDC250, Length 40
QSPI Reading Src 0x1200, Dest FFFDC290, Length 40
.QSPI Read Src 0x900, Dest FFFDC290, Length 40
QSPI Reading Src 0x1240, Dest FFFDC2D0, Length 40
.QSPI Read Src 0x920, Dest FFFDC2D0, Length 40
QSPI Reading Src 0x1280, Dest FFFDC310, Length 40
.QSPI Read Src 0x940, Dest FFFDC310, Length 40
Initialization Success
======= In Stage 3, Partition No:1 =======
UnEncrypted data Length: 0x65216F
Data word offset: 0x65216F
Total Data word length: 0x65216F
Destination Load Address: 0xFFFFFFFF
Execution Address: 0x0
Data word offset: 0x7EC0
Partition Attributes: 0x26
QSPI Reading Src 0x1FB00, Dest 100000, Length 19485BC
.QSPI Read Src 0xFD80, Dest 100000, Length 19485BC
Destination Device is PL, changing LoadAddress
Non authenticated Bitstream download to start now
DMA transfer done
XFSBL_ERROR_BITSTREAM_LOAD_FAIL
Partition 1 Load Failed, 0x37
================= In Stage Err ============
Fsbl Error Status: 0x0Xilinx Zynq MP First Stage Boot Loader
Release 2018.2   Feb 10 2020  -  10:40:37
Reset Mode      :       System Reset
Platform: Silicon (4.0), Cluster ID 0x80000000
Running on A53-0 (64-bit) Processor, Device Name: XCZU9EG
Processor Initialization Done
================= In Stage 2 ============
QSPI 32 bit Boot Mode
QSPI is in Dual Parallel connection
QSPI is using 4 bit bus
FlashID=0x20 0xBB 0x20
MICRON 512M Bits
Multiboot Reg : 0x1000
QSPI Reading Src 0x8000000, Dest FFFF1C40, Length EC0
XFSBL_ERROR_QSPI_LENGTH
Device Copy Failed
Boot Device Initialization failed 0x19
================= In Stage Err ============
Fsbl Error Status: 0x0Xilinx Zynq MP First Stage Boot Loader
Release 2018.2   Feb 10 2020  -  10:40:37
Reset Mode      :       System Reset
Platform: Silicon (4.0), Cluster ID 0x80000000
Running on A53-0 (64-bit) Processor, Device Name: XCZU9EG
Processor Initialization Done
================= In Stage 2 ============
QSPI 32 bit Boot Mode
QSPI is in Dual Parallel connection
QSPI is using 4 bit bus
FlashID=0x20 0xBB 0x20
MICRON 512M Bits
Multiboot Reg : 0x2000
QSPI Reading Src 0x10000000, Dest FFFF1C40, Length EC0
XFSBL_ERROR_QSPI_LENGTH
Device Copy Failed
Boot Device Initialization failed 0x19
================= In Stage Err ============
Fsbl Error Status: 0x0Xilinx Zynq MP First Stage Boot Loader
Release 2018.2   Feb 10 2020  -  10:40:37
Reset Mode      :       System Reset
Platform: Silicon (4.0), Cluster ID 0x80000000
Running on A53-0 (64-bit) Processor, Device Name: XCZU9EG
Processor Initialization Done
================= In Stage 2 ============
QSPI 32 bit Boot Mode
QSPI is in Dual Parallel connection
QSPI is using 4 bit bus
FlashID=0x20 0xBB 0x20
MICRON 512M Bits
Multiboot Reg : 0x3000
QSPI Reading Src 0x18000000, Dest FFFF1C40, Length EC0
XFSBL_ERROR_QSPI_LENGTH
Device Copy Failed
Boot Device Initialization failed 0x19
================= In Stage Err ============
Fsbl Error Status: 0x0

 

This is my BIF file that i used to generate my boot.bin file

the_ROM_image:
{
	 [bootloader,  destination_cpu=a53-0] fsbl-zcu102-zynqmp.elf
	 [destination_device=pl] bitstream.bit
	 [destination_cpu=pmu] pmu-fw.elf
	 [destination_cpu=a53-0, exception_level=el-3, trustzone] bl31.elf
	 [destination_cpu=a53-0, exception_level=el-2] u-boot.elf
}

Can you help me debugging this issue please ?

Thanks

Tags (4)
0 Kudos
1 Solution

Accepted Solutions
chepner
Contributor
Contributor
966 Views
Registered: ‎10-10-2018

Hello @satguy 

I've generated a new fsbl file with bootgen command without bitstream, flash it with SDK IDE "flash program" and it work.

I've used linux to flash partition to got this error.

Thanks 

 

View solution in original post

0 Kudos
2 Replies
satguy
Explorer
Explorer
1,058 Views
Registered: ‎04-19-2018

your FSBL is not loading anything:

XFSBL_ERROR_BITSTREAM_LOAD_FAIL
XFSBL_ERROR_QSPI_LENGTH
Device Copy Failed
Boot Device Initialization failed 0x19

The problem cannot be diagnosed from that boot log, you'll need to research on it, I'm afraid

0 Kudos
chepner
Contributor
Contributor
967 Views
Registered: ‎10-10-2018

Hello @satguy 

I've generated a new fsbl file with bootgen command without bitstream, flash it with SDK IDE "flash program" and it work.

I've used linux to flash partition to got this error.

Thanks 

 

View solution in original post

0 Kudos