Linux LiteX demo

This example design features a Linux-capable SoC based around VexRiscv soft CPU. It also includes DDR and Ethernet controllers. To build the litex example, run the following commands:

To build the linux-litex-demo example, first re-navigate to the directory that contains examples for Xilinx 7-Series FPGAs. Then, depending on your hardware, run:

TARGET="arty_35" make -C linux_litex_demo

At completion, the bitstreams are located in the build directory:

linux_litex_demo/build/<board>

Now you can upload the design with:

TARGET="<board type>" make download -C linux_litex_demo

Note

You may find these information useful to correctly setup the network interface: timvideos/litex-buildenv/wiki/Networking.

You should observe the following line in the OpenOCD output:

Info : JTAG tap: xc7.tap tap/device found: 0x0362d093 (mfg: 0x049 (Xilinx), part: 0x362d, ver: 0x0)

In the picocom terminal, you should observe the following output:

../_images/linux-example-console.gif

Additionally, two LED’s on the board should be turned on

../_images/linux-example-arty.jpg