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 09:42:23 +0100	[thread overview]
Message-ID: <001501c4188e$6bda5570$153335bf@cabletime.com> (raw)

Hi all,

I've recently successfully changed U-Boot such that it's environment is in
flash (on the PPChameleonEVB board). However, now when I boot the kernel I
get no serial console. The serial console works fine under U-Boot up until
the time it transfers control to Linux, at which point I get nothing.

However, if I switch back to the original U-Boot, I *do* get a serial
console (this is with exactly the same kernel). This (to me) tends to point
to some problem with the way I've changed U-Boot.

I've modified the 'evb405ep_early_serial_map' function in
arch/ppc/platforms/PPChameleonEVB.c so that it prints out the parameters
passed in the bd_t structure, and these are identical in both cases (at
least, for the members of the structure that this function uses).

Can anyone offer any advice as to why I'm no longer getting a serial
console? Linux is booting up fine (I can telnet into it), but I'm just not
getting a console.

The changes I've made in include/configs/PPChameleonEVB.h are as follows:

CFG_MONITOR_BASE from 0xFFFC0000 to 0xFFFD0000
CFG_MONITOR_LEN and CFG_MALLOC_LEN from 256k to 192k

Changed the definitions for the environment from

#define CFG_ENV_IS_IN_EEPROM    1       /* use EEPROM for environment vars
*/
#define CFG_ENV_OFFSET          0x100   /* environment starts at the
beginning
#define CFG_ENV_SIZE            0x700   /* 2048 bytes may be used for env
vars*
                                   /* total size of a CAT24WC16 is 2048
bytes *
to

#define CFG_ENV_IS_IN_FLASH     1
#define CFG_ENV_ADDR            0xFFFC0000
#define CFG_ENV_SIZE            0x10000

Thanks for any advice you can offer.

Andy

             reply	other threads:[~2004-04-02  8:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-02  8:42 Andy Hawkins [this message]
2004-04-02 11:20 ` [U-Boot-Users] U-boot with environment in flash now won't use serial console under Linux Wolfgang Denk
2004-04-02 11:57   ` Andy Hawkins
  -- 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='001501c4188e$6bda5570$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