Commit Graph

804 Commits

Author SHA1 Message Date
Markus Fröschle
9d36718049 missed TLB was added cachable writethrough instead of chacheable copyback 2013-11-19 17:20:18 +00:00
Markus Fröschle
a97d38e9f9 stack was misaligned 2013-11-19 14:59:20 +00:00
Markus Fröschle
1c1362f33a added gnu header 2013-11-19 14:41:05 +00:00
Markus Fröschle
ba436846d4 fixed prototype 2013-11-19 14:31:37 +00:00
Markus Fröschle
8f12188261 replaced mmu.S with mmu.c 2013-11-19 11:39:22 +00:00
Markus Fröschle
08756da558 as mmu.c has been rewritten (from mmu.S) in C, we need an additional include file 2013-11-19 11:38:29 +00:00
Markus Fröschle
057f8e6dde rewritten completely (including MMU TLB exception handler) in C.
Besides the save of fp registers, the gcc generated code is at least as efficient than the asm.
2013-11-19 11:36:43 +00:00
Markus Fröschle
092b3189db fixed comments 2013-11-15 07:55:23 +00:00
Markus Fröschle
0173d6260e added chip_errata() to word and byte config space writes 2013-11-14 22:57:49 +00:00
Markus Fröschle
dda75086fd fixex wrong parentheses in pci_write_config_longword() 2013-11-13 21:08:52 +00:00
Markus Fröschle
68b8d43510 XL bus master priorities were the wrong way round 2013-11-13 12:46:00 +00:00
Markus Fröschle
ad776f66af updated with some PCI code lend from the Linux BSP for Coldfire boards 2013-11-13 11:34:35 +00:00
Markus Fröschle
7bd0a5f1a3 added programmed XLBUS arbiter master priorities 2013-11-12 09:50:17 +00:00
Markus Fröschle
bd4f85b07d added more diagnostics 2013-11-11 21:14:37 +00:00
Markus Fröschle
b2677b5c8e enable device after configuration 2013-11-11 17:08:40 +00:00
Markus Fröschle
a1e9e74c64 fixed warnings 2013-11-11 10:16:36 +00:00
Markus Fröschle
f698349be7 do DMA from SDRAM to SDRAM 2013-11-10 19:47:42 +00:00
Markus Fröschle
44361ab1a1 still target aborts 2013-11-10 18:11:33 +00:00
Markus Fröschle
110367ad73 still nothing but target aborts 2013-11-10 06:45:26 +00:00
Markus Fröschle
a8502bc856 still hangs, unfortunately 2013-11-09 19:57:16 +00:00
Markus Fröschle
bc1cd70d8e hang on USB hc reset 2013-11-09 18:09:01 +00:00
Markus Fröschle
4cb667facd USB chip registers seem to be visible now 2013-11-09 17:35:49 +00:00
Markus Fröschle
349dbff762 2013-11-09 08:46:32 +00:00
Markus Fröschle
5c9dc8c4d4 more consistant file name 2013-11-09 08:46:01 +00:00
Markus Fröschle
bdb9fc69a4 USB controller detected on FireBee - needs a long wait time for config access there... 2013-11-09 08:33:26 +00:00
Markus Fröschle
fff5cd371d moved code around to try and determine why PCI memory mapping doesn't work as expected 2013-11-08 17:34:08 +00:00
Markus Fröschle
722b6213aa added interrupt service routine for PCI errors. Fixed XLB macros (contained double undescores for _MBAR) 2013-11-08 13:59:39 +00:00
Markus Fröschle
527f443758 detects and displays S0 field correctly now 2013-11-08 08:18:03 +00:00
Markus Fröschle
f164da60fc modified pci_device_config() to support byteswapped config access functions 2013-11-08 06:45:51 +00:00
Markus Fröschle
519f3a9d0f cleanly finish configuration access cycle in pci_write_config_longword 2013-11-08 05:45:12 +00:00
Markus Fröschle
ad1dda1e42 cleanly finish PCI configuration access in pci_read_config_longword 2013-11-08 05:43:29 +00:00
Markus Fröschle
681a0e36b1 added missing newline 2013-11-07 20:53:43 +00:00
Markus Fröschle
aacb8ee021 added more diagnostic printouts and fixed debug() routines to ease debugging 2013-11-07 20:29:30 +00:00
Markus Fröschle
a0b79c96e9 made ram location of bas_ram dependend on overall memory size 2013-11-07 19:59:53 +00:00
Markus Fröschle
b7121739c8 added removal of libraries on make clean target 2013-11-07 19:51:44 +00:00
Markus Fröschle
83ecf74857 finally found and fixed P&E problem - you just need to wait after execute, otherwise the P&E interface sooner or later issues a reset 2013-11-07 19:51:04 +00:00
Markus Fröschle
dc206817d0 fixed swapw() 2013-11-07 19:49:56 +00:00
Markus Fröschle
a77806930c modified for M5484LITE 2013-11-07 19:49:35 +00:00
Markus Fröschle
0b5519fa76 removed unneeded printouts 2013-11-07 19:49:01 +00:00
Markus Fröschle
0e8187afab fixed PCIxxx() macros for little endian PCIBIOS routines 2013-11-07 19:48:21 +00:00
Markus Fröschle
e862b616b0 removed unused variables 2013-11-07 19:47:21 +00:00
Markus Fröschle
af32d5b6ee fixed for little endian PCIBIOS routines. Fixed bus enumeration 2013-11-07 19:46:44 +00:00
Markus Fröschle
6c4507ba0a fixed init_usb() for little endian PCI routines 2013-11-07 19:45:36 +00:00
Markus Fröschle
2e37cdb604 (temporarily) disabled EmuTOS copy for m5484LITE 2013-11-07 19:44:16 +00:00
Markus Fröschle
26a5415e4c added .indent.pro to enable indent source code formatting
modified s19header to printout the current header
modified Makefile to build s19header.c in utils directory
2013-11-07 14:46:10 +00:00
Markus Fröschle
3f435ed80e modified PCI access routines to closer follow pcibios standard 2013-11-07 11:31:10 +00:00
Markus Fröschle
e3f5acba6f fixed config space register offsets 2013-11-07 07:46:27 +00:00
Markus Fröschle
245cbe3a08 (nearly) fixed pci_find_device() 2013-11-07 07:45:54 +00:00
Markus Fröschle
50c65879e3 added diagnostic printout on exceptions - except common traps 2013-11-07 06:16:44 +00:00
Markus Fröschle
f1169f6d8f fixed multi-function devices 2013-11-07 06:03:49 +00:00