From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mx31: add support for the bugbase 1.3 from buglabs
Date: Sun, 13 Feb 2011 22:12:28 +0100 [thread overview]
Message-ID: <20110213211228.GB13279@pengutronix.de> (raw)
In-Reply-To: <1297465616.18578.8.camel@gnutoo-laptop>
Hi Denis,
On Sat, Feb 12, 2011 at 12:06:56AM +0100, Denis 'GNUtoo' Carikli wrote:
> On Fri, 2011-02-11 at 22:39 +0100, Uwe Kleine-K?nig wrote:
> > On Fri, Feb 11, 2011 at 10:13:36PM +0100, Denis 'GNUtoo' Carikli wrote:
> > > > diff --git a/arch/arm/plat-mxc/include/mach/uncompress.h b/arch/arm/plat-mxc/include/mach/uncompress.h
> > > > index e634d6c..b45f534 100644
> > > > --- a/arch/arm/plat-mxc/include/mach/uncompress.h
> > > > +++ b/arch/arm/plat-mxc/include/mach/uncompress.h
> > > > @@ -62,6 +62,7 @@ static inline void flush(void)
> > > > #define MX2X_UART1_BASE_ADDR 0x1000a000
> > > > #define MX3X_UART1_BASE_ADDR 0x43F90000
> > > > #define MX3X_UART2_BASE_ADDR 0x43F94000
> > > > +#define MX3X_UART5_BASE_ADDR 0x43FB4000
> > > > #define MX51_UART1_BASE_ADDR 0x73fbc000
> > > > #define MX50_UART1_BASE_ADDR 0x53fbc000
> > > > #define MX53_UART1_BASE_ADDR 0x53fbc000
> > > > @@ -102,6 +103,9 @@ static __inline__ void __arch_decomp_setup(unsigned long arch_id)
> > > > case MACH_TYPE_MAGX_ZN5:
> > > > uart_base = MX3X_UART2_BASE_ADDR;
> > > > break;
> > > > + case MACH_TYPE_BUG:
> > > > + uart_base = MX3X_UART5_BASE_ADDR;
> > > > + break;
> > > > case MACH_TYPE_MX51_BABBAGE:
> > > > case MACH_TYPE_EUKREA_CPUIMX51SD:
> > > > case MACH_TYPE_MX51_3DS:
> > > That seem not to crash, but I wonder if it's really useful:
> > > Basically I see u-boot loading the kernel, then I have
> > > > Uncompressing Linux...
> > > Then I wait some seconds
> > > Then I see that line beeing complretted with:
> > > > done, booting the kernel.
> > > Then the rest of the messages are displayed very fast,
> > > along with initramfs loading messages and I finally get a shell.
> > That means you'd prefer no output?
> I should have misunderstood something, but I believed that that
> uncompress.h was for early printk.
> And so I expected printk to be printed on serial console immediately,
> not waiting for the serial port to be initialized again(as it is already
> initialized by the u-boot bootloader).
There is nothing reinitialized, in fact the code in
arch/arm/plat-mxc/include/mach/uncompress.h assumes the UART is already
initialized by the boot loader. The only difference this hunk above
results in is that the messages "Uncompressing Linux..." and "done,
booting the kernel." are printed on your UART. And if you skip them you
still have that some seconds pause, and you only save the time the
characters need to pass your UART.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
next prev parent reply other threads:[~2011-02-13 21:12 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-10 21:15 [PATCH] mx31: add support for the bugbase 1.3 from buglabs Denis 'GNUtoo' Carikli
2011-02-10 21:41 ` Marc Kleine-Budde
2011-02-11 2:42 ` Fabio Estevam
2011-02-11 8:10 ` Uwe Kleine-König
2011-02-11 9:21 ` [PATCH 1/3] ARM: mx3+mx5: rename to ${machine}_init Uwe Kleine-König
2011-02-11 9:23 ` [PATCH 1/3 v2] ARM: mx3+mx5: rename mxc_board_init " Uwe Kleine-König
2011-02-11 9:21 ` [PATCH 2/3] ARM: mx3: remove some useless comments Uwe Kleine-König
2011-02-11 9:21 ` [PATCH 3/3] ARM: mx3/mx31ads: fix comments of irq callbacks Uwe Kleine-König
2011-02-11 21:06 ` [PATCH] mx31: add support for the bugbase 1.3 from buglabs Denis 'GNUtoo' Carikli
2011-02-11 21:09 ` Denis 'GNUtoo' Carikli
2011-02-11 21:13 ` Denis 'GNUtoo' Carikli
2011-02-11 21:39 ` Uwe Kleine-König
2011-02-11 23:06 ` Denis 'GNUtoo' Carikli
2011-02-13 21:12 ` Uwe Kleine-König [this message]
2011-02-11 21:30 ` Marc Kleine-Budde
2011-02-12 20:15 ` Denis 'GNUtoo' Carikli
2011-02-11 21:33 ` Uwe Kleine-König
2011-02-12 21:16 ` [PATCHv3] " Denis 'GNUtoo' Carikli
2011-02-13 21:18 ` Uwe Kleine-König
2011-02-14 1:12 ` Denis 'GNUtoo' Carikli
2011-02-17 15:23 ` Denis 'GNUtoo' Carikli
2011-02-17 22:53 ` Uwe Kleine-König
2011-02-18 5:47 ` [bug-dev] " Ken Gilmer
2011-02-18 21:22 ` [PATCH] " Denis 'GNUtoo' Carikli
2011-02-18 21:38 ` Uwe Kleine-König
-- strict thread matches above, loose matches on Subject: below --
2011-01-22 20:42 Denis 'GNUtoo' Carikli
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=20110213211228.GB13279@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).