On 07/18/2017 09:42 PM, Yousong Zhou wrote:
On 19 July 2017 at 04:51, Alexandru Gagniuc <ale...@adaptrum.com> wrote:
Hi, I'm trying to get a new ASIC with an ARC770 core running with openwrt,
but I keep hitting the attempted to kill init problem, and have run out of
debugging ideas. I've tried building busybox statically linked.

I'm building a kernel elf with initramfs, and loading that via JTAG. I can
get console, and things seem to work up until the kernel passes control to
userspace. Devicetree and kernel log attached below.

I was wondering if anyone had this problem in the context of LEDE
(specifically on arc770), and what was done to resolve it.

Thanks,
Alex

...

[   12.890000] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000004

Code 0x4 here very likely refers to SIGILL.  This has happened quite a
few times before for other architectures.

Yes, it was SIGKILL. Thank you for the pointer. It turns out that uclibc is using llock, which was not enabled in the softcore. Instruction exception, linux kills process, hence SIGKILL.

Alex


_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to