cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
senkoo
Observer
Observer
571 Views
Registered: ‎08-28-2018

File does exist but isnt seen in kernel

Hello,

 

My name is Senna. I am working on a project with ZC702 dev kit. 

 

I'm having issues with my program i want to run on my board. It is called ets-prg.elf and it is there but it can't be executed?

I'm not a linux master-mind :p. I looked on the internet and they said something about i32-libs but i did not see that in the petalinux rootfs configuration?

 

I included a screenshot of the problem.

 

Thanks in advance :)

 

Greetings,

Senna

errorEtsPrgFile.PNG
0 Kudos
4 Replies
watari
Teacher
Teacher
568 Views
Registered: ‎06-16-2013

Hi @senkoo

 

Would you show me the result of following command ?

 

$ ls -lA /usr/bin/ets-prg.elf

 

$ file /usr/bin/ets-prg.elf

 

$ df -k -T

 

Best regards,

0 Kudos
senkoo
Observer
Observer
561 Views
Registered: ‎08-28-2018

Hello @watari,

 

Thank you very much for your reply. Here are the results from the commands:

root@ets-prg:/usr/bin# ls -lA /usr/bin/ets-prg.elf
-rwxr-xr-x    1 root     root         68928 Oct  4 07:41 /usr/bin/ets-prg.elf
root@ets-prg:/usr/bin# file /usr/bin/ets-prg.elf
-sh: file: not found
root@ets-prg:/usr/bin# df -k -T
Filesystem           Type       1K-blocks      Used Available Use% Mounted on
devtmpfs             devtmpfs          64         4        60   6% /dev
tmpfs                tmpfs         515652        68    515584   0% /run
tmpfs                tmpfs         515652        32    515620   0% /var/volatile
tmpfs                tmpfs             64         4        60   6% /dev
/dev/mmcblk0         vfat        15377744      2360  15375384   0% /run/media/mmcblk0
/dev/mmcblk0         vfat        15377744      2360  15375384   0% /mnt/mmc
root@ets-prg:/usr/bin#
0 Kudos
watari
Teacher
Teacher
550 Views
Registered: ‎06-16-2013

Hi @senkoo

 

I confirmed your answer.

At least, your environment (rootfs) is wrong.

Where do you put ets-prg.elf ?

 

I suggest to make sure rootfs first.

 

Best regards,

 

0 Kudos
senkoo
Observer
Observer
548 Views
Registered: ‎08-28-2018

Hello @watari,

 

I made an app with petalinux-create -t app etc for the ets-prg

 

in the files directory i put ets-prg.elf and in the ets-prg.bb file i say that that file needs to be installed.

 

Is that what you mean?

 

Greetings,

Senna

0 Kudos