cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
978 Views
Registered: ‎09-28-2018

[OSL2018.2 manual build] FSBL stuck at build time message -> SD card boot

Jump to solution

Hi All, 

I'm currently making a bootable image the manual way for the ZynqMP.  When I boot my SD card the only thing showing is: 

Xilinx Zynq MP First Stage Boot Loader
 
Release 2018.2   Nov 19 2018  -  10:04:17

I Can't figure out what's wrong. The next thing which should happen is the loading of the ATF bin file. 

Here is my boot.bif file:

the_ROM_image:
{
        [bootloader,destination_cpu=a53-0] fsbl.elf
        [pmufw_image] pmufw.elf
        [destination_device=pl]  design_1_wrapper.bit
        [destination_cpu=a53-0, exception_level=el-3,trustzone] bl31.elf
        [destination_cpu=a53-0, exception_level=el-2] uboot.elf
}

The command I used:

 hsi::generate_app -hw design_1_wrapper.hdf  -app zynqmp_fsbl -os standalone -proc psu_cortexa53_0 -compile -verbose -sw fsbl -dir ./dir )

Inside the hdf file, the xml file states:

SYSTEMINFO BOARD="xilinx.com:zcu102:3.2" PART="xczu9eg-ffvb1156-2-e" ARCH="zynquplus" PACKAGE="ffvb1156" DEVICE="xczu9eg" SPEED="-2" LUT="274080" FF="548160" BRAM="912" DSP="2520

The only thing what was a bit weird is the fact I had to add the package name to the bootgen command line which I needed to do in order to avoid the error:  [ERROR]  : Partname 7z020clg400 in Bit file is incompatible with Zynq MP parts

bootgen -image "boot.bif" -arch zynqmp -w -o i "BOOT.bin"  -packagename xczu9eg -log trace 

 

Edit:

Enabling the fsbl debug option gives me:  (last couple of printouts )

*****Image Header Table Details******** 

Boot Gen Ver: 0x1020000 

No of Partitions: 0x4 

Partition Header Address: 0x440 
Partition Present Device: 0x0 
Initialization Success 

======= In Stage 3, Partition No:1 ======= 

UnEncrypted data Length: 0xF6EBF 
Data word offset: 0xF6EBF 
Total Data word length: 0xF6EBF

Destination Load Address: 0xFFFFFFFF 
Execution Address: 0x0 
Data word offset: 0xF930 
Partition Attributes: 0x26 
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: 0x0

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Explorer
Explorer
950 Views
Registered: ‎09-28-2018

The FSBL compiling warning was a clue indeed. There has been messup with different bitstreams. We regenerated a clean .hdf file intended for the ZynqMP and cleared all the previous files.

Now it works, the bitstream was loaded well. 

View solution in original post

0 Kudos
1 Reply
Highlighted
Explorer
Explorer
951 Views
Registered: ‎09-28-2018

The FSBL compiling warning was a clue indeed. There has been messup with different bitstreams. We regenerated a clean .hdf file intended for the ZynqMP and cleared all the previous files.

Now it works, the bitstream was loaded well. 

View solution in original post

0 Kudos