Commit Graph

65 Commits

Author SHA1 Message Date
Markus Fröschle
1f0d749a23 finished ELF toolchain integration 2012-10-30 20:43:23 +00:00
Markus Fröschle
718ec3c3f7 finished ELF toolchain integration 2012-10-30 20:26:43 +00:00
Markus Fröschle
633202750e refactored wait_i2c_transfer_finished() 2012-10-30 16:10:18 +00:00
Markus Fröschle
6d020456cc 2012-10-29 19:45:10 +00:00
Markus Fröschle
04cbd50beb removed unused include 2012-10-26 16:44:23 +00:00
Markus Fröschle
98ec5feaca 2012-10-26 15:14:13 +00:00
Markus Fröschle
70f3ff1c3f replaced register names by Coldfire macros.
updated comments
2012-10-26 15:06:54 +00:00
Markus Fröschle
42372f8be9 modified more printouts 2012-10-25 19:03:11 +00:00
Markus Fröschle
e6ffd026fd 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
debbe56a4f modified to incorporate printf routine 2012-10-25 16:38:45 +00:00
Markus Fröschle
02f5ee92f6 fixed comments 2012-10-25 06:32:04 +00:00
Markus Fröschle
b033ba948b fixed alignment for (at least for some) registers that can be used 8, 16 or 32 bit wide 2012-10-24 19:40:12 +00:00
Markus Fröschle
bb662f5dc6 added latest insights from disassembling the binary distribution 2012-10-23 10:28:35 +00:00
Vincent Rivière
4e849cd519 Fixed wrong value in init_pll(). 2012-10-22 22:20:27 +00:00
Vincent Rivière
26287ffed2 Fixed warning about unused variable. 2012-10-22 21:09:53 +00:00
Vincent Rivière
45cc5f720a Added comment about init_video_ddr(). 2012-10-22 21:09:07 +00:00
Vincent Rivière
60adf2dc6a Fixed wait_pll(). 2012-10-22 20:52:41 +00:00
Vincent Rivière
0218fc7462 Moved slice timer OK message. 2012-10-22 20:24:58 +00:00
Vincent Rivière
e352230dc8 Moved FireTOS and EmuTOS symbols to the linker script. 2012-10-22 19:01:03 +00:00
Vincent Rivière
d274824466 FireTOS never returns. 2012-10-22 18:42:42 +00:00
Vincent Rivière
78775ab17f Removed old FireTOS code. 2012-10-22 18:15:01 +00:00
Markus Fröschle
2ae321d69c moved .data where it belongs (to RAM) 2012-10-22 11:08:26 +00:00
Vincent Rivière
b28027ce5d Fixed FireTOS loader using minimal initialization. 2012-10-21 23:14:09 +00:00
Vincent Rivière
dbae718f31 Cleaned up jump into the BaS. 2012-10-20 15:59:03 +00:00
Vincent Rivière
f18929b8a5 Clean up BaS linker script symbols. 2012-10-20 15:50:36 +00:00
Vincent Rivière
5dcb6cf41d Fixed cache management. 2012-10-20 14:29:57 +00:00
Vincent Rivière
03daa59aaa Clean up CACR initialization. 2012-10-20 14:00:11 +00:00
Vincent Rivière
ced6b5dc9f Fixed inverted BaS source and destination. 2012-10-19 21:43:11 +00:00
Markus Fröschle
881d23ae0d update comments 2012-10-19 12:46:20 +00:00
Markus Fröschle
61550f83e6 simplified and corrected BaS copy 2012-10-19 08:42:35 +00:00
Markus Fröschle
6609ee07b0 fixed wrong BaS copy length. 2012-10-19 05:57:35 +00:00
Markus Fröschle
4d8beb0d8d fixed formatting 2012-10-18 15:48:14 +00:00
Markus Fröschle
f43d30b44c found a line been lost in dvi_on() 2012-10-18 14:00:47 +00:00
Markus Fröschle
e76ed0b5d9 modified to work with multi-section linker script 2012-10-18 11:44:00 +00:00
Markus Fröschle
967e705d02 modified _VRAM storage class to volatile 2012-10-17 20:31:30 +00:00
Markus Fröschle
2d5a8fc5be added missing call to init_pll() 2012-10-17 05:29:25 +00:00
Markus Fröschle
858154a5f0 2012-10-16 19:51:22 +00:00
Markus Fröschle
b3ffbe28f3 removed unused declarations 2012-10-16 15:52:35 +00:00
Markus Fröschle
88629e3c15 extracted init_fpga() 2012-10-16 09:20:36 +00:00
Markus Fröschle
d5deccb848 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
52316a4084 FPGA pins (clock, config) were the wrong way round for FPGA programming in init_fpga. Corrected. 2012-10-16 05:53:53 +00:00
Markus Fröschle
d43546b05c calculation of cache flush adresses was wrong 2012-10-15 06:21:40 +00:00
Markus Fröschle
1adcfe3ab5 calculation of BaS copy target adress and final jump was wrong. 2012-10-15 06:20:12 +00:00
Markus Fröschle
e1a84ff9ab (Hopefully) fixed wrong calculation of BaS copy adresses 2012-10-15 06:14:43 +00:00
Markus Fröschle
5170a5a763 2012-10-14 15:59:28 +00:00
Markus Fröschle
67a2d1ba85 2012-10-14 14:28:25 +00:00
Markus Fröschle
1bbb038052 got rid of a lot of unused variables and some compiler warnings 2012-10-14 14:25:51 +00:00
Markus Fröschle
9375f44cb9 added prototype for cache handling 2012-10-14 10:36:44 +00:00
Markus Fröschle
85781e58c6 called instruction _and_ data cache flush after BaS copy 2012-10-14 10:35:16 +00:00
Markus Fröschle
5c801f1d49 Translated BaS copy routines to C.
Added functionality to flush caches before jumping into copied code
2012-10-14 10:34:18 +00:00