Commit Graph

610 Commits

Author SHA1 Message Date
Markus Fröschle
bd4f85b07d added more diagnostics 2013-11-11 21:14:37 +00:00
Markus Fröschle
b2677b5c8e enable device after configuration 2013-11-11 17:08:40 +00:00
Markus Fröschle
a1e9e74c64 fixed warnings 2013-11-11 10:16:36 +00:00
Markus Fröschle
f698349be7 do DMA from SDRAM to SDRAM 2013-11-10 19:47:42 +00:00
Markus Fröschle
44361ab1a1 still target aborts 2013-11-10 18:11:33 +00:00
Markus Fröschle
110367ad73 still nothing but target aborts 2013-11-10 06:45:26 +00:00
Markus Fröschle
a8502bc856 still hangs, unfortunately 2013-11-09 19:57:16 +00:00
Markus Fröschle
bc1cd70d8e hang on USB hc reset 2013-11-09 18:09:01 +00:00
Markus Fröschle
4cb667facd USB chip registers seem to be visible now 2013-11-09 17:35:49 +00:00
Markus Fröschle
5c9dc8c4d4 more consistant file name 2013-11-09 08:46:01 +00:00
Markus Fröschle
bdb9fc69a4 USB controller detected on FireBee - needs a long wait time for config access there... 2013-11-09 08:33:26 +00:00
Markus Fröschle
fff5cd371d moved code around to try and determine why PCI memory mapping doesn't work as expected 2013-11-08 17:34:08 +00:00
Markus Fröschle
722b6213aa added interrupt service routine for PCI errors. Fixed XLB macros (contained double undescores for _MBAR) 2013-11-08 13:59:39 +00:00
Markus Fröschle
f164da60fc modified pci_device_config() to support byteswapped config access functions 2013-11-08 06:45:51 +00:00
Markus Fröschle
519f3a9d0f cleanly finish configuration access cycle in pci_write_config_longword 2013-11-08 05:45:12 +00:00
Markus Fröschle
ad1dda1e42 cleanly finish PCI configuration access in pci_read_config_longword 2013-11-08 05:43:29 +00:00
Markus Fröschle
681a0e36b1 added missing newline 2013-11-07 20:53:43 +00:00
Markus Fröschle
aacb8ee021 added more diagnostic printouts and fixed debug() routines to ease debugging 2013-11-07 20:29:30 +00:00
Markus Fröschle
0b5519fa76 removed unneeded printouts 2013-11-07 19:49:01 +00:00
Markus Fröschle
e862b616b0 removed unused variables 2013-11-07 19:47:21 +00:00
Markus Fröschle
af32d5b6ee fixed for little endian PCIBIOS routines. Fixed bus enumeration 2013-11-07 19:46:44 +00:00
Markus Fröschle
6c4507ba0a fixed init_usb() for little endian PCI routines 2013-11-07 19:45:36 +00:00
Markus Fröschle
2e37cdb604 (temporarily) disabled EmuTOS copy for m5484LITE 2013-11-07 19:44:16 +00:00
Markus Fröschle
3f435ed80e modified PCI access routines to closer follow pcibios standard 2013-11-07 11:31:10 +00:00
Markus Fröschle
245cbe3a08 (nearly) fixed pci_find_device() 2013-11-07 07:45:54 +00:00
Markus Fröschle
50c65879e3 added diagnostic printout on exceptions - except common traps 2013-11-07 06:16:44 +00:00
Markus Fröschle
f1169f6d8f fixed multi-function devices 2013-11-07 06:03:49 +00:00
Markus Fröschle
238678a359 cleaned up pci_find_device() 2013-11-07 06:00:30 +00:00
Markus Fröschle
007a7f7857 printout vector number during exception 2013-11-06 15:29:59 +00:00
Markus Fröschle
f45336d214 removed unused code 2013-11-06 14:31:52 +00:00
Markus Fröschle
0575d5c28d removed unused variable 2013-11-06 14:28:20 +00:00
Markus Fröschle
4022030db6 controlled PCI reset 2013-11-06 14:27:42 +00:00
Markus Fröschle
7ac1da5beb rewritten device scan and corrected PCI address mapping 2013-11-06 13:21:32 +00:00
Markus Fröschle
4b6abde76a dma_memcopy() for EmuTOS doesn't work yet - disabled 2013-11-06 07:15:05 +00:00
Markus Fröschle
9212c00113 fixed typo 2013-11-06 07:10:55 +00:00
Markus Fröschle
5ac936c6cc removed debug printouts - works now 2013-11-06 07:10:16 +00:00
Markus Fröschle
405a0922f6 tried to find the cause of hang in FPGA load on FireBee - unsucessful yet 2013-11-06 07:09:09 +00:00
Markus Fröschle
c663744764 fixed comments; cleanup 2013-11-06 07:07:54 +00:00
Markus Fröschle
02d182395d cleaned up pci initialization and moved call behind FPGA initialization (pin assignments collide) 2013-11-06 06:09:36 +00:00
Markus Fröschle
993906cf9a got rid of global statics 2013-11-05 21:29:30 +00:00
Markus Fröschle
5b9ca4609a enabled more debugging printouts 2013-11-05 21:07:53 +00:00
Markus Fröschle
bf1a8bef38 renamed "slot" to "device" for better wording 2013-11-05 20:52:20 +00:00
Markus Fröschle
5af37f21c3 added display of PCI handle of USB device found 2013-11-05 20:24:58 +00:00
Markus Fröschle
cc5846c483 modified to be able to replace memcpy() 2013-11-05 20:23:41 +00:00
Markus Fröschle
a092461d20 temporarily disabled EmuTOS copy (flash access does not work on m5484LITE).
ifdef'ed out more FireBee specific stuff
2013-11-05 20:22:47 +00:00
Markus Fröschle
eca01095b1 fixed handle handling and reduced wait time for config space access 2013-11-05 20:20:52 +00:00
Markus Fröschle
c8f9aed32e #ifdef'ed out special interrupt handlers for the FireBee FPGA (need them later to implement PCI interrupts for the m5484LITE) 2013-11-05 11:06:08 +00:00
Markus Fröschle
6d3680fbd2 increased latency timer. It seems some config space accesses time out. Let's see if this fixes anythint 2013-11-05 11:04:59 +00:00
Markus Fröschle
5baad03944 #ifdef'ed out code passages that do not fit the m5484LITE board 2013-11-05 09:53:47 +00:00
Markus Fröschle
79e0dfb418 fixed bug in pci_scan that prevented the handles array to be filled correctly 2013-11-05 09:22:21 +00:00