Commit Graph

416 Commits

Author SHA1 Message Date
Markus Fröschle
ffbe8acd4d dma_memcopy() for EmuTOS doesn't work yet - disabled 2013-11-06 07:15:05 +00:00
Markus Fröschle
893a58d294 fixed typo 2013-11-06 07:10:55 +00:00
Markus Fröschle
2a747ce5c0 removed debug printouts - works now 2013-11-06 07:10:16 +00:00
Markus Fröschle
ab0a8c6c72 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
f5612a9663 fixed comments; cleanup 2013-11-06 07:07:54 +00:00
Markus Fröschle
cde22b002b cleaned up pci initialization and moved call behind FPGA initialization (pin assignments collide) 2013-11-06 06:09:36 +00:00
Markus Fröschle
c29dfc3036 got rid of global statics 2013-11-05 21:29:30 +00:00
Markus Fröschle
baf076635a enabled more debugging printouts 2013-11-05 21:07:53 +00:00
Markus Fröschle
c6c9fb62b8 renamed "slot" to "device" for better wording 2013-11-05 20:52:20 +00:00
Markus Fröschle
c7140fc366 added display of PCI handle of USB device found 2013-11-05 20:24:58 +00:00
Markus Fröschle
ef76e83177 modified to be able to replace memcpy() 2013-11-05 20:23:41 +00:00
Markus Fröschle
9412079db0 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
5ea3d8c37f fixed handle handling and reduced wait time for config space access 2013-11-05 20:20:52 +00:00
Markus Fröschle
80a7a2384c defined EmuTOS flash address (was defined in linker script before) 2013-11-05 20:19:40 +00:00
Markus Fröschle
bfedd21910 move EmuTOS flash base address definition to machine specific include file 2013-11-05 20:18:40 +00:00
Markus Fröschle
6d7dc8bcb9 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
034adb7101 #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
2e64c35a5a 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
197928587a #ifdef'ed out code passages that do not fit the m5484LITE board 2013-11-05 09:53:47 +00:00
Markus Fröschle
ee8a95855f 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
13bf658bd6 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
0c6b564af0 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
cc0ccdd121 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
e1f38dd8f5 polished PCI controller initialization 2013-11-05 06:17:30 +00:00
Markus Fröschle
1ca096c9f0 initialize static arrays to 0 2013-11-05 05:57:59 +00:00
Markus Fröschle
7db9dadf9e renamed struct pci_resource_descriptor to struct pci_rd 2013-11-05 05:56:19 +00:00
Markus Fröschle
6af7f6f35b fixed resource descriptors 2013-11-05 05:47:11 +00:00
Markus Fröschle
a3b2371608 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
459e30beed 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
e19a1b1136 changed system variables clear with memset() 2013-11-04 17:11:38 +00:00
Markus Fröschle
accd53507b 2013-11-04 11:25:33 +00:00
Markus Fröschle
89a2028a83 added comments 2013-11-03 20:24:49 +00:00
Markus Fröschle
c0cbe38e66 fixed comments 2013-11-03 19:34:11 +00:00
Markus Fröschle
b85fb02453 rearrange USB memory buffer 2013-11-03 19:13:33 +00:00
Markus Fröschle
c055e3bec4 reformatted, added diagnostics, removed unneeded defines 2013-11-03 18:18:34 +00:00
Markus Fröschle
11c7dfc913 reformatted, removed unneeded #defines 2013-11-03 18:15:27 +00:00
Markus Fröschle
5444ac6585 replaced board_printf() with xprintf() 2013-11-03 18:09:02 +00:00
Markus Fröschle
a1c960772b reformatted, added diagnostics, defined swapped access 2013-11-03 18:07:54 +00:00
Markus Fröschle
0b97fd806d reformatted 2013-11-03 17:18:12 +00:00
Markus Fröschle
980073f0ac added more diagnostic printouts. Still hangs after usb_malloc() 2013-11-03 15:03:39 +00:00
Markus Fröschle
07f390ed83 make resource descriptor structures packed 2013-11-03 14:49:08 +00:00
Markus Fröschle
ef44291c38 activated diagnostics 2013-11-03 14:19:06 +00:00
Markus Fröschle
a9cf58589e modified USB buffer location 2013-11-03 14:18:25 +00:00
Markus Fröschle
a008f078bd static alloc of USB memory 2013-11-03 14:16:15 +00:00
Markus Fröschle
acebfc7067 needed for USB drivers 2013-11-03 14:15:34 +00:00
Markus Fröschle
e58e7ffa99 modified to detect FireBee USB 2013-11-03 14:14:33 +00:00
Markus Fröschle
5dadc3a143 implemented an (ugly) implementation for pci_get_resource(). USB init code still hangs. 2013-11-03 13:38:18 +00:00
Markus Fröschle
4df94fb470 removed unneeded printouts 2013-11-03 11:25:29 +00:00
Markus Fröschle
f36016f12d 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
459722216f fixed more undefined symbols 2013-11-03 09:10:29 +00:00