Skip to contentSkip to conversation

vmlinx and ppcboot

DISCUSSION Wolfgang Denk 2 participants 3 messages Jan 11, 2003 – Jan 13, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

Sorry for not stating clearly. The image I refered to is the image made from vmlinux.gz by the mkimage tool.

You mentioned that "'make zImage' fails at the last step (building a zvmlinux)" which has nothing to do with PPCBoot.

Please try to specify your problem again, more clearly, with all details like the commands you enter and the error messages that are printed.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] "Unix is simple, but it takes a genius to understand the simplicity."
- Dennis Ritchie

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 4 lines

Please try to specify your problem again, more clearly, with all details like the commands you enter and the error messages that are printed.

After 'make zImage', here comes the error message.

ppc_8xx-ld -T ../ld.script -Ttext 0x00180000 -Bstatic -o zvmlinux head.o ../comm
on/relocate.o misc-embedded.o ../common/misc-common.o ../common/string.o ../com
mon/util.o embed_config.o m8xx_tty.o image.o ../lib/zlib.a misc-embedded.o: In function `decompress_kernel':
misc-embedded.o(.text+0x28): undefined reference to `embed_config' make[2]: *** [zvmlinux] Error 1

The comments on embed_config.c say that functions in that file are for those embedded 8xx boards that do not have boot monitor support for board information. The embed_config() just sets some values of bd_t. Since I already have ppcboot running, I think I don't need any embed_config stuff, or even boot stuff. Right?

Thank you very much.

- Shawn.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#3 lore raw
Quoted 2 lines · In message <[email protected]> you wrote:

After 'make zImage', here comes the error message.

zImage is not the correct build target if you intend to use U-Boot / PPCBoot. Try "make pImage" instead.

Quoted 3 lines

misc-embedded.o: In function `decompress_kernel':
misc-embedded.o(.text+0x28): undefined reference to `embed_config' make[2]: *** [zvmlinux] Error 1

This is not appropriate for use with U-Boot / PPCBoot.

Quoted 2 lines

The comments on embed_config.c say that functions in that file are for those embedded 8xx boards that do not have boot monitor support for

Right.

Quoted 2 lines

Since I already have ppcboot running, I think I don't need any embed_config stuff, or even boot stuff. Right?

Right.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] The human mind treats a new idea the way the body treats a strange
protein - it rejects it. - P. Medawar

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/