Changes between Version 5 and Version 6 of PicozedZynqFirmware
- Timestamp:
- Aug 4, 2017, 1:50:06 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PicozedZynqFirmware
v5 v6 46 46 6. Close out of the SDK. 47 47 === Creating a Petalinux Project === 48 1. Source Petalinux .48 1. Source Petalinux ({{{source /opt/Xilinx/Petalinux/2015.4/petalinux-v2015.4-final/settings.sh}}}). 49 49 2. Run `petalinux-create` with the parameters `--type project --name <petalinux_project_name> --source <path/to/trunk>/trunk/firmware/board_support_files/pz_7030_2015_4.bsp` then cd into that directory. 50 50 3. Run `petalinux-config --get-hw-description <path/to/vivado/project>/<vivado_project_name>.sdk/` and exit the in-terminal gui when it pops up. … … 52 52 * If this step stops with an error in the device tree referring to USB-PHY0 then there is a fix that you only have to do once per project. 53 53 * Navigate to `<path/to/petalinux/project>/subsystems/linux/configs/device-tree/system-top.dts` and remove the offending line in the &usb0 node. 54 5. Source Vivado 54 * {{{usb-phy = <&usb_phy0>;}}} 55 5. Source Vivado (same window, {{{source /opt/Xilinx/Vivado/2015.4/settings64.sh}}} 55 56 6. Run `petalinux-package --boot --foramt BIN --fsbl <path/to/vivado/project>/<vivado_project_name>.sdk/<sdk_project_name>/Debug/<sdk_project_name>.elf --fpga <path/to/vivado/project>/<vivado_project_name>.runs/impl_1/design_1_wrapper.bit --uboot --force` 56 57 7. The BOOT.bin and image.ub files should appear in `<path/to/petalinux/project>/images/linux/`.
