Thread (24 messages) 24 messages, 4 authors, 2010-03-30

Re: cross-compiling Linux for PowerPC e200 core?

From: Grant Likely <hidden>
Date: 2010-03-08 19:08:38

2010/3/8 N=E9meth M=E1rton [off-list ref]:
Grant Likely wrote:
quoted
2010/3/6 N=E9meth M=E1rton [off-list ref]:
quoted
Hi,

I'm trying to cross-compile Linux 2.6.33 for Freescale MPC5554 [1][2]. =
This
quoted
quoted
microcontroller is based on the e200z6 core. I could build the cross-de=
velopment
quoted
quoted
tools, but I could miss something because I get an error message when b=
uilding
quoted
quoted
Linux for PowerPC e200 core. Here are the steps I used:
I doubt you'll have much luck with the mpc5554. =A0Linux doesn't include
any support for the MPC5554, and I don't think anybody is working on
it. =A0Any of the mpc5554 systems I've see don't have enough ram to run
Linux well.
I'm ready to work a bit more than just compiling the kernel and run it on=
 MPC5554.
On my target system there is a possibility to use external RAM connected =
to the
External Bus Interface, so I don't see this would be a problem in my case=
.
However, I have not much experience running Linux on PowerPC environment.=
 Could
you suggest a PowerPC port which would be a good starting point to make s=
upport
for MPC5554?
I'd use the MPC5200 board support as a starting point
(arch/powerpc/platforms/52xx).  Create yourself a new directory for
this platform (arch/powerpc/platforms/55xx)
As far as I could find out I'll need to create a device tree as documente=
d in
the linux/Documentation/powerpc/booting-without-of.txt file.
Yes, you'll need to create a device tree file for the board.  Again,
start from an existing 5200 .dts file.  You won't need very much in it
to get started.  I'd be happy to help you get the structure right.

g.

--=20
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help