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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050519/17bf9fc2/attachment.htm