Commit Graph

948 Commits

Author SHA1 Message Date
Markus Fröschle
cc1586da72 fixed multi-function devices 2013-11-07 06:03:49 +00:00
Markus Fröschle
6a7eef56e1 cleaned up pci_find_device() 2013-11-07 06:00:30 +00:00
Markus Fröschle
87561b9bd5 modified tags target to work with MacOSX ctags variant 2013-11-07 05:59:27 +00:00
Markus Fröschle
4c4d1d7fba printout vector number during exception 2013-11-06 15:29:59 +00:00
Markus Fröschle
eb72afb8c4 removed unused code 2013-11-06 14:31:52 +00:00
Markus Fröschle
0f488d3d11 added tags file generation 2013-11-06 14:29:13 +00:00
Markus Fröschle
d3e9adcaed removed unused variable 2013-11-06 14:28:20 +00:00
Markus Fröschle
92c00b2886 controlled PCI reset 2013-11-06 14:27:42 +00:00
Markus Fröschle
8bfb8ee041 rewritten device scan and corrected PCI address mapping 2013-11-06 13:21:32 +00:00
Markus Fröschle
6eef95d0d0 fixed formatting 2013-11-06 13:18:28 +00:00
Markus Fröschle
5f3013bd07 dma_memcopy() for EmuTOS doesn't work yet - disabled 2013-11-06 07:15:05 +00:00
Markus Fröschle
d1f8318af7 fixed typo 2013-11-06 07:10:55 +00:00
Markus Fröschle
178f07fa9b removed debug printouts - works now 2013-11-06 07:10:16 +00:00
Markus Fröschle
e31f4e6f3b 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
1702234404 fixed comments; cleanup 2013-11-06 07:07:54 +00:00
Markus Fröschle
8bb8ed1b75 cleaned up pci initialization and moved call behind FPGA initialization (pin assignments collide) 2013-11-06 06:09:36 +00:00
Markus Fröschle
69ed6d5a6e got rid of global statics 2013-11-05 21:29:30 +00:00
Markus Fröschle
75528dbb34 enabled more debugging printouts 2013-11-05 21:07:53 +00:00
Markus Fröschle
c2d8850de2 renamed "slot" to "device" for better wording 2013-11-05 20:52:20 +00:00
Markus Fröschle
ec9272de77 added display of PCI handle of USB device found 2013-11-05 20:24:58 +00:00
Markus Fröschle
1825c1163c modified to be able to replace memcpy() 2013-11-05 20:23:41 +00:00
Markus Fröschle
238eb939ef 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
14f9265438 fixed handle handling and reduced wait time for config space access 2013-11-05 20:20:52 +00:00
Markus Fröschle
cd46d8b2f1 defined EmuTOS flash address (was defined in linker script before) 2013-11-05 20:19:40 +00:00
Markus Fröschle
7eacc688cc move EmuTOS flash base address definition to machine specific include file 2013-11-05 20:18:40 +00:00
Markus Fröschle
ac6ee45cf5 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
f8d9515106 #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
c562441944 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
53da761b12 #ifdef'ed out code passages that do not fit the m5484LITE board 2013-11-05 09:53:47 +00:00
Markus Fröschle
428dfbbc2b fixed bug in pci_scan that prevented the handles array to be filled correctly 2013-11-05 09:22:21 +00:00
Markus Fröschle
6192fd893b for no obvious reason, Ubuntu objcopy changed its bfd target names. Renamed elf32big to elf32-big. 2013-11-05 06:53:11 +00:00
Markus Fröschle
35434ae2b1 BaS() now survives USB initialization (although it still fails due to missing resource descriptors) 2013-11-05 06:43:37 +00:00
Markus Fröschle
cded672fbd 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
ae3777d622 polished PCI controller initialization 2013-11-05 06:17:30 +00:00
Markus Fröschle
58b4161d64 initialize static arrays to 0 2013-11-05 05:57:59 +00:00
Markus Fröschle
53f701e958 renamed struct pci_resource_descriptor to struct pci_rd 2013-11-05 05:56:19 +00:00
Markus Fröschle
d746419c07 fixed resource descriptors 2013-11-05 05:47:11 +00:00
Markus Fröschle
43f051c729 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
5ee4e0a0a4 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
a915e69181 changed system variables clear with memset() 2013-11-04 17:11:38 +00:00
Markus Fröschle
85b0133d67 2013-11-04 11:25:33 +00:00
Markus Fröschle
a3e1dea959 added comments 2013-11-03 20:24:49 +00:00
Markus Fröschle
d14cb92e64 fixed comments 2013-11-03 19:34:11 +00:00
Markus Fröschle
52e05b1b49 rearrange USB memory buffer 2013-11-03 19:13:33 +00:00
Markus Fröschle
21aeb5d841 reformatted, added diagnostics, removed unneeded defines 2013-11-03 18:18:34 +00:00
Markus Fröschle
6ba3899871 reformatted, removed unneeded #defines 2013-11-03 18:15:27 +00:00
Markus Fröschle
e9aa964ac0 replaced board_printf() with xprintf() 2013-11-03 18:09:02 +00:00
Markus Fröschle
3c0b5fcfec reformatted, added diagnostics, defined swapped access 2013-11-03 18:07:54 +00:00
Markus Fröschle
730fae642a reformatted 2013-11-03 17:18:12 +00:00
Markus Fröschle
bd1b47abad added more diagnostic printouts. Still hangs after usb_malloc() 2013-11-03 15:03:39 +00:00