Commit Graph

189 Commits

Author SHA1 Message Date
Markus Fröschle
ccbe9da4cb fix ST RAM values for initial SP & PC to allow FreeMint reboots on CTRL-ALT-DELETE 2016-04-02 10:39:26 +00:00
Markus Fröschle
a4581785d3 skip FPGA config load at reset ("warm start") 2016-04-02 08:04:26 +00:00
David Gálvez
05c9e4d1bb Post increment makes that we send 65 bytes.
Reported by Daroou.
2016-02-16 15:21:30 +00:00
David Gálvez
039da05264 Move functions declaration to header file 2016-02-07 18:35:04 +00:00
David Gálvez
4934ac83ff Fix date and time saving to PIC process.
Use wrapped functions to acces PIC registers.
2016-02-07 14:20:22 +00:00
Markus Fröschle
1ff219bebf fix PSC3 interrupt level and prio
fix PIC communication in PSC3 interrupt handler
2016-02-07 12:28:13 +00:00
Markus Fröschle
07f58e4284 fix wrong IRQ priority for PCI arbiter interrupt (was identical to DMA
interrupt)
2016-02-07 10:27:42 +00:00
Markus Fröschle
52301045d8 avoid FireTOS hang on boot 2016-01-30 16:00:02 +00:00
Markus Fröschle
424a276dee add PCI driver interface enumeration routine 2015-11-20 19:25:57 +00:00
Markus Fröschle
7b289364b0 make separate section to enable external interrupts on the MCF54455 2015-11-20 12:43:04 +00:00
Markus Fröschle
9a6f9427a7 fix __MBAR and __RAMBAR for MCF54455 2015-11-20 12:34:17 +00:00
Markus Fröschle
1964c0c3a8 fix consistency #if and #if defined() 2015-11-19 20:27:49 +00:00
Markus Fröschle
86d141b577 fix consistancy (#ifdef, #if defined(), #if) 2015-11-19 19:00:44 +00:00
Markus Fröschle
ba0f01d09c reformat 2015-11-16 15:20:43 +00:00
Markus Fröschle
fb16be9221 new function enable_pci_interrupts() (defer PCI interrupt activation
until after PCI scan)
2015-10-11 18:31:07 +00:00
Markus Fröschle
6d7d81090c fix to only reprogram the interrupt controller if neccessary 2015-10-11 18:27:41 +00:00
Markus Fröschle
5d75d8ccc7 fix a problem where enabling the spurious interrupt handler screwed up
interrupt controller registers
2015-10-11 05:54:45 +00:00
Markus Fröschle
ea0e9c1ec0 fix a problem where nested interrupts caused networking to hang 2015-10-11 05:52:58 +00:00
Markus Fröschle
a6cd8d2912 disable debugging output in release version 2015-10-11 05:52:07 +00:00
Markus Fröschle
5afb746abb fix discrepancies and disable PCI interrupts (temporarily)
seems to increase stability
2015-10-03 16:12:17 +00:00
Markus Fröschle
20339b2d60 temporary disabled PCI interrupts 2015-10-03 08:31:58 +00:00
Markus Fröschle
7b869beb39 removed non-UTF8 char that made it into the file somehow 2015-04-07 10:03:20 +00:00
Markus Fröschle
b1d1dd5cdd repaired jtagwait magic type conflict
added "native PCI" driver interface
2015-04-03 14:28:41 +00:00
Markus Fröschle
c036d08f6a modified PCI configuration, RADEON card does not configure correctly
(MMIO space not accessible)
2015-02-22 19:46:16 +00:00
Markus Fröschle
91a1c53bdc added setjmp()/longjmp() (used by NetBSD x86 emulator)
modified x86pcibios.c to work with NetBSD x86 emulator
2015-02-17 14:43:11 +00:00
Markus Fröschle
3d55311492 still problems with libgcc.a long long symbols 2015-02-17 07:22:02 +00:00
Markus Fröschle
2a61ed3b0e replaced Firetos x86 emulator with the optimised NetBSD version 2015-02-16 22:14:44 +00:00
Markus Fröschle
f92969d516 fixed formatting 2015-02-15 10:33:22 +00:00
Markus Fröschle
0b7cf355c7 fixed (wrong) comment 2015-01-31 06:32:41 +00:00
Markus Fröschle
d7cf622692 made m548xLITE board run again 2015-01-24 10:14:39 +00:00
Markus Fröschle
06dcdd3db1 removed vsync and hsync interrupt handling from fbee interrupt handler 2015-01-19 12:32:22 +00:00
Markus Fröschle
642a994f81 reformatted 2015-01-18 21:05:05 +00:00
Markus Fröschle
bef7fdbc2e Networking finally works stable, although not really clean. Something causes spurious interrupts and a handler for this fixed it for now. 2015-01-18 19:47:31 +00:00
Markus Fröschle
db0bc5af3d modified debug print 2015-01-17 21:47:56 +00:00
Markus Fröschle
5ed4f44c9a modified for m548x irq5 2015-01-17 21:47:12 +00:00
Markus Fröschle
5305ce49c6 modified FBC for m5484x CPLD CompactFlash access 2015-01-17 21:46:04 +00:00
Markus Fröschle
ee53b7a330 added code to halt machine after a fatal error 2015-01-17 08:03:50 +00:00
Markus Fröschle
56a0731ed1 refactored struct naming 2015-01-16 07:35:35 +00:00
Markus Fröschle
cfdf59d7d7 networking looks good? 2015-01-14 18:38:33 +00:00
Markus Fröschle
be732799a1 video DDR RAM initialization seems to use an octal number??? 2015-01-13 07:05:08 +00:00
Markus Fröschle
c7a1641405 successfully compiled BaS_gcc over NFS on a Linux host from the Firebee:
network test passed
2015-01-12 21:37:44 +00:00
Markus Fröschle
de2d671a15 fixed missing unmask of DMA task interrupts 2015-01-12 10:49:01 +00:00
Markus Fröschle
c09f0d735e implemented initial version of XLB PCI interrupt handler. For now it
just reports and clears errors.
2015-01-12 07:25:16 +00:00
Markus Fröschle
7c1844d73c activated more Coldfire interrupt sources 2015-01-11 17:02:40 +00:00
Markus Fröschle
fe65b2ca00 replaced DMA API routines by fresh download with originals
moved more interrupt handlers to generalized handler
cleaned up lowlevel interrupt handling
fixed wrong assignment of interrupt masks
reformatted
2015-01-11 10:27:36 +00:00
Markus Fröschle
504d11dbfd changed return type of interrupt handlers 2015-01-10 17:44:04 +00:00
Markus Fröschle
00b29437d8 did more changes to interrupt code, but still crashes in networking 2015-01-10 17:19:56 +00:00
Markus Fröschle
388ff72886 This version is working again, except network. For some reason, the DMA
interrupts don't seem to be triggered.
2015-01-09 20:12:03 +00:00
Markus Fröschle
6da4e0f182 (re) implemented irq1-4 + irq7 2015-01-09 16:01:58 +00:00
Markus Fröschle
1ed3bfab0c (re)implemented irq1-irq4+irq7 handlers 2015-01-09 15:57:42 +00:00