Commit Graph

79 Commits

Author SHA1 Message Date
Markus Fröschle
4337d25e4c integrated USB mouse driver 2013-12-11 15:46:32 +00:00
Markus Fröschle
f715cd0792 fix alignment of .bas segment to ensure failsafe copy 2013-12-08 07:02:18 +00:00
Markus Fröschle
8c39320c54 fixed to run from flash and ram identically. Also fixed to run EmuTOS with BaS on the m5484lite 2013-12-07 21:16:36 +00:00
Markus Fröschle
46fbcd7391 corrected indents 2013-12-07 07:06:35 +00:00
Markus Fröschle
44361ab1a1 still target aborts 2013-11-10 18:11:33 +00:00
Markus Fröschle
a0b79c96e9 made ram location of bas_ram dependend on overall memory size 2013-11-07 19:59:53 +00:00
Markus Fröschle
9bdd387ce4 move EmuTOS flash base address definition to machine specific include file 2013-11-05 20:18:40 +00:00
Markus Fröschle
939397cf36 modified to use the supplied preprocessor define "COMPILE_RAM" instead of fiddling with "TARGET_ADDRESS" 2013-11-05 11:12:19 +00:00
Markus Fröschle
19f3e2c39d changed bas_rom memory flags to WX when compiling to RAM. Should fix global variables problem since .bss was previously mapped to nonexistant memory locations with ld trying to be smart 2013-11-05 06:31:35 +00:00
Markus Fröschle
70365f08e4 fixed a few bugs but still no go.
Seem to have problems with global variables?
2013-11-04 20:58:57 +00:00
Markus Fröschle
d14bfd1cf2 tried, but did not find the cause of access error during alignment of the TD buffers... 2013-11-04 20:09:32 +00:00
Markus Fröschle
3b74e476b4 fixed comments 2013-11-03 19:34:11 +00:00
Markus Fröschle
1ee3ff8412 rearrange USB memory buffer 2013-11-03 19:13:33 +00:00
Markus Fröschle
918359acdb modified USB buffer location 2013-11-03 14:18:25 +00:00
Markus Fröschle
a7b6c9cffa code runs until ohci_lowlevel_init() but can't continue since pci_get_resource() is not implemented yet 2013-11-03 11:20:39 +00:00
Markus Fröschle
6b0dcee284 implemented more helper functions needed by usb 2013-11-03 08:19:19 +00:00
Markus Fröschle
1259b556ed Makefile fixed to support m5484 LITE 2013-11-01 09:15:16 +00:00
Markus Fröschle
2c07c85fe8 modified to build BaS for M5484LITE 2013-10-29 21:01:40 +00:00
Markus Fröschle
a373d55795 first steps to make Makefile machine independent 2013-10-29 14:43:53 +00:00
Markus Fröschle
a5ba6ce563 swapped out pci initialization into separate source file (still needs some testing bevore removing the original) 2013-10-21 10:03:00 +00:00
Markus Fröschle
0f6a88260b fixed a few MDMA-related quirks. DMA still doesn't work when running from RAM 2013-08-24 07:46:15 +00:00
Markus Fröschle
e4fb9f9c5d changed mapping of system SRAM 2013-08-12 05:16:53 +00:00
Markus Fröschle
d61056eaf0 fixed error message (xhdi_get_capacity()) 2013-08-11 15:40:37 +00:00
Markus Fröschle
cd3302d2fd moved supervisor stack to RAMBAR1 2013-08-11 13:43:16 +00:00
Markus Fröschle
af3690ed45 moved definition of FPGA_FLASH_DATA to linker script (where the other flash address definitions reside) 2013-08-07 10:46:17 +00:00
Markus Fröschle
3dd062d092 fixed load address 2013-08-07 05:54:34 +00:00
Markus Fröschle
7c6ec6b6fe changed RAM start address 2013-08-07 04:32:13 +00:00
Markus Fröschle
32920a20c6 fixed a typo in linker script
avoid copy of BaS if linked to RAM
2013-08-06 10:39:46 +00:00
Markus Fröschle
6d68c07ae1 modified to make RAM version run again 2013-08-05 19:35:59 +00:00
Markus Fröschle
fe4666f58d 2013-08-05 04:36:25 +00:00
Markus Fröschle
8448b2e579 initialize prelaminary exception vector table 2013-08-02 17:35:01 +00:00
Markus Fröschle
feb6a27869 provide an early exception vector table to catch exceptions during startup, before the final table has been set up (in exceptions.S) 2013-08-02 09:35:57 +00:00
Markus Fröschle
e0e93657c4 renamed spidma.[ch] to dma.[ch] 2013-08-01 10:56:11 +00:00
Markus Fröschle
2a9a57eeea clear BaS data segment at start 2013-08-01 05:46:39 +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
28036be06b removed pc-relative quirks since not needed anymore 2013-07-05 16:13:32 +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
6cc63afcec modified entry point for XHDI routines 2013-05-10 13:16:00 +00:00
Markus Fröschle
30373c5909 baked everything together (trap #0 handler) 2013-05-01 14:32:23 +00:00
Markus Fröschle
447f961088 separated "standard library" string functions into bas_string.[ch] 2013-02-26 11:04:25 +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
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
Vincent Rivière
0c23668b0f Reordered. 2012-11-12 15:57:09 +00:00
Vincent Rivière
023fda6e70 Set ___BOOT_FLASH to the real flash address even if the BaS is being run in RAM with GDB. 2012-11-12 15:53:23 +00:00
Vincent Rivière
0404bf0721 Better definition of __BAS_IN_RAM. 2012-11-12 15:06:19 +00:00
Vincent Rivière
4a47bc9c03 Moved sections definition at the top. 2012-11-12 15:00:53 +00:00
Vincent Rivière
169159df65 Renamed memory regions. 2012-11-12 13:50:23 +00:00