From: "Oliver Fuchs" <olivers.lists@gmx.net>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Re: How to port ppc-linux to new custom boards? (virtexII)
Date: Tue, 24 Aug 2004 10:01:01 +0200 [thread overview]
Message-ID: <412B11DD.135.65107F@localhost> (raw)
In-Reply-To: <18802.1093328823@www32.gmx.net>
Hi,
From: "Patrick Huesmann" <tricknology@gmx.de>
> Unfortunately, neither of these docs talks about tailoring the kernel to
> custom hardware. They only state that "some changes" have to be applied to
> the startup code. I need some more specific information, because I'm not a
> expert PPC guru.
>
I had to get up the kernel on two boards (MPC857T and MPC8280)
recently. I use the ELDK3.0 with the kernel 2.4.24 shipped with it.
I had to modify the following files:
arch/ppc/config.in
machine type (my board) added
arch/ppc/boot/simple/embed_config.c
there is a function emebd_config() for every board selected by
#ifdefs; so I added one for my board
arch/ppc/platforms
there are header files for every board; so I added one for my board
include/asm-ppc/mpc8xx.h
#include <platforms/myboard.h> added; selected by #ifdef
This was enough to get the kernel up with a serial i/f.
It may be necessary to modify the ethernet driver a little bit to
adapt it to your pin configuration.
Flash support was no problem for the CFI chips on the boards.
I'm just a newbie too, so don't kill me if there is something missed
or wrong.
HTH,
Oliver
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2004-08-24 8:01 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-24 6:27 How to port ppc-linux to new custom boards? (virtexII) Patrick Huesmann
2004-08-24 7:25 ` Marc Leeman
2004-08-25 7:34 ` Marius Groeger
2004-08-25 7:57 ` Marc Leeman
2004-08-25 13:52 ` David Ho
2004-08-25 14:30 ` Peter Vandenabeele
2004-08-25 20:08 ` Handling of cascaded interrupt controllers Jeff Domogala
2004-08-26 7:02 ` How to port ppc-linux to new custom boards? (virtexII) Marc Leeman
2004-08-24 8:01 ` Oliver Fuchs [this message]
2004-08-24 8:31 ` Peter Ryser
[not found] <31481.1093602240@www36.gmx.net>
2004-08-27 11:18 ` Patrick Huesmann
-- strict thread matches above, loose matches on Subject: below --
2004-08-23 15:17 Patrick Huesmann
2004-08-24 1:30 ` Song Sam
2004-08-24 4:14 ` Peter Ryser
2004-08-24 8:51 ` Peter 'p2' De Schrijver
2004-08-24 9:14 ` Patrick Huesmann
2004-08-24 9:42 ` Peter 'p2' De Schrijver
2004-08-24 10:01 ` Song Sam
2004-08-25 2:00 ` Song Sam
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=412B11DD.135.65107F@localhost \
--to=olivers.lists@gmx.net \
--cc=linuxppc-embedded@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).