All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Booting uImage on the mx31
@ 2009-04-23 14:20 alfred steele
  2009-04-23 16:05 ` Wolfgang Denk
  2009-04-23 16:11 ` Daniel Mack
  0 siblings, 2 replies; 5+ messages in thread
From: alfred steele @ 2009-04-23 14:20 UTC (permalink / raw)
  To: u-boot

Hi,

I am using an uImage generated by LTIB .  I am not sure how the ideal
uImage is generated for the PDK board.
I try booting this uimage from RAM and then load it at 80008000.

It gets stuck after "done, booting the kernel." Please see the bootup
messages below.

Any hints?  I hope with, 0x80008000 as the load address on the MX31,
you eliminate the cause of one probable failure, overlay memory  with
the existing code on RAM e.g. existing u-boot and the compressed
kernel image

mc911x: MAC 92:92:92:bb:bb:bb
TFTP from server 206.44.18.25; our IP address is 206.44.18.31
Filename 'uImage_spin2'.
Load address: 0x80800000
Loading: #################################################################
        #################################################
done
Bytes transferred = 1665060 (196824 hex)
## Booting kernel from Legacy Image at 80800000 ...
  Image Name:   Linux-2.6.24-140-g68eb4b4
  Created:      2009-04-23   3:28:44 UTC
  Image Type:   ARM Linux Kernel Image (uncompressed)
  Data Size:    1664996 Bytes =  1.6 MB
  Load Address: 80008000
  Entry Point:  80008000
  Verifying Checksum ... OK
  Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................
............................................... done, booting the kernel.

<IT freezes here>


Thanks,
Alfred.

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

* [U-Boot] Booting uImage on the mx31
  2009-04-23 14:20 [U-Boot] Booting uImage on the mx31 alfred steele
@ 2009-04-23 16:05 ` Wolfgang Denk
  2009-04-23 20:59   ` alfred steele
  2009-04-23 16:11 ` Daniel Mack
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2009-04-23 16:05 UTC (permalink / raw)
  To: u-boot

Dear alfred steele,

In message <528f13590904230720n14e87cchb87505c1de085be5@mail.gmail.com> you wrote:
> 
> I am using an uImage generated by LTIB .  I am not sure how the ideal
> uImage is generated for the PDK board.
...
> Starting kernel ...

U-Boot's responsibility end's here.

> Uncompressing Linux.............................................................
> ............................................... done, booting the kernel.
> 
> <IT freezes here>

Attach a BDI and debug where it's hanging. Eventually just your
machine ID is wrong.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Make it right before you make it faster.

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

* [U-Boot] Booting uImage on the mx31
  2009-04-23 14:20 [U-Boot] Booting uImage on the mx31 alfred steele
  2009-04-23 16:05 ` Wolfgang Denk
@ 2009-04-23 16:11 ` Daniel Mack
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel Mack @ 2009-04-23 16:11 UTC (permalink / raw)
  To: u-boot

On Thu, Apr 23, 2009 at 09:20:41AM -0500, alfred steele wrote:
> Any hints?  I hope with, 0x80008000 as the load address on the MX31,
> you eliminate the cause of one probable failure, overlay memory  with
> the existing code on RAM e.g. existing u-boot and the compressed
> kernel image
> 
> mc911x: MAC 92:92:92:bb:bb:bb
> TFTP from server 206.44.18.25; our IP address is 206.44.18.31
> Filename 'uImage_spin2'.
> Load address: 0x80800000
> Loading: #################################################################
>         #################################################
> done
> Bytes transferred = 1665060 (196824 hex)
> ## Booting kernel from Legacy Image at 80800000 ...
>   Image Name:   Linux-2.6.24-140-g68eb4b4
>   Created:      2009-04-23   3:28:44 UTC
>   Image Type:   ARM Linux Kernel Image (uncompressed)
>   Data Size:    1664996 Bytes =  1.6 MB
>   Load Address: 80008000
>   Entry Point:  80008000
>   Verifying Checksum ... OK
>   Loading Kernel Image ... OK
> OK
> 
> Starting kernel ...
> 
> Uncompressing Linux.............................................................
> ............................................... done, booting the kernel.
> 

See http://lists.arm.linux.org.uk/lurker/message/20081210.174754.29691349.en.html

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

* [U-Boot] Booting uImage on the mx31
  2009-04-23 16:05 ` Wolfgang Denk
@ 2009-04-23 20:59   ` alfred steele
  2009-04-23 23:21     ` alfred steele
  0 siblings, 1 reply; 5+ messages in thread
From: alfred steele @ 2009-04-23 20:59 UTC (permalink / raw)
  To: u-boot

Hi Wolfgang,
Thanks for the inputs.
So what you are saying that we have eliminated all cases of the
bootloader being at fault here except for the mach id mismatch.??  How
do i verify the mach id mismatch. Is it the same id i see on a
"bdinfo" dump on  uboot.   I looked at linux/include/asm/mach-types.h
in linux . Is that the correct place to look at?

How do i debug this kind of an issue on the BDI since it may fall
between the thin line of separation between MMU disabled and
reenabled.


Can i put a breakpoint on a specific_thing like start_kernel ..or do
you mean doing a backtrace from the point it hangs?  I am using PDK
which actually limits me to change boot switches for booting it from
NAND  or RAM.


On Thu, Apr 23, 2009 at 11:05 AM, Wolfgang Denk <wd@denx.de> wrote:
> Dear alfred steele,
>
> In message <528f13590904230720n14e87cchb87505c1de085be5@mail.gmail.com> you wrote:
>>
>> I am using an uImage generated by LTIB . ?I am not sure how the ideal
>> uImage is generated for the PDK board.
> ...
>> Starting kernel ...
>
> U-Boot's responsibility end's here.
>
>> Uncompressing Linux.............................................................
>> ............................................... done, booting the kernel.
>>
>> <IT freezes here>
>
> Attach a BDI and debug where it's hanging. Eventually just your
> machine ID is wrong.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, ? ? MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Make it right before you make it faster.
>

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

* [U-Boot] Booting uImage on the mx31
  2009-04-23 20:59   ` alfred steele
@ 2009-04-23 23:21     ` alfred steele
  0 siblings, 0 replies; 5+ messages in thread
From: alfred steele @ 2009-04-23 23:21 UTC (permalink / raw)
  To: u-boot

Hi Wolfgang,


Thanks for the inputs.
So what you are saying that we have eliminated all cases of the
bootloader being at fault here except for the mach id mismatch.??  How
do i verify the mach id mismatch. Is it the same id i see on a
"bdinfo" dump on  uboot.   I looked at linux/include/asm/mach-types.h
in linux . Is that the correct place to look at?

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

end of thread, other threads:[~2009-04-23 23:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-23 14:20 [U-Boot] Booting uImage on the mx31 alfred steele
2009-04-23 16:05 ` Wolfgang Denk
2009-04-23 20:59   ` alfred steele
2009-04-23 23:21     ` alfred steele
2009-04-23 16:11 ` Daniel Mack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.