[yocto] busybox-static how to?

Dallas Clement dallas.a.clement at gmail.com
Tue Jul 24 13:48:44 PDT 2012


I'm trying to get the core-image-minimal distro to boot in qemu for an
ARM Cortex A9 system.  It boots the kernel fine, but croaks when it
tries to run init.

kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda): using internal journal
EXT3-fs (sda): recovery complete
EXT3-fs (sda): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 8:0.
devtmpfs: mounted
Freeing init memory: 216K
Kernel panic - not syncing: Attempted to kill init!
[<c0015b34>] (unwind_backtrace+0x0/0x100) from [<c04343dc>]
(dump_stack+0x20/0x24)
[<c04343dc>] (dump_stack+0x20/0x24) from [<c0434450>] (panic+0x70/0x1a8)
[<c0434450>] (panic+0x70/0x1a8) from [<c002fbb8>] (do_exit+0x6a0/0x7b8)
[<c002fbb8>] (do_exit+0x6a0/0x7b8) from [<c002fd28>] (do_group_exit+0x58/0xe0)
[<c002fd28>] (do_group_exit+0x58/0xe0) from [<c0040d40>]
(get_signal_to_deliver+0x230/0x61c)
[<c0040d40>] (get_signal_to_deliver+0x230/0x61c) from [<c001135c>]
(do_signal+0xa0/0x5b8)
[<c001135c>] (do_signal+0xa0/0x5b8) from [<c00118e4>]
(do_notify_resume+0x70/0x7c)
[<c00118e4>] (do_notify_resume+0x70/0x7c) from [<c000e894>]
(work_pending+0x24/0x28)

I'd like to configure core-image-minimal to use a statically built
busybox so that I can determine if this is a shared lib problem.
However, I'm not sure how to do this with yocto.  Unfortunately I'm
unable to use hob on my system either.  Is there a config file I can
edit to choose busybox-static for core-image-minimal?

Thanks



More information about the yocto mailing list