Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
programmable-logic:eclypse-z7:customizing-zmods-os [2021/05/14 23:04] – ↷ Page moved from reference:programmable-logic:eclypse-z7:customizing-zmods-os to programmable-logic:eclypse-z7:customizing-zmods-os Arthur Brownprogrammable-logic:eclypse-z7:customizing-zmods-os [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 11: Line 11:
   * Petalinux Installation in a supported environment   * Petalinux Installation in a supported environment
     * Petalinux is a tool created by Xilinx, used for the creation and modification of Linux images for Xilinx chips, including the Zynq-7000. \\      * Petalinux is a tool created by Xilinx, used for the creation and modification of Linux images for Xilinx chips, including the Zynq-7000. \\ 
-    * Xilinx's [[https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_1/ug1144-petalinux-tools-reference-guide.pdf|Petalinux Tools Reference Guide (UG1144)]] covers installation and usage of Petalinux. Chapter 2 discusses the installation process.+    * Xilinx's [[https://docs.xilinx.com/v/u/2019.1-English/ug1144-petalinux-tools-reference-guide|Petalinux Tools Reference Guide (UG1144)]] covers installation and usage of Petalinux. Chapter 2 discusses the installation process.
     * For Windows users, Digilent recommends the use of either a dual-boot Linux setup or virtual machine that fits the requirements specified in UG1144, linked above.     * For Windows users, Digilent recommends the use of either a dual-boot Linux setup or virtual machine that fits the requirements specified in UG1144, linked above.
   * HDF File exported from the target Vivado Project   * HDF File exported from the target Vivado Project
Line 36: Line 36:
   - Additional changes to the Petalinux project can be made at this time. For example, the default filesystem is initially set to initramfs and may be changed to SD card by calling <code>petalinux-config</code> navigating the menu into **Image Packaging configuration** -> **Root filesystem type** and selecting **SD card**.   - Additional changes to the Petalinux project can be made at this time. For example, the default filesystem is initially set to initramfs and may be changed to SD card by calling <code>petalinux-config</code> navigating the menu into **Image Packaging configuration** -> **Root filesystem type** and selecting **SD card**.
   - Build the Petalinux project by calling the following command: <code>petalinux-build</code> Note that this process may take anywhere from 15 to 60 minutes, depending on the computer used. \\ This process produces a FIT image called image.ub that contains the kernel, device tree and the root filesystem.   - Build the Petalinux project by calling the following command: <code>petalinux-build</code> Note that this process may take anywhere from 15 to 60 minutes, depending on the computer used. \\ This process produces a FIT image called image.ub that contains the kernel, device tree and the root filesystem.
-  - Once the project has build, the FSBL, FPGA bitstream, PMU firmware, and U-Boot must be packaged into a single binary which can be used to boot the board. This binary is named "BOOT.bin" and can be generated with <code>petalinux-package --boot --force --fsbl images/linux/zynqmp_fsbl.elf --fpga images/linux/system.bit --u-boot</code> and can be found in the ./images/linux folder. +  - Once the project has been built, the FSBL, FPGA bitstream, PMU firmware, and U-Boot must be packaged into a single binary which can be used to boot the board. This binary is named "BOOT.bin" and can be generated with <code>petalinux-package --boot --force --fsbl images/linux/zynqmp_fsbl.elf --fpga images/linux/system.bit --u-boot</code> and can be found in the ./images/linux folder. 
   - Format the SD card with FAT32.   - Format the SD card with FAT32.
-  - Copy the image.ub and the BOOT.bin from the Petalinux project to the SD card's first partition.+  - Copy the image.ub and the BOOT.bin from the Petalinux project's images/linux folder to the SD card's first partition.
  
 ---- ----
 ===== Next Steps ===== ===== Next Steps =====
  
-See [[reference:zmod:zmodbaselibraryuserguide|Zmod Base Library User Guide]] for instructions on setting up software examples for the chosen Zmod/s.+See [[zmod:zmodbaselibraryuserguide|Zmod Base Library User Guide]] for instructions on setting up software examples for the chosen Zmod/s.
  
 See the [[start|Eclypse Z7 Resource Center]] for more information on the Eclypse Platform. See the [[start|Eclypse Z7 Resource Center]] for more information on the Eclypse Platform.