* Re: vmlinx and ppcboot
[not found] <3E1F6BCB.3070107@redswitch.com>
@ 2003-01-11 9:04 ` Wolfgang Denk
2003-01-13 18:09 ` Xiaogeng (Shawn) Jin
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2003-01-11 9:04 UTC (permalink / raw)
To: Xiaogeng (Shawn) Jin; +Cc: linuxppc-embedded
In message <3E1F6BCB.3070107@redswitch.com> 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: wd@denx.de
"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/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: vmlinx and ppcboot
2003-01-11 9:04 ` vmlinx and ppcboot Wolfgang Denk
@ 2003-01-13 18:09 ` Xiaogeng (Shawn) Jin
2003-01-13 18:44 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Xiaogeng (Shawn) Jin @ 2003-01-13 18:09 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-embedded
> 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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: vmlinx and ppcboot
2003-01-13 18:09 ` Xiaogeng (Shawn) Jin
@ 2003-01-13 18:44 ` Wolfgang Denk
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2003-01-13 18:44 UTC (permalink / raw)
To: Xiaogeng (Shawn) Jin; +Cc: linuxppc-embedded
In message <3E2300D9.70307@redswitch.com> 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.
> 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.
> 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.
> 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: wd@denx.de
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* vmlinx and ppcboot
@ 2003-01-11 0:05 Xiaogeng (Shawn) Jin
2003-01-11 0:19 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Xiaogeng (Shawn) Jin @ 2003-01-11 0:05 UTC (permalink / raw)
To: linuxppc-embedded
If I has ppcboot working and has a vmlinux.gz, do I need any other
working boot code from the kernel tree? I mean, if my making a linux
kernel image 'make zImage' fails at the last step (building a zvmlinux),
is the vmlinux.gz image built valid for ppcboot to boot the kernel?
Thanks.
- Shawn.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: vmlinx and ppcboot
2003-01-11 0:05 Xiaogeng (Shawn) Jin
@ 2003-01-11 0:19 ` Wolfgang Denk
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2003-01-11 0:19 UTC (permalink / raw)
To: Xiaogeng (Shawn) Jin; +Cc: linuxppc-embedded
In message <3E1F5FD6.4080107@redswitch.com> you wrote:
>
> If I has ppcboot working and has a vmlinux.gz, do I need any other
> working boot code from the kernel tree? I mean, if my making a linux
No.
> kernel image 'make zImage' fails at the last step (building a zvmlinux),
> is the vmlinux.gz image built valid for ppcboot to boot the kernel?
No.
PPCBoot does not accept a vmlinux.gz image. It requieres an image
created by the mkimage tool. See the README that comes with PPCBoot.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Even if you aren't in doubt, consider the mental welfare of the per-
son who has to maintain the code after you, and who will probably put
parens in the wrong place. - Larry Wall in the perl man page
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-01-13 18:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3E1F6BCB.3070107@redswitch.com>
2003-01-11 9:04 ` vmlinx and ppcboot Wolfgang Denk
2003-01-13 18:09 ` Xiaogeng (Shawn) Jin
2003-01-13 18:44 ` Wolfgang Denk
2003-01-11 0:05 Xiaogeng (Shawn) Jin
2003-01-11 0:19 ` Wolfgang Denk
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).