2008-03-02 07:03:19

by Tetsuo Handa

[permalink] [raw]
Subject: How do arch/ppc and arch/powerpc differ?

Hello.

According to Documentation/SubmitChecklist,
ppc64 is a good architecture for cross-compilation checking.
I've just set up cross compiling environment for ppc64
using "crossdev -t ppc64" on Gentoo 2007.0 environment.

Now I'm trying to modify Makefile to build kernel for ppc64.
I've got a question here.

ARCH ?= powerpc
CROSS_COMPILE ?= powerpc64-unknown-linux-gnu-

Which keyword ("ppc" or "powerpc") do I need to set for ARCH
to do cross-compilation checking?
How do they differ?

Regards.


2008-03-02 08:11:20

by Adrian Bunk

[permalink] [raw]
Subject: Re: How do arch/ppc and arch/powerpc differ?

On Sun, Mar 02, 2008 at 04:02:56PM +0900, Tetsuo Handa wrote:
> Hello.
>
> According to Documentation/SubmitChecklist,
> ppc64 is a good architecture for cross-compilation checking.
> I've just set up cross compiling environment for ppc64
> using "crossdev -t ppc64" on Gentoo 2007.0 environment.
>
> Now I'm trying to modify Makefile to build kernel for ppc64.
> I've got a question here.
>
> ARCH ?= powerpc
> CROSS_COMPILE ?= powerpc64-unknown-linux-gnu-
>
> Which keyword ("ppc" or "powerpc") do I need to set for ARCH
> to do cross-compilation checking?

powerpc

> How do they differ?

Documentation/feature-removal-schedule.txt says:

What: The arch/ppc and include/asm-ppc directories
When: Jun 2008
Why: The arch/powerpc tree is the merged architecture for ppc32 and ppc64
platforms. Currently there are efforts underway to port the remaining
arch/ppc platforms to the merged tree. New submissions to the arch/ppc
tree have been frozen with the 2.6.22 kernel release and that tree will
remain in bug-fix only mode until its scheduled removal. Platforms
that are not ported by June 2008 will be removed due to the lack of an
interested maintainer.
Who: [email protected]


> Regards.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2008-03-02 08:21:55

by Tetsuo Handa

[permalink] [raw]
Subject: Re: How do arch/ppc and arch/powerpc differ?

Hello.

> > Which keyword ("ppc" or "powerpc") do I need to set for ARCH
> > to do cross-compilation checking?
>
> powerpc
>
I see.

I'm doing "crossdev -t ia64" now.
More architectures to test (e.g. non-MMU arch) before submitting?

Thank you.