09-01-2017 12:50 AM
when I execute "./petalinux-v2017.2-final-installer.run " , it showed "bash: ./petalinux-v2017.2-final-installer.run: cannot execute binary file: Executable file format error "
my PC 64-bit Ubuntu 16.04, it can successfully support petaLinux 2017.1 ,why petaLinux 2017.2?
09-01-2017 01:39 AM
09-01-2017 01:46 AM
it still failed
" 1: ./petalinux-v2017.2-final-installer.run: Syntax error: "&" unexpected "
this "2017.2.run" file is not a shell file , it seems that it the 64-bit Ubuntu 16.04 OS can not support it
09-01-2017 02:04 AM
Still from UG1144:
PetaLinux tools require your host system "/bin/sh" is bash. If you are using Ubuntu distribution and your "/bin/sh" is dash, you can consult your system administrator to change your default with sudo dpkg-reconfigure dash command.
Did you do that?
09-01-2017 02:23 AM
I am sure taht the host system "/bin/sh" is bash. it still failed
I can not find any solution to this , please help me!
"luo@luo-B85M-D3H:/media/luo/storage/Ubuntu_Desktop_Release_2017_1$ ls -al /bin/sh
lrwxrwxrwx 1 root root 4 9月 1 17:11 /bin/sh -> bash
bash: ./petalinux-v2017.2-final-installer.run: cannot execute binary file: Executable file format error"
09-01-2017 02:57 AM
Could you try to run it using sudo?
09-01-2017 06:17 AM
With the same error?
09-01-2017 06:45 AM
yes, sudo can not solve it
do I need to compile the source code?
I saw the source code download link in the web, PetaLinux 2017.2 Open Component
but is there any tutorial about how to compile petalinux source code?
I can not find it in UG1144
09-01-2017 06:57 AM
No you shouldn't need to compile the sources.
You should just have to run the petalinux installer:
$ mkdir -p /opt/pkg/petalinux
$ ./petalinux-v2017.1-final-installer.run /opt/pkg/petalinux
Please make sure you are using sudo and not root user.
09-01-2017 07:24 AM
I followed it,
while the petalinux2017.2 installer can not execute!
"bash: ./petalinux-v2017.2-final-installer.run: cannot execute binary file: Executable file format error"
09-28-2017 08:31 AM
I am having difficulties as well. In my case the file
does not exist.
The download is confusing. I downloaded it twice and got filenames of 59CC69B4 and 59CD5463. No tar.gz or any kind of extension. Luckily 7Zip figured it out and I unzipped it to a tar, but the installer.run file is not present.
Does "installation" just consist of unpacking this archive? Could you please update your documentation?