public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andy Hawkins <a.hawkins@cabletime.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] U-boot with environment in flash now won't use serial console under Linux
Date: Fri, 2 Apr 2004 12:57:07 +0100	[thread overview]
Message-ID: <003001c418a9$a0029540$153335bf@cabletime.com> (raw)
In-Reply-To: <20040402112039.6EF07C109F@atlas.denx.de>

Hi,

> > I've modified the 'evb405ep_early_serial_map' function in
>
> I recommend to ONLY make the modification to the environment storage,
> and nothing else. Don't modify the serial drivers.

The only modification to the serial driver is to include printk statements
to see what parameters it's getting. This is in the linux kernel, not
u-boot. In both instances, I have been using an identical kernel image, the
only difference is between the two u-boot images. The kernel image has been
working fine using u-boot where the environment is stored in EEPROM.

> Also, you might want to check the boot  arguments  you  pass  to  the
> kernel.  Are  they  really  the  same  in  both cases? Maybe your new
> version fails to pass a console= argument?

I'll verify that the arguments are the same in both cases. However, this is
the command line seen by the non-working kernel:

Kernel command line: root=/dev/nfs rw
nfsroot=191.53.51.22:/home/andyh/target
    ip=191.53.51.200:191.53.51.22::255.255.0.0:PPChameleonEVB:eth0:off
    panic=1 console=ttyS0:115200

This looks fine to me...

However, setserial returns the following:

setserial -a /dev/console
/dev/console, Line 0, UART: 16550A, Port: 0x0000, IRQ: 0
        Baud_base: 694444, close_delay: 50, divisor: 0
        closing_wait: 3000
        Flags: spd_normal skip_test

The baud_base looks odd to me. However, this is the value calculated as
serial_baud_405ep in  the kernel's evb405ep_early_serial_map function (which
is the same in both instances), so is probably correct.

Thanks.

Andy

  reply	other threads:[~2004-04-02 11:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-02  8:42 [U-Boot-Users] U-boot with environment in flash now won't use serial console under Linux Andy Hawkins
2004-04-02 11:20 ` Wolfgang Denk
2004-04-02 11:57   ` Andy Hawkins [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-04-02 14:03 Andy Hawkins

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='003001c418a9$a0029540$153335bf@cabletime.com' \
    --to=a.hawkins@cabletime.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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