PPC vs POWERPC

7 messages, 5 authors, 2008-01-15 · open the first message on its own page

PPC vs POWERPC

From: <hidden>
Date: 2008-01-11 13:12:00

Hi,
I want to port a board ( WRS SBC8265 ) from the PPC branch to the POWERPC
branch in the Linux Kernel -- do you have any good starting points that
describes what I need to pay attention to?

I've already made a port of U-boot-1.3.1 and enabled CONFIG_OF_LIBFDT.

So I need to create a DTS file, compile it with the DTC compiler and port
the current PPC branch to the POWERPC branch to my understanding.


Cheers // Matias

Re: PPC vs POWERPC

From: Grant Likely <hidden>
Date: 2008-01-11 14:52:17

On 1/11/08, samppa@sundmangroup.com [off-list ref] wrote:
Hi,
I want to port a board ( WRS SBC8265 ) from the PPC branch to the POWERPC
branch in the Linux Kernel -- do you have any good starting points that
describes what I need to pay attention to?

I've already made a port of U-boot-1.3.1 and enabled CONFIG_OF_LIBFDT.

So I need to create a DTS file, compile it with the DTC compiler and port
the current PPC branch to the POWERPC branch to my understanding.
Yes, you're exactly right.  Use one of the dts files in
arch/powerpc/boot/dts as a starting point and read
Documentation/powerpc/booting-without-of.txt to find out what is
expected in the device tree.

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

Re: PPC vs POWERPC

From: Matias Sundman <hidden>
Date: 2008-01-15 10:59:30

 >>Documentation/powerpc/booting-without-of.txt to find out what is
 >>expected in the device tree.

Is there any more information on how the "of_*" ( e.g. of_node_put ,  
of_find_node_by_type ) functions should be implemented in  the 
"arch/powerpc/platforms/myplatform/myboard_setup.c" file
or is the documentation the existing "*.c" c files under 
arch/powerpc/platforms ?

Since I have a 82xx board I assume that "myboard_setup.c" file shall be 
put under arch/powerpc/platforms/82xx.

Cheers // Matias


Grant Likely skrev:
On 1/11/08, samppa@sundmangroup.com [off-list ref] wrote:
  
quoted
Hi,
I want to port a board ( WRS SBC8265 ) from the PPC branch to the POWERPC
branch in the Linux Kernel -- do you have any good starting points that
describes what I need to pay attention to?

I've already made a port of U-boot-1.3.1 and enabled CONFIG_OF_LIBFDT.

So I need to create a DTS file, compile it with the DTC compiler and port
the current PPC branch to the POWERPC branch to my understanding.
    
Yes, you're exactly right.  Use one of the dts files in
arch/powerpc/boot/dts as a starting point and read
Documentation/powerpc/booting-without-of.txt to find out what is
expected in the device tree.

Cheers,
g.

  

Re: PPC vs POWERPC

From: Jon Loeliger <hidden>
Date: 2008-01-15 17:02:15

On Tue, 2008-01-15 at 04:38, Matias Sundman wrote:
 >>Documentation/powerpc/booting-without-of.txt to find out what is
 >>expected in the device tree.

Is there any more information on how the "of_*" ( e.g. of_node_put ,  
of_find_node_by_type ) functions should be implemented in  the 
"arch/powerpc/platforms/myplatform/myboard_setup.c" file
or is the documentation the existing "*.c" c files under 
arch/powerpc/platforms ?

Since I have a 82xx board I assume that "myboard_setup.c" file shall be 
put under arch/powerpc/platforms/82xx.
Maybe.  Which 82xx is it?  There is a notable difference
between, say, the 824x boards and the 827x boards.  If it
is the latter, perhaps the existing 82xx/ pq2 or mpc8272
parts are already sufficient?

If it is the former group, 824x, perhaps some of the parts
in embedded6xx/ are usable?  Also note that I am working on
publishing an 824x StorCenter port under embedded6xx/ at
this time as well.  First patches were posted to linuxppc-dev
list at ozlabs.org.

HTH,
jdl

Re: PPC vs POWERPC

From: Scott Wood <hidden>
Date: 2008-01-15 17:07:32

On Tue, Jan 15, 2008 at 11:01:33AM -0600, Jon Loeliger wrote:
If it is the former group, 824x, perhaps some of the parts
in embedded6xx/ are usable?  
Not all 824x fall into that category; for example, 8248 is pq2.  Someone
in marketing should be shot.

-Scott

Re: PPC vs POWERPC

From: Jon Loeliger <hidden>
Date: 2008-01-15 17:15:02

On Tue, 2008-01-15 at 11:07, Scott Wood wrote:
On Tue, Jan 15, 2008 at 11:01:33AM -0600, Jon Loeliger wrote:
quoted
If it is the former group, 824x, perhaps some of the parts
in embedded6xx/ are usable?  
Not all 824x fall into that category; for example, 8248 is pq2.
Gah.  Of course.
  Someone in marketing should be shot.
Photos, bullets or heroin? :-)

jdl

Re: PPC vs POWERPC

From: Matias Sundman <hidden>
Date: 2008-01-15 17:47:26

Jon Loeliger skrev:
On Tue, 2008-01-15 at 04:38, Matias Sundman wrote:
  
quoted
 >>Documentation/powerpc/booting-without-of.txt to find out what is
 >>expected in the device tree.

Is there any more information on how the "of_*" ( e.g. of_node_put ,  
of_find_node_by_type ) functions should be implemented in  the 
"arch/powerpc/platforms/myplatform/myboard_setup.c" file
or is the documentation the existing "*.c" c files under 
arch/powerpc/platforms ?

Since I have a 82xx board I assume that "myboard_setup.c" file shall be 
put under arch/powerpc/platforms/82xx.
    
Maybe.  Which 82xx is it?  There is a notable difference
between, say, the 824x boards and the 827x boards.  If it
is the latter, perhaps the existing 82xx/ pq2 or mpc8272
parts are already sufficient?

If it is the former group, 824x, perhaps some of the parts
in embedded6xx/ are usable?  Also note that I am working on
publishing an 824x StorCenter port under embedded6xx/ at
this time as well.  First patches were posted to linuxppc-dev
list at ozlabs.org.

HTH,
jdl


  
The board is based on PPC8265.

Cheers // Matias
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help