
that could very well be the error i get when i build with gcc version 3.4.0
if you can, try to build with gcc version 2.95.3 20010315 (coldfire patches - 20010318 from http://fiddes.net/coldfire/)
i dont think its caused by anything i did, but maybe. do other coldfire targets like 5282 compile for you?
i'd like you to be using 5235 u-boot along with me, so let me know if you can get the old compiler. if not, maybe we can figure out how to get the new one working. that wouldnt be a bad idea for me anyway.
wilson
On Oct 4, 2006, at 8:35 AM, Pradyumna Sampath wrote:
Hi Wilson,
I was just going through some list archives for u-boot where I chanced upon ur email http://comments.gmane.org/gmane.comp.boot-loaders.u- boot/20593 . I have a MCF5235 with me and u-boot seems to be the most popular bootloader with ethernet and tftp support. I patched the u-boot-1.1.4 with the patch that u sent out to the mailing list and I have encountered a peculiar error. I will be very happy if u can give me any pointers on this.
Here is the error :
Leaving directory `/home/rachana/u-boot-1.1.4/post/cpu' m68k-elf-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -ffixed-d7 -msep-data -D__KERNEL__ -DTEXT_BASE=0x20000 -I/home/rachana/u-boot-1.1.4/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -pipe -DCONFIG_M68K -D__M68K__ -m5307 -c -o cpu/mcf52x2/start.o /home/rachana/u-boot-1.1.4/cpu/mcf52x2/start.S /home/rachana/u-boot-1.1.4/cpu/mcf52x2/start.S: Assembler messages: /home/rachana/u-boot-1.1.4/cpu/mcf52x2/start.S:349: Fatal error: Tried to convert PC relative conditional branch to absolute jump make: *** [cpu/mcf52x2/start.o] Error 1
Thanks in advance, Regards Prady

On 10/4/06, Wilson Callan wcallan@racepointmedia.com wrote:
that could very well be the error i get when i build with gcc version 3.4.0
Yeah that might be the case because Im using 3.4.0.
if you can, try to build with gcc version 2.95.3 20010315 (coldfire patches - 20010318 from http://fiddes.net/coldfire/)
The above link is broken I think.
i dont think its caused by anything i did, but maybe. do other coldfire targets like 5282 compile for you?
well no even the 5282EVB doesnt work for me ,so Im guessing it might be something with the compiler.
i'd like you to be using 5235 u-boot along with me, so let me know if you can get the old compiler. if not, maybe we can figure out how to get the new one working. that wouldnt be a bad idea for me anyway.
Yeah. Btw, Im not on the u-boot mailing list but I will get onto it soon.
regards Prady
wilson
On Oct 4, 2006, at 8:35 AM, Pradyumna Sampath wrote:
Hi Wilson,
I was just going through some list archives for u-boot where I chanced upon ur email http://comments.gmane.org/gmane.comp.boot-loaders.u- boot/20593 . I have a MCF5235 with me and u-boot seems to be the most popular bootloader with ethernet and tftp support. I patched the u-boot-1.1.4 with the patch that u sent out to the mailing list and I have encountered a peculiar error. I will be very happy if u can give me any pointers on this.
Here is the error :
Leaving directory `/home/rachana/u-boot-1.1.4/post/cpu' m68k-elf-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -ffixed-d7 -msep-data -D__KERNEL__ -DTEXT_BASE=0x20000 -I/home/rachana/u-boot-1.1.4/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -pipe -DCONFIG_M68K -D__M68K__ -m5307 -c -o cpu/mcf52x2/start.o /home/rachana/u-boot-1.1.4/cpu/mcf52x2/start.S /home/rachana/u-boot-1.1.4/cpu/mcf52x2/start.S: Assembler messages: /home/rachana/u-boot-1.1.4/cpu/mcf52x2/start.S:349: Fatal error: Tried to convert PC relative conditional branch to absolute jump make: *** [cpu/mcf52x2/start.o] Error 1
Thanks in advance, Regards Prady

Hi Wilson,
http://mailman.uclinux.org/pipermail/uclinux-dev/2005-June/033034.html . I found this on the ucLinux mailing list and I removed the -msep-data from cpu/mcf52x2/config.mk .
Now u-boot compiles. Does this "-msep-data" make too much of a difference ? Is this workaround ok ?
regards Prady
On 10/4/06, Pradyumna Sampath pradysam@gmail.com wrote:
On 10/4/06, Wilson Callan wcallan@racepointmedia.com wrote:
that could very well be the error i get when i build with gcc version 3.4.0
Yeah that might be the case because Im using 3.4.0.
if you can, try to build with gcc version 2.95.3 20010315 (coldfire patches - 20010318 from http://fiddes.net/coldfire/)
The above link is broken I think.
i dont think its caused by anything i did, but maybe. do other coldfire targets like 5282 compile for you?
well no even the 5282EVB doesnt work for me ,so Im guessing it might be something with the compiler.
i'd like you to be using 5235 u-boot along with me, so let me know if you can get the old compiler. if not, maybe we can figure out how to get the new one working. that wouldnt be a bad idea for me anyway.
Yeah. Btw, Im not on the u-boot mailing list but I will get onto it soon.
regards Prady
wilson
On Oct 4, 2006, at 8:35 AM, Pradyumna Sampath wrote:
Hi Wilson,
I was just going through some list archives for u-boot where I chanced upon ur email http://comments.gmane.org/gmane.comp.boot-loaders.u- boot/20593 . I have a MCF5235 with me and u-boot seems to be the most popular bootloader with ethernet and tftp support. I patched the u-boot-1.1.4 with the patch that u sent out to the mailing list and I have encountered a peculiar error. I will be very happy if u can give me any pointers on this.
Here is the error :
Leaving directory `/home/rachana/u-boot-1.1.4/post/cpu' m68k-elf-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -ffixed-d7 -msep-data -D__KERNEL__ -DTEXT_BASE=0x20000 -I/home/rachana/u-boot-1.1.4/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -pipe -DCONFIG_M68K -D__M68K__ -m5307 -c -o cpu/mcf52x2/start.o /home/rachana/u-boot-1.1.4/cpu/mcf52x2/start.S /home/rachana/u-boot-1.1.4/cpu/mcf52x2/start.S: Assembler messages: /home/rachana/u-boot-1.1.4/cpu/mcf52x2/start.S:349: Fatal error: Tried to convert PC relative conditional branch to absolute jump make: *** [cpu/mcf52x2/start.o] Error 1
Thanks in advance, Regards Prady
participants (2)
-
Pradyumna Sampath
-
Wilson Callan