* Compiling kernel 2.6.7-rc1 for 8xx
@ 2004-05-27 15:19 rdiz
0 siblings, 0 replies; 4+ messages in thread
From: rdiz @ 2004-05-27 15:19 UTC (permalink / raw)
To: linuxppc-embedded
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'
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'
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
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling kernel 2.6.7-rc1 for 8xx
@ 2004-05-27 17:14 rdiz
2004-05-27 20:55 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: rdiz @ 2004-05-27 17:14 UTC (permalink / raw)
To: linuxppc-embedded
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: <rdiz@alumni.deec.uc.pt>
> To: <linuxppc-embedded@lists.linuxppc.org>
> Sent: Thursday, May 27, 2004 11:19 AM
> Subject: Compiling kernel 2.6.7-rc1 for 8xx
>
>
>>
>> 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'
>> 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'
>> 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
>> 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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling kernel 2.6.7-rc1 for 8xx
2004-05-27 17:14 Compiling kernel 2.6.7-rc1 for 8xx rdiz
@ 2004-05-27 20:55 ` Tom Rini
2004-05-28 11:34 ` rdiz
0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini @ 2004-05-27 20:55 UTC (permalink / raw)
To: rdiz; +Cc: linuxppc-embedded
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling kernel 2.6.7-rc1 for 8xx
2004-05-27 20:55 ` Tom Rini
@ 2004-05-28 11:34 ` rdiz
0 siblings, 0 replies; 4+ messages in thread
From: rdiz @ 2004-05-28 11:34 UTC (permalink / raw)
To: linuxppc-embedded
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:
>
>>
>> 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/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-05-28 11:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-27 17:14 Compiling kernel 2.6.7-rc1 for 8xx rdiz
2004-05-27 20:55 ` Tom Rini
2004-05-28 11:34 ` rdiz
-- strict thread matches above, loose matches on Subject: below --
2004-05-27 15:19 rdiz
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).