Petalinux 2023.2 is under review documentation for 2023.2 can be changed permanently at the moment 3. uncomment DDR settings in ""project-spec/configs/config", see Issues and notes comment out DDR settings in "project-spec/configs/config" to force DDR reload with XSA importPetaLinux 2023.2
Create own template
folder/file Delete Note <base folder> "config.project" must be stay there .petalinux/ all, excepted "metadata" "metadata" must be stay there .xil/ complete folder components/ --- should be empty project-spec/ "attributes" must be stay there project-spec/configs/ "config" and "rootfs_config" must be stay there project-spec/hw-description/ all, excepted "metadata" "metadata" must be stay there project-spec/meta-user --- complete folder must be stay there Use template
Issues and Notes
Issue Workaround Note DDR size will be not reloaded Only important, if DDR size will is changed
PetaLinux 2022.2
Create own template
- Clear existing project with: petalinux-build -x mrproper
- in case changes in u-boot or kernel, see Issues and note
- change/remove manually(on linux file manager press Strg+H to see hidden files):
folder/file | Delete | Note |
---|---|---|
<base folder> |
| "config.project" must be stay there |
.petalinux/ | all, excepted "metadata" | "metadata" must be stay there |
.xil/ | complete folder | |
components/ | --- | should be empty |
project-spec/ |
| "attributes" must be stay there |
project-spec/configs/ |
| "config" and "rootfs_config" must be stay there |
project-spec/hw-description/ | all, excepted "metadata" | "metadata" must be stay there |
project-spec/meta-user | --- | complete folder must be stay there |
3. uncomment DDR settings in ""project-spec/configs/config", see Issues and notes
Use template
- copy xsa into base folder
- reload XSA with petalinux-config --get-hw-description
- build or change design like prefer
Issues and Notes
Issue | Workaround | Note |
---|---|---|
DDR size will be not reloaded | comment out DDR settings in "project-spec/configs/config" to force DDR reload with XSA import | Only important, if DDR size will is changed |
PetaLinux 2021.2
Petalinux 2021.2 is under review documentation for 2021.2 can be changed permanently at the moment
Create own template
- Clear existing project with: petalinux-build -x mrproper
- in case changes in u-boot or kernel, see Issues and note
- change/remove manually(on linux file manager press Strg+H to see hidden files):
folder/file | Delete | Note |
---|---|---|
<base folder> |
| "config.project" must be stay there |
.petalinux/ | all, excepted "metadata" | "metadata" must be stay there |
.xil/ | complete folder | |
components/ | --- | should be empty |
project-spec/ |
| "attributes" must be stay there |
project-spec/configs/ |
| "config" and "rootfs_config" must be stay there |
project-spec/hw-description/ | all, excepted "metadata" | "metadata" must be stay there |
project-spec/meta-user | --- | complete folder must be stay there |
3. uncomment DDR settings in ""project-spec/configs/config", see Issues and notes
Use template
- copy xsa into base folder
- reload XSA with petalinux-config --get-hw-description
- build or change design like prefer
Issues and Notes
Issue | Workaround | Note |
---|---|---|
DDR size will be not reloaded | comment out DDR settings in "project-spec/configs/config" to force DDR reload with XSA import | Only important, if DDR size will is changed |
PetaLinux 2020.2
Create own template
- Clear existing project with: petalinux-build -x mrproper
- in case changes in u-boot or kernel, see Issues and note
- change/remove manually(on linux file manager press Strg+H to see hidden files):
folder/file | Delete | Note |
---|---|---|
<base folder> |
| "config.project" must be stay there |
.petalinux/ | all, excepted "metadata" | "metadata" must be stay there |
.xil/ | complete folder | |
components/ | --- | should be empty |
project-spec/ |
| "attributes" must be stay there |
project-spec/configs/ |
| "config" and "rootfs_config" must be stay there |
project-spec/hw-description/ | all, excepted "metadata" | "metadata" must be stay there |
project-spec/meta-user | --- | complete folder must be stay there |
3. uncomment DDR settings in ""project-spec/configs/config", see Issues and notes
Use template
- copy xsa into base folder
- reload XSA with petalinux-config --get-hw-description
- build or change design like prefer
Issues and Notes
Issue | Workaround | Note |
---|---|---|
DDR size will be not reloaded | comment out DDR settings in "project-spec/configs/config" to force DDR reload with XSA import | Only important, if DDR size will is changed |
PetaLinux 2019.2
Create own template
- Clear existing project with: petalinux-build -x mrproper
- in case changes in u-boot or kernel, see Issues and note
- change/remove manually:
folder/file | Delete | Note |
---|---|---|
<base folder> |
| "config.project" must be stay there |
.petalinux/ | all, excepted "metadata" | "metadata" must be stay there |
.xil/ | complete folder | |
components/ | --- | should be empty |
project-spec/ |
| "attributes" must be stay there |
project-spec/configs/ |
| "config" and "rootfs_config" must be stay there |
project-spec/hw-description/ | all, excepted "metadata" | "metadata" must be stay there |
project-spec/meta-plnx-generated | complete folder | |
project-spec/meta-user | --- | complete folder must be stay there |
Use template
- copy hdf into base folder
- reload XSA with petalinux-config --get-hw-description
- build or change design like prefer
Issues and Notes
Issue | Workaround | Note |
---|---|---|
DDR size will be not reloaded | comment out DDR settings in "project-spec/configs/config" to force DDR reload with HDF import | Only important, if DDR size will is changed |
Kernel and u–bot changes will not saved automatically in meta-user |
before the project will be cleared. | only need if you change something in uboot ot kernel setup |
PetaLinux 2018.3
Create own template
- Clear existing project with: petalinux-build -x mrproper
- change/remove manually:
folder/file | Delete | Note |
---|---|---|
<base folder> |
| "config.project" must be stay there |
.petalinux/ | all, excepted "metadata" | "metadata" must be stay there |
.xil/ | complete folder | |
components/ | --- | should be empty |
project-spec/ |
| "attributes" must be stay there |
project-spec/configs/ |
| "config" and "rootfs_config" must be stay there |
project-spec/hw-description/ | all, excepted "metadata" | "metadata" must be stay there |
project-spec/meta-plnx-generated | complete folder | |
project-spec/meta-user | --- | complete folder must be stay there |
Use template
- copy hdf into base folder
- reload HDF with petalinux-config --get-hw-description
- build or change design like prefer
Issues and Notes
Issue | Workaround | Note |
---|---|---|
DDR size will be not reloaded | comment out DDR settings in "project-spec/configs/config" to force DDR reload with HDF import | Only important, if DDR size will is changed |
PetaLinux 2018.2
Create own template
- Clear existing project with: petalinux-build -x mrproper
- change/remove manually:
folder/file | Delete | Note |
---|---|---|
<base folder> |
| "config.project" must be stay there |
.petalinux/ | all, excepted "metadata" | "metadata" must be stay there |
.xil/ | complete folder | |
components/ | --- | should be empty |
project-spec/ |
| "attributes" must be stay there |
project-spec/configs/ |
| "config" and "rootfs_config" must be stay there |
project-spec/hw-description/ | all, excepted "metadata" | "metadata" must be stay there |
project-spec/meta-plnx-generated | complete folder | |
project-spec/meta-user | --- | complete folder must be stay there |
Use template
- copy hdf into base folder
- reload HDF with petalinux-config --get-hw-description
- build or change design like prefer
Issues and Notes
Issue | Workaround | Note |
---|---|---|
DDR size will be not reloaded | comment out DDR settings in "project-spec/configs/config" to force DDR reload with HDF import | Only important, if DDR size will is changed |
PetaLinux 2017.4
Create own template
- Clear existing project with: petalinux-build -x mrproper
- change/remove manually:
folder/file | Delete Files/Folder | Note |
---|---|---|
<base folder> |
| "config.project" must be stay there |
.petalinux/ | all, excepted "metadata" | "metadata" must be stay there |
.xil/ | complete folder | |
components/ | --- | should be empty |
project-spec/ |
| "attributes" must be stay there |
project-spec/configs/ |
| "config" and "rootfs_config" must be stay there |
project-spec/hw-description/ | all, excepted "metadata" | "metadata" must be stay there |
project-spec/meta-plnx-generated | complete folder | |
project-spec/meta-user | --- | complete folder must be stay there |
Use template
- copy hdf into base folder
- reload HDF with petalinux-config --get-hw-description
- build or change design like prefer
Issues and Notes
Issue | Workaround | Note |
---|---|---|
temp folder path is absolute path | change CONFIG_TMP_DIR_LOCATION from "project-spec/configs/config" to the correct project dir | Trenz Electronic provide init_config.sh script to change path to the current project |