Freeze on "Starting Kernel"
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>
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