Commit Graph

237 Commits

Author SHA1 Message Date
Markus Fröschle
43834e9bdf 2012-10-14 21:09:12 +00:00
Vincent Rivière
939d980271 Fixed correct inline assembly usage. 2012-10-14 20:54:20 +00:00
Vincent Rivière
a0db3a87c2 Fixed correct MCF_MMU_MMUCR usage. 2012-10-14 20:53:14 +00:00
Vincent Rivière
034af32f46 Fixed wrong initial PC.. 2012-10-14 20:48:31 +00:00
Markus Fröschle
3baa6c2085 2012-10-14 19:59:08 +00:00
Markus Fröschle
f39d23a1df changed srecord extension to .s19 according to Vincent's suggestion 2012-10-14 19:58:31 +00:00
Markus Fröschle
6b425ee1f8 2012-10-14 15:59:28 +00:00
Markus Fröschle
f33df48dd4 2012-10-14 14:30:10 +00:00
Markus Fröschle
48e4d858c6 2012-10-14 14:28:25 +00:00
Markus Fröschle
8c807fb452 got rid of a lot of unused variables and some compiler warnings 2012-10-14 14:25:51 +00:00
Markus Fröschle
5759bf9ca3 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
3593aaf604 corrected wrong loop branches 2012-10-14 14:08:43 +00:00
Markus Fröschle
2f2b613eb8 forgot new cache functions in linker control file 2012-10-14 14:05:24 +00:00
Markus Fröschle
47ef9b01de 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
3968b26505 added prototype for cache handling 2012-10-14 10:36:44 +00:00
Markus Fröschle
5061a3472f called instruction _and_ data cache flush after BaS copy 2012-10-14 10:35:16 +00:00
Markus Fröschle
01e20772c6 Translated BaS copy routines to C.
Added functionality to flush caches before jumping into copied code
2012-10-14 10:34:18 +00:00
Markus Fröschle
b49934f552 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
09238a0e11 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
3105c6b08e eclipse 2012-10-14 08:12:45 +00:00
Markus Fröschle
7c15937189 (Nearly) clean build.
Still one warning (possible integer overflow) left - need to look into it
2012-10-14 07:04:04 +00:00
Markus Fröschle
f0c0b4a739 fixed "clean" target to really clean
added a "depend" target
2012-10-14 07:01:07 +00:00
Markus Fröschle
08661df6fe fixed reference to __BOOT_FLASH 2012-10-14 06:49:11 +00:00
Markus Fröschle
a24b2e38a3 cleanup of startup() 2012-10-14 06:47:13 +00:00
Markus Fröschle
40b109d5ec fixed CFLAGS according to Vincent's suggestions 2012-10-14 06:45:34 +00:00
Markus Fröschle
00282894b6 fixed linker control file 2012-10-14 06:34:11 +00:00
Markus Fröschle
6803d4311b fixed undefined external references 2012-10-14 06:30:46 +00:00
Markus Fröschle
32b7e91c6f fixed a few compiler warnings 2012-10-14 06:28:06 +00:00
Markus Fröschle
a96bc1986d provided empty sd_card_init() function to make the linker happy 2012-10-14 06:16:18 +00:00
Markus Fröschle
7c608e2612 fixed external reference to _BaS_base 2012-10-14 06:09:09 +00:00
Markus Fröschle
94b2b99509 fixed lots of external references 2012-10-14 06:05:51 +00:00
Markus Fröschle
40b979d962 more fiddling with leading underscore in symbols 2012-10-14 05:34:33 +00:00
Markus Fröschle
40d6ffcb6c 2012-10-13 21:40:28 +00:00
Markus Fröschle
7641f3a574 2012-10-13 21:39:10 +00:00
Markus Fröschle
e796403736 even less undefied symbol references 2012-10-13 21:24:50 +00:00
Markus Fröschle
b765b4d48d less undefined symbol references 2012-10-13 21:22:40 +00:00
Markus Fröschle
e50cc71df2 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
ba38052af4 2012-10-13 19:27:52 +00:00
Markus Fröschle
85e5549c71 more initialization done 2012-10-13 19:19:42 +00:00
Markus Fröschle
e4ff5a17fe still a few functions left to fix 2012-10-13 17:42:09 +00:00
Markus Fröschle
358850f020 complete 2012-10-13 17:38:37 +00:00
Markus Fröschle
54d8fc3551 2012-10-13 17:16:43 +00:00
Markus Fröschle
f77aef440f wrong includefile syntax corrected 2012-10-13 17:16:08 +00:00
Markus Fröschle
579d5295bb 2012-10-13 17:04:34 +00:00
Markus Fröschle
1655cce14f replaced by the same file ".S" (instead of ".s") 2012-10-13 08:54:21 +00:00
Markus Fröschle
5a96eaa1dd 2012-10-13 07:36:44 +00:00
Markus Fröschle
6df4ac34f0 2012-10-13 07:35:21 +00:00
Markus Fröschle
330423612e 2012-10-13 07:34:40 +00:00
Markus Fröschle
3ec386db35 2012-10-13 07:34:14 +00:00
Markus Fröschle
173e63b603 everything compiles nicely. Next will be linker scripts. 2012-10-13 07:04:59 +00:00