Commit Graph

50 Commits

Author SHA1 Message Date
Vincent Rivière
4a114b01c2 Added missing dependency to $(LDCSRC). 2012-11-07 20:02:42 +00:00
Vincent Rivière
4e229c8a9b Removed STRT_SRC and STRT_OBJ. 2012-11-07 19:53:43 +00:00
Vincent Rivière
7eaaffbc8c Create ram.elf.s19 with ELF tools. 2012-11-05 20:20:29 +00:00
Vincent Rivière
23a66f28b4 Replaced -fno-builtin by -ffreestanding to allow usage of stdint.h when the standard library is not available. 2012-11-05 19:44:08 +00:00
Markus Fröschle
87fb2f73f9 re-enabled MMU 2012-11-04 11:23:48 +00:00
Markus Fröschle
a096d8f517 fixed -mpcrel cflags for cache.c and bas_printf.c 2012-11-03 22:41:08 +00:00
Markus Fröschle
809e93715e compile cache.c -mpcrel 2012-11-03 22:35:47 +00:00
Markus Fröschle
0fed51733a got rid of uart_out_word() 2012-10-31 22:04:53 +00:00
Markus Fröschle
a831e2c3a4 removed unnecessary .PHONY statements 2012-10-30 14:07:34 +00:00
Markus Fröschle
d7c6395845 modified to support both m68k-elf (needed for source level debugging) as well as m68k-atari-mint toolchains 2012-10-30 11:55:29 +00:00
Markus Fröschle
f06695c5a2 modified to support both m68k-elf (needed for source level debugging) as well as m68k-atari-mint toolchains 2012-10-30 11:44:40 +00:00
Markus Fröschle
1f6810ab32 Makefile modified so it can use the m68k-elf toolchain optionally 2012-10-29 17:58:36 +00:00
Markus Fröschle
481331dbf5 integrated printf routines. Only tested yet for "before copy"-case (which is more difficult than afterwards). 2012-10-25 18:12:16 +00:00
Markus Fröschle
410323d676 modified to incorporate printf routine 2012-10-25 16:38:45 +00:00
Markus Fröschle
42f3495f12 added free (BSD-source) tiny-printf to support better diagnostic messages 2012-10-25 12:01:48 +00:00
Markus Fröschle
e71bc9a4f2 finished incorporating sd_card routines 2012-10-24 13:49:22 +00:00
Markus Fröschle
eb9d685714 delete ram.s19.elf on "make clean" 2012-10-22 15:08:29 +00:00
Vincent Rivière
3d6fd22f22 Do not generated dependencies for make clean. 2012-10-22 11:47:10 +00:00
Vincent Rivière
0ee131f959 Remove bas.s19.elf on make clean. 2012-10-22 11:42:07 +00:00
Vincent Rivière
73087fb3c7 Fixed warning about depend file not found. 2012-10-22 11:39:37 +00:00
Vincent Rivière
11ba68a433 Compile with -fno-strict-aliasing to avoid potential trouble. 2012-10-22 11:35:55 +00:00
Markus Fröschle
9396a434c0 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
2053b8beae renamed linker script 2012-10-20 17:34:12 +00:00
Markus Fröschle
ae71475282 added comments 2012-10-19 12:14:30 +00:00
Markus Fröschle
c228773d0a simplified Makefile 2012-10-19 10:57:50 +00:00
Markus Fröschle
d82667b72c 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
da841803ee added $(STRT_OBJ) to clean target 2012-10-18 15:54:45 +00:00
Markus Fröschle
6ff8537c2a removed last file 2012-10-18 15:49:21 +00:00
Markus Fröschle
4895dfbb5e 2012-10-16 17:33:55 +00:00
Markus Fröschle
9b48b76b8c 2012-10-16 16:02:09 +00:00
Markus Fröschle
cad7ba2505 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
14286957a7 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
25e5c80dc5 changed srecord extension to .s19 according to Vincent's suggestion 2012-10-14 19:58:31 +00:00
Markus Fröschle
6d9ecd0b55 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
12c280c405 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
36c633c54d 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
160bf24b81 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
e311f9d5a2 fixed "clean" target to really clean
added a "depend" target
2012-10-14 07:01:07 +00:00
Markus Fröschle
da3aaaf364 fixed CFLAGS according to Vincent's suggestions 2012-10-14 06:45:34 +00:00
Markus Fröschle
46b6de8811 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
7773839110 2012-10-13 07:34:40 +00:00
Markus Fröschle
bdeb50776f 2012-10-12 19:24:48 +00:00
Markus Fröschle
5e0678be07 changed types to use <stdint.h> 2012-10-12 15:45:50 +00:00
Markus Fröschle
0e018d2d92 fixed pattern rules 2012-10-12 06:55:17 +00:00
Markus Fröschle
91bc18063c no objects really go to the objs directory 2012-10-12 06:49:15 +00:00
Markus Fröschle
0ac6ebee4f Fixed typo (SOBJS instead of AOBJS) 2012-10-12 06:43:48 +00:00
Markus Fröschle
4c5ea02958 generate object files into objs directory 2012-10-12 06:35:02 +00:00
Markus Fröschle
372b678496 fixed typo (assembler sources weren't initialized correctly) 2012-10-12 06:16:50 +00:00
Markus Fröschle
7f3afe424a rather optimize for size than speed for now 2012-10-12 06:13:44 +00:00
Markus Fröschle
7d85da4d03 GNU toolchain Makefile 2012-10-11 14:11:52 +00:00