Reset code in libc
Stefan Bohne
Stefan.Bohne at senTec-elektronik.de
Mon Jun 14 09:39:44 UTC 2010
Hello,
I'm starting with CodeSourcercy for Coldfire and try to a simple program
to run on a custom 5485 board. I came so far that I have adapted the
board description file and linker script of the m5485evb, but now the
linker complains about a bootrom section whcih I removed, because my
custom board has only 1 flash, whereas the evb has 2.
c:/progra~1/codeso~1/source~1/bin/../lib/gcc/m68k-elf/4.4.1/../../../../m68k-elf
/lib/m5475\libcs3.a(m5485evb-reset.o): In function `__cs3_reset_m5485evb':
(.cs3.reset+0x40): undefined reference to `__cs3_region_start_bootrom'
collect2: ld returned 1 exit status
I have to adapt the reset code as well but I can't because I don't have
the sources. I downloaded the source archive, but they are huge and I'm
not familiar with the code structure of gcc. So my question is: where
can I find m5485evb-reset.c (or maybe .S)?
Thanks,
Stefan
More information about the coldfire-gnu-discuss
mailing list