linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* 2.6.38 port not booting on i.MX53 SoM
@ 2011-11-28  9:38 Wayne Tams
  2011-11-28 10:07 ` Uwe Kleine-König
  0 siblings, 1 reply; 6+ messages in thread
From: Wayne Tams @ 2011-11-28  9:38 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

I have a feeling that this might be a very common question and with
multiple answers, but I am running out of options, so here it goes.

I have been working with i.MX53 SoM with a 2.6.35 BSP, I am trying to
dump the SoMs BSP in  favour for Freescale's latest kernel 2.6.38
(http://opensource.freescale.com/git?p=imx/linux-2.6-imx.git;a=summary).

Using the 2.6.35 kernel as reference I have been trying to configure
the 2.6.38 kernel to match as well as modifying and adding board and
platform information.

The kernel compiles fine but when I come to load the image the kernel
gets stuck at "Uncompressing Linux... done, booting the kernel."

Are there any obvious causes for this freeze?
Have I overlooked a source tree modification?
Have I maybe gone about this all wrong?

Best regards

Wayne

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

* 2.6.38 port not booting on i.MX53 SoM
  2011-11-28  9:38 2.6.38 port not booting on i.MX53 SoM Wayne Tams
@ 2011-11-28 10:07 ` Uwe Kleine-König
  2011-11-29 10:58   ` Wayne Tams
  0 siblings, 1 reply; 6+ messages in thread
From: Uwe Kleine-König @ 2011-11-28 10:07 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

On Mon, Nov 28, 2011 at 09:38:00AM +0000, Wayne Tams wrote:
> I have a feeling that this might be a very common question and with
> multiple answers, but I am running out of options, so here it goes.
> 
> I have been working with i.MX53 SoM with a 2.6.35 BSP, I am trying to
> dump the SoMs BSP in  favour for Freescale's latest kernel 2.6.38
> (http://opensource.freescale.com/git?p=imx/linux-2.6-imx.git;a=summary).
Better use mainline, that's way less ugly. (And note that the Freescale
kernel is out of scope for this mailing list.)
 
> Using the 2.6.35 kernel as reference I have been trying to configure
> the 2.6.38 kernel to match as well as modifying and adding board and
> platform information.
> 
> The kernel compiles fine but when I come to load the image the kernel
> gets stuck at "Uncompressing Linux... done, booting the kernel."
> 
> Are there any obvious causes for this freeze?
An exception before console output is setup, or a wrong setup.

Enable DEBUG_LL, EARLY_PRINTK and add "earlyprintk" to the commandline.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

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

* 2.6.38 port not booting on i.MX53 SoM
  2011-11-28 10:07 ` Uwe Kleine-König
@ 2011-11-29 10:58   ` Wayne Tams
  2011-11-29 11:12     ` Fabio Estevam
  0 siblings, 1 reply; 6+ messages in thread
From: Wayne Tams @ 2011-11-29 10:58 UTC (permalink / raw)
  To: linux-arm-kernel

2011/11/28 Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>:
> Hello,
>
> On Mon, Nov 28, 2011 at 09:38:00AM +0000, Wayne Tams wrote:
>> I have a feeling that this might be a very common question and with
>> multiple answers, but I am running out of options, so here it goes.
>>
>> I have been working with i.MX53 SoM with a 2.6.35 BSP, I am trying to
>> dump the SoMs BSP in ?favour for Freescale's latest kernel 2.6.38
>> (http://opensource.freescale.com/git?p=imx/linux-2.6-imx.git;a=summary).
> Better use mainline, that's way less ugly. (And note that the Freescale
> kernel is out of scope for this mailing list.)
>
>> Using the 2.6.35 kernel as reference I have been trying to configure
>> the 2.6.38 kernel to match as well as modifying and adding board and
>> platform information.
>>
>> The kernel compiles fine but when I come to load the image the kernel
>> gets stuck at "Uncompressing Linux... done, booting the kernel."
>>
>> Are there any obvious causes for this freeze?
> An exception before console output is setup, or a wrong setup.
>
> Enable DEBUG_LL, EARLY_PRINTK and add "earlyprintk" to the commandline.

I have followed your instructions and double checked serial bootargs
by loading the 2.6.35 kernel; 2.6.35 loads ok displaying printks as it
executes.

