You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
Error at the petalinux build step:
make[2]: ./src/config: Permission denied
make[2]: *** [Makefile:57: create] Error 127
Steps to reproduce:
just followed Readme.md instructions and run "make all" from root folder as first compilation - environment is Ubuntu 22.04.2 with Vivado/Vitis/Petalinux 2023.1 correctly installed (step 1 of the Makefile does version check with no error).
Step 2 and 3 of Makefile also runs correctly, problem is at step 4 that errors out in trying to access this file that is reported as "Permission Denied":
/linux/petalinux/src/config
By making it executable (chmod +x /linux/petalinux/src/config) the error changes to:
./src/config: 61: Bad substitution
That makes me think this config file and/or its usage has issues
The text was updated successfully, but these errors were encountered:
GianlucaGaroia
changed the title
Vitis-Tutorials/Developer_Contributed /01-Versal_Custom_Thin_Platform_Extensible_System/: Petalinux Makefile not works as expected on Readme.md: Petalinux Makefile not works as expected on Readme.md
Vitis-Tutorials/Developer_Contributed /01-Versal_Custom_Thin_Platform_Extensible_System/: Petalinux Makefile not works as expected on Readme.md
Oct 18, 2023
This gives same result as when adding +x permission to the mentioned ./src/config file:
./src/config: 61: Bad substitution
Thanks in advance
From: Ricky Su ***@***.***>
Sent: giovedì 19 ottobre 2023 08:01
To: Xilinx/Vitis-Tutorials ***@***.***>
Cc: Garoia, Gianluca (EBV) ***@***.***>; Author ***@***.***>
Subject: [External]Re: [Xilinx/Vitis-Tutorials] Vitis-Tutorials/Developer_Contributed /01-Versal_Custom_Thin_Platform_Extensible_System/: Petalinux Makefile not works as expected on Readme.md (Issue #414)
Could you try chmod -R 777 for your working directory?
—
Reply to this email directly, view it on GitHub<#414 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFZBD6C5S4H2ZKNPCBRBPA3YAC62XAVCNFSM6AAAAAA6F3FPIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZQGEYTMOJVGQ>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
We continuously commit to comply with the applicable data protection laws and ensure fair and transparent processing of your personal data.
Please read our privacy statement including an information notice and data protection policy for detailed information on our website.
Hi, this is normal since that config file is an executable. If you fork or clone the tutorial then it works fine, it's only when you zip/unzip it that you will have to set the permission right. Let me look if I can fix it in the Makefile-flow itself, so this issue does not pop-up again :-)
Running Tutorial:
2023.1/Vitis-Tutorials/Developer_Contributed/01-Versal_Custom_Thin_Platform_Extensible_System/
Issue:
Error at the petalinux build step:
make[2]: ./src/config: Permission denied
make[2]: *** [Makefile:57: create] Error 127
Steps to reproduce:
just followed Readme.md instructions and run "make all" from root folder as first compilation - environment is Ubuntu 22.04.2 with Vivado/Vitis/Petalinux 2023.1 correctly installed (step 1 of the Makefile does version check with no error).
Step 2 and 3 of Makefile also runs correctly, problem is at step 4 that errors out in trying to access this file that is reported as "Permission Denied":
/linux/petalinux/src/config
By making it executable (chmod +x /linux/petalinux/src/config) the error changes to:
./src/config: 61: Bad substitution
That makes me think this config file and/or its usage has issues
The text was updated successfully, but these errors were encountered: