Commit Graph

838 Commits

Author SHA1 Message Date
Markus Fröschle
aff7901551 added printout of exception PC 2013-12-07 19:45:57 +00:00
Markus Fröschle
8dd6f3074c added copy of EmuTOS for m5484lite 2013-12-07 19:45:09 +00:00
Markus Fröschle
3b8100568a modified memory map to enable load of patched EmuTOS 2013-12-07 08:39:47 +00:00
Markus Fröschle
fc25d61a23 corrected m5484lite SDRAM initialization 2013-12-07 07:08:30 +00:00
Markus Fröschle
6f0fbe60ed optimize for space instead of speed (for now) 2013-12-07 07:07:35 +00:00
Markus Fröschle
fbd120b7b9 corrected indents 2013-12-07 07:06:35 +00:00
Markus Fröschle
98a84cb523 renamed to properly identify m5484lite and firebee scripts 2013-12-07 07:05:36 +00:00
Markus Fröschle
665858d9e0 discarded - writing exception handlers in C turned out going not as well as assumed 2013-12-07 07:00:28 +00:00
Markus Fröschle
eb809cf7b4 modified to suppress debug prints if not needed 2013-12-07 06:57:50 +00:00
Markus Fröschle
734e415f08 modified to correctly initialize m5484lite SDRAM 2013-12-07 06:52:37 +00:00
Markus Fröschle
5febda57cb fixed comments 2013-11-23 06:13:30 +00:00
Markus Fröschle
99dcb1cc87 hide debug output in ifdefs 2013-11-22 12:57:05 +00:00
Markus Fröschle
7f01222e0d added debug_printf() to enable suppresion of output with preprocessor statements 2013-11-22 10:07:38 +00:00
Markus Fröschle
f610c37e8e implemented std_exception_handler() in C 2013-11-22 10:05:53 +00:00
Markus Fröschle
416b1cc982 added debug_printf() to be able to suppress unneded debug printouts 2013-11-22 10:04:14 +00:00
Markus Fröschle
7197610c76 gcc inline assembly tends to use output registers as input if not explicitely told to avoid is: "=&" as constraint to the output register avoids that. 2013-11-22 10:03:10 +00:00
Markus Fröschle
4ba1c812ef formatted 2013-11-21 20:02:35 +00:00
Markus Fröschle
e4938979de modified register constraints 2013-11-21 20:02:03 +00:00
Markus Fröschle
0f2693bce8 removed __interrupt__ attribute from mmutr_miss() 2013-11-21 19:59:26 +00:00
Markus Fröschle
2d5d8d6267 added wait() for FireBee USB again 2013-11-21 19:57:39 +00:00
Markus Fröschle
b0965d2106 modified set_ipl() register constraints (code was overwriting input operand) 2013-11-21 19:45:09 +00:00
Markus Fröschle
24377aee92 new exceptions.c also brings set_ipl() instead of asm_set_ipl() 2013-11-20 06:55:46 +00:00
Markus Fröschle
523f73a9ae new inline asm version of set_ipl() (was asm_set_ipl()) 2013-11-20 06:54:48 +00:00
Markus Fröschle
43dfd86251 start of rewrite of exceptions.S in C 2013-11-20 05:52:32 +00:00
Markus Fröschle
5bd4bc38b5 changed debug printout 2013-11-19 18:18:12 +00:00
Markus Fröschle
a242398ab1 changed printout formatting 2013-11-19 17:23:53 +00:00
Markus Fröschle
f5f9eb801a added register save and restore 2013-11-19 17:20:58 +00:00
Markus Fröschle
3a50c33a6a missed TLB was added cachable writethrough instead of chacheable copyback 2013-11-19 17:20:18 +00:00
Markus Fröschle
1ad308bf6e stack was misaligned 2013-11-19 14:59:20 +00:00
Markus Fröschle
8bbf52a8cb added gnu header 2013-11-19 14:41:05 +00:00
Markus Fröschle
2790561389 fixed prototype 2013-11-19 14:31:37 +00:00
Markus Fröschle
c22102ee50 replaced mmu.S with mmu.c 2013-11-19 11:39:22 +00:00
Markus Fröschle
22ea939cb9 as mmu.c has been rewritten (from mmu.S) in C, we need an additional include file 2013-11-19 11:38:29 +00:00
Markus Fröschle
ebfbb97d63 rewritten completely (including MMU TLB exception handler) in C.
Besides the save of fp registers, the gcc generated code is at least as efficient than the asm.
2013-11-19 11:36:43 +00:00
Markus Fröschle
ccf7724956 fixed comments 2013-11-15 07:55:23 +00:00
Markus Fröschle
b7d60e168c added chip_errata() to word and byte config space writes 2013-11-14 22:57:49 +00:00
Markus Fröschle
ab59c42046 fixex wrong parentheses in pci_write_config_longword() 2013-11-13 21:08:52 +00:00
Markus Fröschle
16ff2be32f XL bus master priorities were the wrong way round 2013-11-13 12:46:00 +00:00
Markus Fröschle
d1bdb72005 updated with some PCI code lend from the Linux BSP for Coldfire boards 2013-11-13 11:34:35 +00:00
Markus Fröschle
d9e396b1fb added programmed XLBUS arbiter master priorities 2013-11-12 09:50:17 +00:00
Markus Fröschle
b58d383585 added more diagnostics 2013-11-11 21:14:37 +00:00
Markus Fröschle
4eda96eb60 enable device after configuration 2013-11-11 17:08:40 +00:00
Markus Fröschle
8fbceaaf68 fixed warnings 2013-11-11 10:16:36 +00:00
Markus Fröschle
edad78b6e6 do DMA from SDRAM to SDRAM 2013-11-10 19:47:42 +00:00
Markus Fröschle
0c1ea5b610 still target aborts 2013-11-10 18:11:33 +00:00
Markus Fröschle
7995c466b0 still nothing but target aborts 2013-11-10 06:45:26 +00:00
Markus Fröschle
f749ee6a13 still hangs, unfortunately 2013-11-09 19:57:16 +00:00
Markus Fröschle
e377a75c17 hang on USB hc reset 2013-11-09 18:09:01 +00:00
Markus Fröschle
37dc24315a USB chip registers seem to be visible now 2013-11-09 17:35:49 +00:00
Markus Fröschle
e82cd3dd69 2013-11-09 08:46:32 +00:00