Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| vivado_2018.3_zedboard [2019/05/20 11:26] – [Generate bitstream] rpjday | vivado_2018.3_zedboard [2019/05/20 12:05] (current) – [petalinux-config] rpjday | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| </ | </ | ||
| - | ===== Steps ===== | + | ===== Vivado steps ===== |
| ==== Create new project ==== | ==== Create new project ==== | ||
| Line 135: | Line 135: | ||
| ==== Export hardware (include bitstream?) ==== | ==== Export hardware (include bitstream?) ==== | ||
| + | |||
| + | End result: | ||
| + | |||
| + | < | ||
| + | $ unzip -l design_1_wrapper.hdf | ||
| + | Archive: | ||
| + | 02LvEiD+u+Kz8iWSDr/ | ||
| + | Length | ||
| + | --------- | ||
| + | 861 05-20-2019 07:27 | ||
| + | 66717 05-20-2019 07:27 | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | 1760914 | ||
| + | 24922 05-20-2019 07:27 | ||
| + | --------- | ||
| + | 2495771 | ||
| + | $ | ||
| + | </ | ||
| + | ===== PetaLinux steps ===== | ||
| + | |||
| + | ==== petalinux-create ==== | ||
| + | |||
| + | < | ||
| + | $ petalinux-create \ | ||
| + | --type project \ | ||
| + | --name zed \ | ||
| + | --template zynq | ||
| + | $ cd zed | ||
| + | $ | ||
| + | </ | ||
| + | |||
| + | Output: | ||
| + | |||
| + | < | ||
| + | . | ||
| + | ├── config.project | ||
| + | └── project-spec | ||
| + | ├── attributes | ||
| + | ├── configs | ||
| + | │ ├── config | ||
| + | │ └── rootfs_config | ||
| + | ├── hw-description | ||
| + | │ └── metadata | ||
| + | └── meta-user | ||
| + | ├── conf | ||
| + | │ ├── layer.conf | ||
| + | │ └── petalinuxbsp.conf | ||
| + | ├── COPYING.MIT | ||
| + | ├── README | ||
| + | ├── recipes-apps | ||
| + | │ ├── gpio-demo | ||
| + | │ │ ├── files | ||
| + | │ │ │ ├── gpio-demo.c | ||
| + | │ │ │ └── Makefile | ||
| + | │ │ └── gpio-demo.bb | ||
| + | │ └── peekpoke | ||
| + | │ | ||
| + | │ | ||
| + | │ | ||
| + | │ | ||
| + | │ | ||
| + | ├── recipes-bsp | ||
| + | │ ├── device-tree | ||
| + | │ │ ├── device-tree.bbappend | ||
| + | │ │ └── files | ||
| + | │ │ | ||
| + | │ └── u-boot | ||
| + | │ | ||
| + | │ | ||
| + | │ | ||
| + | └── recipes-core | ||
| + | └── images | ||
| + | └── petalinux-image-full.bbappend | ||
| + | </ | ||
| + | |||
| + | ==== petalinux-config ==== | ||
| + | |||
| + | < | ||
| + | $ petalinux-config --get-hw-description <dir containing .hdf file> | ||
| + | </ | ||
| + | |||
| + | ==== petalinux-build ==== | ||