ELDK4.1, TQM860L, Kernel 2.6.19
Hi,
I've downloaded ELDK4.1 and tried to compile the included kernel 2.6.19.2 with:
make mrproper
make TQM860L_defconfig
make
(No other changes)
At the end of the compile I get:
---snip---
UIMAGE arch/ppc/boot/images/uImage
Image Name: Linux-2.6.19.2 Created: Mon Mar 19 15:50:14 2007 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 979098 Bytes = 956.15 kB = 0.93 MB Load Address: 0x00000000 Entry Point: 0x00000000 Image: arch/ppc/boot/images/uImage is ready AS arch/ppc/boot/simple/head.o AS arch/ppc/boot/simple/relocate.o CC arch/ppc/boot/simple/misc-embedded.o CC arch/ppc/boot/simple/embed_config.o
arch/ppc/boot/simple/embed_config.c:31: warning: 'bdinfo' defined but not used arch/ppc/boot/simple/embed_config.c:44: warning: 'def_enet_addr' defined but not used
CC arch/ppc/boot/simple/m8xx_tty.oarch/ppc/boot/simple/m8xx_tty.c:32: error: static declaration of 'cpmp' follows non-static declarationinclude/asm/commproc.h:74: error: previous declaration of 'cpmp' was here make[2]: *** [arch/ppc/boot/simple/m8xx_tty.o] Error 1
make[1]: *** [simple] Error 2
make: *** [zImage] Error 2
-------
Just in order to get it to compile, I took out static in arch/ppc/boot/simple/m8xx_tty.c:
line 32: cpm8xx_t *cpmp = (cpm8xx_t *)&(((immap_t
*)IMAP_ADDR)->im_cpm);
BTW, same thing happens if TQM823 config is used.
I'm probably doing something wrong here... ;)
Thanks for your help
Tom
Signature · 2 lines
Thomas Maenner E-Mail: mailto:[email protected]
Quoted 35 lines · On Mon, 19 Mar 2007 21:21:01 -0700 Thomas Maenner <[email protected]> wrote:
Hi,
I've downloaded ELDK4.1 and tried to compile the included kernel 2.6.19.2 with:
make mrproper
makeTQM860L_defconfig
make
(No other changes)At the end of the compile I get:
---snip---
UIMAGEarch/ppc/boot/images/uImageImage Name: Linux-2.6.19.2 Created: Mon Mar 19 15:50:14 2007 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 979098 Bytes = 956.15 kB = 0.93 MB Load Address: 0x00000000 Entry Point: 0x00000000 Image: arch/ppc/boot/images/uImage is ready AS arch/ppc/boot/simple/head.o AS arch/ppc/boot/simple/relocate.o CC arch/ppc/boot/simple/misc-embedded.o CC arch/ppc/boot/simple/embed_config.o
arch/ppc/boot/simple/embed_config.c:31: warning: 'bdinfo' defined but not usedarch/ppc/boot/simple/embed_config.c:44: warning: 'def_enet_addr' defined but not used
CCarch/ppc/boot/simple/m8xx_tty.oarch/ppc/boot/simple/m8xx_tty.c:32: error: static declaration of 'cpmp' follows non-static declarationinclude/asm/commproc.h:74: error: previous declaration of 'cpmp' was here make[2]: *** [arch/ppc/boot/simple/m8xx_tty.o] Error 1
make[1]: *** [simple] Error 2
make: *** [zImage] Error 2
-------
Quoted 9 lines
Just in order to get it to compile, I took out static in
arch/ppc/boot/simple/m8xx_tty.c:
line 32:cpm8xx_t*cpmp = (cpm8xx_t*)&(((immap_t
*)IMAP_ADDR)->im_cpm);BTW, same thing happens if TQM823 config is used.
I'm probably doing something wrong here... ;)
Well, after make foo_defconfig I usually do make uImage since with u-boot equipped boards full zImage is not required.
Signature · 2 lines
Sincerely, Vitaly
Oops... Thanks Vitaly for the reminder.
Compiles fine now
Tom
Quoted 49 lines · Vitaly Bordug
On Mon, 19 Mar 2007 21:21:01 -0700
Quoted 35 lines · Thomas Maenner
Hi,
I've downloaded ELDK4.1 and tried to compile the included kernel 2.6.19.2 with:
make mrproper
makeTQM860L_defconfig
make
(No other changes)At the end of the compile I get:
---snip---
UIMAGEarch/ppc/boot/images/uImageImage Name: Linux-2.6.19.2 Created: Mon Mar 19 15:50:14 2007 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 979098 Bytes = 956.15 kB = 0.93 MB Load Address: 0x00000000 Entry Point: 0x00000000 Image: arch/ppc/boot/images/uImage is ready AS arch/ppc/boot/simple/head.o AS arch/ppc/boot/simple/relocate.o CC arch/ppc/boot/simple/misc-embedded.o CC arch/ppc/boot/simple/embed_config.o
arch/ppc/boot/simple/embed_config.c:31: warning: 'bdinfo' defined but not usedarch/ppc/boot/simple/embed_config.c:44: warning: 'def_enet_addr' defined but not used
CCarch/ppc/boot/simple/m8xx_tty.oarch/ppc/boot/simple/m8xx_tty.c:32: error: static declaration of 'cpmp' follows non-static declarationinclude/asm/commproc.h:74: error: previous declaration of 'cpmp' was here make[2]: *** [arch/ppc/boot/simple/m8xx_tty.o] Error 1 make[1]: *** [simple] Error 2
make: *** [zImage] Error 2
-------Quoted 8 lines
Just in order to get it to compile, I took out static in
arch/ppc/boot/simple/m8xx_tty.c:
line 32:cpm8xx_t*cpmp = (cpm8xx_t*)&(((immap_t
*)IMAP_ADDR)->im_cpm);BTW, same thing happens if TQM823 config is used.
I'm probably doing something wrong here... ;)
Well, after make
foo_defconfigI usually do make uImage since with u-boot equipped boards full zImage is not required.
Signature · 2 lines
Thomas Maenner E-Mail: mailto:[email protected]