Commit Graph

134 Commits

Author SHA1 Message Date
Markus Fröschle
09b8c3acb7 reformatted 2014-12-26 22:14:57 +00:00
Markus Fröschle
0cc08d4bed more FPGA tests 2014-12-26 20:01:03 +00:00
Markus Fröschle
8081df42a6 merged fixes from 0.8.6.1 (errornous skip of FPGA load) 2014-12-26 09:36:45 +00:00
Markus Fröschle
c81fc7e7e9 fixed comments 2014-12-16 20:33:51 +00:00
Markus Fröschle
2c7434e751 modified interrupt structure 2014-10-11 18:43:02 +00:00
Markus Fröschle
5ae4c12795 added interrupt controller initialization for PCI error interrupts 2014-10-09 18:59:35 +00:00
Markus Fröschle
99ab0fe523 fixed parameters of irq5_handler() 2014-10-09 17:51:58 +00:00
Markus Fröschle
4154149154 implemented hook_interrupt() in PCI code
enabled PCI interrupts
ohci seems to damage something in PCI config -> PCI device enumeration 
does not top with latest device
networking in EmuTOS lost (probably a result of PCI interrupt
implementation)
2014-10-05 17:50:15 +00:00
Markus Fröschle
342c3cd34a working on USB device scan 2014-10-03 09:58:45 +00:00
Markus Fröschle
b1c2026746 tried to fix PCI - sometimes all three USB controllers are detected, sometimes not, sometimes there is even a PCI bus hang 2014-10-03 07:29:42 +00:00
Markus Fröschle
a251cd4b44 implemented pci_hook_interrupt()
formatted USB sources
2014-10-01 15:39:16 +00:00
Markus Fröschle
2d2b88be59 removed debug output 2014-09-30 19:32:26 +00:00
Markus Fröschle
fe944b40d4 fixed wrong stack address offset for "magic number" 2014-09-30 19:29:46 +00:00
Markus Fröschle
2f4245743e added mmu_report_pagesize() 2014-09-30 15:42:32 +00:00
Markus Fröschle
12620d8b5e Fixed ACRs for running BaS in flash (hang on MMU enable) 2014-09-29 19:08:38 +00:00
Markus Fröschle
2637d39c67 first (untested) version of the modified MMU handling and API 2014-09-29 12:32:19 +00:00
Markus Fröschle
f91988cbc5 consistantly use bas_types.h instead of standard headers 2014-09-25 06:24:55 +00:00
Markus Fröschle
69d1e07c28 updated comments 2014-09-25 05:54:26 +00:00
Markus Fröschle
e0f77b1ab6 added function to flush only a portion of the caches 2014-09-24 16:02:20 +00:00
Markus Fröschle
44acce1258 Screen address change now handled entirely in C (handler_gpt0/ 2014-09-19 17:41:00 +00:00
Markus Fröschle
d5359c4b95 updated comments 2014-09-19 06:02:16 +00:00
Markus Fröschle
f9a8a880d9 replace "a7" with "sp" for consistancy 2014-09-19 04:59:21 +00:00
Markus Fröschle
36a7a593d9 fixed and completed comments 2014-09-18 20:13:54 +00:00
Markus Fröschle
0801adb0c0 fixed a few MMU quirks 2014-09-17 05:28:16 +00:00
Markus Fröschle
e7fa2b5bff check for supervisor protection fault and issue a bus error 2014-09-07 19:29:11 +00:00
Markus Fröschle
87bd9eb2c6 rewritten mmu_map_page() and put into production 2014-09-07 19:01:19 +00:00
Markus Fröschle
7ea7b91e9d moved more functionality from exceptions.S to interrupts.c. Added debug
printouts to MMU page fault handler
2014-09-07 10:57:58 +00:00
Markus Fröschle
49569bc001 disabled USB init for now 2014-09-07 06:53:40 +00:00
Markus Fröschle
37a3beef5a moved IRQ service handler for PSC3 interrupt to the BaS ISR dispatcher 2014-09-07 06:53:01 +00:00
Markus Fröschle
65187270ca removed BaS network stuff and introduced a function to initialize BaS' ISR dispatcher 2014-09-07 06:50:23 +00:00
Markus Fröschle
22760eb9b8 refactored 2014-09-06 21:29:55 +00:00
Markus Fröschle
307c5368b4 fixed a bug with LINK instruction not saving address register 2014-09-06 19:27:11 +00:00
Markus Fröschle
6e8193cf3f disabled debug printouts 2014-09-06 18:39:42 +00:00
Markus Fröschle
8aac27bc01 disabled (unnecessary?) cache flush 2014-09-06 18:37:13 +00:00
Markus Fröschle
8ddce6e288 disabled USB initialization for now 2014-09-06 18:35:51 +00:00
Markus Fröschle
6124f82d82 refactored, reformatted, added missing clobber registers to __asm__
statements
2014-09-02 13:51:00 +00:00
Markus Fröschle
d25e6cfd98 refactored USB driver code, enabled debug printouts everywhere 2014-09-01 19:22:26 +00:00
Markus Fröschle
029388c6c4 fixed some compiler warnings 2014-09-01 14:23:33 +00:00
Markus Fröschle
6fb30a56eb more generalization of the dbg() diagnostic message prints 2014-09-01 07:20:22 +00:00
Markus Fröschle
332928fb78 (re)enabled USB bus scan. It takes an eternity to finish, but finally
returns. Hub found, but no mouse yet.
2014-09-01 06:19:45 +00:00
Markus Fröschle
0822848ad3 added debugging statements for PCI enumeration 2014-09-01 05:37:43 +00:00
Markus Fröschle
6074b0c9f1 fixed dbg() printout macro 2014-08-10 18:22:59 +00:00
Markus Fröschle
670181c8d4 added additional functions for cache handling 2014-08-10 18:21:49 +00:00
Markus Fröschle
852bf8928f modified jtagwait to allow to set reset start address when renamed to .TTP 2014-08-10 14:39:06 +00:00
Markus Fröschle
4ba8ac1426 added missing check for _FPGA_JTAG_VALID 2014-08-09 13:56:28 +00:00
Markus Fröschle
fd72b7ce9e support for JTAGWAIT.PRG (configure FPGA from JTAG port) implemented 2014-08-09 13:07:28 +00:00
Markus Fröschle
f55cae6c0f simplified PLL initialization 2014-08-08 19:52:07 +00:00
Markus Fröschle
f0cfdc9d0b simplified pll initialization 2014-08-08 16:13:14 +00:00
David Gálvez
d1767a50e9 Make PCI memory space uncachable 2014-07-10 16:46:21 +00:00
Markus Fröschle
8935f0bbc4 modified init_fpga() to honour JTAG configuration. Does not work
currently and needs support from the TOS side (program not finished yet)
2014-06-22 16:00:49 +00:00