This error is probably caused by exiting /init script inside initramfs.
Are you sure that your init script is mounting and switching root properly?
You can share your init script, but I'm not sure that it's the proper
list to fix that for you.
BR,
Piotr
On 26.07.2016 12:23, Anindya Sundar Gayen wrote:
Hi,
I am trying to build Yocto for my custom FPGA board. I added the
meta-bsp layer. But after successful building of Yocto I am getting
"Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00007f00". Kernel log mentioned below.
I am using Yocto version dizzy and the same rfs is working fine with
phycore Vybrid board because both (Vybrid & my custom FPGA) are using
cortex-A5. I am compiling my Linux kernel externally using poky
toolchain because I need to make it initramfs. Phycore Vybrid board is
using Linux kernel version 3.0.15 and for my custom FPGA board it is
4.6. It seems to be noticed that 4.6 Linux kernel with openWRT is
perfectly running whenever I am creating that also as initramfs for my
custom FPGA.
So, please let me know how to resolve it.
*LOG:~*
[ 10.160000] console [ttyS0] enabled
[ 10.160000] console [ttyS0] enabled
[ 10.170000] bootconsole [earlycon0] disabled
[ 10.170000] bootconsole [earlycon0] disabled
[ 10.380000] Warning: unable to open an initial console.
[ 10.390000] devtmpfs: mounted
[ 12.130000] Freeing unused kernel memory: 4648K (2022e000 - 206b8000)
[ 12.140000] This architecture does not have kernel memory protection.
[ 12.320000] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00007f00
[ 12.320000]
[ 12.320000] Rebooting in 5 seconds..Reboot failed -- System halted
*Thanks & regards,
Anindya Sundar Gayen
Contact | 7842753740*
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto