AnsweredAssumed Answered

Failed to execute /init (error -8) during android bringup

Question asked by Vijai Kumar on May 12, 2015
Latest reply on Oct 30, 2015 by Selvakumar Velandi


    We have designed a custom board based on SabreSD. We are trying to bring Android Kitkat (4.4.3)up on the platform. We have downloaded the android source tree, applied patches available on freescale website and have generated the necessary images. When we try to boot the board from SD card, we get the following error.


Failed to execute /init

Failed to execute /init.  Attempting defaults...

Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.


After adding some patches to main.c file we found the kernel returned error code 8 (ENOEXEC) when trying to execute it. The built images boot well on SabreSD. The major difference between the SabreSD board and our custom board is that our custom board has 1GB LPDDR2 RAM  instead of DDR3 found on SabreSD. Any help on debugging this issue is greatly appreciated.