Re: Compiling kernel 2.6.7-rc1 for 8xx

3 messages, 2 authors, 2004-05-28 · open the first message on its own page

Re: Compiling kernel 2.6.7-rc1 for 8xx

From: <hidden>
Date: 2004-05-27 17:14:38

I don't know what kind of search I did before, but I found now some recent
relevant posts about it. Thanks.

BTW, do I have to use BitKeeper to download the 2.5 kernel tree?

Thanks again for posting so fast,
Regards,
Ricardo Diz
The 2.6 kernel has not been ported to 8xx yet.  If you look back over the
past few days on this list you'll see that a lot of work is being done
right
now on the 2.5 kernel, so hopefully we'll have 2.6 soon.  But for now if
you
need a reliable kernel you need to stick with 2.4

Mark Chambers

----- Original Message -----
From: <redacted>
To: <redacted>
Sent: Thursday, May 27, 2004 11:19 AM
Subject: Compiling kernel 2.6.7-rc1 for 8xx

quoted
Hi there,

I'm trying to compile kernel 2.6.7-rc1 for a Motorola 860T misc board.
As
of now, I've also tried compiling 2.6.6, 2.6.5, the latest BenH 2.6
Development kernel and the latest Yellow Dog's latest kernel. All came
down to compile errors, and I'm now focusing on solving the problem for
2.6.7-rc1.

So, I'm getting errors when the compilation reaches file
arch/ppc/8xx_io/uart.c . Here is some of the output:

--------------------
arch/ppc/8xx_io/uart.c:86: warning: type defaults to `int' in
declaration
of `DECLARE_TASK_QUEUE'
arch/ppc/8xx_io/uart.c:86: warning: parameter names (without types) in
function declaration
arch/ppc/8xx_io/uart.c: In function `serial_console_device':
arch/ppc/8xx_io/uart.c:149: storage class specified for parameter
`rs_table'
quoted
arch/ppc/8xx_io/uart.c:149: parameter `rs_table' is initialized
arch/ppc/8xx_io/uart.c:151: warning: braces around scalar initializer
arch/ppc/8xx_io/uart.c:151: warning: (near initialization for
`rs_table')
arch/ppc/8xx_io/uart.c:151: warning: excess elements in scalar
initializer

...

arch/ppc/8xx_io/uart.c:185: field `tqueue' has incomplete type
arch/ppc/8xx_io/uart.c:186: field `tqueue_hangup' has incomplete type
arch/ppc/8xx_io/uart.c:202: warning: structure defined inside parms
arch/ppc/8xx_io/uart.c:202: storage class specified for parameter
`ser_info_t'
arch/ppc/8xx_io/uart.c:204: storage class specified for parameter
`sercons'
quoted
arch/ppc/8xx_io/uart.c:204: parameter `sercons' is initialized
arch/ppc/8xx_io/uart.c:213: parse error before `*'
arch/ppc/8xx_io/uart.c:213: storage class specified for parameter
`change_speed'
arch/ppc/8xx_io/uart.c:213: warning: function declaration isn't a
prototype
quoted
arch/ppc/8xx_io/uart.c:214: storage class specified for parameter
`rs_8xx_wait_until_sent'
arch/ppc/8xx_io/uart.c:216: parse error before `*'
arch/ppc/8xx_io/uart.c:218: storage class specified for parameter
`serial_paranoia_check'
--------------------

I subtracted some lines (...) that show warnings in the struct rs_table,
as there was one already declared (I didn't found it). When I compare
the
uart.c file for 8xx with the one for 8260, I find that this structure is
the same, and no errors were found when compiling for it.

I'm trying to follow the errors, but I didn't found a link between the
structure rs_table and serial_console_device (where these warnings
start).

Has anyone sucessfully compiled the kernel for 8xx PowerPC yet?

Any help would be apreciated,
Regards,
Ricardo Diz


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: Compiling kernel 2.6.7-rc1 for 8xx

From: Tom Rini <hidden>
Date: 2004-05-27 20:55:29

On Thu, May 27, 2004 at 06:14:38PM +0100, rdiz@alumni.deec.uc.pt wrote:
I don't know what kind of search I did before, but I found now some recent
relevant posts about it. Thanks.

BTW, do I have to use BitKeeper to download the 2.5 kernel tree?
No.  For Linus' tree there are snapshots of the bitkeeper version on
kernel.org I believe, and for the linuxppc trees there are still rsync
mirrors on source.mvista.com.

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: Compiling kernel 2.6.7-rc1 for 8xx

From: <hidden>
Date: 2004-05-28 11:34:29

Thanks, I'll download the latest linuxppc kernel right away.

Regards,
Ricardo Diz

On Thu, May 27, 2004 at 06:14:38PM +0100, rdiz@alumni.deec.uc.pt wrote:
quoted
I don't know what kind of search I did before, but I found now some
recent
relevant posts about it. Thanks.

BTW, do I have to use BitKeeper to download the 2.5 kernel tree?
No.  For Linus' tree there are snapshots of the bitkeeper version on
kernel.org I believe, and for the linuxppc trees there are still rsync
mirrors on source.mvista.com.

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help