Make sure you have installed the dependencies:
- Xilinx QEMU
- Vitis v2021.1(64-bit) or Vitis v2021.2 (64-bit)
You prepare the following files:
- Linker script
Please put a linker script namedlscript.ld
on lscripts directory. - XSA file
Please put a XSA file on xsa directory. - DTB file
Please put a DTB file namedsample.dtb
on dtb directory. - SD card image
Please put a sd card image namedsd_card.img
on sd directory. This sd card image must be FAT. Atest.dat
file must be included in the first logical volume, and contain 10 characters.
XSA_PATH=xsa-file-path cargo run -vv -bin hello_world
XSA_PATH=xsa-file-path cargo run -vv -bin xalloc
XSA_PATH=xsa-file-path cargo run -vv -bin xscugic
XSA_PATH=xsa-file-path cargo run -vv -bin sd_card
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.