Commit Graph

724 Commits

Author SHA1 Message Date
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
19f3e2c39d 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
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
8a63d64746 modified properties to ignore generated files 2013-11-04 11:29:18 +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
3b74e476b4 fixed comments 2013-11-03 19:34:11 +00:00
Markus Fröschle
1ee3ff8412 rearrange USB memory buffer 2013-11-03 19:13:33 +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
a4f3058879 make resource descriptor structures packed 2013-11-03 14:49:08 +00:00
Markus Fröschle
b02ffc7c75 activated diagnostics 2013-11-03 14:19:06 +00:00
Markus Fröschle
918359acdb modified USB buffer location 2013-11-03 14:18:25 +00:00
Markus Fröschle
7815c29075 static alloc of USB memory 2013-11-03 14:16:15 +00:00
Markus Fröschle
e970a21573 needed for USB drivers 2013-11-03 14:15:34 +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
3d77413237 added missing file 2013-11-03 03:59:23 +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
5ad5220965 fixed wrong linker control file names 2013-11-01 17:53:55 +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
8ae034edd2 fixed clean target 2013-11-01 09:50:38 +00:00
Markus Fröschle
bc7d021157 fixed to compile for RAM again 2013-11-01 09:28:20 +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
1259b556ed Makefile fixed to support m5484 LITE 2013-11-01 09:15:16 +00:00