Commit Graph

263 Commits

Author SHA1 Message Date
Vincent Rivière
28093e62b9 Moved FireTOS and EmuTOS symbols to the linker script. 2012-10-22 19:01:03 +00:00
Vincent Rivière
cb7c4224ea FireTOS never returns. 2012-10-22 18:42:42 +00:00
Vincent Rivière
fbb2d96742 Converted jump to the OS into C. 2012-10-22 18:38:33 +00:00
Vincent Rivière
2ff22c058f Added comments about pseudo-supervisor mode. 2012-10-22 18:17:34 +00:00
Vincent Rivière
5e055843db Removed old FireTOS code. 2012-10-22 18:15:01 +00:00
Vincent Rivière
20031b5d47 Fixed nested comments. 2012-10-22 18:02:36 +00:00
Markus Fröschle
ddaf164925 moved .data where it belongs (to RAM) 2012-10-22 11:08:26 +00:00
Vincent Rivière
13ad013053 Fixed FireTOS loader using minimal initialization. 2012-10-21 23:14:09 +00:00
Vincent Rivière
4da5ebaae0 Fixed missing backup registers. 2012-10-21 21:00:32 +00:00
Vincent Rivière
bfb2f36115 Backup CACR into _rt_cacr. 2012-10-21 20:59:32 +00:00
Markus Fröschle
065bab4805 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
Vincent Rivière
1ffdbfb2d2 Cleaned up jump into the BaS. 2012-10-20 15:59:03 +00:00
Vincent Rivière
059b040a87 Clean up BaS linker script symbols. 2012-10-20 15:50:36 +00:00
Vincent Rivière
86318c0fed Fixed cache management. 2012-10-20 14:29:57 +00:00
Vincent Rivière
f56e5efee7 Clean up CACR initialization. 2012-10-20 14:00:11 +00:00
Vincent Rivière
f5cd61cf77 Fixed inverted BaS source and destination. 2012-10-19 21:43:11 +00:00
Vincent Rivière
0d209804ec Added comment about the NVRAM. 2012-10-19 21:09:56 +00:00
Markus Fröschle
7473e59eb0 2012-10-19 15:12:11 +00:00
Markus Fröschle
07d8e58eb6 update comments 2012-10-19 12:46:20 +00:00
Markus Fröschle
79df8eec6d simplified and corrected BaS copy 2012-10-19 08:42:35 +00:00
Markus Fröschle
d949959dec removed superflous semicolon 2012-10-19 06:25:00 +00:00
Markus Fröschle
e73b0d7414 redefined FLASH_DATA_... constants 2012-10-19 06:23:44 +00:00
Markus Fröschle
7c28b6cdd0 fixed wrong BaS copy length. 2012-10-19 05:57:35 +00:00
Markus Fröschle
0eb8cfaabf fixed formatting 2012-10-18 15:48:14 +00:00
Markus Fröschle
191925349f not neccessary anymore 2012-10-18 15:44:29 +00:00
Markus Fröschle
56020c16f9 modified for relocating multi-section linker script 2012-10-18 14:02:23 +00:00
Markus Fröschle
ec510c63b0 found a line been lost in dvi_on() 2012-10-18 14:00:47 +00:00
Markus Fröschle
f7e74c3a30 modified to work with multi-section linker script 2012-10-18 11:44:00 +00:00
Markus Fröschle
70db807390 modified _VRAM storage class to volatile 2012-10-17 20:31:30 +00:00
Markus Fröschle
e4bb284a67 added missing call to init_pll() 2012-10-17 05:29:25 +00:00
Markus Fröschle
29d5f074a5 2012-10-16 19:51:22 +00:00
Vincent Rivière
06fe72434e Fixed FPGA initialization bit ordering. 2012-10-16 19:18:38 +00:00
Markus Fröschle
73cb535b51 added function to clear all cache lines (from illegal_instruction.S) 2012-10-16 17:55:57 +00:00
Markus Fröschle
8a9d0def72 added function to clear cache 2012-10-16 17:51:37 +00:00
Markus Fröschle
f26c457629 2012-10-16 16:02:09 +00:00
Markus Fröschle
d1c9dc074b startup file in assembler language 2012-10-16 15:54:58 +00:00
Markus Fröschle
574e5b9ff8 removed unused declarations 2012-10-16 15:52:35 +00:00
Markus Fröschle
3a006d5799 common definitions for sysinit.c and init_fpga.c 2012-10-16 09:21:30 +00:00
Markus Fröschle
8f03ffc132 extracted init_fpga() 2012-10-16 09:20:36 +00:00
Markus Fröschle
badfd377f7 replaced bit shifts with symbolic constants 2012-10-16 09:17:52 +00:00
Markus Fröschle
b640d6c45d extracted FPGA initialization into separate source file 2012-10-16 08:37:55 +00:00
Markus Fröschle
c69f2487e3 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
fbe077dbf5 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
81a6566595 simplified TOS copy according to dip switch setting 2012-10-15 16:17:26 +00:00
Markus Fröschle
dd9d8bc48b 2012-10-15 11:38:20 +00:00
Markus Fröschle
6bab037d3e fixed startup code (comment at wrong position) which prevented RAMBAR0 from getting initialized 2012-10-15 10:19:45 +00:00
Markus Fröschle
0e073f9e60 calculation of cache flush adresses was wrong 2012-10-15 06:21:40 +00:00
Markus Fröschle
12ead94bf4 calculation of BaS copy target adress and final jump was wrong. 2012-10-15 06:20:12 +00:00
Markus Fröschle
4c425e533a (Hopefully) fixed wrong calculation of BaS copy adresses 2012-10-15 06:14:43 +00:00
Markus Fröschle
01e6e29005 fixed inline asm statements 2012-10-15 06:03:11 +00:00