cuImage not building
Thanks a lot Grant.
With your pointers I was able to fix the problem.
LK
________________________________
From: Grant Likely <[email protected]>
To: Laxmikant Rashinkar <[email protected]>
Cc: [email protected]
Sent: Thursday, October 23, 2008 7:26:42 PM
Subject: Re: cuImage not building
Quoted 16 lines · Laxmikant Rashinkar
Hi,
I have gotten our MPC8347 based board to work under Linux-2.6.27.1.
Since our board is similar to
mpc834x_mds, I initially modified files relevant tompc834x_mdsto get our board working.Now I'm trying to rename files so that they reflect our board names.
After this renaming, uImage gets built ok, but cuImage build fails. I enabled make's verbose flag to see what was going on and here are the error messages
+ powerpc-unknown-linux-gnu-ld -m elf32ppc -T
arch/powerpc/boot/zImage.lds-Ttext0x400000--defsym _start=0x400000 -oarch/ppc/boot/cuImage.snsparch/powerpc/boot/cuboot-snsp.o./zImage.15886.oarch/powerpc/boot/wrapper.apowerpc-unknown-linux-gnu-ld:arch/powerpc/boot/cuboot-snsp.o: No such file: No such file or directory
Quoted 8 lines
Here is the build invocation with
mpc834x_mdsfiles.+ powerpc-unknown-linux-gnu-ld -m elf32ppc -T
arch/powerpc/boot/zImage.lds-Ttext0x400000--defsym _start=0x400000 -oarch/ppc/boot/cuImage.mpc834x_mdsarch/powerpc/boot/cuboot-83xx.o./zImage.3158.oarch/powerpc/boot/wrapper.aFrom the two invocations, not working code gets called with
arch/powerpc/boot/cuboot-snsp.owhereas working code gets called witharch/powerpc/boot/cuboot-83xx.o.I have made relevant changes to appropriate Makefiles, but I still cant get cuImage to build.
Look at Documentation/powerpc/bootwrapper.txt and arch/powerpc/boot/wrapper. There is some magic stuff in the wrapper script which translates board names into the correct wrapper bits. This is particularly important for cuboot targets.
g.
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded