Builds a petalinux image using the petalinux-docker docker container linked below.
Tested on following docker hosts:
- macos-catalina
- ubuntu 20.04 (building the petalinux image is much faster on linux host)
To use:
- install ork build tools @ https://github.com/tweakoz/ork.build
- from OBT environment shell: install docker image with https://github.com/tweakoz/petalinux-docker
- from OBT environment shell:
./build.py
- wait for build to complete (it will be a while) - build products will appear in
<this-repo-dir>/tftpboot/
- incremental (and manual) changes can be made to the build container using
./shell.py
build.py
andshell.py
have a--cachedir
param for using a (predownloaded) xilinx/yocto sstate cache folder.
To regenerate xsa:
getbsp.py
- load up
uz7ev_evcc_2019_2/hardware/UZ7EV_EVCC_2019_2/UZ7EV_EVCC.xpr
in vivado - in tcl console,
write_hw_platform -verbose -force -include_bit UZ7EV_EVCC.xsa