silantyeved Posted September 30, 2023 Share Posted September 30, 2023 I am following this guide: https://digilent.com/reference/programmable-logic/zybo-z7/demos/petalinux Petalinux Tools: 2021.1 BSP Image: Zybo-Z7-10-Petalinux-2021-1.bsp After installing petalinux tools in `/opt/pkg/petalinux/` and sourcing `settings.sh`, in the project directory I run: `petalinux-create -t project -s Zybo-Z7-10-Petalinux-2021-1.bsp` And that executes fine. After I cd into the directory created (`os`), I run `petalinux-build`, which returns errors (attached). build.log log.do_configure.1272382 Link to comment Share on other sites More sharing options...
0 silantyeved Posted October 3, 2023 Author Share Posted October 3, 2023 Anyone got any ideas, anything else from my side that could help troubleshoot? Link to comment Share on other sites More sharing options...
0 silantyeved Posted October 10, 2023 Author Share Posted October 10, 2023 Hi again, Can anyone help here? Link to comment Share on other sites More sharing options...
0 nwasemil Posted October 24, 2023 Share Posted October 24, 2023 Hi silantyeved, I just went through the petalinux build process on a Zyboz7 eval board. I'm not sure what the root cause of your error is based on your logs. But I can share with you the steps I performed that worked for me. I'm running Windows Subsystem for Linux (WSL) on a windows machine that required some pre-setup. But once that was complete here was the Petalinux build process I followed: run the installer. I'm using the 2022.1 version. Is there any reason why you are using the older version?: /mnt/c/Users/user_name/Downloads/petalinux-v2022.1-04191534-installer.run --log ~/petalinux-2022.1-install.log --dir ~/petalinux/2022.1 change directories to your 2022.1 folder: cd /petalinux/2022.1 set the source: ~/petalinux/2022.1$ source settings.sh change directories to your project folder: cd <path/to/your/project/folder> create a project with the specific bsp: petalinux-create --type project --name my_project --source <path/to/your/bsp> run the build: petalinux-build Hope this helps. Best, NW Link to comment Share on other sites More sharing options...
0 Ionel Posted October 24, 2023 Share Posted October 24, 2023 Assuming petalinux was not installed with sudo (ownership of /opt/pkg directory was changed to current user). If NOT so then remove and install according to ug1144 https://docs.xilinx.com/r/2022.1-English/ug1144-petalinux-tools-reference-guide/Installing-the-PetaLinux-Tool Make sure you have all dependencies for Petalinux installed, https://support.xilinx.com/s/article/000033799?language=en_US found in 2022.1_PetaLinux_Package_List.xlsx file at the bottom of this page. Start a clean build Link to comment Share on other sites More sharing options...
Question
silantyeved
I am following this guide: https://digilent.com/reference/programmable-logic/zybo-z7/demos/petalinux
Petalinux Tools: 2021.1
BSP Image: Zybo-Z7-10-Petalinux-2021-1.bsp
After installing petalinux tools in `/opt/pkg/petalinux/` and sourcing `settings.sh`, in the project directory I run:
`petalinux-create -t project -s Zybo-Z7-10-Petalinux-2021-1.bsp`
And that executes fine. After I cd into the directory created (`os`), I run `petalinux-build`, which returns errors (attached).
build.log log.do_configure.1272382
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now