ppc-82xx_objcopy hangs
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/
Quoted 8 lines · In message <[email protected]> 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: [email protected]
"Tell the truth and run." - Yugoslav proverb
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
baud rate question
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/
Quoted 3 lines
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/