Commit Graph

330 Commits

Author SHA1 Message Date
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
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
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
ef44291c38 activated diagnostics 2013-11-03 14:19:06 +00:00
Markus Fröschle
a008f078bd static alloc of USB memory 2013-11-03 14:16:15 +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
Markus Fröschle
4105841c65 fixed type mismatches (unsigned long <-> uint32_t) 2013-11-03 08:54:53 +00:00
Markus Fröschle
15d3bbc453 fixed swpw() usage 2013-11-03 08:47:08 +00:00
Markus Fröschle
3a826a9f14 fixed swapw() usage 2013-11-03 08:44:23 +00:00
Markus Fröschle
8039abec46 implemented more helper functions needed by usb 2013-11-03 08:19:19 +00:00
Markus Fröschle
3689373d8d code compiles - not tested yet 2013-11-03 07:07:43 +00:00
Markus Fröschle
26d03d34d7 added PCI memory alignment 2013-11-03 03:44:04 +00:00
Markus Fröschle
22cbc5a23d modified to fit usb driver requirements 2013-11-03 03:40:22 +00:00
Markus Fröschle
7c25bc1124 fixed a few compile errors (still some left) 2013-11-02 20:43:29 +00:00
Markus Fröschle
e2f6c461a9 added usb sources from U-boot, does not compile currently 2013-11-02 20:18:18 +00:00
Markus Fröschle
f9c067956f PCI memory configuration done, still experimental 2013-11-02 07:37:47 +00:00
Markus Fröschle
574a059c5d fixed typo 2013-11-02 05:21:10 +00:00
Markus Fröschle
9cf29aa31b added vendor & device id to bus scan 2013-11-02 05:04:15 +00:00
Markus Fröschle
f7573af1e6 use PCI_HEADER_TYPE macro 2013-11-01 17:08:25 +00:00
Markus Fröschle
b0fb66314c changed hardcoded, but SYSCLK dependend values to evaluate correctly for the different platforms 2013-11-01 11:23:52 +00:00
Markus Fröschle
74bc13e0f0 finished converting Makefile and directory structure to support other platforms 2013-11-01 09:20:05 +00:00
Markus Fröschle
d0d052dd7b proceed in porting to m5484l 2013-10-31 14:12:11 +00:00
Markus Fröschle
48e0261f18 made reservation (MMU page lock) of BaS memory region (last megabyte of RAM) system independent 2013-10-31 06:34:40 +00:00
Markus Fröschle
9e8811876e fixed save and restore of gcc scratch registers on DMA video page copy 2013-10-31 06:25:36 +00:00
Markus Fröschle
2bcb5ec873 further changes towards LITEKIT m5484 support. Board now runs until PCI bus scan 2013-10-30 17:53:24 +00:00
Markus Fröschle
59767b2154 added comments that try to explain video page flip 2013-10-30 14:19:59 +00:00
Markus Fröschle
2cab96be63 added comment about GPT0 usage 2013-10-30 14:18:38 +00:00
Markus Fröschle
919e221b4a improved comments, added a FIXME (needs checking). Probably video page copy is called too often 2013-10-30 14:17:54 +00:00
Markus Fröschle
98c81ad230 modified to build BaS for M5484LITE 2013-10-29 21:01:40 +00:00
Markus Fröschle
b45ec82802 removed uncommented statements 2013-10-28 11:10:38 +00:00
Markus Fröschle
e0457d624e started m5484 LITEKIT port 2013-10-28 11:07:55 +00:00
Markus Fröschle
fb1d9927ef added code to write configuration registers 2013-10-27 17:36:21 +00:00
Markus Fröschle
9dd9122d09 PCI device scan works 2013-10-27 14:58:14 +00:00