public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: martin.ereth@arcor•de (Martin Ereth)
To: linux-arm-kernel@lists•infradead.org
Subject: strange characters on serial port when booting kernel on at91sam9263 board
Date: Sun, 30 May 2010 17:16:42 +0200	[thread overview]
Message-ID: <4C02815A.8090402@arcor.de> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have a board which is based on the AT91SAM9263-EK but with a little
but annoying difference: SDRAM is smaller.

Thus I cannot use prebuilt images. I've compiled AT91Bootstrap-1.15
which directly loads the linux kernel (2.6.34).
I've tried a linux kernel built with buildroot and one compiled on my
own using the toolchain of buildroot. Both are in uncompressed uImage
format.

When watching the serial port I get the output shown here [1]. After the
last line, part [2] shows up. That looks like a wrong speed of the
serial port. But I've tried all known speeds (using cu) but no good
characters are showing up. :(

The serial port is configured for 115200 baud. I am starting linux with
console=ttyS0,115200.

I think this is a problem with the kernel, maybe a wrong frequency or
baud rate?

What can I try to get the kernel running on this board?
Is it better to compile the kernel on my own? What patches are recommended?
Do I need to change the SDRAM size somewhere in the kernel sources or is
this detected automatically?

Thanks a lot in advance,
Martin


[1] (please do not feel disturbed by some debugging output)
RomBOOT
>Start AT91Bootstrap...
init SDRAM
init sdramc_hw
sdramc_hw ok
SDRAM ok
======= load image header from nandflash =======
init nandflash_hw
nandflash_hw init ok
nandflash_cfg_8bits_dbw_init ok
======= load image from nandflash =======
init nandflash_hw
nandflash_hw init ok
nandflash_cfg_8bits_dbw_init ok
======= jump to entry point =======
Uncompressing Linux... done, booting the kernel.

[2]
?*S???N???A?
            ?1?Y?HWK???x*??A?
                              ???V?,1?q?*P/?????Y$?a?#
                                                      ???e?1
(and so on)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwCgVkACgkQE5UqXaCvB8LyPgCgkjIUi3cMCOTzxqFey+OqKtE5
qq4AoLFu5OHbima0ipQNuj6PZ7qOH8Fq
=vfNO
-----END PGP SIGNATURE-----

                 reply	other threads:[~2010-05-30 15:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C02815A.8090402@arcor.de \
    --to=martin.ereth@arcor$(echo .)de \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox