04-16-2018 02:54 AM
I am using Vivado 2015.4 and Petalinux 2015.4, I am trying to run "Hello world" linux application on it. I have successfully made the bootable file with Ubuntu 16.04 and OS is running, but when I am executing the app it is showing error that "No such file or directory exist" even tough the executable binary is present. Another problem is when I am using the sudo command it is showing error
/usr/bin/sudo must be owned by uid 0 and have the setuid bit set
What could be the problem or How can I run user application on the board ?
04-17-2018 12:59 AM
Please refer this user guide on how to create and run the application in petalinux
(Refer Page 53)
Let me know if you are still facing any issues
04-17-2018 10:07 PM
Thank you for replying,
I have done all the steps as defined in the manual and it was successful to run when I am using Vivado and petalinux version 2016.4, But while following the same steps using version 2015.4 error is still persisting.
Could some missing library or tool be the problem ?
04-17-2018 10:17 PM
Then it seems to be some issue with your ubuntu system.
May be you can try something like this
1. Log out as the current user, then log back in as root.
2. Execute chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
3. Log out as root, then log back in as the current user.