Trenz Electronic GmbH Support Forum

Trenz Electronic Products => UltraScale => Topic started by: crittaler on September 05, 2023, 11:35:57 PM

Title: TE0820 QSPI boot 2022.2
Post by: crittaler on September 05, 2023, 11:35:57 PM
Hello,

I am trying to boot my TE0820-04 board in a TE0701-06 carrier, but I would like to use the QSPI as I need the SD card for a different peripheral.

I am using 2022.2 Vivado and Vitis along with 2022.2 Petalinux and have the no prebuilt and prebuilt projects from: https://shop.trenz-electronic.de/Download/?path=Trenz_Electronic/Modules_and_Module_Carriers/4x5/TE0820/Reference_Design/2022.2/test_board

Are there step-by-step instructions available for configuring and booting from QSPI under 2022.2?

Thanks
Title: Re: TE0820 QSPI boot 2022.2
Post by: MA on September 06, 2023, 10:49:17 AM
Hi,

I guess you are searching for this link, right?

https://wiki.trenz-electronic.de/display/PD/TE0820+Test+Board#TE0820TestBoard-QSPI-Bootmode

Best regards,

Manuela
Title: Re: TE0820 QSPI boot 2022.2
Post by: crittaler on September 06, 2023, 09:45:30 PM
Is the fsbl_flash.elf from earlier versions suitable to use in 2022.2 since I will be programming this with Vivado or do I need a different file?

I should also note, I am programming the device in Windows, but compiling in a Hyper-V so my linux distro doesn't have access to USB ports to program directly.  So what I am wanting to do is generate the necessary files in my hyper-V and transfer them to my windows os where I can load them into Vivado Lab Hardware monitor.

Title: Re: TE0820 QSPI boot 2022.2
Post by: esultpunctual on September 07, 2023, 08:48:09 AM
I'm writing the gadget in Windows and building it in a Hyper-V since my Linux distribution doesn't provide me with direct access to USB ports.
Title: Re: TE0820 QSPI boot 2022.2
Post by: MA on September 07, 2023, 11:52:04 AM
Hi,

Compiling and Programming in different OS is not be a problem as we do it with our reference designs as well. 

What is problematic is mixing files from different Vivado versions. This can work, but does not have to. In any case, we recommend that you always use the files that match the version.

So, in your case the file you need is fsbl.elf and not fsbl_flash.elf.

Best regards,

Manuela
Title: Re: TE0820 QSPI boot 2022.2
Post by: crittaler on September 08, 2023, 12:29:10 AM
Thanks Manuela,

For the Petalinux2022.2 kickstart the instructions say to generate the boot.bin fsbl and pmu firmware with vitis tools.  Are there instructions to do so?


To add some clarification I am trying to boot fully from QSPI as I won't have access to an SD card in my final design, I need the port for something else.

I have been trying to configure my partitions based on:
https://support.xilinx.com/s/article/000033588?language=en_US

but have not been able to boot so far.

Thanks

Title: Re: TE0820 QSPI boot 2022.2
Post by: MA on September 08, 2023, 10:32:37 AM
Hi,

for the generation of boot.bin you can use our scripts, which are described under

https://wiki.trenz-electronic.de/display/PD/TE0820+Test+Board#TE0820TestBoard-DesignFlow (Generate Programming Files)

To generate a Boot.bin manually, start Vitis (also from Trenz script in Vivado)
--> Xilinx -->Create Boot Image --> Zynq and Zynq Ultrascale
- The easiest way is to import an existing BIF file and add or adapt the required files.
- The boot.scr files must be adapted accordingly

Best regards,

Manuela