ramfs init error :Failed to execute /init (error -13)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ramfs init error :Failed to execute /init (error -13)

1,755 Views
mashaofeng
Contributor III

dear expert :

    we switch out imx8qxp chip from b0 to c0 , now the normal system ok and rndis can work , i also test udc in normal system;

    now we run ramfs to run some command on utp , but it always show :

Freeing unused kernel memory: 1280K
[    3.261675] Failed to execute /init (error -13)
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell

 we use c0  ramfs fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot 

i check the ramfs sys i found the 

sh-4.4# ls -l
total 1028
drwxr-xr-x  2 root root    2060 Dec 21  2019 bin
drwxr-xr-x  2 root root      40 Nov  6  2019 boot
drwxr-xr-x  2 root root      60 Nov  6  2019 dev
drwxr-xr-x 12 root root     860 Dec 21  2019 etc
-rw-r--r--  1 root root 1048576 Dec 21  2019 fat
drwxr-xr-x  3 root root      60 Dec 21  2019 home
-rw-r--r--  1 root root       0 Dec 21  2019 init        it's have no exec permission and it's size is 0
drwxr-xr-x  4 root root    1500 Nov  6  2019 lib
-rwxr-xr-x  1 root root    3251 Dec 21  2019 linuxrc

why this issue occurred;

it's urgent for out product , please  help to analyze;

thanks

0 Kudos
1 Reply

1,728 Views
igorpadykov
NXP Employee
NXP Employee

Hi ma

what bsp used in the case. for co revision recommended to use

last releases (not older than Linux 4.14.98_2.3.0), supported revisisons

for each bsp are described on

Embedded Linux for i.MX Applications Processors | NXP 

sample uuu scripts can be found in Demo Images, folder ../samples

https://www.nxp.com/webapp/Download?colCode=L4.14.98_2.3.0_MX8QXP&appType=license 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos