Skip to content

Latest commit

 

History

History

digilent_zedboard

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

A complete LiteX implementation workflow for Zynq-7000

Features:

  • LiteX BIOS running on Cortex-A9 Arm core, talking to LiteX gateware over AXI/Wishbone
  • U-Boot with SPL enabling boot from QSPI flash or SD card

Howto:

  • look at the top-level readme, provide the required tools
  • build all binaries: make -f Makefile.zedboard from the top level
  • choose one of the boot options below and configure your board accordingly
  • option 1 - boot from SD card: format 1st partition as FAT32, copy these files to its root:
    • lib/u-boot/spl/boot.bin
    • lib/u-boot/u-boot.img
    • build/digilent_zedboard/boot.scr
    • build/digilent_zedboard/gateware/digilent_zedboard.bit as fpga.bit
    • build/digilent_zedboard/software/bios/bios.bin
  • option 2 - boot from QSPI flash: flash build/digilent_zedboard/qspi.bin into board's memory one of these ways:
    • with make -f Makefile.zedboard flash via zynq_flash (uses xsct from Vitis)
    • with make -f Makefile.zedboard flash2 - uses program_flash from Vitis, needs FSBL binary, one can be taken here (boot_image/zynq_fsbl.elf)
    • with U-Boot sf command (to be described) link
  • option 3 - boot from JTAG: make -f Makefile.zedboard load (uses xsct from Vitis)
  • access the booted system via USB-Serial terminal

Notes:

  • there is nearly nothing specific to Zedboard in the current implementation, will work as is or with minimal changes on other Zynq boards
  • there are options for debugging over JTAG with either xsct or openocd+gdb (to be described)