From: David Gibson <david@gibson.dropbear.id.au>
To: Paul Mackerras <paulus@samba.org>, linuxppc-dev@ozlabs.org
Subject: [PATCH 3/3] First cut at PReP support for arch/powerpc
Date: Wed, 27 Jun 2007 17:10:08 +1000 [thread overview]
Message-ID: <20070627071008.GA30648@localhost.localdomain> (raw)
In-Reply-To: <20070627065335.GD11191@localhost.localdomain>
Here is an implementation to allow PReP systems to boot under the
arch/powerpc codebase, one of the few remaining platforms supported in
arch/ppc but not so far in arch/powerpc.
This support is still fairly incomplete - it needs to obtain a lot
more device information from the residual data and put it into the
device tree, rather than relying on hardcoded values (both in the code
and in prep.dts). Likewise many peripherals will not be supported -
in particular the RTC is not yet supported, so the time will generally
be wrong.
Still, it should do enough to boot on a number of PReP machines, and
makes a reasonable start.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Too big for the list, the patch is at:
http://ozlabs.org/~dgibson/home/prep-support
arch/powerpc/Kconfig.debug | 7
arch/powerpc/boot/Makefile | 8
arch/powerpc/boot/dts/prep.dts | 130 ++++
arch/powerpc/boot/mkprep.c | 178 ++++++
arch/powerpc/boot/pnp.h | 640 ++++++++++++++++++++++
arch/powerpc/boot/prep.c | 150 +++++
arch/powerpc/boot/residual.h | 313 ++++++++++
arch/powerpc/boot/wrapper | 7
arch/powerpc/configs/prep_defconfig | 1006 +++++++++++++++++++++++++++++++++++
arch/powerpc/kernel/misc_32.S | 27
arch/powerpc/kernel/setup_32.c | 1
arch/powerpc/kernel/udbg.c | 2
arch/powerpc/kernel/udbg_16550.c | 28
arch/powerpc/platforms/Makefile | 1
arch/powerpc/platforms/prep/Kconfig | 3
arch/powerpc/platforms/prep/Makefile | 4
arch/powerpc/platforms/prep/nvram.c | 135 ++++
arch/powerpc/platforms/prep/pci.c | 66 ++
arch/powerpc/platforms/prep/setup.c | 720 +++++++++++++++++++++++++
include/asm-powerpc/residual.h | 350 ++++++++++++
include/asm-powerpc/udbg.h | 1
21 files changed, 3772 insertions(+), 5 deletions(-)
next prev parent reply other threads:[~2007-06-27 7:10 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-27 6:53 [PATCH 0/3] PReP support David Gibson
2007-06-27 6:54 ` [PATCH 2/3] Make more OF-related bootwrapper functions available to non-OF platforms David Gibson
2007-06-28 8:44 ` Segher Boessenkool
2007-06-27 6:54 ` [PATCH 1/3] Abolish unused ucBoardRev variables David Gibson
2007-06-27 7:10 ` David Gibson [this message]
2007-06-27 11:22 ` [PATCH 3/3] First cut at PReP support for arch/powerpc Milton Miller
2007-06-27 11:29 ` udbg_16550.c and legacy_serial.c Milton Miller
2007-06-28 0:38 ` [PATCH 3/3] First cut at PReP support for arch/powerpc David Gibson
2007-06-28 8:59 ` Segher Boessenkool
2007-06-28 10:00 ` Gabriel Paubert
2007-07-02 11:51 ` Segher Boessenkool
2007-07-03 9:51 ` Gabriel Paubert
2007-07-03 12:49 ` Segher Boessenkool
2007-07-03 2:26 ` Tom Gall
2007-07-03 6:50 ` Ulrich Teichert
2007-08-03 6:35 ` David Gibson
2007-08-03 15:24 ` Jon Loeliger
2007-08-06 19:43 ` Segher Boessenkool
2007-08-06 19:42 ` Segher Boessenkool
2007-07-18 1:31 ` David Gibson
2007-07-18 15:55 ` Segher Boessenkool
2007-08-03 6:43 ` David Gibson
2007-08-06 19:37 ` Segher Boessenkool
-- strict thread matches above, loose matches on Subject: below --
2007-08-03 21:55 Yoder Stuart-B08248
2007-08-06 4:02 ` David Gibson
2007-08-06 19:45 ` Segher Boessenkool
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=20070627071008.GA30648@localhost.localdomain \
--to=david@gibson.dropbear.id.au \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.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).