Skip to contentSkip to conversation

Freeze on "Starting Kernel"

Buildroot rob.r374 at gmail.com 2 participants 2 messages Sep 15, 2020

lore
Share & tools
lore
#0 lore raw

Hello,

As a Buildroot newbie I'm experimenting with different setups, packages and customizations.

My system frequently freezes at the point, where it seems to jump to code from certain image

- it says >Starting Kernel< and then nothing happens.

For instance I add few additional packages to the buildroot build and then suddenly, kernel doesn't start.

Can I somehow setup things to get any useful feedback about what is wrong in such situation ?

At least some sort of debug print would help to point me to the problem.

Thanks,

Regards,

Rob.

Signature · 5 lines
Ta e-po?ta je bila pregledana z Avast protivirusnim programom.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200915/d8ffcd01/attachment.html>
#1 lore raw

Hello Rob,

Quoted 10 lines · On Tue, 15 Sep 2020 12:20:38 +0200 <[email protected]> wrote:

As a Buildroot newbie I'm experimenting with different setups, packages and customizations.

My system frequently freezes at the point, where it seems to jump to code from certain image

- it says >Starting Kernel< and then nothing happens.

For instance I add few additional packages to the buildroot build and then suddenly, kernel doesn't start.

Adding just a few more user-space packages should definitely not cause this, *except* if you're using an initramfs filesystem and your kernel image has grown too large.

Quoted 2 lines

Can I somehow setup things to get any useful feedback about what is wrong in such situation ?

If you're on ARM32, you can enable CONFIG_DEBUG_LL and CONFIG_EARLYPRINTK in your kernel configuration, specify a debug UART in the kernel configuration, and pass "earlyprintk" on the kernel command line.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com