* ELDK4.1, TQM860L, Kernel 2.6.19
@ 2007-03-20 4:21 Thomas Maenner
2007-03-20 15:26 ` Vitaly Bordug
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Maenner @ 2007-03-20 4:21 UTC (permalink / raw)
To: linuxppc-embedded
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.o
arch/ppc/boot/simple/m8xx_tty.c:32: error: static declaration of 'cpmp'
follows non-static declaration
include/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
--
Thomas Maenner
E-Mail: mailto:tmaenner@aehr•com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ELDK4.1, TQM860L, Kernel 2.6.19
2007-03-20 4:21 ELDK4.1, TQM860L, Kernel 2.6.19 Thomas Maenner
@ 2007-03-20 15:26 ` Vitaly Bordug
2007-03-20 19:33 ` Thomas Maenner
0 siblings, 1 reply; 3+ messages in thread
From: Vitaly Bordug @ 2007-03-20 15:26 UTC (permalink / raw)
To: Thomas Maenner; +Cc: linuxppc-embedded
On Mon, 19 Mar 2007 21:21:01 -0700
Thomas Maenner <tmaenner@aehr•com> wrote:
> 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.o
> arch/ppc/boot/simple/m8xx_tty.c:32: error: static declaration of 'cpmp'
> follows non-static declaration
> include/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... ;)
>
Well, after make foo_defconfig I usually do make uImage since with u-boot equipped boards full
zImage is not required.
--
Sincerely,
Vitaly
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ELDK4.1, TQM860L, Kernel 2.6.19
2007-03-20 15:26 ` Vitaly Bordug
@ 2007-03-20 19:33 ` Thomas Maenner
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Maenner @ 2007-03-20 19:33 UTC (permalink / raw)
To: Vitaly Bordug; +Cc: linuxppc-embedded
Oops... Thanks Vitaly for the reminder.
Compiles fine now
Tom
On Tuesday 20 March 2007 08:26, Vitaly Bordug wrote:
> On Mon, 19 Mar 2007 21:21:01 -0700
>
> Thomas Maenner <tmaenner@aehr•com> wrote:
> > 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.o
> > arch/ppc/boot/simple/m8xx_tty.c:32: error: static declaration of 'cpmp'
> > follows non-static declaration
> > include/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... ;)
>
> Well, after make foo_defconfig I usually do make uImage since with u-boot
> equipped boards full zImage is not required.
--
Thomas Maenner
E-Mail: mailto:tmaenner@aehr•com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-20 19:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-20 4:21 ELDK4.1, TQM860L, Kernel 2.6.19 Thomas Maenner
2007-03-20 15:26 ` Vitaly Bordug
2007-03-20 19:33 ` Thomas Maenner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox