* RE: 2.6 kernel ppc tree
@ 2004-02-18 1:13 Rod Boyce
2004-02-18 19:03 ` Tom Rini
0 siblings, 1 reply; 12+ messages in thread
From: Rod Boyce @ 2004-02-18 1:13 UTC (permalink / raw)
To: Tom Rini; +Cc: Lokesh Kumar, linuxppc-embedded
Wow that was great I got a lot further once I copied the 2.5 kernel uart.c file across.
I had to comment out both referances to ret_from_intercept in the head_8xx.S file I cannot see what is going on there. I then got to this:
LD init/built-in.o
LD .tmp_vmlinux1
arch/ppc/kernel/built-in.o: In function `DoSyscall':
arch/ppc/kernel/entry.S(.data+0x350): undefined reference to `sys_pciconfig_iobase'
make: *** [.tmp_vmlinux1] Error 1
I have not more time to spend on this and track down the PCI issues.
I am using a miniumal config file I will be happy to send to any body who is interested.
Regards,
Rod Boyce
-----Original Message-----
From: Tom Rini [mailto:trini@kernel.crashing.org]
Sent: Wednesday, February 18, 2004 11:20 AM
To: Rod Boyce
Cc: Lokesh Kumar; linuxppc-embedded@lists.linuxppc.org
Subject: Re: 2.6 kernel ppc tree
On Wed, Feb 18, 2004 at 10:30:41AM +1300, Rod Boyce wrote:
> I downloaded the the 2.6.1 Linux kernel and compiled it for the RPX-Lite board. I discovered that the UART driver in arch/ppc/8xx_io/ has not been ported to the 2.6 kernel otherwise I had no problems. I have not had time to get back to the 2.6 porting effort and update the uart.c file. If ther eis another one out there I could try it out but that is where I left my effort. Otherwise I would guess you may not have too many more problems but I have not been able to spend much time on this.
The linuxppc-2.5 tree already has most of this done (as it did as of
2.6.1 or 2.6.2, I haven't re-checked the drivers). However, head_8xx.S
still needs some updates for VM/exception changes.
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6 kernel ppc tree
2004-02-18 1:13 2.6 kernel ppc tree Rod Boyce
@ 2004-02-18 19:03 ` Tom Rini
0 siblings, 0 replies; 12+ messages in thread
From: Tom Rini @ 2004-02-18 19:03 UTC (permalink / raw)
To: Rod Boyce; +Cc: Lokesh Kumar, linuxppc-embedded
On Wed, Feb 18, 2004 at 02:13:21PM +1300, Rod Boyce wrote:
> Wow that was great I got a lot further once I copied the 2.5 kernel uart.c file across.
>
> I had to comment out both referances to ret_from_intercept in the head_8xx.S file I cannot see what is going on there. I then got to this:
> LD init/built-in.o
> LD .tmp_vmlinux1
> arch/ppc/kernel/built-in.o: In function `DoSyscall':
> arch/ppc/kernel/entry.S(.data+0x350): undefined reference to `sys_pciconfig_iobase'
> make: *** [.tmp_vmlinux1] Error 1
>
> I have not more time to spend on this and track down the PCI issues.
That issue in particular has been fixed in later versions. But
commenting out the ret_from_interrupt lines isn't quite enough to get
the platform booting :)
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: 2.6 kernel ppc tree
@ 2004-02-18 19:08 Rod Boyce
0 siblings, 0 replies; 12+ messages in thread
From: Rod Boyce @ 2004-02-18 19:08 UTC (permalink / raw)
To: Tom Rini; +Cc: linuxppc-embedded
Tom,
You are correct I'm sure I have no time on this and I'm trying to get a image to build so I can see what is missing and then start debugging the image. I have to start somewhere and this is where I started. I also see there is a newer version so I will make another attempt in the next few day with that.
Rod Boyce
-----Original Message-----
From: Tom Rini [mailto:trini@kernel.crashing.org]
Sent: Thursday, February 19, 2004 8:03 AM
To: Rod Boyce
Cc: Lokesh Kumar; linuxppc-embedded@lists.linuxppc.org
Subject: Re: 2.6 kernel ppc tree
That issue in particular has been fixed in later versions. But
commenting out the ret_from_interrupt lines isn't quite enough to get
the platform booting :)
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: 2.6 kernel ppc tree
@ 2004-02-17 21:55 Rod Boyce
0 siblings, 0 replies; 12+ messages in thread
From: Rod Boyce @ 2004-02-17 21:55 UTC (permalink / raw)
To: Mike Welliington; +Cc: Lokesh Kumar, linuxppc-embedded
I downloaded it from www.kernel.org I was very surprised how far I got but there you go.
Regards,
Rod Boyce
-----Original Message-----
From: Mike Welliington [mailto:wellington@lucent.com]
Sent: Wednesday, February 18, 2004 10:47 AM
To: Rod Boyce
Cc: Lokesh Kumar; linuxppc-embedded@lists.linuxppc.org
Subject: Re: 2.6 kernel ppc tree
Rod -
Can I ask *where* you got your 2.6.1 kernel? I do not see it
in the Monta Vista archives, or in the archives from www.penguinppc.org.
-mike wellington
wellington@lucent.com
Rod Boyce wrote:
>I downloaded the the 2.6.1 Linux kernel and compiled it for the RPX-Lite board. I discovered that the UART driver in arch/ppc/8xx_io/ has not been ported to the 2.6 kernel otherwise I had no problems. I have not had time to get back to the 2.6 porting effort and update the uart.c file. If ther eis another one out there I could try it out but that is where I left my effort. Otherwise I would guess you may not have too many more problems but I have not been able to spend much time on this.
>
>Regards,
>Rod Boyce
>
>-----Original Message-----
>From: owner-linuxppc-embedded@lists.linuxppc.org
>[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Lokesh
>Kumar
>Sent: Wednesday, February 18, 2004 10:22 AM
>To: linuxppc-embedded@lists.linuxppc.org
>Subject: 2.6 kernel ppc tree
>
>
>
>Is there a tree for ppc for 2.6 kernel, which I can download and compile for
>mpc8xx based boards? Any help is welcome.
>
>Lokesh Kumar
>Wireless Matrix USA Inc.
>703-262-4032
>
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: 2.6 kernel ppc tree
@ 2004-02-17 21:30 Rod Boyce
2004-02-17 21:47 ` Mike Welliington
2004-02-17 22:19 ` Tom Rini
0 siblings, 2 replies; 12+ messages in thread
From: Rod Boyce @ 2004-02-17 21:30 UTC (permalink / raw)
To: Lokesh Kumar, linuxppc-embedded
I downloaded the the 2.6.1 Linux kernel and compiled it for the RPX-Lite board. I discovered that the UART driver in arch/ppc/8xx_io/ has not been ported to the 2.6 kernel otherwise I had no problems. I have not had time to get back to the 2.6 porting effort and update the uart.c file. If ther eis another one out there I could try it out but that is where I left my effort. Otherwise I would guess you may not have too many more problems but I have not been able to spend much time on this.
Regards,
Rod Boyce
-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Lokesh
Kumar
Sent: Wednesday, February 18, 2004 10:22 AM
To: linuxppc-embedded@lists.linuxppc.org
Subject: 2.6 kernel ppc tree
Is there a tree for ppc for 2.6 kernel, which I can download and compile for
mpc8xx based boards? Any help is welcome.
Lokesh Kumar
Wireless Matrix USA Inc.
703-262-4032
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6 kernel ppc tree
2004-02-17 21:30 Rod Boyce
@ 2004-02-17 21:47 ` Mike Welliington
2004-02-17 22:19 ` Tom Rini
1 sibling, 0 replies; 12+ messages in thread
From: Mike Welliington @ 2004-02-17 21:47 UTC (permalink / raw)
To: Rod Boyce; +Cc: Lokesh Kumar, linuxppc-embedded
Rod -
Can I ask *where* you got your 2.6.1 kernel? I do not see it
in the Monta Vista archives, or in the archives from www.penguinppc.org.
-mike wellington
wellington@lucent.com
Rod Boyce wrote:
>I downloaded the the 2.6.1 Linux kernel and compiled it for the RPX-Lite board. I discovered that the UART driver in arch/ppc/8xx_io/ has not been ported to the 2.6 kernel otherwise I had no problems. I have not had time to get back to the 2.6 porting effort and update the uart.c file. If ther eis another one out there I could try it out but that is where I left my effort. Otherwise I would guess you may not have too many more problems but I have not been able to spend much time on this.
>
>Regards,
>Rod Boyce
>
>-----Original Message-----
>From: owner-linuxppc-embedded@lists.linuxppc.org
>[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Lokesh
>Kumar
>Sent: Wednesday, February 18, 2004 10:22 AM
>To: linuxppc-embedded@lists.linuxppc.org
>Subject: 2.6 kernel ppc tree
>
>
>
>Is there a tree for ppc for 2.6 kernel, which I can download and compile for
>mpc8xx based boards? Any help is welcome.
>
>Lokesh Kumar
>Wireless Matrix USA Inc.
>703-262-4032
>
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6 kernel ppc tree
2004-02-17 21:30 Rod Boyce
2004-02-17 21:47 ` Mike Welliington
@ 2004-02-17 22:19 ` Tom Rini
2004-02-18 17:53 ` Marcus Overhagen
1 sibling, 1 reply; 12+ messages in thread
From: Tom Rini @ 2004-02-17 22:19 UTC (permalink / raw)
To: Rod Boyce; +Cc: Lokesh Kumar, linuxppc-embedded
On Wed, Feb 18, 2004 at 10:30:41AM +1300, Rod Boyce wrote:
> I downloaded the the 2.6.1 Linux kernel and compiled it for the RPX-Lite board. I discovered that the UART driver in arch/ppc/8xx_io/ has not been ported to the 2.6 kernel otherwise I had no problems. I have not had time to get back to the 2.6 porting effort and update the uart.c file. If ther eis another one out there I could try it out but that is where I left my effort. Otherwise I would guess you may not have too many more problems but I have not been able to spend much time on this.
The linuxppc-2.5 tree already has most of this done (as it did as of
2.6.1 or 2.6.2, I haven't re-checked the drivers). However, head_8xx.S
still needs some updates for VM/exception changes.
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6 kernel ppc tree
2004-02-17 22:19 ` Tom Rini
@ 2004-02-18 17:53 ` Marcus Overhagen
2004-02-18 19:07 ` Dan Malek
0 siblings, 1 reply; 12+ messages in thread
From: Marcus Overhagen @ 2004-02-18 17:53 UTC (permalink / raw)
To: Tom Rini; +Cc: linuxppc-embedded
"Tom Rini" <trini@kernel.crashing.org> wrote:
> The linuxppc-2.5 tree already has most of this done (as it did as of
> 2.6.1 or 2.6.2, I haven't re-checked the drivers). However, head_8xx.S
> still needs some updates for VM/exception changes.
I tried compiling 2.6.3 for a MPC850 based board today, and got the same problem
with uart.c (as well as a few other minor errors). However, I have trouble getting
the 2.5 uart.c file by bitkeeper, can somebody please send it to me by (private) email?
I also noticed that the Kconfig file, as well as the uart.c file has very few options
to support custom pin assigments, for example I couldn't configure SCC2 as
Ethernet and at the same time SCC3 as serial. Is someone working on this, or
must I do this myself?
And what about hardware handshake signals, like RTS/CTS, does anyone
have that working?
regards
Marcus
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6 kernel ppc tree
2004-02-18 17:53 ` Marcus Overhagen
@ 2004-02-18 19:07 ` Dan Malek
2004-02-19 10:59 ` Marcus Overhagen
0 siblings, 1 reply; 12+ messages in thread
From: Dan Malek @ 2004-02-18 19:07 UTC (permalink / raw)
To: Marcus Overhagen; +Cc: Tom Rini, linuxppc-embedded
Marcus Overhagen wrote:
> I tried compiling 2.6.3 for a MPC850 based board today,
OK, everyone, just wait a day or so.......
The 8xx stuff hasn't worked at all for a long time......if ever.
Tom fixed up the drivers for me, I'm working on the VM updates.
Stop trying to compile it and complaining about it because it
is known to not work properly :-)
I'll post a message when I get this stuff done.
Thanks.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6 kernel ppc tree
2004-02-18 19:07 ` Dan Malek
@ 2004-02-19 10:59 ` Marcus Overhagen
2004-02-19 17:46 ` Dan Malek
0 siblings, 1 reply; 12+ messages in thread
From: Marcus Overhagen @ 2004-02-19 10:59 UTC (permalink / raw)
To: Dan Malek; +Cc: linuxppc-embedded
"Dan Malek" <dan@embeddededge.com> wrote:
> Marcus Overhagen wrote:
>
> > I tried compiling 2.6.3 for a MPC850 based board today,
>
> OK, everyone, just wait a day or so.......
Ok, you convinced me. I'll wait until VM updates are done :)
Thanks to Rod Boyce, who sent me the 2.5 uart.c I tried compiling.
I also noticed that some defines for enet.c were missing from commproc.h
and these errors:
| arch/ppc/kernel/entry.S(__ksymtab+0x3e0): undefined reference to `request_8xxirq'
| arch/ppc/syslib/built-in.o: In function `m8xx_calibrate_decr':
| arch/ppc/syslib/built-in.o(.init.text+0x124): undefined reference to `request_8xxirq'
| arch/ppc/syslib/built-in.o(.init.text+0x124): relocation truncated to fit: R_PPC_REL24 request_8xxirq
> The 8xx stuff hasn't worked at all for a long time......if ever.
Well, it was working in 2.4.4 as publish in ELDK 2.1 at www.denx.de
However, the uart.c driver in that package has some enhancements,
compared to the mainline 2.4.25 kernel (or it was removed for 2.4.25)
Especially the ability to configure a wide variety of different pins, and
hardware handshake.
Unfortunately, RTS handshake as implemented in 2.4.4 is not working
with the MPC850, since the MPC850 doesn't do a correct UART like
RTS signal, instead it activates /RTS only during transmit. I need to fix
that, and will wait with 2.6 until you are finished.
Luckily, MPC850 can do at least a correct /CTS handshake when bit FLC
in registert PSMR is set, and you can control /RTS in UART like fashion
by programming it as general IO pin.
> Tom fixed up the drivers for me, I'm working on the VM updates.
Thats great.
> Stop trying to compile it and complaining about it because it
> is known to not work properly :-)
Yeah, now I know :) BTW, this is not a complaint!
Marcus
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* 2.6 kernel ppc tree
@ 2004-02-17 21:22 Lokesh Kumar
0 siblings, 0 replies; 12+ messages in thread
From: Lokesh Kumar @ 2004-02-17 21:22 UTC (permalink / raw)
To: linuxppc-embedded
Is there a tree for ppc for 2.6 kernel, which I can download and compile for
mpc8xx based boards? Any help is welcome.
Lokesh Kumar
Wireless Matrix USA Inc.
703-262-4032
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2004-02-19 17:46 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-18 1:13 2.6 kernel ppc tree Rod Boyce
2004-02-18 19:03 ` Tom Rini
-- strict thread matches above, loose matches on Subject: below --
2004-02-18 19:08 Rod Boyce
2004-02-17 21:55 Rod Boyce
2004-02-17 21:30 Rod Boyce
2004-02-17 21:47 ` Mike Welliington
2004-02-17 22:19 ` Tom Rini
2004-02-18 17:53 ` Marcus Overhagen
2004-02-18 19:07 ` Dan Malek
2004-02-19 10:59 ` Marcus Overhagen
2004-02-19 17:46 ` Dan Malek
2004-02-17 21:22 Lokesh Kumar
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).