linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: How to move from /ppc/ to /powerpc/
@ 2006-09-13  6:58 Claus Gindhart
  2006-09-13 13:30 ` Fredrik Roubert
  0 siblings, 1 reply; 19+ messages in thread
From: Claus Gindhart @ 2006-09-13  6:58 UTC (permalink / raw)
  To: Fredrik Roubert, linuxppc-embedded

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=3Dpowerpc setting.

--=20
Mit freundlichen Gruessen / Best regards

Claus Gindhart
SW R&D
Kontron Modular Computers
phone :++49 (0)8341-803-374
mailto:claus.gindhart@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------
=20



-----Original Message-----
From: linuxppc-embedded-bounces+claus.gindhart=3Dkontron.com@ozlabs.org
[mailto:linuxppc-embedded-bounces+claus.gindhart=3Dkontron.com@ozlabs.org=
]
On Behalf Of Fredrik Roubert
Sent: Dienstag, 12. September 2006 17:33
To: linuxppc-embedded@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=3Dpowerpc?

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

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

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: How to move from /ppc/ to /powerpc/
@ 2006-09-25 16:56 Joakim Tjernlund
  0 siblings, 0 replies; 19+ messages in thread
From: Joakim Tjernlund @ 2006-09-25 16:56 UTC (permalink / raw)
  To: Fredrik Roubert, linuxppc-embedded

 > I tried compiling it like this:
>=20
> $ dtc -f -I dts -O dtb mpc8349emds.dts > devices.dtb
> DTC: dts->dtb  on file "mpc8349emds.dts"
> Warning: No cpu has "linux,boot-cpu" property
> ERROR: Missing /chosen node
> Input tree has errors

You need to add -V 0x10 to dtc as well.

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: How to move from /ppc/ to /powerpc/
@ 2006-09-13 14:07 Claus Gindhart
  0 siblings, 0 replies; 19+ messages in thread
From: Claus Gindhart @ 2006-09-13 14:07 UTC (permalink / raw)
  To: Fredrik Roubert, linuxppc-embedded

Hi Fredrik,

our Kontron board is not identical to the SYS-Board, but has the same =
processor/chipset.
We are also not using U-Boot, but the Kontron NetBootloader, and our FDT =
implemtation does not use the dts. We have implemented this from scratch =
using the available documents regarding the required data to be passed.
For this reason, this will not be helpful for you.

Best regards,
Claus


-----Original Message-----
From: linuxppc-embedded-bounces+claus.gindhart=3Dkontron.com@ozlabs.org
[mailto:linuxppc-embedded-bounces+claus.gindhart=3Dkontron.com@ozlabs.org=
]
On Behalf Of Fredrik Roubert
Sent: Mittwoch, 13. September 2006 15:30
To: linuxppc-embedded@ozlabs.org
Subject: Re: How to move from /ppc/ to /powerpc/


On Wed 13 Sep 08:58 CEST 2006, Claus Gindhart wrote:

> 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.

Interesting! What dts file are you using?

Cheers // Fredrik Roubert

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

^ permalink raw reply	[flat|nested] 19+ messages in thread
* How to move from /ppc/ to /powerpc/
@ 2006-09-12 15:33 Fredrik Roubert
  2006-09-12 15:58 ` Kim Phillips
  2006-09-12 16:20 ` Vitaly Bordug
  0 siblings, 2 replies; 19+ messages in thread
From: Fredrik Roubert @ 2006-09-12 15:33 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 737 bytes --]

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/

[-- Attachment #2: Type: application/pgp-signature, Size: 303 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2006-09-27 15:52 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-13  6:58 How to move from /ppc/ to /powerpc/ Claus Gindhart
2006-09-13 13:30 ` Fredrik Roubert
  -- strict thread matches above, loose matches on Subject: below --
2006-09-25 16:56 Joakim Tjernlund
2006-09-13 14:07 Claus Gindhart
2006-09-12 15:33 Fredrik Roubert
2006-09-12 15:58 ` Kim Phillips
2006-09-12 16:03   ` Jon Loeliger
2006-09-13 13:28   ` Fredrik Roubert
2006-09-13 14:46     ` Jon Loeliger
2006-09-13 17:07     ` Matthew McClintock
2006-09-21 16:08     ` Fredrik Roubert
2006-09-25 16:49       ` Matthew McClintock
2006-09-25 17:17         ` Fredrik Roubert
2006-09-25 17:20           ` Matthew McClintock
2006-09-25 17:41             ` Fredrik Roubert
2006-09-25 18:59               ` Matthew McClintock
2006-09-27 14:49                 ` Fredrik Roubert
2006-09-27 15:51     ` Fredrik Roubert
2006-09-12 16:20 ` Vitaly Bordug

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).