Commit Graph

100 Commits

Author SHA1 Message Date
Markus Fröschle
ab94a57783 set FASTRAM_END for Firetos 2013-07-02 09:58:30 +00:00
Markus Fröschle
41fa049f5b removed BaS copy to RAM.
Since flashing is intended from a self-contained, SD-card loaded image, this is not neccessary anymore.
2013-07-02 09:53:48 +00:00
Markus Fröschle
d81879b86a deciphered SDRAM initialization values (SDCR and SDMR) with Coldfire preprocessor macros 2013-02-05 16:33:35 +00:00
Markus Fröschle
075062972b deciphered SDRAM initialization values (SDCFG1 and 2) with Coldfire preprocessor macros 2013-02-05 10:41:18 +00:00
Markus Fröschle
14ac2e71ba fixed doubly definition of wait_() routines 2013-01-21 13:13:33 +00:00
Markus Fröschle
a875f4062a avoid compiler warning due to bogus comparison 2013-01-21 11:06:35 +00:00
Markus Fröschle
2483fecf74 reintroduced setting TOS "magic values" for RAM to avoid FireTOS RAM test and speed up boot 2013-01-20 12:03:00 +00:00
Markus Fröschle
68194329d2 merged SD_CARD branch 2012-12-15 18:25:15 +00:00
Markus Fröschle
51561769c6 cleaned up project:
-moved all includes into "include" directory
-extracted "wait...()"-routines into separate files
2012-12-10 09:30:27 +00:00
Markus Fröschle
97c82f6345 2012-12-09 18:17:07 +00:00
Markus Fröschle
89b3d2980e added version numbering 2012-12-09 14:02:50 +00:00
Markus Fröschle
25d341b48f code does now flash with bdmctrl and runs with FireTOS and EmuTOS 2012-12-09 10:23:48 +00:00
Markus Fröschle
182ae661ce fixed hang in Firetos initialize_hardware() 2012-12-08 08:33:45 +00:00
Markus Fröschle
c6b029860f Added LGPL copyright headers to all files that did undergo significant changes during the development of BaS_gcc.
Didn't touch any files that weren't changed.
Added COPYING and COPYING.LESSER, the LGPL mandatory license files
2012-12-04 08:57:13 +00:00
Markus Fröschle
7cdf71810f renamed functions to spi_...() and sd_card...() according to target 2012-12-04 08:49:21 +00:00
Markus Fröschle
bb5159cca4 removed a few other volatile declarations 2012-11-28 04:25:09 +00:00
Markus Fröschle
8020d107b1 removed stupid "volatile void" declaration 2012-11-28 04:18:13 +00:00
Markus Fröschle
2077415729 declared wait()-routines as inline void volatile since gcc decided to optimize out them sometimes. Do we need __attribute__(always_inline) ? 2012-11-18 10:10:38 +00:00
Markus Fröschle
f4a0dec4e1 there was still an occasional hang in test_udp720101(). Commented offending statement until fully understood... 2012-11-17 22:31:01 +00:00
Markus Fröschle
700ee9adf6 there was still an occasional hang in test_udp720101(). Commented offending statement until fully understood... 2012-11-17 21:12:54 +00:00
Markus Fröschle
b8eb3353db disabled FPGA early until its initialized freshly. 2012-11-17 21:05:12 +00:00
Markus Fröschle
913ea1f46a modified busy waiting loops (new function: waitfor(us, condition) to only wait for a certain time until the expected condition comes true, otherwise just return without the job done 2012-11-17 14:22:34 +00:00
Markus Fröschle
807f433a2d enabled SD card routines in bas again.
SD card detection seems to work.
2012-11-15 20:54:56 +00:00
Markus Fröschle
8c123b0ac3 replaced wait_xms()- and wait_xus()-routines by a generic one that takes the number of us to wait as a parameter 2012-11-15 06:25:15 +00:00
Vincent Rivière
93e537b0e7 Removed useless jmp variable. 2012-11-07 22:20:13 +00:00
Vincent Rivière
4ec8898ed2 Renamed _Bas_base and __BAS_VMA to __BAS_IN_RAM. 2012-11-07 22:18:27 +00:00
Vincent Rivière
25b5df12b4 Use __STRAM_END. 2012-11-07 21:54:21 +00:00
Vincent Rivière
4a969e2452 Fixed potential BaS size alignment issue. 2012-11-07 20:24:42 +00:00
Markus Fröschle
63d30c3943 compile cache.c -mpcrel 2012-11-03 22:35:47 +00:00
Markus Fröschle
62f8897ad3 removed register variables. Better let the compiler decide about. 2012-11-03 22:28:28 +00:00
Markus Fröschle
4f07bb08e3 activated cache flush again 2012-10-31 20:36:39 +00:00
Markus Fröschle
6f8034a742 now really fixed hang in dvi_on() 2012-10-31 20:35:39 +00:00
Markus Fröschle
42136299aa fixed hang in dvi_on() 2012-10-31 20:07:47 +00:00
Markus Fröschle
92fed40335 fixed hang in init_video_ddr() 2012-10-31 19:45:59 +00:00
Markus Fröschle
b1f94d9228 corrected initialization of slice timer 0 2012-10-31 14:12:34 +00:00
Markus Fröschle
9eb7479998 finished ELF toolchain integration 2012-10-30 20:43:23 +00:00
Markus Fröschle
bd3e32ebf7 finished ELF toolchain integration 2012-10-30 20:26:43 +00:00
Markus Fröschle
4b2bbf369a refactored wait_i2c_transfer_finished() 2012-10-30 16:10:18 +00:00
Markus Fröschle
45b45a0996 2012-10-29 19:45:10 +00:00
Markus Fröschle
9c20f60004 removed unused include 2012-10-26 16:44:23 +00:00
Markus Fröschle
5f4fe0fbeb 2012-10-26 15:14:13 +00:00
Markus Fröschle
fcf3a611ce replaced register names by Coldfire macros.
updated comments
2012-10-26 15:06:54 +00:00
Markus Fröschle
bb4e12b2c7 modified more printouts 2012-10-25 19:03:11 +00:00
Markus Fröschle
785c6dfe30 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
7a7b94beb2 modified to incorporate printf routine 2012-10-25 16:38:45 +00:00
Markus Fröschle
437d0b9998 fixed comments 2012-10-25 06:32:04 +00:00
Markus Fröschle
b4b8c42743 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
ac7c5b723b added latest insights from disassembling the binary distribution 2012-10-23 10:28:35 +00:00
Vincent Rivière
bb447e2e79 Fixed wrong value in init_pll(). 2012-10-22 22:20:27 +00:00
Vincent Rivière
72915d01dc Fixed warning about unused variable. 2012-10-22 21:09:53 +00:00