All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Linux hangs after Starting kernel ...message
@ 2008-09-17  5:16 Batsayan Das
  2008-09-17  7:47 ` Andrejs Cainikovs
  2008-09-17  8:05 ` Wolfgang Denk
  0 siblings, 2 replies; 4+ messages in thread
From: Batsayan Das @ 2008-09-17  5:16 UTC (permalink / raw)
  To: u-boot

Hello,

We are using arm926ejs based custom board.
We are able to get u-boot prompt using BDI2000. We are also able to get 
Linux prompt using BDI. The serial console is working fine for both the 
cases.

Now we want to run Linux from u-boot prompt (using bootm ). We got the 
u-boot prompt by running u-boot using BDI2K. Then we use kermit to 
transfer uImage to suitable memory location and execute bootm command.

When we execute "bootm 0x5000000" command it gives the "Starting kernel 
...". After that nothing is printed in the serial console. We have 
verified "http://www.denx.de/wiki/view/DULG/LinuxPostMortemAnalysis" that 
"__log_buf" gives the exact booting sequences what we used to get when 
running vmlinux.bin from BDI.

****LOG  START******

TEST # loadb 0x5000000
## Ready for binary (kermit) download to 0x05000000 at 38400 bps...
## Total Size      = 0x0012db0f = 1235727 Bytes
## Start Addr      = 0x05000000
TEST # bootm 0x5000000
## Booting kernel from Legacy Image at 05000000 ...
   Image Name:   TEST Kernel Image
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    1235663 Bytes =  1.2 MB
   Load Address: 02000000
   Entry Point:  02000000
   Uncompressing Kernel Image ... OK

Starting kernel ...

*****LOG END*****


I use "console=ttyS0,38400n8" as boot option in Linux. The same console 
option
gives the serial port data when we execute vmlinux.bin using BDI.

The brief memory map is like this
The SDRAM starts at 0x00000000 (total 256 MB)
u-boot load address is 0x00100000
uImage load address is 0x05000000
Kernel Load Address/Entry Point : 0x02000000 ( I use mkimage tool to 
generate uImage from vmlinux, the command I use is mkimage -A arm -O linux 
-T kernel -C gzip -a 0x2000000 -e 0x2000000 -n "TEST Kernel Image" -d 
vmlinux.bin.gz  uImage")

Pls help me where should I investigate to get Linux serial data.

Thanks in advance.

Regards,
Batsayan Das
Tata Consultancy Services
Mailto: batsayan.das at tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you

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

* [U-Boot] Linux hangs after Starting kernel ...message
  2008-09-17  5:16 [U-Boot] Linux hangs after Starting kernel ...message Batsayan Das
@ 2008-09-17  7:47 ` Andrejs Cainikovs
  2008-09-17  8:05 ` Wolfgang Denk
  1 sibling, 0 replies; 4+ messages in thread
From: Andrejs Cainikovs @ 2008-09-17  7:47 UTC (permalink / raw)
  To: u-boot


Sorry, i have no ideas where your problem is related.
At the start i was thinking this could be the memory related problem, 
but apperantly not...
Maybe someone in this list will have similar experience.

Kind regards,
Andrejs Cainikovs


Batsayan Das wrote:
> Hello,
>
> We are using arm926ejs based custom board.
> We are able to get u-boot prompt using BDI2000. We are also able to get 
> Linux prompt using BDI. The serial console is working fine for both the 
> cases.
>
> Now we want to run Linux from u-boot prompt (using bootm ). We got the 
> u-boot prompt by running u-boot using BDI2K. Then we use kermit to 
> transfer uImage to suitable memory location and execute bootm command.
>
> When we execute "bootm 0x5000000" command it gives the "Starting kernel 
> ...". After that nothing is printed in the serial console. We have 
> verified "http://www.denx.de/wiki/view/DULG/LinuxPostMortemAnalysis" that 
> "__log_buf" gives the exact booting sequences what we used to get when 
> running vmlinux.bin from BDI.
>
> ****LOG  START******
>
> TEST # loadb 0x5000000
> ## Ready for binary (kermit) download to 0x05000000 at 38400 bps...
> ## Total Size      = 0x0012db0f = 1235727 Bytes
> ## Start Addr      = 0x05000000
> TEST # bootm 0x5000000
> ## Booting kernel from Legacy Image at 05000000 ...
>    Image Name:   TEST Kernel Image
>    Image Type:   ARM Linux Kernel Image (gzip compressed)
>    Data Size:    1235663 Bytes =  1.2 MB
>    Load Address: 02000000
>    Entry Point:  02000000
>    Uncompressing Kernel Image ... OK
>
> Starting kernel ...
>
> *****LOG END*****
>
>
> I use "console=ttyS0,38400n8" as boot option in Linux. The same console 
> option
> gives the serial port data when we execute vmlinux.bin using BDI.
>
> The brief memory map is like this
> The SDRAM starts at 0x00000000 (total 256 MB)
> u-boot load address is 0x00100000
> uImage load address is 0x05000000
> Kernel Load Address/Entry Point : 0x02000000 ( I use mkimage tool to 
> generate uImage from vmlinux, the command I use is mkimage -A arm -O linux 
> -T kernel -C gzip -a 0x2000000 -e 0x2000000 -n "TEST Kernel Image" -d 
> vmlinux.bin.gz  uImage")
>
> Pls help me where should I investigate to get Linux serial data.
>
> Thanks in advance.
>
> Regards,
> Batsayan Das
> Tata Consultancy Services
> Mailto: batsayan.das at tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty.   IT Services
>                         Business Solutions
>                         Outsourcing
> ____________________________________________
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
>
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>   

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

* [U-Boot] Linux hangs after Starting kernel ...message
  2008-09-17  5:16 [U-Boot] Linux hangs after Starting kernel ...message Batsayan Das
  2008-09-17  7:47 ` Andrejs Cainikovs
@ 2008-09-17  8:05 ` Wolfgang Denk
  2008-09-17  8:13   ` michael
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2008-09-17  8:05 UTC (permalink / raw)
  To: u-boot

Dear Batsayan Das,

In message <OF51921713.AB3B2AEB-ON652574C7.001C2E1E-652574C7.001CF9E1@tcs.com> you wrote:
> 
> When we execute "bootm 0x5000000" command it gives the "Starting kernel 
> ...". After that nothing is printed in the serial console. We have 
> verified "http://www.denx.de/wiki/view/DULG/LinuxPostMortemAnalysis" that 
> "__log_buf" gives the exact booting sequences what we used to get when 
> running vmlinux.bin from BDI.

This is no longer a U-Boot issue but a Linux kernel problem.

On ARM systems, one of the top ranking reeasons for such  a  type  of
problem  is  that you pass an incorrect/nonmatching machine ID to the
kernel.

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
Our universe is a fragile house of atoms, held together by the mortar
of cause-and-effect. One magician would be two too many.
                        - Terry Pratchett, _The Dark Side of the Sun_

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

* [U-Boot] Linux hangs after Starting kernel ...message
  2008-09-17  8:05 ` Wolfgang Denk
@ 2008-09-17  8:13   ` michael
  0 siblings, 0 replies; 4+ messages in thread
From: michael @ 2008-09-17  8:13 UTC (permalink / raw)
  To: u-boot

Hi,


Wolfgang Denk wrote:
> Dear Batsayan Das,
>
> In message <OF51921713.AB3B2AEB-ON652574C7.001C2E1E-652574C7.001CF9E1@tcs.com> you wrote:
>   
>> When we execute "bootm 0x5000000" command it gives the "Starting kernel 
>> ...". After that nothing is printed in the serial console. We have 
>> verified "http://www.denx.de/wiki/view/DULG/LinuxPostMortemAnalysis" that 
>> "__log_buf" gives the exact booting sequences what we used to get when 
>> running vmlinux.bin from BDI.
>>     
>
> This is no longer a U-Boot issue but a Linux kernel problem.
>
> On ARM systems, one of the top ranking reeasons for such  a  type  of
> problem  is  that you pass an incorrect/nonmatching machine ID to the
> kernel.
>
>   
I don't see uncompressing the linux kernel. Maybe is memory problem?
Try to use some memtest...

> Best regards,
>
> Wolfgang Denk
>
>   
Regards Michael

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

end of thread, other threads:[~2008-09-17  8:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-17  5:16 [U-Boot] Linux hangs after Starting kernel ...message Batsayan Das
2008-09-17  7:47 ` Andrejs Cainikovs
2008-09-17  8:05 ` Wolfgang Denk
2008-09-17  8:13   ` michael

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.