← All articles

Building embedded Linux for an FPGA board on Windows

What it takes to build the bitstream, U-Boot, the kernel and a root filesystem on a Windows PC, and how three AMD boards boot from it.

IronKernel · · Embedded Linux

The FPGA tools run on Windows. The usual embedded Linux build systems do not, so an FPGA team that wants Linux on its board ends up keeping a Linux virtual machine or WSL next to Vivado and moving files between the two. IronForge is our build system that does the whole job on native Windows. This article describes how it is put together and what the three reference boards do.

What gets built

One command line drives every step. Vivado builds the bitstream and exports the hardware description. The cross compiler builds the boot loader, U-Boot, the Linux kernel, BusyBox and the applications. Packaging then produces a root filesystem, SPI flash images and FIT images. The current builds use Linux 7.3.4, U-Boot 2026.10 and BusyBox 1.38.0 with Vivado and Vitis 2026.1. The AMD tools are installed separately under their own license.

Sources and repeat builds

Every download is checked against a recorded SHA-256 value before it is used. One source tree per component serves every board; a board adds its own configuration fragments, device tree, drivers and patches on top. Each build step records its inputs, so a changed patch or configuration marks the outputs that depend on it as stale. Linux, U-Boot and BusyBox keep their terminal configuration menus.

Two ways to boot

A finished board boots from SPI flash. During development that is slow to iterate on, so the same tool serves the kernel and device tree over TFTP and exports a writable root filesystem over NFS from the Windows PC. A rebuilt application is on the board as soon as it is compiled, with no flash write.

Three boards

BoardProcessorWhat runs
Arty A7-100T100 MHz MicroBlaze with an MMU, 256 MiB DDR3A browser dashboard, MQTT and persistent storage in flash. A warm SPI boot reaches the shell 46.5 s after the loader banner.
Nexys Video100 MHz MicroBlaze, 512 MiB DDR3A 720p60 HDMI console, an OLED splash, stereo MP3 playback and Ethernet through the RTLNet MAC. A warm SPI boot reaches the shell in about 56 s.
Zybo Z7-20Two Cortex-A9 cores, 1 GiB DDR3LAn HDMI console at 720p60 with a 1080p60 engineering mode, a Pcam 5C camera and 1080p30 hardware H.264 streaming.

The same flow covers MicroBlaze and MicroBlaze V on AMD 7 series and UltraScale+ FPGAs, and the Arm processors in Zynq-7000 and Zynq UltraScale+ devices. A new board in one of those families starts from the nearest reference design and supplies its FPGA part, pin constraints, memory configuration, device tree and flash layout.

What a soft processor costs

Linux on a 100 MHz MicroBlaze works, and it is slow at anything the processor does itself. On the Arty, iperf measured 5.93 Mb/s into Linux and 6.20 Mb/s out through EthernetLite. On the Nexys Video, TCP measured 15.2 Mb/s into the board on a 1 Gb/s link. The same Nexys board moves 942 Mb/s of UDP when the data path is in logic, as the RTLNet measurements show. The lesson for a MicroBlaze Linux design is to keep bulk data in the FPGA and use Linux for control, files and the user interface.

The Zybo's hard processors are a different case: TCP measured 760 Mbit/s into the board and 693 Mbit/s out.

How this relates to Yocto, PetaLinux and Buildroot

Those three build systems run on a Linux host, and our article on Yocto, PetaLinux and Buildroot for Zynq compares them. IronForge is for a team that wants the FPGA build and the Linux build in one Windows workspace, with a small BusyBox system it can read in full. A product that needs a package feed or a large distribution is better served by Yocto.

Further reading

Need Linux on your AMD FPGA board?

Send your target board and project goal. We reply with access details or a bring-up proposal.