Skip to contentSkip to conversation

no kernel console output !

U-Boot tjzkzs 3 participants 3 messages Dec 27, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

tjzkzs

author
#1 lore raw

I use at91sam9260ek board, forgot to mention this. last time I said:

hi all,
when i use u-boot 1.1.5 boot kernel 2.6.22, no kernel console output, development enviorment i use:
cross_compiler: arm-2007-eldk.iso
kernel: 2.6.22
patches: 2.6.22-at91.patch.gz & 2.6.22-at91-exp.patch.gz
u-boot?u-boot-1.1.5
u-boot patch: u-boot-1.1.5_atmel_1.5.diff.bz2
i got u-boot and the kernel from www.linux4sam.org as well as all patches above. u-boot env:
bootdelay=3
baudrate=115200
ethaddr=00:13:20:dc:8b:2b
ipaddr=192.168.118.104
serverip=192.168.118.105
netmask=255.255.255.0
bootargs=mem=64M console=ttyS0 115200 root=/dev/mtdblock1 rootfstype=yaffs2 rw stdin=serial
stdout=serial
stderr=serial
u-boot output:
U-Boot> bootm 20100000
## Booting image at 20100000 ...

   Image Name:   Linux-2.6.22
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1394428 Bytes =  1.3 MB

Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux........................................................................................... done, booting the kernel.
at here, no output anymore, a problem according to console initialization? the code from atmel and i have checked, no need to change, then about the kernel i use? should i change another kernel version ? any advise will be appreciated ! Best regards,
Tony Zheng

#2 lore raw

Hi Tony,

Quoted 6 lines · tjzkzs

I use at91sam9260ek board, forgot to mention this. last time I said:

hi all,
when i use u-boot 1.1.5 boot kernel 2.6.22, no kernel console output, development enviorment i use:
cross_compiler: arm-2007-eldk.iso

No console output can be caused by several things, all hard to debug since you are running blind.

I'm not an arm expert, but u-boot 1.1.5 is suspiciously old, especially when trying to boot a fairly recent linux kernel. Can you upgrade it?

Can you boot an older version of linux with your 1.1.5 u-boot?

Do you get any console output in the linux memory buffer?
<http://www.denx.de/wiki/view/DULG/LinuxPostMortemAnalysis>

When you halt the processor with your debugger, what is it doing? Where is it? What procedure is it in? Can you get a stack trace to see where it came from?

Are you passing the right options on the command line to tell linux what console parameters are? (Is your "atag" info right? I'm ignorant of how this works, just know there is something there.)
<http://www.arm.linux.org.uk/developer/booting.php>

Quoted 2 lines

Best regards,
Tony Zheng

Good luck,
gvb

#3 lore raw
In reply to tjzkzs

I see that you have a space between ttyS0 and the baud rate of the bootargs it should be a coma

console=ttyS0,115200

Pawel

Quoted 53 lines · tjzkzs

I use at91sam9260ek board, forgot to mention this. last time I said:

hi all,
when i use u-boot 1.1.5 boot kernel 2.6.22, no kernel console output, development enviorment i use:
cross_compiler: arm-2007-eldk.iso
kernel: 2.6.22
patches: 2.6.22-at91.patch.gz & 2.6.22-at91-exp.patch.gz u-boot?u-boot-1.1.5
u-boot patch: u-boot-1.1.5_atmel_1.5.diff.bz2
i got u-boot and the kernel from www.linux4sam.org as well as all patches above.
u-boot env:
bootdelay=3
baudrate=115200
ethaddr=00:13:20:dc:8b:2b
ipaddr=192.168.118.104
serverip=192.168.118.105
netmask=255.255.255.0
bootargs=mem=64M console=ttyS0 115200 root=/dev/mtdblock1 rootfstype=yaffs2 rw
stdin=serial
stdout=serial
stderr=serial
u-boot output:
U-Boot> bootm 20100000
## Booting image at 20100000 ...

  Image Name:   Linux-2.6.22
  Image Type:   ARM Linux Kernel Image (uncompressed)
  Data Size:    1394428 Bytes =  1.3 MB

Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux........................................................................................... done, booting the kernel.
at here, no output anymore, a problem according to console initialization?
the code from atmel and i have checked, no need to change, then about the
kernel i use? should i change another kernel version ? any advise will be appreciated !
Best regards,
Tony Zheng

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot