Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Freeze on "Starting Kernel"
@ 2020-09-15 10:20 rob.r374 at gmail.com
  2020-09-15 13:30 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: rob.r374 at gmail.com @ 2020-09-15 10:20 UTC (permalink / raw)
  To: buildroot

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.

 



-- 
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Freeze on "Starting Kernel"
  2020-09-15 10:20 [Buildroot] Freeze on "Starting Kernel" rob.r374 at gmail.com
@ 2020-09-15 13:30 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-09-15 13:30 UTC (permalink / raw)
  To: buildroot

Hello Rob,

On Tue, 15 Sep 2020 12:20:38 +0200
<rob.r374@gmail.com> 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.

> 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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-15 13:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-15 10:20 [Buildroot] Freeze on "Starting Kernel" rob.r374 at gmail.com
2020-09-15 13:30 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox