From: Tom Rini <trini@kernel.crashing.org>
To: Hollis Blanchard <hollisb@us.ibm.com>
Cc: "'linuxppc-dev@lists.linuxppc.org' Development"
<linuxppc-dev@lists.linuxppc.org>
Subject: Re: PReP bootloader VGA console
Date: Mon, 9 Aug 2004 16:23:27 -0700 [thread overview]
Message-ID: <20040809232327.GC22109@smtp.west.cox.net> (raw)
In-Reply-To: <3461F858-E7F6-11D8-B7C4-000A95A0560C@us.ibm.com>
On Fri, Aug 06, 2004 at 05:16:03PM -0500, Hollis Blanchard wrote:
>
> This is the minimal patch needed to get the bootloader prompt on VGA
> for PReP.
>
> --- 1.1/arch/ppc/boot/simple/misc-prep.c Mon Mar 1 17:34:28 2004
> +++ edited/arch/ppc/boot/simple/misc-prep.c Fri Aug 6 17:21:00 2004
> @@ -89,6 +89,7 @@
> }
>
> #if defined(CONFIG_VGA_CONSOLE)
> + serial_fixups();
> vga_init((unsigned char *)0xC0000000);
> #endif /* CONFIG_VGA_CONSOLE */
>
> Of course that looks funny doesn't it? "serial_fixups()" just sets
> ISA_io, so should probably be called something else.
Curse you folks with a video display! :)
> Also it's written in assembly in legacy.S (with matching chrpmap.S),
> which could easily become prepmap.c and chrpmap.c.
OK. So when I wrote all of this initially, there was, I could have
sworn, a good reason for doing 'serial_fixups' as an asm routine, and
not just a define or C func. But, I can't recall why now.
So if you'd be so kind as to whip up, and test, a patch which switches
us to defines, or a C func, whichever ends up being easier, I'd
appreciate it. Thanks.
> Even better ISA_io could have a #define that's used in misc.c and
> misc-prep.c...
and ns16550.c
> But all of this would require more digging through makefiles and weak
> aliases than it's probably worth.
'cmon, you know you want to. :)
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2004-08-09 23:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-06 22:16 PReP bootloader VGA console Hollis Blanchard
2004-08-09 23:23 ` Tom Rini [this message]
2004-08-24 2:14 ` Hollis Blanchard
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=20040809232327.GC22109@smtp.west.cox.net \
--to=trini@kernel.crashing.org \
--cc=hollisb@us.ibm.com \
--cc=linuxppc-dev@lists.linuxppc.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).