From: Ralf Baechle <ralf@linux-mips.org>
To: "Ithamar R. Adema" <ithamar.adema@team-embedded.nl>
Cc: Alexander Clouter <alex@digriz.org.uk>, linux-mips@linux-mips.org
Subject: Re: [PATCH] MIPS: add support for gzip/bzip2/lzma compressed kernel images
Date: Mon, 10 Aug 2009 16:26:10 +0100 [thread overview]
Message-ID: <20090810152610.GA608@linux-mips.org> (raw)
In-Reply-To: <4A803455.5010304@team-embedded.nl>
On Mon, Aug 10, 2009 at 04:53:09PM +0200, Ithamar R. Adema wrote:
> Ralf Baechle wrote:
>> Printing is hardware specific; the debug code will need to be changed for
>> practically every MIPS platform on the planet, so I'm not too fond of the
>> idea unless somebody comes up with a cleaner infrastructure to do so.
>> Unfortunately we're not setup very well to do configuration detection etc.
>> in that debug code without adding tons of baggage.
>>
> Would mimicing the uncompress.h header as used in the ARM architecture
> be an idea? Maybe have one that does nothing in mach-generic and let the
> machines that want debug output define their own that actually does IO.
>
> Just a header, defining putc()-ish functions, most architectures already
> have code for that, so it should be trivial for them to implement it, if
> wanted...
>
> Just an idea...
Oh, I wasn't trying to kill the debug code entirely but pointing out some
difficulties. For some platforms the code would be a little larger and
more complex. It could be as bad as dynamically detecting a console and
running PPP to talk to it. Or having to carry fonts along and render
output into a complex graphics card. but we can still deciede if the
feature is useful enough on a per platform base.
An implementation would probably look something like you pointed out
though I haven't seen the ARM header you mentioned. Ideally code could
be shared with early printk.
Ralf
prev parent reply other threads:[~2009-08-10 15:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-08 18:55 [PATCH] MIPS: add support for gzip/bzip2/lzma compressed kernel images Wu Zhangjin
2009-08-09 21:36 ` Alexander Clouter
2009-08-10 9:11 ` Wu Zhangjin
2009-08-10 13:55 ` Ralf Baechle
[not found] ` <4A803455.5010304@team-embedded.nl>
2009-08-10 15:26 ` Ralf Baechle [this message]
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=20090810152610.GA608@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=alex@digriz.org.uk \
--cc=ithamar.adema@team-embedded.nl \
--cc=linux-mips@linux-mips.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 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.