1

when i flash my elf file in Ingenic t31 board in mnt directory then i give to excute command chmod +x elf file nname then I check the permission of my file

ls -lcommand
-rwxr-xr-x    1 root     root        663292 Mar 22  2023 sample-Ai

then i run the elf file then command doesnot run show some error,

[root@Ingenic-g1_1:mnt]# chmod 777 sample-Ai 
[root@Ingenic-g1_1:mnt]# ls -a
.          ..         sample-Ai
[root@Ingenic-g1_1:mnt]# ls -l
-rwxr-xr-x    1 root     root        663292 Mar 22  2023 sample-Ai
[root@Ingenic-g1_1:mnt]# chmod -R +X sample-Ai 
[root@Ingenic-g1_1:mnt]# ls -l
-rwxr-xr-x    1 root     root        663292 Mar 22  2023 sample-Ai
[root@Ingenic-g1_1:mnt]# ./sample-Ai 
-sh: ./sample-Ai: not found

I want to do command run and create sample audio file in the directory

Progman
  • 16,827
  • 6
  • 33
  • 48

0 Answers0