* ppc vs powerpc
@ 2007-12-10 20:54 Jon Smirl
2007-12-10 20:59 ` Grant Likely
0 siblings, 1 reply; 12+ messages in thread
From: Jon Smirl @ 2007-12-10 20:54 UTC (permalink / raw)
To: PowerPC dev list
Is the plan for ppc to be completely merged with powerpc and then be
eliminated? If so, how close is this to completion?
What should we do with ppc users of mpc-i2c? If the plan is to
eliminate ppc I would say to just copy the existing driver and then
delete the old version when the rest of ppc gets deleted.
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ppc vs powerpc
2007-12-10 20:54 ppc vs powerpc Jon Smirl
@ 2007-12-10 20:59 ` Grant Likely
2007-12-10 21:04 ` Jon Smirl
2007-12-10 21:54 ` Jon Smirl
0 siblings, 2 replies; 12+ messages in thread
From: Grant Likely @ 2007-12-10 20:59 UTC (permalink / raw)
To: Jon Smirl; +Cc: PowerPC dev list
On 12/10/07, Jon Smirl <jonsmirl@gmail.com> wrote:
> Is the plan for ppc to be completely merged with powerpc and then be
> eliminated? If so, how close is this to completion?
>
> What should we do with ppc users of mpc-i2c? If the plan is to
> eliminate ppc I would say to just copy the existing driver and then
> delete the old version when the rest of ppc gets deleted.
arch/ppc is scheduled to be removed middle of 2008. Don't break
arch/ppc users before then. Ideally there should be overlap between
the addition of support in arch/powerpc and the removal of support
from arch/ppc.
Personally, I structure the driver to support both platform bus and
of_platform bus. It's not hard to do and it keeps things
understandable. Take a look at drivers/block/xsysace for an example.
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ppc vs powerpc
2007-12-10 20:59 ` Grant Likely
@ 2007-12-10 21:04 ` Jon Smirl
2007-12-10 21:54 ` Jon Smirl
1 sibling, 0 replies; 12+ messages in thread
From: Jon Smirl @ 2007-12-10 21:04 UTC (permalink / raw)
To: Grant Likely; +Cc: PowerPC dev list
On 12/10/07, Grant Likely <grant.likely@secretlab.ca> wrote:
> On 12/10/07, Jon Smirl <jonsmirl@gmail.com> wrote:
> > Is the plan for ppc to be completely merged with powerpc and then be
> > eliminated? If so, how close is this to completion?
> >
> > What should we do with ppc users of mpc-i2c? If the plan is to
> > eliminate ppc I would say to just copy the existing driver and then
> > delete the old version when the rest of ppc gets deleted.
>
> arch/ppc is scheduled to be removed middle of 2008. Don't break
> arch/ppc users before then. Ideally there should be overlap between
> the addition of support in arch/powerpc and the removal of support
> from arch/ppc.
>
> Personally, I structure the driver to support both platform bus and
> of_platform bus. It's not hard to do and it keeps things
> understandable. Take a look at drivers/block/xsysace for an example.
I can look at it but I'm not enthused about writing new code to
support something that is scheduled to be deleted in six months. It
would be much simpler to just copy the old driver. I'm spending way
too much time on what I thought was a fairly simple change.
>
> Cheers,
> g.
>
>
> --
> Grant Likely, B.Sc., P.Eng.
> Secret Lab Technologies Ltd.
> grant.likely@secretlab.ca
> (403) 399-0195
>
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ppc vs powerpc
2007-12-10 20:59 ` Grant Likely
2007-12-10 21:04 ` Jon Smirl
@ 2007-12-10 21:54 ` Jon Smirl
2007-12-10 22:01 ` Tony Breeds
1 sibling, 1 reply; 12+ messages in thread
From: Jon Smirl @ 2007-12-10 21:54 UTC (permalink / raw)
To: Grant Likely; +Cc: PowerPC dev list
On 12/10/07, Grant Likely <grant.likely@secretlab.ca> wrote:
> On 12/10/07, Jon Smirl <jonsmirl@gmail.com> wrote:
> > Is the plan for ppc to be completely merged with powerpc and then be
> > eliminated? If so, how close is this to completion?
> >
> > What should we do with ppc users of mpc-i2c? If the plan is to
> > eliminate ppc I would say to just copy the existing driver and then
> > delete the old version when the rest of ppc gets deleted.
>
> arch/ppc is scheduled to be removed middle of 2008. Don't break
> arch/ppc users before then. Ideally there should be overlap between
> the addition of support in arch/powerpc and the removal of support
> from arch/ppc.
How can I tell a build for ARCH=ppc vs ARCH=powerpc in Kconfig?
> Personally, I structure the driver to support both platform bus and
> of_platform bus. It's not hard to do and it keeps things
> understandable. Take a look at drivers/block/xsysace for an example.
>
> Cheers,
> g.
>
>
> --
> Grant Likely, B.Sc., P.Eng.
> Secret Lab Technologies Ltd.
> grant.likely@secretlab.ca
> (403) 399-0195
>
--
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ppc vs powerpc
2007-12-10 21:54 ` Jon Smirl
@ 2007-12-10 22:01 ` Tony Breeds
0 siblings, 0 replies; 12+ messages in thread
From: Tony Breeds @ 2007-12-10 22:01 UTC (permalink / raw)
To: Jon Smirl; +Cc: PowerPC dev list
On Mon, Dec 10, 2007 at 04:54:32PM -0500, Jon Smirl wrote:
> How can I tell a build for ARCH=ppc vs ARCH=powerpc in Kconfig?
IIRC ARCH=powerpc will have CONFIG_PPC_MERGE set, arch=ppc will not.
Yours Tony
linux.conf.au http://linux.conf.au/ || http://lca2008.linux.org.au/
Jan 28 - Feb 02 2008 The Australian Linux Technical Conference!
^ permalink raw reply [flat|nested] 12+ messages in thread
* PPC vs POWERPC
@ 2008-01-11 12:33 samppa
2008-01-11 14:52 ` Grant Likely
0 siblings, 1 reply; 12+ messages in thread
From: samppa @ 2008-01-11 12:33 UTC (permalink / raw)
To: linuxppc-embedded
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: PPC vs POWERPC
2008-01-11 12:33 PPC vs POWERPC samppa
@ 2008-01-11 14:52 ` Grant Likely
2008-01-15 10:38 ` Matias Sundman
0 siblings, 1 reply; 12+ messages in thread
From: Grant Likely @ 2008-01-11 14:52 UTC (permalink / raw)
To: samppa@sundmangroup.com; +Cc: linuxppc-embedded
On 1/11/08, samppa@sundmangroup.com <samppa@sundmangroup.com> 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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: PPC vs POWERPC
2008-01-11 14:52 ` Grant Likely
@ 2008-01-15 10:38 ` Matias Sundman
2008-01-15 17:01 ` Jon Loeliger
0 siblings, 1 reply; 12+ messages in thread
From: Matias Sundman @ 2008-01-15 10:38 UTC (permalink / raw)
Cc: linuxppc-embedded
>>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 <samppa@sundmangroup.com> 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.
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: PPC vs POWERPC
2008-01-15 10:38 ` Matias Sundman
@ 2008-01-15 17:01 ` Jon Loeliger
2008-01-15 17:07 ` Scott Wood
2008-01-15 17:47 ` Matias Sundman
0 siblings, 2 replies; 12+ messages in thread
From: Jon Loeliger @ 2008-01-15 17:01 UTC (permalink / raw)
To: Matias Sundman; +Cc: linuxppc-embedded@ozlabs.org
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: PPC vs POWERPC
2008-01-15 17:01 ` Jon Loeliger
@ 2008-01-15 17:07 ` Scott Wood
2008-01-15 17:14 ` Jon Loeliger
2008-01-15 17:47 ` Matias Sundman
1 sibling, 1 reply; 12+ messages in thread
From: Scott Wood @ 2008-01-15 17:07 UTC (permalink / raw)
To: Jon Loeliger; +Cc: Matias Sundman, linuxppc-embedded@ozlabs.org
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: PPC vs POWERPC
2008-01-15 17:07 ` Scott Wood
@ 2008-01-15 17:14 ` Jon Loeliger
0 siblings, 0 replies; 12+ messages in thread
From: Jon Loeliger @ 2008-01-15 17:14 UTC (permalink / raw)
To: Scott Wood; +Cc: Matias Sundman, linuxppc-embedded@ozlabs.org
On Tue, 2008-01-15 at 11:07, Scott Wood wrote:
> 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.
Gah. Of course.
> Someone in marketing should be shot.
Photos, bullets or heroin? :-)
jdl
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: PPC vs POWERPC
2008-01-15 17:01 ` Jon Loeliger
2008-01-15 17:07 ` Scott Wood
@ 2008-01-15 17:47 ` Matias Sundman
1 sibling, 0 replies; 12+ messages in thread
From: Matias Sundman @ 2008-01-15 17:47 UTC (permalink / raw)
To: Jon Loeliger; +Cc: linuxppc-embedded@ozlabs.org
Jon Loeliger skrev:
> 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
>
>
>
The board is based on PPC8265.
Cheers // Matias
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2008-01-15 17:47 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-11 12:33 PPC vs POWERPC samppa
2008-01-11 14:52 ` Grant Likely
2008-01-15 10:38 ` Matias Sundman
2008-01-15 17:01 ` Jon Loeliger
2008-01-15 17:07 ` Scott Wood
2008-01-15 17:14 ` Jon Loeliger
2008-01-15 17:47 ` Matias Sundman
-- strict thread matches above, loose matches on Subject: below --
2007-12-10 20:54 ppc vs powerpc Jon Smirl
2007-12-10 20:59 ` Grant Likely
2007-12-10 21:04 ` Jon Smirl
2007-12-10 21:54 ` Jon Smirl
2007-12-10 22:01 ` Tony Breeds
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).