Thursday, August 15, 2019

How to add FPGA bin file in BOOT.bin, for FPGA configuration with Linux

This guide will explain how to recompile U-Boot, in order to add FPGA configuration bin file in BOOT.bin.

In order for FSBL to configure the FPGA at power up and before starting Linux, it must be added to the boot file immediately after FSBL, otherwise it will not find it. It is necessary to use the * .bit file. Because in the * .bin file there is no header and it does not start via FSBL. Boot.bin looks like this:

Tuesday, August 6, 2019

Embedded Linux on Zynq, how to transfer files from a computer to Linux

How to run Linux on Zynq was described here.

By default, to transfer files to the Linux kernel from Xilinx, you can use several methods, which are described on their wiki: xilinx-wiki.atlassian.net.

Files can be transferred to the working system both via the Ethernet port and via the USB (UART) port. But since the file system is in RAM, when the power is turned off, added files will disappear. To save them you will need to change the rootfs file system. First, let's try transferring files via ethernet.