Commit Graph

76 Commits

Author SHA1 Message Date
Markus Fröschle
cf402e19c2 moved cache flush (immediately before MMU enable) 2013-08-07 10:13:31 +00:00
Markus Fröschle
3a06fa9465 (temporarily) disabled SD-card routines 2013-08-05 19:38:32 +00:00
Markus Fröschle
941ef2c234 removed mmu.c
modified dma routines
2013-08-05 15:15:58 +00:00
Markus Fröschle
75da9c46f2 added comment
set fastram end before start of RAM BaS
2013-08-04 18:40:36 +00:00
Markus Fröschle
e0e93657c4 renamed spidma.[ch] to dma.[ch] 2013-08-01 10:56:11 +00:00
Markus Fröschle
f86cf45cbf MCD DMA memcpy() test. Takes ages. 2013-07-30 20:31:41 +00:00
Markus Fröschle
f30e251bfa updated comments and made (hopefully) better readable 2013-07-29 15:20:57 +00:00
Markus Fröschle
ec3eb5a51f symbolic names for FPGA interrupt registers 2013-07-29 15:11:33 +00:00
Markus Fröschle
884f9eedd4 simplified MMU initialization
removed (apparently unneeded) MMU TLBs
added source file templates for SPI dma routines
2013-07-28 07:19:57 +00:00
Markus Fröschle
b765960ebb changed comment 2013-07-23 15:21:11 +00:00
Markus Fröschle
59286d9c99 added missing NOP() when accessing MMU register to let the processor pipeline sync (according to Coldfire manual). 2013-07-23 05:04:02 +00:00
Markus Fröschle
c34ef0848a modified GFX initialisation (32 MHz) 2013-07-07 20:54:06 +00:00
Markus Fröschle
82dd0eee4d added comments 2013-07-05 16:27:35 +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
8069d83787 modified to enable remote debugging of basflash.s19.
basflash.s19 does not work in this version (hang)!
2013-02-17 22:47:24 +00:00
Markus Fröschle
4615d7a757 ensured compiling on Mac OS X 2013-02-13 19:28:20 +00:00
Markus Fröschle
d759370bfc Going to extend basflash.c to
1.) load srec files to their RAM destination without flashing for testing
2.) load and flash srec files from SD card
2013-01-31 14:06:51 +00:00
Markus Fröschle
14ac2e71ba fixed doubly definition of wait_() routines 2013-01-21 13:13:33 +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
c461730076 incorporated s19reader in build 2012-12-17 18:24:27 +00:00
Markus Fröschle
88f3708506 started development of bootstrap flashing code load 2012-12-16 07:52:21 +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
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
b85b977223 renamed functions to spi_...() and sd_card...() according to target 2012-12-03 12:02:55 +00:00
Markus Fröschle
85d23c994a write diagnostic message if PIC initialization failed 2012-11-24 07:00:00 +00:00
Markus Fröschle
a9d3cfeeb5 cosmetic changes 2012-11-20 22:27:47 +00:00
Markus Fröschle
c826e061f2 updated comments 2012-11-18 10:28:21 +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
9aa82d6a91 added NOP() macro 2012-11-18 07:42:02 +00:00
Markus Fröschle
e6f5d863fc return from busy-waiting after a certain time 2012-11-18 07:39:33 +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
d27ffe07d7 seems to hang in sdcard_idle. Commented that call again. 2012-11-15 21:05:24 +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
02aeeb262f Fixed NVRAM initialization. 2012-11-13 00:10:01 +00:00
Vincent Rivière
88ecc876a9 Removed useless cast. 2012-11-10 17:10:46 +00:00
Vincent Rivière
71a89c5213 Fixed warning about unused variable. 2012-11-10 16:41:11 +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
97099dc581 Renamed _tos_base to __TOS. 2012-11-07 21:53:01 +00:00
Markus Fröschle
75ea5a353b more diagnostic output 2012-11-04 19:18:19 +00:00
Markus Fröschle
d02a99cc51 re-enabled MMU 2012-11-04 11:23:48 +00:00
Markus Fröschle
413fe9bc96 2012-11-01 20:36:52 +00:00
Markus Fröschle
06bda16b90 finally, we reach the BaS() code which dies when enabling interrupts (exception routine bad?) 2012-11-01 08:31:12 +00:00
Markus Fröschle
b65fcc3d26 got rid of uart_out_word() 2012-10-31 22:04:53 +00:00
Markus Fröschle
067e20f3ac added diagnostic output 2012-10-31 21:14:31 +00:00
Markus Fröschle
7a7b94beb2 modified to incorporate printf routine 2012-10-25 16:38:45 +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