* RE: Some issues with kernel 2.6 for MPC8260 target
@ 2005-01-12 13:55 Steven Blakeslee
2005-01-12 14:27 ` Saso Kavcic
0 siblings, 1 reply; 6+ messages in thread
From: Steven Blakeslee @ 2005-01-12 13:55 UTC (permalink / raw)
To: Vijay Padiyar, LinuxPPC Support
I would suggest going to the latest 2.6.10 kernel. I have it running
with several ethernets running on all the 82xx processors.=20
> -----Original Message-----
> From: linuxppc-embedded-bounces@ozlabs.org=20
> [mailto:linuxppc-embedded-bounces@ozlabs.org] On Behalf Of=20
> Vijay Padiyar
> Sent: Wednesday, January 12, 2005 5:37 AM
> To: LinuxPPC Support
> Subject: Some issues with kernel 2.6 for MPC8260 target
>=20
> Hi all
>=20
> I wish to discuss some strange issues that I faced with=20
> respect to the Linux
> 2.6.8 kernel (downloaded from kernel.org). Firstly, I wish to=20
> know whether this has been known to work on an MPC8260 PowerPC target.
>=20
> Secondly, when I tried to compile the Linux kernel with my=20
> toolchain (built with Dan Kegel's crosstool for the PowerPC=20
> 603e core, which is what my processor has), I got some errors=20
> which I found to rather queer after investigation. Firstly,=20
> let me state the errors that I got:
>=20
> ------------------------------------------------------
>=20
> LD init/built-in.o
> LD .tmp_vmlinux1
> arch/ppc/8260_io/built-in.o(.text+0x103c): In function=20
> `mii_queue_relink':
> arch/ppc/8260_io/fcc_enet.c:1254: undefined reference to=20
> `schedule_task'
> arch/ppc/8260_io/built-in.o(.text+0x1074): In function=20
> `mii_queue_config':
> arch/ppc/8260_io/fcc_enet.c:1263: undefined reference to=20
> `schedule_task'
>=20
> ------------------------------------------------------
>=20
> On further investigation, I find that 'schedule_task()' is=20
> simply not defined anywhere in the 2.6.8 kernel sources. This=20
> is quite wierd! However, it is defined in a file 'context.c'=20
> (linux-src/kernel) in the 2.4.27 kernel sources, which we=20
> were using earlier. How is it that a function is being called=20
> but its definition has been removed from the sources?
>=20
> Another such example is with the structure 'tq_struct'. It is=20
> referred to in the file 'fcc_enet.c'=20
> (linux-src/arch/ppc/8260_io) but it's not defined anywhere!=20
> Again, after checking in the 2.4.27 sources, I find that it's=20
> defined in the file 'tqueue.h' (linux-src/include/linux)!
>=20
> A third thing is that the 2.4.27 kernel source file 'uart.c'
> (linux-src/arch/ppc/cpm2_io) is not present in the=20
> corresponding folder in the 2.6.8 source=20
> (linux-src/arch/ppc/8260_io). There is one 'uart.c' in the=20
> folder '8xx_io', but it doesn't get compiled during the=20
> kernel build process. Will my UART work correctly with this build?
>=20
> Can someone please tell me if there's some explanation for=20
> this that I'm unaware of? Which would be the proper forum to=20
> report this? Again I would like to ask: Has the 2.6.8 kernel=20
> been tested successfully on the MPC8260 PowerPC platform?
>=20
> Lastly, where can I get the latest stable Linux kernel source=20
> for the PowerPC platform?
>=20
> Regards
>=20
> Vijay Padiyar
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>=20
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Some issues with kernel 2.6 for MPC8260 target
2005-01-12 13:55 Some issues with kernel 2.6 for MPC8260 target Steven Blakeslee
@ 2005-01-12 14:27 ` Saso Kavcic
2005-01-12 14:38 ` Hans Schillstrom
0 siblings, 1 reply; 6+ messages in thread
From: Saso Kavcic @ 2005-01-12 14:27 UTC (permalink / raw)
To: Steven Blakeslee; +Cc: linuxppc-embedded
Hi Steven,
Have you noticed any improvements in 2.6.10. over 2.6.9? We were porting
2.6.9 to a custom mpc8275vr
board and we were able to get everything working except ethernet (fcc
enet). We did manage to get
a few packets over it but it was all very slow, unstable and
unpredictable and it seemed that fcc enet
driver doesn't work well in 2.6. Were you able to use fcc under 2.6.9?
Best Regards, Saso
Steven Blakeslee wrote:
>I would suggest going to the latest 2.6.10 kernel. I have it running
>with several ethernets running on all the 82xx processors.
>
>
>
>>-----Original Message-----
>>From: linuxppc-embedded-bounces@ozlabs.org
>>[mailto:linuxppc-embedded-bounces@ozlabs.org] On Behalf Of
>>Vijay Padiyar
>>Sent: Wednesday, January 12, 2005 5:37 AM
>>To: LinuxPPC Support
>>Subject: Some issues with kernel 2.6 for MPC8260 target
>>
>>Hi all
>>
>>I wish to discuss some strange issues that I faced with
>>respect to the Linux
>>2.6.8 kernel (downloaded from kernel.org). Firstly, I wish to
>>know whether this has been known to work on an MPC8260 PowerPC target.
>>
>>Secondly, when I tried to compile the Linux kernel with my
>>toolchain (built with Dan Kegel's crosstool for the PowerPC
>>603e core, which is what my processor has), I got some errors
>>which I found to rather queer after investigation. Firstly,
>>let me state the errors that I got:
>>
>>------------------------------------------------------
>>
>> LD init/built-in.o
>> LD .tmp_vmlinux1
>>arch/ppc/8260_io/built-in.o(.text+0x103c): In function
>>`mii_queue_relink':
>>arch/ppc/8260_io/fcc_enet.c:1254: undefined reference to
>>`schedule_task'
>>arch/ppc/8260_io/built-in.o(.text+0x1074): In function
>>`mii_queue_config':
>>arch/ppc/8260_io/fcc_enet.c:1263: undefined reference to
>>`schedule_task'
>>
>>------------------------------------------------------
>>
>>On further investigation, I find that 'schedule_task()' is
>>simply not defined anywhere in the 2.6.8 kernel sources. This
>>is quite wierd! However, it is defined in a file 'context.c'
>>(linux-src/kernel) in the 2.4.27 kernel sources, which we
>>were using earlier. How is it that a function is being called
>>but its definition has been removed from the sources?
>>
>>Another such example is with the structure 'tq_struct'. It is
>>referred to in the file 'fcc_enet.c'
>>(linux-src/arch/ppc/8260_io) but it's not defined anywhere!
>>Again, after checking in the 2.4.27 sources, I find that it's
>>defined in the file 'tqueue.h' (linux-src/include/linux)!
>>
>>A third thing is that the 2.4.27 kernel source file 'uart.c'
>>(linux-src/arch/ppc/cpm2_io) is not present in the
>>corresponding folder in the 2.6.8 source
>>(linux-src/arch/ppc/8260_io). There is one 'uart.c' in the
>>folder '8xx_io', but it doesn't get compiled during the
>>kernel build process. Will my UART work correctly with this build?
>>
>>Can someone please tell me if there's some explanation for
>>this that I'm unaware of? Which would be the proper forum to
>>report this? Again I would like to ask: Has the 2.6.8 kernel
>>been tested successfully on the MPC8260 PowerPC platform?
>>
>>Lastly, where can I get the latest stable Linux kernel source
>>for the PowerPC platform?
>>
>>Regards
>>
>>Vijay Padiyar
>>_______________________________________________
>>Linuxppc-embedded mailing list
>>Linuxppc-embedded@ozlabs.org
>>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>>
>>
>>
>_______________________________________________
>Linuxppc-embedded mailing list
>Linuxppc-embedded@ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Some issues with kernel 2.6 for MPC8260 target
2005-01-12 14:27 ` Saso Kavcic
@ 2005-01-12 14:38 ` Hans Schillstrom
0 siblings, 0 replies; 6+ messages in thread
From: Hans Schillstrom @ 2005-01-12 14:38 UTC (permalink / raw)
To: Saso Kavcic; +Cc: Steven Blakeslee, linuxppc-embedded
Hi,
I have 2.6.10 working on a mpc8250vr, the only thing that had to be done
was moving around the clock pins. The performace is good.
/Hans
On Wed, 2005-01-12 at 15:27, Saso Kavcic wrote:
> Hi Steven,
>
> Have you noticed any improvements in 2.6.10. over 2.6.9? We were porting
> 2.6.9 to a custom mpc8275vr
> board and we were able to get everything working except ethernet (fcc
> enet). We did manage to get
> a few packets over it but it was all very slow, unstable and
> unpredictable and it seemed that fcc enet
> driver doesn't work well in 2.6. Were you able to use fcc under 2.6.9?
>
> Best Regards, Saso
>
> Steven Blakeslee wrote:
>
> >I would suggest going to the latest 2.6.10 kernel. I have it running
> >with several ethernets running on all the 82xx processors.
> >
> >
> >
> >>-----Original Message-----
> >>From: linuxppc-embedded-bounces@ozlabs.org
> >>[mailto:linuxppc-embedded-bounces@ozlabs.org] On Behalf Of
> >>Vijay Padiyar
> >>Sent: Wednesday, January 12, 2005 5:37 AM
> >>To: LinuxPPC Support
> >>Subject: Some issues with kernel 2.6 for MPC8260 target
> >>
> >>Hi all
> >>
> >>I wish to discuss some strange issues that I faced with
> >>respect to the Linux
> >>2.6.8 kernel (downloaded from kernel.org). Firstly, I wish to
> >>know whether this has been known to work on an MPC8260 PowerPC target.
> >>
> >>Secondly, when I tried to compile the Linux kernel with my
> >>toolchain (built with Dan Kegel's crosstool for the PowerPC
> >>603e core, which is what my processor has), I got some errors
> >>which I found to rather queer after investigation. Firstly,
> >>let me state the errors that I got:
> >>
> >>------------------------------------------------------
> >>
> >> LD init/built-in.o
> >> LD .tmp_vmlinux1
> >>arch/ppc/8260_io/built-in.o(.text+0x103c): In function
> >>`mii_queue_relink':
> >>arch/ppc/8260_io/fcc_enet.c:1254: undefined reference to
> >>`schedule_task'
> >>arch/ppc/8260_io/built-in.o(.text+0x1074): In function
> >>`mii_queue_config':
> >>arch/ppc/8260_io/fcc_enet.c:1263: undefined reference to
> >>`schedule_task'
> >>
> >>------------------------------------------------------
> >>
> >>On further investigation, I find that 'schedule_task()' is
> >>simply not defined anywhere in the 2.6.8 kernel sources. This
> >>is quite wierd! However, it is defined in a file 'context.c'
> >>(linux-src/kernel) in the 2.4.27 kernel sources, which we
> >>were using earlier. How is it that a function is being called
> >>but its definition has been removed from the sources?
> >>
> >>Another such example is with the structure 'tq_struct'. It is
> >>referred to in the file 'fcc_enet.c'
> >>(linux-src/arch/ppc/8260_io) but it's not defined anywhere!
> >>Again, after checking in the 2.4.27 sources, I find that it's
> >>defined in the file 'tqueue.h' (linux-src/include/linux)!
> >>
> >>A third thing is that the 2.4.27 kernel source file 'uart.c'
> >>(linux-src/arch/ppc/cpm2_io) is not present in the
> >>corresponding folder in the 2.6.8 source
> >>(linux-src/arch/ppc/8260_io). There is one 'uart.c' in the
> >>folder '8xx_io', but it doesn't get compiled during the
> >>kernel build process. Will my UART work correctly with this build?
> >>
> >>Can someone please tell me if there's some explanation for
> >>this that I'm unaware of? Which would be the proper forum to
> >>report this? Again I would like to ask: Has the 2.6.8 kernel
> >>been tested successfully on the MPC8260 PowerPC platform?
> >>
> >>Lastly, where can I get the latest stable Linux kernel source
> >>for the PowerPC platform?
> >>
> >>Regards
> >>
> >>Vijay Padiyar
> >>_______________________________________________
> >>Linuxppc-embedded mailing list
> >>Linuxppc-embedded@ozlabs.org
> >>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> >>
> >>
> >>
> >_______________________________________________
> >Linuxppc-embedded mailing list
> >Linuxppc-embedded@ozlabs.org
> >https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> >
> >
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Some issues with kernel 2.6 for MPC8260 target
@ 2005-01-12 14:34 Steven Blakeslee
2005-01-12 14:53 ` Saso Kavcic
0 siblings, 1 reply; 6+ messages in thread
From: Steven Blakeslee @ 2005-01-12 14:34 UTC (permalink / raw)
To: Saso Kavcic; +Cc: linuxppc-embedded
I ported it to the Embedded Planet ep8260 board with FCC3, ep8248 board
with FCC1 and FCC2 and ep8280 with FCC2 and FCC3. I had to make very
little, if anything, to get it to work. I did not try 2.6.9. I am
currently using 2.6.10-rc3 which I believe after the last merge is now
2.6.10. I did practically nothing to get all of these to work.=20
> -----Original Message-----
> From: Saso Kavcic [mailto:saso@activetools.si]=20
> Sent: Wednesday, January 12, 2005 9:27 AM
> To: Steven Blakeslee
> Cc: linuxppc-embedded@ozlabs.org
> Subject: Re: Some issues with kernel 2.6 for MPC8260 target
>=20
> Hi Steven,
>=20
> Have you noticed any improvements in 2.6.10. over 2.6.9? We=20
> were porting
> 2.6.9 to a custom mpc8275vr
> board and we were able to get everything working except=20
> ethernet (fcc enet). We did manage to get a few packets over=20
> it but it was all very slow, unstable and unpredictable and=20
> it seemed that fcc enet driver doesn't work well in 2.6. Were=20
> you able to use fcc under 2.6.9?
>=20
> Best Regards, Saso
>=20
> Steven Blakeslee wrote:
>=20
> >I would suggest going to the latest 2.6.10 kernel. I have=20
> it running=20
> >with several ethernets running on all the 82xx processors.
> >
> > =20
> >
> >>-----Original Message-----
> >>From: linuxppc-embedded-bounces@ozlabs.org
> >>[mailto:linuxppc-embedded-bounces@ozlabs.org] On Behalf Of Vijay=20
> >>Padiyar
> >>Sent: Wednesday, January 12, 2005 5:37 AM
> >>To: LinuxPPC Support
> >>Subject: Some issues with kernel 2.6 for MPC8260 target
> >>
> >>Hi all
> >>
> >>I wish to discuss some strange issues that I faced with=20
> respect to the=20
> >>Linux
> >>2.6.8 kernel (downloaded from kernel.org). Firstly, I wish to know=20
> >>whether this has been known to work on an MPC8260 PowerPC target.
> >>
> >>Secondly, when I tried to compile the Linux kernel with my=20
> toolchain=20
> >>(built with Dan Kegel's crosstool for the PowerPC 603e=20
> core, which is=20
> >>what my processor has), I got some errors which I found to rather=20
> >>queer after investigation. Firstly, let me state the errors that I=20
> >>got:
> >>
> >>------------------------------------------------------
> >>
> >> LD init/built-in.o
> >> LD .tmp_vmlinux1
> >>arch/ppc/8260_io/built-in.o(.text+0x103c): In function
> >>`mii_queue_relink':
> >>arch/ppc/8260_io/fcc_enet.c:1254: undefined reference to=20
> >>`schedule_task'
> >>arch/ppc/8260_io/built-in.o(.text+0x1074): In function
> >>`mii_queue_config':
> >>arch/ppc/8260_io/fcc_enet.c:1263: undefined reference to=20
> >>`schedule_task'
> >>
> >>------------------------------------------------------
> >>
> >>On further investigation, I find that 'schedule_task()' is=20
> simply not=20
> >>defined anywhere in the 2.6.8 kernel sources. This is quite wierd!=20
> >>However, it is defined in a file 'context.c'
> >>(linux-src/kernel) in the 2.4.27 kernel sources, which we=20
> were using=20
> >>earlier. How is it that a function is being called but its=20
> definition=20
> >>has been removed from the sources?
> >>
> >>Another such example is with the structure 'tq_struct'. It=20
> is referred=20
> >>to in the file 'fcc_enet.c'
> >>(linux-src/arch/ppc/8260_io) but it's not defined anywhere!=20
> >>Again, after checking in the 2.4.27 sources, I find that=20
> it's defined=20
> >>in the file 'tqueue.h' (linux-src/include/linux)!
> >>
> >>A third thing is that the 2.4.27 kernel source file 'uart.c'
> >>(linux-src/arch/ppc/cpm2_io) is not present in the corresponding=20
> >>folder in the 2.6.8 source (linux-src/arch/ppc/8260_io).=20
> There is one=20
> >>'uart.c' in the folder '8xx_io', but it doesn't get compiled during=20
> >>the kernel build process. Will my UART work correctly with=20
> this build?
> >>
> >>Can someone please tell me if there's some explanation for=20
> this that=20
> >>I'm unaware of? Which would be the proper forum to report=20
> this? Again=20
> >>I would like to ask: Has the 2.6.8 kernel been tested=20
> successfully on=20
> >>the MPC8260 PowerPC platform?
> >>
> >>Lastly, where can I get the latest stable Linux kernel=20
> source for the=20
> >>PowerPC platform?
> >>
> >>Regards
> >>
> >>Vijay Padiyar
> >>_______________________________________________
> >>Linuxppc-embedded mailing list
> >>Linuxppc-embedded@ozlabs.org
> >>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> >>
> >> =20
> >>
> >_______________________________________________
> >Linuxppc-embedded mailing list
> >Linuxppc-embedded@ozlabs.org
> >https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> > =20
> >
>=20
>=20
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Some issues with kernel 2.6 for MPC8260 target
2005-01-12 14:34 Steven Blakeslee
@ 2005-01-12 14:53 ` Saso Kavcic
0 siblings, 0 replies; 6+ messages in thread
From: Saso Kavcic @ 2005-01-12 14:53 UTC (permalink / raw)
To: Steven Blakeslee; +Cc: linuxppc-embedded
Thanks for the info. Nice to know that it can work.
Steven Blakeslee wrote:
>I ported it to the Embedded Planet ep8260 board with FCC3, ep8248 board
>with FCC1 and FCC2 and ep8280 with FCC2 and FCC3. I had to make very
>little, if anything, to get it to work. I did not try 2.6.9. I am
>currently using 2.6.10-rc3 which I believe after the last merge is now
>2.6.10. I did practically nothing to get all of these to work.
>
>
>
>>-----Original Message-----
>>From: Saso Kavcic [mailto:saso@activetools.si]
>>Sent: Wednesday, January 12, 2005 9:27 AM
>>To: Steven Blakeslee
>>Cc: linuxppc-embedded@ozlabs.org
>>Subject: Re: Some issues with kernel 2.6 for MPC8260 target
>>
>>Hi Steven,
>>
>>Have you noticed any improvements in 2.6.10. over 2.6.9? We
>>were porting
>>2.6.9 to a custom mpc8275vr
>>board and we were able to get everything working except
>>ethernet (fcc enet). We did manage to get a few packets over
>>it but it was all very slow, unstable and unpredictable and
>>it seemed that fcc enet driver doesn't work well in 2.6. Were
>>you able to use fcc under 2.6.9?
>>
>>Best Regards, Saso
>>
>>Steven Blakeslee wrote:
>>
>>
>>
>>>I would suggest going to the latest 2.6.10 kernel. I have
>>>
>>>
>>it running
>>
>>
>>>with several ethernets running on all the 82xx processors.
>>>
>>>
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: linuxppc-embedded-bounces@ozlabs.org
>>>>[mailto:linuxppc-embedded-bounces@ozlabs.org] On Behalf Of Vijay
>>>>Padiyar
>>>>Sent: Wednesday, January 12, 2005 5:37 AM
>>>>To: LinuxPPC Support
>>>>Subject: Some issues with kernel 2.6 for MPC8260 target
>>>>
>>>>Hi all
>>>>
>>>>I wish to discuss some strange issues that I faced with
>>>>
>>>>
>>respect to the
>>
>>
>>>>Linux
>>>>2.6.8 kernel (downloaded from kernel.org). Firstly, I wish to know
>>>>whether this has been known to work on an MPC8260 PowerPC target.
>>>>
>>>>Secondly, when I tried to compile the Linux kernel with my
>>>>
>>>>
>>toolchain
>>
>>
>>>>(built with Dan Kegel's crosstool for the PowerPC 603e
>>>>
>>>>
>>core, which is
>>
>>
>>>>what my processor has), I got some errors which I found to rather
>>>>queer after investigation. Firstly, let me state the errors that I
>>>>got:
>>>>
>>>>------------------------------------------------------
>>>>
>>>> LD init/built-in.o
>>>> LD .tmp_vmlinux1
>>>>arch/ppc/8260_io/built-in.o(.text+0x103c): In function
>>>>`mii_queue_relink':
>>>>arch/ppc/8260_io/fcc_enet.c:1254: undefined reference to
>>>>`schedule_task'
>>>>arch/ppc/8260_io/built-in.o(.text+0x1074): In function
>>>>`mii_queue_config':
>>>>arch/ppc/8260_io/fcc_enet.c:1263: undefined reference to
>>>>`schedule_task'
>>>>
>>>>------------------------------------------------------
>>>>
>>>>On further investigation, I find that 'schedule_task()' is
>>>>
>>>>
>>simply not
>>
>>
>>>>defined anywhere in the 2.6.8 kernel sources. This is quite wierd!
>>>>However, it is defined in a file 'context.c'
>>>>(linux-src/kernel) in the 2.4.27 kernel sources, which we
>>>>
>>>>
>>were using
>>
>>
>>>>earlier. How is it that a function is being called but its
>>>>
>>>>
>>definition
>>
>>
>>>>has been removed from the sources?
>>>>
>>>>Another such example is with the structure 'tq_struct'. It
>>>>
>>>>
>>is referred
>>
>>
>>>>to in the file 'fcc_enet.c'
>>>>(linux-src/arch/ppc/8260_io) but it's not defined anywhere!
>>>>Again, after checking in the 2.4.27 sources, I find that
>>>>
>>>>
>>it's defined
>>
>>
>>>>in the file 'tqueue.h' (linux-src/include/linux)!
>>>>
>>>>A third thing is that the 2.4.27 kernel source file 'uart.c'
>>>>(linux-src/arch/ppc/cpm2_io) is not present in the corresponding
>>>>folder in the 2.6.8 source (linux-src/arch/ppc/8260_io).
>>>>
>>>>
>>There is one
>>
>>
>>>>'uart.c' in the folder '8xx_io', but it doesn't get compiled during
>>>>the kernel build process. Will my UART work correctly with
>>>>
>>>>
>>this build?
>>
>>
>>>>Can someone please tell me if there's some explanation for
>>>>
>>>>
>>this that
>>
>>
>>>>I'm unaware of? Which would be the proper forum to report
>>>>
>>>>
>>this? Again
>>
>>
>>>>I would like to ask: Has the 2.6.8 kernel been tested
>>>>
>>>>
>>successfully on
>>
>>
>>>>the MPC8260 PowerPC platform?
>>>>
>>>>Lastly, where can I get the latest stable Linux kernel
>>>>
>>>>
>>source for the
>>
>>
>>>>PowerPC platform?
>>>>
>>>>Regards
>>>>
>>>>Vijay Padiyar
>>>>_______________________________________________
>>>>Linuxppc-embedded mailing list
>>>>Linuxppc-embedded@ozlabs.org
>>>>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>>>>
>>>>
>>>>
>>>>
>>>>
>>>_______________________________________________
>>>Linuxppc-embedded mailing list
>>>Linuxppc-embedded@ozlabs.org
>>>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>>>
>>>
>>>
>>>
>>
>>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Some issues with kernel 2.6 for MPC8260 target
@ 2005-01-12 10:37 Vijay Padiyar
0 siblings, 0 replies; 6+ messages in thread
From: Vijay Padiyar @ 2005-01-12 10:37 UTC (permalink / raw)
To: LinuxPPC Support
Hi all
I wish to discuss some strange issues that I faced with respect to the Linux
2.6.8 kernel (downloaded from kernel.org). Firstly, I wish to know whether
this has been known to work on an MPC8260 PowerPC target.
Secondly, when I tried to compile the Linux kernel with my toolchain (built
with Dan Kegel's crosstool for the PowerPC 603e core, which is what my
processor has), I got some errors which I found to rather queer after
investigation. Firstly, let me state the errors that I got:
------------------------------------------------------
LD init/built-in.o
LD .tmp_vmlinux1
arch/ppc/8260_io/built-in.o(.text+0x103c): In function `mii_queue_relink':
arch/ppc/8260_io/fcc_enet.c:1254: undefined reference to `schedule_task'
arch/ppc/8260_io/built-in.o(.text+0x1074): In function `mii_queue_config':
arch/ppc/8260_io/fcc_enet.c:1263: undefined reference to `schedule_task'
------------------------------------------------------
On further investigation, I find that 'schedule_task()' is simply not
defined anywhere in the 2.6.8 kernel sources. This is quite wierd! However,
it is defined in a file 'context.c' (linux-src/kernel) in the 2.4.27 kernel
sources, which we were using earlier. How is it that a function is being
called but its definition has been removed from the sources?
Another such example is with the structure 'tq_struct'. It is referred to in
the file 'fcc_enet.c' (linux-src/arch/ppc/8260_io) but it's not defined
anywhere! Again, after checking in the 2.4.27 sources, I find that it's
defined in the file 'tqueue.h' (linux-src/include/linux)!
A third thing is that the 2.4.27 kernel source file 'uart.c'
(linux-src/arch/ppc/cpm2_io) is not present in the corresponding folder in
the 2.6.8 source (linux-src/arch/ppc/8260_io). There is one 'uart.c' in the
folder '8xx_io', but it doesn't get compiled during the kernel build
process. Will my UART work correctly with this build?
Can someone please tell me if there's some explanation for this that I'm
unaware of? Which would be the proper forum to report this? Again I would
like to ask: Has the 2.6.8 kernel been tested successfully on the MPC8260
PowerPC platform?
Lastly, where can I get the latest stable Linux kernel source for the
PowerPC platform?
Regards
Vijay Padiyar
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-01-12 15:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-12 13:55 Some issues with kernel 2.6 for MPC8260 target Steven Blakeslee
2005-01-12 14:27 ` Saso Kavcic
2005-01-12 14:38 ` Hans Schillstrom
-- strict thread matches above, loose matches on Subject: below --
2005-01-12 14:34 Steven Blakeslee
2005-01-12 14:53 ` Saso Kavcic
2005-01-12 10:37 Vijay Padiyar
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).