How to move from /ppc/ to /powerpc/

Claus Gindhart claus.gindhart at kontron.com
Wed Sep 13 16:58:24 EST 2006


Hi Fredrik,

i am running a Kontron board (which has the same SoC as the MPC834x_SYS onboard) with the Freescale version of the 2.6.17-Kernel, and its working well.
Together with my update from 2.6.13 i migrated from arch/ppc to arch/powerpc.

The most important modification is (besides changing the ARCH env from ppc to powerpc), that your U-Boot has to provide the flattened device tree.
Please read Documentation/powerpc/booting-without-of.txt
within the kernel source tree.

So, its mainly an issue for the Bootloader, because many of the board dependent definitions is now migrated to the flattened device tree.
The U-Boot, which comes with the Freescale LTIB, supports flattened device tree, so the first step is updating U-Boot. Then, the kernel will work, if you compile it with ARCH=powerpc setting.

-- 
Mit freundlichen Gruessen / Best regards

Claus Gindhart
SW R&D
Kontron Modular Computers
phone :++49 (0)8341-803-374
mailto:claus.gindhart at kontron-modular.com
http://www.kontron.com

-----BEGIN GEEK CODE BLOCK-----
  Version: 3.1
  GU d- s++:>++:+ a+ C++$ !U !P L++>$ E-- W+(-) N- o?
  K? w !O !M V !PS PE- Y+ PGP+ t 5? X R* tv- b+ DI+++
  D-- G e++> h--- !r x+++
------END GEEK CODE BLOCK------
 



-----Original Message-----
From: linuxppc-embedded-bounces+claus.gindhart=kontron.com at ozlabs.org
[mailto:linuxppc-embedded-bounces+claus.gindhart=kontron.com at ozlabs.org]
On Behalf Of Fredrik Roubert
Sent: Dienstag, 12. September 2006 17:33
To: linuxppc-embedded at ozlabs.org
Subject: How to move from /ppc/ to /powerpc/


Hi!

I have a custom board on which I currently run Linux 2.6.18-rc6
configured for MPC834x_SYS in the /ppc/ tree, which just a few minor
changes. Now I'm interested to move to using the /powerpc/ source tree
instead, but I can't figure out exactly what steps are necessary to do
this.

Does anyone run a MPC834x_SYS built with ARCH=powerpc?

I boot the board with U-Boot (version 1.1.4, customized), and I assume
that I need to add some stuff for this new device tree thing, but I
can't figure out exactly what the kernel will expect.

Does anyone have some pointers on how to do this?

Cheers // Fredrik Roubert

-- 
Visserij 192  |  +32 473 344527 / +46 708 776974
BE-9000 Gent  |  http://www.df.lth.se/~roubert/



More information about the Linuxppc-embedded mailing list