* [U-Boot] Uboot hangs on "starting kernel..."
@ 2009-12-10 15:21 Wierd O
2009-12-10 19:54 ` Ben Warren
0 siblings, 1 reply; 4+ messages in thread
From: Wierd O @ 2009-12-10 15:21 UTC (permalink / raw)
To: u-boot
Hi all,
I was working on freescale imx27ads board. Uboot hangs on ' starting kernel...'
I would be grateful if you can shed a light on the problem.
I used gcc-3.4.3 for cross compiling the image.
Here is the log:
U-Boot 2.0.0-rc3 (Mar 23 2009 - 13:30:42)
Board: Freescale i.MX27
phy0: Autonegotiation timeout
phy0: Phyid 1: 7 Phyid 2: c0c4 LPA 1
phy0: Link is down - 10/Half
MPLL: 398 MHz, SPLL: 239 MHz, ARM: 265 MHz, AHB: 132 MHz, IPG: 66 MHz
perclk1: 53199918 Hz
perclk2: 265999593 Hz
perclk3: 53199918 Hz
perclk4: 265999593 Hz
clkin26: 26000000 Hz
Malloc Space: 0xa3b00000 -> 0xa3f00000 (size 4 MB)
running /env/bin/init...
Hit any key to stop autoboot: 0
Verifying Checksum ... OK
Image Name: Linux-2.6.22.6
Created: 2009-12-08 14:52:27 UTC
Data Size: 1564480 Bytes = 1.5 MB
Load Address: a0008000
Entry Point: a0008000
OK
commandline:
console=ttymxc0,115200 mem=64M mtdparts=uboot:1M(boot),-(root)
root=/dev/mmcblk0p1 rootdelay=1 rootfstype=ext2
video=mxcfb:800x600,bpp=16,OSD080TN4x
Starting kernel ...
Any insight would be very helpful,
Best regards,
W.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Uboot hangs on "starting kernel..."
2009-12-10 15:21 [U-Boot] Uboot hangs on "starting kernel..." Wierd O
@ 2009-12-10 19:54 ` Ben Warren
2009-12-10 20:29 ` Wierd O
0 siblings, 1 reply; 4+ messages in thread
From: Ben Warren @ 2009-12-10 19:54 UTC (permalink / raw)
To: u-boot
Wierd O wrote:
> Hi all,
>
> I was working on freescale imx27ads board. Uboot hangs on ' starting kernel...'
>
> I would be grateful if you can shed a light on the problem.
>
> I used gcc-3.4.3 for cross compiling the image.
>
> Here is the log:
>
> U-Boot 2.0.0-rc3 (Mar 23 2009 - 13:30:42)
>
> Board: Freescale i.MX27
> phy0: Autonegotiation timeout
> phy0: Phyid 1: 7 Phyid 2: c0c4 LPA 1
> phy0: Link is down - 10/Half
>
> MPLL: 398 MHz, SPLL: 239 MHz, ARM: 265 MHz, AHB: 132 MHz, IPG: 66 MHz
> perclk1: 53199918 Hz
> perclk2: 265999593 Hz
> perclk3: 53199918 Hz
> perclk4: 265999593 Hz
> clkin26: 26000000 Hz
> Malloc Space: 0xa3b00000 -> 0xa3f00000 (size 4 MB)
> running /env/bin/init...
>
> Hit any key to stop autoboot: 0
> Verifying Checksum ... OK
> Image Name: Linux-2.6.22.6
> Created: 2009-12-08 14:52:27 UTC
> Data Size: 1564480 Bytes = 1.5 MB
> Load Address: a0008000
> Entry Point: a0008000
> OK
> commandline:
> console=ttymxc0,115200 mem=64M mtdparts=uboot:1M(boot),-(root)
> root=/dev/mmcblk0p1 rootdelay=1 rootfstype=ext2
> video=mxcfb:800x600,bpp=16,OSD080TN4x
>
> Starting kernel ...
>
>
>
Please read the documentation. Are you sure "console=ttymxc0" is correct?
regards,
Ben
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Uboot hangs on "starting kernel..."
2009-12-10 19:54 ` Ben Warren
@ 2009-12-10 20:29 ` Wierd O
2009-12-11 7:41 ` Robin Randhawa
0 siblings, 1 reply; 4+ messages in thread
From: Wierd O @ 2009-12-10 20:29 UTC (permalink / raw)
To: u-boot
> Date: Thu, 10 Dec 2009 11:54:53 -0800
> From: biggerbadderben at gmail.com
> To: wierdo_b at hotmail.com
> CC: u-boot at lists.denx.de
> Subject: Re: [U-Boot] Uboot hangs on "starting kernel..."
>
> Wierd O wrote:
> > Hi all,
> >
> > I was working on freescale imx27ads board. Uboot hangs on ' starting kernel...'
> >
> > I would be grateful if you can shed a light on the problem.
> >
> > I used gcc-3.4.3 for cross compiling the image.
> >
> > Here is the log:
> >
> > U-Boot 2.0.0-rc3 (Mar 23 2009 - 13:30:42)
> >
> > Board: Freescale i.MX27
> > phy0: Autonegotiation timeout
> > phy0: Phyid 1: 7 Phyid 2: c0c4 LPA 1
> > phy0: Link is down - 10/Half
> >
> > MPLL: 398 MHz, SPLL: 239 MHz, ARM: 265 MHz, AHB: 132 MHz, IPG: 66 MHz
> > perclk1: 53199918 Hz
> > perclk2: 265999593 Hz
> > perclk3: 53199918 Hz
> > perclk4: 265999593 Hz
> > clkin26: 26000000 Hz
> > Malloc Space: 0xa3b00000 -> 0xa3f00000 (size 4 MB)
> > running /env/bin/init...
> >
> > Hit any key to stop autoboot: 0
> > Verifying Checksum ... OK
> > Image Name: Linux-2.6.22.6
> > Created: 2009-12-08 14:52:27 UTC
> > Data Size: 1564480 Bytes = 1.5 MB
> > Load Address: a0008000
> > Entry Point: a0008000
> > OK
> > commandline:
> > console=ttymxc0,115200 mem=64M mtdparts=uboot:1M(boot),-(root)
> > root=/dev/mmcblk0p1 rootdelay=1 rootfstype=ext2
> > video=mxcfb:800x600,bpp=16,OSD080TN4x
> >
> > Starting kernel ...
> >
> >
> >
> Please read the documentation. Are you sure "console=ttymxc0" is correct?
Yes, I am sure about the console. It is the correct one.
I am not sure why the kernel stops short of loading. The other thing that confuses me is that i couldnt know whther the proble is from the image or uboot.
>
> regards,
> Ben
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Uboot hangs on "starting kernel..."
2009-12-10 20:29 ` Wierd O
@ 2009-12-11 7:41 ` Robin Randhawa
0 siblings, 0 replies; 4+ messages in thread
From: Robin Randhawa @ 2009-12-11 7:41 UTC (permalink / raw)
To: u-boot
Greetings.
On Thu10 Dec 2009, at 20:29, Wierd O wrote:
> I am not sure why the kernel stops short of loading. The other thing that confuses me is that i couldnt know whther the proble is from the image or uboot.
You are assuming that the kernel 'stops short of loading'. It is quite likely that the kernel has gone along a fair but and attempted to bring up your board but has panicked at a very early stage before the kernel log buffer was flushed to the console thereby preventing you from getting a feel for what really went wrong. There could be any number of reasons for this of course.
My recommendation would be to start hacking the kernel from a very early stage of initialisation. If you can get to Linux's '__log_buf' and print out the ASCII contents straight to the UART, I bet you'll get a handle on the problem. It'll most likely be a kernel misconfiguration issue but you'll get the idea one hopes.
Cheers,
Robin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-12-11 7:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-10 15:21 [U-Boot] Uboot hangs on "starting kernel..." Wierd O
2009-12-10 19:54 ` Ben Warren
2009-12-10 20:29 ` Wierd O
2009-12-11 7:41 ` Robin Randhawa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox