Commit Graph

107 Commits

Author SHA1 Message Date
Markus Fröschle
a2c31bdc90 moved .data where it belongs (to RAM) 2012-10-22 11:08:26 +00:00
Vincent Rivière
df5e188f7c Fixed FireTOS loader using minimal initialization. 2012-10-21 23:14:09 +00:00
Vincent Rivière
dd382517ba Fixed missing backup registers. 2012-10-21 21:00:32 +00:00
Vincent Rivière
fa79047961 Backup CACR into _rt_cacr. 2012-10-21 20:59:32 +00:00
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
Vincent Rivière
452e52ad5a Cleaned up jump into the BaS. 2012-10-20 15:59:03 +00:00
Vincent Rivière
9531bac14d Clean up BaS linker script symbols. 2012-10-20 15:50:36 +00:00
Vincent Rivière
8d03ccdf7d Fixed cache management. 2012-10-20 14:29:57 +00:00
Vincent Rivière
1dd15009b0 Clean up CACR initialization. 2012-10-20 14:00:11 +00:00
Vincent Rivière
e2deb71d4f Fixed inverted BaS source and destination. 2012-10-19 21:43:11 +00:00
Vincent Rivière
18aeeb30a6 Added comment about the NVRAM. 2012-10-19 21:09:56 +00:00
Markus Fröschle
f357718fa5 2012-10-19 15:12:11 +00:00
Markus Fröschle
15c9dcdfe3 update comments 2012-10-19 12:46:20 +00:00
Markus Fröschle
ee65c96f7c simplified and corrected BaS copy 2012-10-19 08:42:35 +00:00
Markus Fröschle
f13e2c9a5a removed superflous semicolon 2012-10-19 06:25:00 +00:00
Markus Fröschle
e2e8b00459 redefined FLASH_DATA_... constants 2012-10-19 06:23:44 +00:00
Markus Fröschle
a04ce4b15b fixed wrong BaS copy length. 2012-10-19 05:57:35 +00:00
Markus Fröschle
d6cfbe3265 fixed formatting 2012-10-18 15:48:14 +00:00
Markus Fröschle
9a2515d5f6 not neccessary anymore 2012-10-18 15:44:29 +00:00
Markus Fröschle
bbf48e8d7e modified for relocating multi-section linker script 2012-10-18 14:02:23 +00:00
Markus Fröschle
9086fce647 found a line been lost in dvi_on() 2012-10-18 14:00:47 +00:00
Markus Fröschle
09584a3f0a modified to work with multi-section linker script 2012-10-18 11:44:00 +00:00
Markus Fröschle
5caecfa38f modified _VRAM storage class to volatile 2012-10-17 20:31:30 +00:00
Markus Fröschle
2650b78459 added missing call to init_pll() 2012-10-17 05:29:25 +00:00
Markus Fröschle
e28351b8d2 2012-10-16 19:51:22 +00:00
Vincent Rivière
0d4b4fc79e Fixed FPGA initialization bit ordering. 2012-10-16 19:18:38 +00:00
Markus Fröschle
0804423f63 added function to clear all cache lines (from illegal_instruction.S) 2012-10-16 17:55:57 +00:00
Markus Fröschle
ded149ab2c added function to clear cache 2012-10-16 17:51:37 +00:00
Markus Fröschle
6b379e90ed 2012-10-16 16:02:09 +00:00
Markus Fröschle
2315ee1427 startup file in assembler language 2012-10-16 15:54:58 +00:00
Markus Fröschle
27211b27fd removed unused declarations 2012-10-16 15:52:35 +00:00
Markus Fröschle
334b1a1595 common definitions for sysinit.c and init_fpga.c 2012-10-16 09:21:30 +00:00
Markus Fröschle
8b4fcc1a2b extracted init_fpga() 2012-10-16 09:20:36 +00:00
Markus Fröschle
150e652be1 replaced bit shifts with symbolic constants 2012-10-16 09:17:52 +00:00
Markus Fröschle
69828cf3be extracted FPGA initialization into separate source file 2012-10-16 08:37:55 +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
33d71f3d84 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
363a728991 simplified TOS copy according to dip switch setting 2012-10-15 16:17:26 +00:00
Markus Fröschle
eeafef3026 2012-10-15 11:38:20 +00:00
Markus Fröschle
3db8bdf7c5 fixed startup code (comment at wrong position) which prevented RAMBAR0 from getting initialized 2012-10-15 10:19:45 +00:00
Markus Fröschle
e9e55c8fd7 calculation of cache flush adresses was wrong 2012-10-15 06:21:40 +00:00
Markus Fröschle
a598d5bac0 calculation of BaS copy target adress and final jump was wrong. 2012-10-15 06:20:12 +00:00
Markus Fröschle
553cf4cd39 (Hopefully) fixed wrong calculation of BaS copy adresses 2012-10-15 06:14:43 +00:00
Markus Fröschle
017149f365 fixed inline asm statements 2012-10-15 06:03:11 +00:00
Markus Fröschle
2b843e3550 2012-10-15 05:48:17 +00:00
Markus Fröschle
e396402137 modified as of Vincenct's suggestions 2012-10-15 05:45:32 +00:00
Markus Fröschle
b1faffa639 2012-10-14 21:21:44 +00:00
Markus Fröschle
834e0b4f1a mine is nicer ;) 2012-10-14 21:12:03 +00:00
Vincent Rivière
1134522122 Fixed correct inline assembly usage. 2012-10-14 20:54:20 +00:00
Vincent Rivière
4e6371ec0f Fixed correct MCF_MMU_MMUCR usage. 2012-10-14 20:53:14 +00:00