Compiling kernel 2.6.7-rc1 for 8xx
rdiz at alumni.deec.uc.pt
rdiz at alumni.deec.uc.pt
Fri May 28 03:14:38 EST 2004
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 at alumni.deec.uc.pt>
> To: <linuxppc-embedded at 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/
More information about the Linuxppc-embedded
mailing list