linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: Linux 2.6 and mpc823 compile error
  2005-05-19 12:23 Linux 2.6 and mpc823 compile error Björn Östby
@ 2005-05-19 12:09 ` Pantelis Antoniou
  0 siblings, 0 replies; 2+ messages in thread
From: Pantelis Antoniou @ 2005-05-19 12:09 UTC (permalink / raw)
  To: Björn Östby; +Cc: linuxppc-embedded

Björn Östby wrote:
> Hi,
> I'm trying to get Linux 2.6.11 up and running on mpc823e. I'm using the cross compiler
> Supplied in ELDK (3.0) and u-boot. The problem is when enabling:
> 
> [ ] CPM SCC/SMC serial port support
> and/or
> [ ] CPM SCC Ethernet
> 
> The kernel compiles fine having these option disabled, but otherwise..see below
> 
> make arch=ppc CROSS_COMPILE=${CROSS_COMPILE}
> .
[snip]

> 
> 
> There it is. Any ideas? 
> 
> Regards,
> Bjorn Ostby
> 

Don't use this driver. Use the one in drivers/serial/cpm_uart.

Regards

Pantelis

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Linux 2.6 and mpc823 compile error
@ 2005-05-19 12:23 Björn Östby
  2005-05-19 12:09 ` Pantelis Antoniou
  0 siblings, 1 reply; 2+ messages in thread
From: Björn Östby @ 2005-05-19 12:23 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 3388 bytes --]

Hi,
I'm trying to get Linux 2.6.11 up and running on mpc823e. I'm using the cross compiler
Supplied in ELDK (3.0) and u-boot. The problem is when enabling:

[ ] CPM SCC/SMC serial port support
and/or
[ ] CPM SCC Ethernet

The kernel compiles fine having these option disabled, but otherwise..see below

make arch=ppc CROSS_COMPILE=${CROSS_COMPILE}
.
.
.
CC      drivers/serial/serial_core.o
CC      drivers/serial/cpm_uart/cpm_uart_core.o
In file included from drivers/serial/cpm_uart/cpm_uart_cpm1.h:13,
                  from drivers/serial/cpm_uart/cpm_uart.h:17,
                  from drivers/serial/cpm_uart/cpm_uart_core.c:55:
include/asm/commproc.h:564:1: warning: "PA_ENET_RCLK" redefined In file included from include/asm/mpc8xx.h:36,
                  from include/asm/processor.h:16,
                  from include/linux/spinlock.h:16,
                  from include/linux/capability.h:45,
                  from include/linux/sched.h:7,
                  from include/linux/module.h:10,
                  from drivers/serial/cpm_uart/cpm_uart_core.c:33:
arch/ppc/platforms/tqm8xx.h:91:1: warning: this is the location of the 
previous definition
In file included from drivers/serial/cpm_uart/cpm_uart_cpm1.h:13,
                  from drivers/serial/cpm_uart/cpm_uart.h:17,
                  from drivers/serial/cpm_uart/cpm_uart_core.c:55:
include/asm/commproc.h:576:1: warning: "SICR_ENET_CLKRT" redefined In file included from include/asm/mpc8xx.h:36,
                  from include/asm/processor.h:16,
                  from include/linux/spinlock.h:16,
                  from include/linux/capability.h:45,
                  from include/linux/sched.h:7,
                  from include/linux/module.h:10,
                  from drivers/serial/cpm_uart/cpm_uart_core.c:33:
arch/ppc/platforms/tqm8xx.h:103:1: warning: this is the location of the 
previous definition
In file included from drivers/serial/cpm_uart/cpm_uart.h:17,
                  from drivers/serial/cpm_uart/cpm_uart_core.c:55:
drivers/serial/cpm_uart/cpm_uart_cpm1.h: In function `cpm_set_brg':
drivers/serial/cpm_uart/cpm_uart_cpm1.h:28: warning: implicit declaration 
of function `cpm_setbrg'
drivers/serial/cpm_uart/cpm_uart_core.c: In function `cpm_uart_set_termios':
drivers/serial/cpm_uart/cpm_uart_core.c:460: `SCU_PSMR_SL' undeclared 
(first use in this function)
drivers/serial/cpm_uart/cpm_uart_core.c:460: (Each undeclared identifier is reported only once
drivers/serial/cpm_uart/cpm_uart_core.c:460: for each function it appears in.)
drivers/serial/cpm_uart/cpm_uart_core.c:466: `SCU_PSMR_PEN' undeclared 
(first use in this function)
drivers/serial/cpm_uart/cpm_uart_core.c:470: `SCU_PSMR_REVP' undeclared 
(first use in this function)
drivers/serial/cpm_uart/cpm_uart_core.c:470: `SCU_PSMR_TEVP' undeclared 
(first use in this function)
drivers/serial/cpm_uart/cpm_uart_cpm1.h: At top level:
drivers/serial/cpm_uart/cpm_uart_core.c:732: warning: `cpm_uart_init_smc' 
defined but not used
drivers/serial/cpm_uart/cpm_uart_core.c:671: warning: `cpm_uart_init_scc' 
defined but not used
make[3]: *** [drivers/serial/cpm_uart/cpm_uart_core.o] Error 1
make[2]: *** [drivers/serial/cpm_uart] Error 2
make[1]: *** [drivers/serial] Error 2
make: *** [drivers] Error 2


There it is. Any ideas? 

Regards,
Bjorn Ostby






[-- Attachment #2: Type: text/html, Size: 8207 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-19 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19 12:23 Linux 2.6 and mpc823 compile error Björn Östby
2005-05-19 12:09 ` Pantelis Antoniou

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).