* cross compiling wind river linux for ppc architecture
@ 2009-08-11 14:09 Sridhar Mahadevan
2009-08-11 21:42 ` Paul Gortmaker
0 siblings, 1 reply; 3+ messages in thread
From: Sridhar Mahadevan @ 2009-08-11 14:09 UTC (permalink / raw)
To: Linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]
Hi,
Am trying to compile my WRL 2.6.21 kernel for PPC architecture.
The processor am using is AMCC powerpc 440EP .
I just built the file system by running the configure command with
--enable-rootfs=glibc-small and --enable-cpu-ppc-440 and i got a cross
compiler.
I took the linux kernel image and updated the PATH variable to the path of
my cross compiler.I did a make with ARCH=powerpc and CROSS_COMPILER=/my
cross compiler,except gcc/.
When I try to do this I get the following error.
arch/powerpc/mm/44x_mmu.c: In function 'mmu_mapin_ram':
arch/powerpc/mm/44x_mmu.c:106: error: 'PPC_PIN_SIZE' undeclared (first use
in this function)
arch/powerpc/mm/44x_mmu.c:106: error: (Each undeclared identifier is
reported only once
arch/powerpc/mm/44x_mmu.c:106: error: for each function it appears in.)
arch/powerpc/mm/44x_mmu.c:106: error: 'PPC44x_PIN_SHIFT' undeclared (first
use in this function)
arch/powerpc/mm/44x_mmu.c:109: error: 'PPC44x_LOW_SLOT' undeclared (first
use in this function)
make[1]: *** [arch/powerpc/mm/44x_mmu.o] Error 1
make: *** [arch/powerpc/mm] Error 2
It ll be very helpful for me if I could get a solution for this.
Regards
Sridhar M
[-- Attachment #2: Type: text/html, Size: 1754 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cross compiling wind river linux for ppc architecture
2009-08-11 14:09 cross compiling wind river linux for ppc architecture Sridhar Mahadevan
@ 2009-08-11 21:42 ` Paul Gortmaker
2009-08-11 23:00 ` Josh Boyer
0 siblings, 1 reply; 3+ messages in thread
From: Paul Gortmaker @ 2009-08-11 21:42 UTC (permalink / raw)
To: Sridhar Mahadevan; +Cc: Linuxppc-dev
On Tue, Aug 11, 2009 at 10:09 AM, Sridhar Mahadevan<msridhar87@gmail.com> wrote:
> Hi,
> Am trying to compile my WRL 2.6.21 kernel for PPC architecture.
> The processor am using is AMCC powerpc 440EP .
This isn't really the best choice of forum for trying to get help like this.
Most of the people here are focused on working with the latest development
kernels, and won't have the time to go back and look at year-old kernels
based on the now removed PPC architecture.
Plus they won't necessarily have any knowledge of what the WRL specific
changes may or may not contain. If you have the opportunity to do so,
the best choice for you would be to go through the normal WR support
channels with full details of your problem.
At a glance, it looks like you are trying to build with ARCH=powerpc, and
yet I don't think (from memory) that the 4xx boards had migrated from
ARCH=ppc until sometime around the 2.6.24-ish timeframe.
Paul.
> I just built the file system by running the configure command with
> --enable-rootfs=glibc-small and --enable-cpu-ppc-440 and i got a cross
> compiler.
> I took the linux kernel image and updated the PATH variable to the path of
> my cross compiler.I did a make with ARCH=powerpc and CROSS_COMPILER=/my
> cross compiler,except gcc/.
>
> When I try to do this I get the following error.
> arch/powerpc/mm/44x_mmu.c: In function 'mmu_mapin_ram':
> arch/powerpc/mm/44x_mmu.c:106: error: 'PPC_PIN_SIZE' undeclared (first use
> in this function)
> arch/powerpc/mm/44x_mmu.c:106: error: (Each undeclared identifier is
> reported only once
> arch/powerpc/mm/44x_mmu.c:106: error: for each function it appears in.)
> arch/powerpc/mm/44x_mmu.c:106: error: 'PPC44x_PIN_SHIFT' undeclared (first
> use in this function)
> arch/powerpc/mm/44x_mmu.c:109: error: 'PPC44x_LOW_SLOT' undeclared (first
> use in this function)
> make[1]: *** [arch/powerpc/mm/44x_mmu.o] Error 1
> make: *** [arch/powerpc/mm] Error 2
> It ll be very helpful for me if I could get a solution for this.
>
> Regards
> Sridhar M
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cross compiling wind river linux for ppc architecture
2009-08-11 21:42 ` Paul Gortmaker
@ 2009-08-11 23:00 ` Josh Boyer
0 siblings, 0 replies; 3+ messages in thread
From: Josh Boyer @ 2009-08-11 23:00 UTC (permalink / raw)
To: Paul Gortmaker; +Cc: Linuxppc-dev, Sridhar Mahadevan
On Tue, Aug 11, 2009 at 05:42:26PM -0400, Paul Gortmaker wrote:
>On Tue, Aug 11, 2009 at 10:09 AM, Sridhar Mahadevan<msridhar87@gmail.com> wrote:
>> Hi,
>> Am trying to compile my WRL 2.6.21 kernel for PPC architecture.
>> The processor am using is AMCC powerpc 440EP .
>
>This isn't really the best choice of forum for trying to get help like this.
>Most of the people here are focused on working with the latest development
>kernels, and won't have the time to go back and look at year-old kernels
>based on the now removed PPC architecture.
>
>Plus they won't necessarily have any knowledge of what the WRL specific
>changes may or may not contain. If you have the opportunity to do so,
>the best choice for you would be to go through the normal WR support
>channels with full details of your problem.
>
>At a glance, it looks like you are trying to build with ARCH=powerpc, and
>yet I don't think (from memory) that the 4xx boards had migrated from
>ARCH=ppc until sometime around the 2.6.24-ish timeframe.
Basic support was in 2.6.22. 440EP was in 2.6.24.
josh
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-11 23:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-11 14:09 cross compiling wind river linux for ppc architecture Sridhar Mahadevan
2009-08-11 21:42 ` Paul Gortmaker
2009-08-11 23:00 ` Josh Boyer
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).