Hi, I've been trying to get a Zephyr sample running on the Arty FPGA-board without succeeding. I’ve tried both using the zephyr-sdk toolchain and cross-compile toolchain with the same unsatisfying result. Litex boots fine and firmware is uploaded but then nothing.
Is there any working prebuilt Litex gateware – Zephyr firmware combination available to test with?
Thanks, Stefan
printenv | grep ZEPHYR ZEPHYR_TOOLCHAIN_VARIANT=zephyr ZEPHYR_BASE=/home/stefan/FPGA/Zeph/zephyr ZEPHYR_SDK_INSTALL_DIR=/opt/zephyr-sdk/ stefan@virtLinux:~/FPGA/Zeph/zephyr$ ls arch CMakeLists.txt doc include lib modules soc version.h.in boards CODE_OF_CONDUCT.md drivers Kconfig LICENSE README.rst subsys west.yml build CODEOWNERS dts Kconfig.zephyr Makefile samples tests zephyr-env.cmd cmake CONTRIBUTING.rst ext kernel misc scripts VERSION zephyr-env.sh stefan@virtLinux:~/FPGA/Zeph/zephyr$ west build -b litex_vexriscv samples/hello_world -- west build: build configuration: source directory: /home/stefan/FPGA/Zeph/zephyr/samples/hello_world build directory: /home/stefan/FPGA/Zeph/zephyr/build BOARD: litex_vexriscv (origin: CMakeCache.txt) -- west build: building application ninja: no work to do. stefan@virtLinux:~/FPGA/Zeph/zephyr$ lxterm --serial-boot --kernel build/zephyr/zephyr.bin /dev/ttyUSB1 [LXTERM] Starting....
--========== Boot sequence =============-- Booting from serial... Press Q or ESC to abort boot completely. sL5DdSMmkekro [LXTERM] Received firmware download request from the device. [LXTERM] Uploading build/zephyr/zephyr.bin to 0x40000000 (9608 bytes)... [LXTERM] Upload complete (7.7KB/s). [LXTERM] Booting the device. [LXTERM] Done. Executing booted program at 0x40000000 --============= Liftoff! ===============--