Commit Graph

29 Commits

Author SHA1 Message Date
Markus Fröschle
3a2eb0841a modified Makefile to generate an elf file that bdmctrl understands.
added mcf5474.bdm to initialize firebee and flash (doesn't work yet for unknown reason)
2012-10-21 19:12:40 +00:00
Markus Fröschle
2da716c957 renamed linker script 2012-10-20 17:34:12 +00:00
Markus Fröschle
33ae60b94d added comments 2012-10-19 12:14:30 +00:00
Markus Fröschle
9d68b4d37e simplified Makefile 2012-10-19 10:57:50 +00:00
Markus Fröschle
9d88f27ccd Modified Makefile and linker script ("make ram") to be able to compile with a ram address as target. Should ease BDM debugging roundtrip because no need to flash after a fresh compile. 2012-10-19 09:56:45 +00:00
Markus Fröschle
3f606a741c added $(STRT_OBJ) to clean target 2012-10-18 15:54:45 +00:00
Markus Fröschle
ec0ca75a56 removed last file 2012-10-18 15:49:21 +00:00
Markus Fröschle
044bdf8332 2012-10-16 17:33:55 +00:00
Markus Fröschle
6b379e90ed 2012-10-16 16:02:09 +00:00
Markus Fröschle
aaf91afdea added -mbitfield to init_fpga.o, it now compiles to nearly the same code than Fredi wrote. 2012-10-16 09:23:09 +00:00
Markus Fröschle
c4e048f152 bit checks to wait for FPGA ready were the wrong way round.
Allowed the compiler to use m68k bitfield instructions (-mbitfield). Now produces nearly the same code than Fredi's assembler sources.
2012-10-16 06:13:48 +00:00
Markus Fröschle
dfadd62504 changed srecord extension to .s19 according to Vincent's suggestion 2012-10-14 19:58:31 +00:00
Markus Fröschle
bcc72a7ced removed object files list from final linker call since that's misleading (controlled through link script itself) 2012-10-14 14:15:31 +00:00
Markus Fröschle
8c0dd9bf00 added functions (in cache.[ch]) to flush data and instruction caches for specific memory regions 2012-10-14 10:37:54 +00:00
Markus Fröschle
be0bd52d45 Made compiler more picky by adding -Wall to CFLAGS.
This showed up more warnings where some are already fixed.
2012-10-14 09:24:25 +00:00
Markus Fröschle
ae64ac19de still had the wrong CPU in the Makefile. Not its "-mcpu=5474" as suggested. 2012-10-14 08:35:41 +00:00
Markus Fröschle
67c3a3be4c fixed "clean" target to really clean
added a "depend" target
2012-10-14 07:01:07 +00:00
Markus Fröschle
69248eb436 fixed CFLAGS according to Vincent's suggestions 2012-10-14 06:45:34 +00:00
Markus Fröschle
cfded8379d started link script rewrite - needed lots of symbol changes because leading underscores in symbol names 2012-10-13 21:14:57 +00:00
Markus Fröschle
c3eaecc841 2012-10-13 07:34:40 +00:00
Markus Fröschle
f36542fcd2 2012-10-12 19:24:48 +00:00
Markus Fröschle
cd603546d7 changed types to use <stdint.h> 2012-10-12 15:45:50 +00:00
Markus Fröschle
94478bb950 fixed pattern rules 2012-10-12 06:55:17 +00:00
Markus Fröschle
eda6f3301d no objects really go to the objs directory 2012-10-12 06:49:15 +00:00
Markus Fröschle
6875343117 Fixed typo (SOBJS instead of AOBJS) 2012-10-12 06:43:48 +00:00
Markus Fröschle
08fdaf9af3 generate object files into objs directory 2012-10-12 06:35:02 +00:00
Markus Fröschle
c4765196cf fixed typo (assembler sources weren't initialized correctly) 2012-10-12 06:16:50 +00:00
Markus Fröschle
c4a7bebf16 rather optimize for size than speed for now 2012-10-12 06:13:44 +00:00
Markus Fröschle
1720443d6e GNU toolchain Makefile 2012-10-11 14:11:52 +00:00