Changes between Version 5 and Version 6 of PicozedZynqFirmware


Ignore:
Timestamp:
Aug 4, 2017, 1:50:06 PM (9 years ago)
Author:
Eric Hazen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PicozedZynqFirmware

    v5 v6  
    46466. Close out of the SDK.
    4747=== Creating a Petalinux Project ===
    48 1. Source Petalinux.
     481. Source Petalinux ({{{source /opt/Xilinx/Petalinux/2015.4/petalinux-v2015.4-final/settings.sh}}}).
    49492. 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.
    50503. Run `petalinux-config --get-hw-description <path/to/vivado/project>/<vivado_project_name>.sdk/` and exit the in-terminal gui when it pops up.
     
    5252 * 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.
    5353 * 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>;}}}
     555. Source Vivado (same window, {{{source /opt/Xilinx/Vivado/2015.4/settings64.sh}}}
    55566. 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`
    56577. The BOOT.bin and image.ub files should appear in `<path/to/petalinux/project>/images/linux/`.