Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| xilinx_running_petalinux [2019/10/19 19:16] – [Overview] rpjday | xilinx_running_petalinux [2019/10/20 12:01] (current) – [Configuration options] rpjday | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| This page steps through building for a ZCU102 using an '' | This page steps through building for a ZCU102 using an '' | ||
| - | ===== Format of the HDF file ===== | + | ===== Format of the ZCU102 |
| - | Downloaded from [[https://github.com/ | + | < |
| + | -rw-r--r--. 1 rpjday rpjday | ||
| + | -rw-r--r--. 1 rpjday rpjday | ||
| + | -rw-r--r--. 1 rpjday rpjday 26510901 May 5 15:09 design_1_wrapper.bit | ||
| + | -rw-r--r--. 1 rpjday rpjday | ||
| + | -rw-r--r--. 1 rpjday rpjday | ||
| + | -rw-r--r--. 1 rpjday rpjday | ||
| + | -rw-r--r--. 1 rpjday rpjday | ||
| + | -rw-r--r--. 1 rpjday rpjday | ||
| + | -rw-r--r--. 1 rpjday rpjday | ||
| + | -rw-r--r--. 1 rpjday rpjday | ||
| + | </code> | ||
| + | |||
| + | '' | ||
| < | < | ||
| - | Archive: | + | <?xml version=" |
| - | 02DSH12MNEbgh3d2ADvZ8IeVwk9LCZtTVUKqK+SvpYiWc= | + | <Project Version=" |
| - | | + | < |
| - | --------- ---------- ----- ---- | + | < |
| - | 1533 05-05-2019 20:48 | + | < |
| - | 625712 | + | < |
| - | | + | < |
| - | 902065 | + | < |
| - | | + | < |
| - | 901229 | + | < |
| - | | + | < |
| - | | + | < |
| - | 862752 | + | < |
| - | 127691 | + | < |
| - | | + | < |
| - | 990723 | + | < |
| - | | + | < |
| - | 87470 05-05-2019 20:48 | + | </ |
| - | | + | </ |
| - | | + | < |
| - | --------- | + | </ |
| - | | + | |
| - | $ | + | |
| </ | </ | ||
| ===== PetaLinux build procedure ===== | ===== PetaLinux build procedure ===== | ||
| Line 50: | Line 61: | ||
| $ petalinux-create \ | $ petalinux-create \ | ||
| --type project \ | --type project \ | ||
| - | --name | + | --name |
| --template zynqMP | --template zynqMP | ||
| - | $ cd ultra96v2 | + | $ cd zcu102 |
| </ | </ | ||
| + | End result: | ||
| + | |||
| + | < | ||
| + | $ tree -d | ||
| + | . | ||
| + | └── project-spec | ||
| + | ├── configs | ||
| + | ├── hw-description | ||
| + | └── meta-user | ||
| + | ├── conf | ||
| + | ├── recipes-apps | ||
| + | │ ├── gpio-demo | ||
| + | │ │ └── files | ||
| + | │ └── peekpoke | ||
| + | │ | ||
| + | ├── recipes-bsp | ||
| + | │ ├── device-tree | ||
| + | │ │ └── files | ||
| + | │ │ | ||
| + | │ └── u-boot | ||
| + | │ | ||
| + | └── recipes-core | ||
| + | └── images | ||
| + | </ | ||
| ==== Incorporating the HDF file ==== | ==== Incorporating the HDF file ==== | ||
| Line 60: | Line 95: | ||
| < | < | ||
| - | $ petalinux-config --get-hw-description <dirname of HDF File> | + | $ petalinux-config --get-hw-description <dirname of ZCU102 |
| </ | </ | ||
| at which time you will be placed in the PetaLinux " | at which time you will be placed in the PetaLinux " | ||
| - | ==== Configuring the project | + | Major result is new content under '' |
| + | |||
| + | ===== Configuration options ===== | ||
| < | < | ||
| $ petalinux-config | $ petalinux-config | ||
| $ petalinux-config -c bootloader | $ petalinux-config -c bootloader | ||
| - | $ petalinux-config -c u-boot | + | $ petalinux-config -c u-boot |
| $ petalinux-config -c kernel | $ petalinux-config -c kernel | ||
| $ petalinux-config -c rootfs | $ petalinux-config -c rootfs | ||
| Line 78: | Line 115: | ||
| </ | </ | ||
| - | ==== The build process ==== | + | ===== The build process |
| Now that all of the project configuration is complete, kick off the PetaLinux build with: | Now that all of the project configuration is complete, kick off the PetaLinux build with: | ||