Markus Fröschle
|
826bbcab30
|
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
|
d1210fa0fd
|
polished PCI controller initialization
|
2013-11-05 06:17:30 +00:00 |
|
Markus Fröschle
|
89dd4ab845
|
initialize static arrays to 0
|
2013-11-05 05:57:59 +00:00 |
|
Markus Fröschle
|
d6210afa3a
|
renamed struct pci_resource_descriptor to struct pci_rd
|
2013-11-05 05:56:19 +00:00 |
|
Markus Fröschle
|
942f417b13
|
fixed resource descriptors
|
2013-11-05 05:47:11 +00:00 |
|
Markus Fröschle
|
70365f08e4
|
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
|
d14bfd1cf2
|
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
|
d11cfe5ba0
|
changed system variables clear with memset()
|
2013-11-04 17:11:38 +00:00 |
|
Markus Fröschle
|
76c4c0d7c0
|
|
2013-11-04 11:25:33 +00:00 |
|
Markus Fröschle
|
6a73a85620
|
added comments
|
2013-11-03 20:24:49 +00:00 |
|
Markus Fröschle
|
a8a989191c
|
reformatted, added diagnostics, removed unneeded defines
|
2013-11-03 18:18:34 +00:00 |
|
Markus Fröschle
|
3b2ab0a284
|
reformatted, removed unneeded #defines
|
2013-11-03 18:15:27 +00:00 |
|
Markus Fröschle
|
18a1861c02
|
replaced board_printf() with xprintf()
|
2013-11-03 18:09:02 +00:00 |
|
Markus Fröschle
|
a2f88ebc77
|
reformatted, added diagnostics, defined swapped access
|
2013-11-03 18:07:54 +00:00 |
|
Markus Fröschle
|
70d2a312eb
|
reformatted
|
2013-11-03 17:18:12 +00:00 |
|
Markus Fröschle
|
8977191d84
|
added more diagnostic printouts. Still hangs after usb_malloc()
|
2013-11-03 15:03:39 +00:00 |
|
Markus Fröschle
|
b02ffc7c75
|
activated diagnostics
|
2013-11-03 14:19:06 +00:00 |
|
Markus Fröschle
|
7815c29075
|
static alloc of USB memory
|
2013-11-03 14:16:15 +00:00 |
|
Markus Fröschle
|
181b409f0b
|
modified to detect FireBee USB
|
2013-11-03 14:14:33 +00:00 |
|
Markus Fröschle
|
09c762b143
|
implemented an (ugly) implementation for pci_get_resource(). USB init code still hangs.
|
2013-11-03 13:38:18 +00:00 |
|
Markus Fröschle
|
1d2ff27f68
|
removed unneeded printouts
|
2013-11-03 11:25:29 +00:00 |
|
Markus Fröschle
|
a7b6c9cffa
|
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
|
4ed171811f
|
fixed more undefined symbols
|
2013-11-03 09:10:29 +00:00 |
|
Markus Fröschle
|
f2fb701890
|
fixed type mismatches (unsigned long <-> uint32_t)
|
2013-11-03 08:54:53 +00:00 |
|
Markus Fröschle
|
eb77b08caa
|
fixed swpw() usage
|
2013-11-03 08:47:08 +00:00 |
|
Markus Fröschle
|
4ef1bec938
|
fixed swapw() usage
|
2013-11-03 08:44:23 +00:00 |
|
Markus Fröschle
|
6b0dcee284
|
implemented more helper functions needed by usb
|
2013-11-03 08:19:19 +00:00 |
|
Markus Fröschle
|
8d550a07d7
|
code compiles - not tested yet
|
2013-11-03 07:07:43 +00:00 |
|
Markus Fröschle
|
6dc5c2e996
|
added PCI memory alignment
|
2013-11-03 03:44:04 +00:00 |
|
Markus Fröschle
|
77fa6f2732
|
modified to fit usb driver requirements
|
2013-11-03 03:40:22 +00:00 |
|
Markus Fröschle
|
47a7981f24
|
fixed a few compile errors (still some left)
|
2013-11-02 20:43:29 +00:00 |
|
Markus Fröschle
|
74c699e35a
|
added usb sources from U-boot, does not compile currently
|
2013-11-02 20:18:18 +00:00 |
|
Markus Fröschle
|
03e691ad2b
|
PCI memory configuration done, still experimental
|
2013-11-02 07:37:47 +00:00 |
|
Markus Fröschle
|
f2e56296ad
|
fixed typo
|
2013-11-02 05:21:10 +00:00 |
|
Markus Fröschle
|
f6c708e239
|
added vendor & device id to bus scan
|
2013-11-02 05:04:15 +00:00 |
|
Markus Fröschle
|
8d37dd35a4
|
use PCI_HEADER_TYPE macro
|
2013-11-01 17:08:25 +00:00 |
|
Markus Fröschle
|
e27a45520f
|
changed hardcoded, but SYSCLK dependend values to evaluate correctly for the different platforms
|
2013-11-01 11:23:52 +00:00 |
|
Markus Fröschle
|
573b370805
|
finished converting Makefile and directory structure to support other platforms
|
2013-11-01 09:20:05 +00:00 |
|
Markus Fröschle
|
faa07b02d1
|
proceed in porting to m5484l
|
2013-10-31 14:12:11 +00:00 |
|
Markus Fröschle
|
296507c430
|
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
|
7ac1e76ca3
|
fixed save and restore of gcc scratch registers on DMA video page copy
|
2013-10-31 06:25:36 +00:00 |
|
Markus Fröschle
|
6dad5b7e1d
|
further changes towards LITEKIT m5484 support. Board now runs until PCI bus scan
|
2013-10-30 17:53:24 +00:00 |
|
Markus Fröschle
|
1d45c22e04
|
added comments that try to explain video page flip
|
2013-10-30 14:19:59 +00:00 |
|
Markus Fröschle
|
574b62462b
|
added comment about GPT0 usage
|
2013-10-30 14:18:38 +00:00 |
|
Markus Fröschle
|
67f65dc588
|
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
|
2c07c85fe8
|
modified to build BaS for M5484LITE
|
2013-10-29 21:01:40 +00:00 |
|
Markus Fröschle
|
dde60b17b8
|
removed uncommented statements
|
2013-10-28 11:10:38 +00:00 |
|
Markus Fröschle
|
b467eb73c7
|
started m5484 LITEKIT port
|
2013-10-28 11:07:55 +00:00 |
|
Markus Fröschle
|
f7b68f912c
|
added code to write configuration registers
|
2013-10-27 17:36:21 +00:00 |
|
Markus Fröschle
|
9f332114f0
|
PCI device scan works
|
2013-10-27 14:58:14 +00:00 |
|