Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: whitsydaddy on February 03, 2016, 11:27:05 PM

Title: FLASH QSPI
Post by: whitsydaddy on February 03, 2016, 11:27:05 PM
Hello,
I am using a TE0720 board and have built custom firmware in Vivado 2015.4 and then built the boot.bin and image.ub in Petalinux 2015.4.  I can copy these to the SD card and boot from that.  I want to boot from QSPI and want to copy by boot.bin and image.ub to the QSPI flash.  I want to write to flash via TFTP in u-boot.  I see from this page:
[url][/https://wiki.trenz-electronic.de/plugins/servlet/mobile#content/view/6651918] the address to write the boot.bin file.  Is this still valid?  What is the address I want to write my image.ub to?  Thanks, Scott
Title: Re: FLASH QSPI
Post by: Oleksandr Kiyenko on February 04, 2016, 08:05:03 AM
Hello Scott,

Address (offset in Flash) to write depend only on boot.bin size and size of your flash chip. If you use bitstream compression boot.bin size may vary.
So to define image.ub address you need to define size of boot.bin and shoose some address bigger than this size alligned to flash sector size.

Best regards
Oleksandr Kiyenko