* ppc-82xx_objcopy hangs
@ 2004-05-13 11:07 Marc Leeman
2004-05-13 16:16 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Marc Leeman @ 2004-05-13 11:07 UTC (permalink / raw)
To: linuxppc-embedded
I am in the process of porting our MPC8245 system to the MVista 3.1
(from 2.1). Just like with the kernel, this requires major code cleanup
in the kernel (sources I 'inherited' when starting :( ).
After cleaning the kernel sources and patching the 3.1 kernel, I want to
cleanup ppcboot and move to u-boot. I intend to do this in a 2-step
process.
1. compile a clean patch from ppcboot-2.0.0 to ppcboot-2.0.0-custom
2. port the patch to u-boot
I have the following problem:
1. ppcboot-2.0.0 compiles cleanly on the 3.1 env. for a board (a README
config).
2. when compiling the ppcboot-2.0.0-custom sources (with support for our
system), the compilation succeeds, but
ppc_82xx-objcopy --gap-fill=0xff -O srec ppcboot ppcboot.srec
gets stuck.
Idem for a system where I only brought in a couple of changes from the
old sources. Any ideas as to what code might cause this problem?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ppc-82xx_objcopy hangs
2004-05-13 11:07 ppc-82xx_objcopy hangs Marc Leeman
@ 2004-05-13 16:16 ` Wolfgang Denk
2004-05-13 16:39 ` baud rate question Brian Hawley
2004-05-14 13:29 ` ppc-82xx_objcopy hangs Marc Leeman
0 siblings, 2 replies; 4+ messages in thread
From: Wolfgang Denk @ 2004-05-13 16:16 UTC (permalink / raw)
To: Marc Leeman; +Cc: linuxppc-embedded
In message <20040513110725.GU4043@smtp.barco.com> you wrote:
>
> 2. when compiling the ppcboot-2.0.0-custom sources (with support for our
> system), the compilation succeeds, but
> ppc_82xx-objcopy --gap-fill=0xff -O srec ppcboot ppcboot.srec
> gets stuck.
>
> Idem for a system where I only brought in a couple of changes from the
> old sources. Any ideas as to what code might cause this problem?
Seems you version of objcopy is broken. Try using the native objcopy,
or the cross objcopy from the ELDK.
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
"Tell the truth and run." - Yugoslav proverb
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* baud rate question
2004-05-13 16:16 ` Wolfgang Denk
@ 2004-05-13 16:39 ` Brian Hawley
2004-05-14 13:29 ` ppc-82xx_objcopy hangs Marc Leeman
1 sibling, 0 replies; 4+ messages in thread
From: Brian Hawley @ 2004-05-13 16:39 UTC (permalink / raw)
To: linuxppc-embedded
Forgive the obvious newbie question, but we've tried everything, reviewed
the readme's, etc.
We are using the linux-2.5-ocp tree from bk.
We are using u-boot 1.0.0.
We set u-boot to 38400 in the config. linux wants to be 9600 by
default. So, we realize
that we can't see the kernel boot up.
We've tried changing u-boot back to 9600, but haven't been able to.
Is there a way to tell linux to come up at a different baud rate? We've
tried the earlyserialpk option, and the console options...but no luck.
Thanks for any assistance.
-- Brian
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ppc-82xx_objcopy hangs
2004-05-13 16:16 ` Wolfgang Denk
2004-05-13 16:39 ` baud rate question Brian Hawley
@ 2004-05-14 13:29 ` Marc Leeman
1 sibling, 0 replies; 4+ messages in thread
From: Marc Leeman @ 2004-05-14 13:29 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-embedded
> Seems you version of objcopy is broken. Try using the native objcopy,
> or the cross objcopy from the ELDK.
Wolfgang,
It seems you were right, your version of the GCC compiler does not
produce this problem [1], while the MVista tools do [2]. I guess it's
time to issue a bug report.
[1] [malm@bpscltpd u-boot-1.1.1]$ ppc_82xx-gcc --version
ppc_82xx-gcc (GCC) 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a_1)
Copyright (C) 2002 Free Software Foundation, Inc., in ELDK
[2] [malm@bpscltpd ppcboot]$ ppc_82xx-gcc --version
ppc_82xx-gcc (GCC) 3.3.1 (MontaVista 3.3.1-3.0.13.0400526 2004-04-16)
Copyright (C) 2003 Free Software Foundation, Inc., in MVista 3.1
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-05-14 13:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-13 11:07 ppc-82xx_objcopy hangs Marc Leeman
2004-05-13 16:16 ` Wolfgang Denk
2004-05-13 16:39 ` baud rate question Brian Hawley
2004-05-14 13:29 ` ppc-82xx_objcopy hangs Marc Leeman
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).