However using the new 2.6.38 kernel, there are not any additional
messages after enabling the debug settings you mentioned.
>
> Best regards
> Uwe
>
> --
> Pengutronix e.K. ? ? ? ? ? ? ? ? ? ? ? ? ? | Uwe Kleine-K?nig ? ? ? ? ? ?|
> Industrial Linux Solutions ? ? ? ? ? ? ? ? | http://www.pengutronix.de/ ?|

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

* 2.6.38 port not booting on i.MX53 SoM
  2011-11-29 10:58   ` Wayne Tams
@ 2011-11-29 11:12     ` Fabio Estevam
  2011-11-29 11:20       ` Wayne Tams
  0 siblings, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2011-11-29 11:12 UTC (permalink / raw)
  To: linux-arm-kernel

2011/11/29 Wayne Tams <wayne.tams@gmail.com>:

> I have followed your instructions and double checked serial bootargs
> by loading the 2.6.35 kernel; 2.6.35 loads ok displaying printks as it
> executes.
>
> However using the new 2.6.38 kernel, there are not any additional
> messages after enabling the debug settings you mentioned.

As Uwe explained this list is about mainline kernel.

I have a suggestion for you though: if you use FSL 2.6.38 you should
update your FSL U-boot also because there were some UART clock changes
from 2.6.35 to 2.6.38. Or use the mainline kernel instead ;-)

Regards,

Fabio Estevam

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

* 2.6.38 port not booting on i.MX53 SoM
  2011-11-29 11:12     ` Fabio Estevam
@ 2011-11-29 11:20       ` Wayne Tams
  2011-11-29 11:44         ` Wolfgang Grandegger
  0 siblings, 1 reply; 6+ messages in thread
From: Wayne Tams @ 2011-11-29 11:20 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Nov 29, 2011 at 11:12 AM, Fabio Estevam <festevam@gmail.com> wrote:
> 2011/11/29 Wayne Tams <wayne.tams@gmail.com>:
>
>> I have followed your instructions and double checked serial bootargs
>> by loading the 2.6.35 kernel; 2.6.35 loads ok displaying printks as it
>> executes.
>>
>> However using the new 2.6.38 kernel, there are not any additional
>> messages after enabling the debug settings you mentioned.
>
> As Uwe explained this list is about mainline kernel.
>
> I have a suggestion for you though: if you use FSL 2.6.38 you should
> update your FSL U-boot also because there were some UART clock changes
> from 2.6.35 to 2.6.38. Or use the mainline kernel instead ;-)
>
> Regards,
>
> Fabio Estevam

Understood, thanks for the help all the same. :)

Wayne

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

* 2.6.38 port not booting on i.MX53 SoM
  2011-11-29 11:20       ` Wayne Tams
@ 2011-11-29 11:44         ` Wolfgang Grandegger
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Grandegger @ 2011-11-29 11:44 UTC (permalink / raw)
  To: linux-arm-kernel

On 11/29/2011 12:20 PM, Wayne Tams wrote:
> On Tue, Nov 29, 2011 at 11:12 AM, Fabio Estevam <festevam@gmail.com> wrote:
>> 2011/11/29 Wayne Tams <wayne.tams@gmail.com>:
>>
>>> I have followed your instructions and double checked serial bootargs
>>> by loading the 2.6.35 kernel; 2.6.35 loads ok displaying printks as it
>>> executes.
>>>
>>> However using the new 2.6.38 kernel, there are not any additional
>>> messages after enabling the debug settings you mentioned.
>>
>> As Uwe explained this list is about mainline kernel.
>>
>> I have a suggestion for you though: if you use FSL 2.6.38 you should
>> update your FSL U-boot also because there were some UART clock changes
>> from 2.6.35 to 2.6.38. Or use the mainline kernel instead ;-)
>>
>> Regards,
>>
>> Fabio Estevam
> 
> Understood, thanks for the help all the same. :)

Try the following patch:

http://git.linaro.org/gitweb?p=bsp/freescale/linux-linaro-natty.git;a=commit;h=c00c6cd2b83e88292f82387dacf489b2821d2ce2

Wolfgang.

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

end of thread, other threads:[~2011-11-29 11:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-28  9:38 2.6.38 port not booting on i.MX53 SoM Wayne Tams
2011-11-28 10:07 ` Uwe Kleine-König
2011-11-29 10:58   ` Wayne Tams
2011-11-29 11:12     ` Fabio Estevam
2011-11-29 11:20       ` Wayne Tams
2011-11-29 11:44         ` Wolfgang Grandegger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).