2008-03-24 19:51:26 Kernel panic - not syncing: No init found when builiding as FDPIC
Javier Herrero (SPAIN)
Message: 52981 Hello,
I've changed the application/library settings from FLAT to FDPIC, and now I obtain a 'Kernel panic - not syncing: No init found. Try passing init= option to kernel.' message.
After changing from FLAT to FDPIC I've done a make clean to assure that all is build ok, and the init is under /bin. The board is BF532 based, and the filesystem is jffs2 in flash memory.
Perhaps I'm forgetting something obvious...
Regards,
Javier
QuoteReplyEditDelete
2008-03-24 21:11:01 Re: Kernel panic - not syncing: No init found when builiding as FDPIC
David Rowe (AUSTRALIA)
Message: 52982 Hi Javier,
Had a very similar bug recently. It could be that init can't run as uClibc isnt present on your file system. Check your uClinux-dist/romfs/lib and see if ld-uClibc* are present. If not, do a make config_menuconfig and in Blackfin build options make sure FDPIC is selected as the Binary Format.
Cheers,
David
QuoteReplyEditDelete
2008-03-24 23:09:30 Re: Kernel panic - not syncing: No init found when builiding as FDPIC
Yi Li (CHINA)
Message: 52985 Please attach the kernel boot message here for debug. Also please tell us what is your toolchain and kernel version.
-Yi
QuoteReplyEditDelete
2008-03-25 05:47:01 Re: Kernel panic - not syncing: No init found when builiding as FDPIC
Javier Herrero (SPAIN)
Message: 53002 Hi, David,
Thank you very much for your answer. You're, I've found that the shared libraries were not properly being included under /lib. Now it works OK.
Yi, I'm using latest SVN uclinux-dist and toolchain.
Thanks! Regards,
Javier