All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Matthias Weißer" <weisserm@arcor.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Relocating u-boot console
Date: Wed, 14 Oct 2009 15:47:27 +0200	[thread overview]
Message-ID: <4AD5D66F.7020700@arcor.de> (raw)

Hello

Is it possible to relocate the u-boot console depending on the state of 
some GPIO pins (e.g. in board_init or board_late_init)? Currently I have 
the following serial configuration for my board:

#define CONFIG_SERIAL_MULTI
#define CONFIG_SYS_NS16550
#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_REG_SIZE		(-4)
#define CONFIG_SYS_NS16550_CLK			CONFIG_JADE_IOCLK
#define CONFIG_SYS_NS16550_COM1			0xfffe1000
#define CONFIG_SYS_NS16550_COM2			0xfff50000
#define CONFIG_SYS_NS16550_COM3			0xfff51000
#define CONFIG_SYS_NS16550_COM4			0xfff43000
#define CONFIG_CONS_INDEX	4

This results in a console on COM4. Now I would like to have the console
on COM1 under some circumstances for maintanance reasons.

Regards,
Matthias Wei?er

             reply	other threads:[~2009-10-14 13:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-14 13:47 Matthias Weißer [this message]
2009-10-14 14:00 ` [U-Boot] Relocating u-boot console Mike Frysinger
2009-10-14 15:26   ` Matthias Weißer

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=4AD5D66F.7020700@arcor.de \
    --to=weisserm@arcor.de \
    --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 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.