Commit Graph

144 Commits

Author SHA1 Message Date
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
aacb8ee021 added more diagnostic printouts and fixed debug() routines to ease debugging 2013-11-07 20:29:30 +00:00
Markus Fröschle
0b5519fa76 removed unneeded printouts 2013-11-07 19:49:01 +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
405a0922f6 tried to find the cause of hang in FPGA load on FireBee - unsucessful yet 2013-11-06 07:09:09 +00:00
Markus Fröschle
02d182395d cleaned up pci initialization and moved call behind FPGA initialization (pin assignments collide) 2013-11-06 06:09:36 +00:00
Markus Fröschle
5af37f21c3 added display of PCI handle of USB device found 2013-11-05 20:24:58 +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
76c4c0d7c0 2013-11-04 11:25:33 +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
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
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
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
681343829c removed debug printout
incorporated EmuTOS byte swap routines for PCI access
2013-10-27 06:24:16 +00:00
Markus Fröschle
c45a959364 removed comment on USB controller initialization 2013-10-26 11:56:18 +00:00
Markus Fröschle
ccf8fde8b4 completely moved PCI initialization outside of sysinit.c 2013-10-26 09:51:29 +00:00
Markus Fröschle
8fe1fd8583 removed call to new init_pci() (replaced by old init_PCI()) since new version causes a hang in EmuTOS boot. Need to test more extensively first 2013-10-26 08:44:56 +00:00
Markus Fröschle
7775f24064 put version numbers alone into separate file so other tools can pick it up 2013-10-21 18:28:28 +00:00
Markus Fröschle
a5ba6ce563 swapped out pci initialization into separate source file (still needs some testing bevore removing the original) 2013-10-21 10:03:00 +00:00
Markus Fröschle
0de5f99c9e replaced oldstyle diagnostic message statement 2013-10-19 04:36:29 +00:00
Markus Fröschle
0bffba7fc0 prepared to move dspi functionality into a separate source file.
removed obsolete print statement
2013-10-16 13:35:32 +00:00
Markus Fröschle
88b68847d1 include <stdbool.h> to resolve "true" and "false" 2013-10-15 05:09:46 +00:00
Markus Fröschle
29df2ea4c1 clear data segment only if we are running from ROM/flash 2013-10-15 05:07:18 +00:00
Markus Fröschle
7f2d47245c bumped version number 2013-10-15 04:49:39 +00:00
Markus Fröschle
8a3c591c3b stop and disable unused SOC components by stopping their clocks 2013-08-13 10:20:44 +00:00
Markus Fröschle
c149d2ecb8 stop and disable unused SOC components by stopping their clocks 2013-08-13 10:05:06 +00:00
Markus Fröschle
b6fdc3af2b reverted previous change which was plain wrong 2013-08-13 05:55:21 +00:00
Markus Fröschle
2835be6aaa fixed initialization of GPIO DMA pin assignments 2013-08-13 05:47:37 +00:00
Markus Fröschle
e478d9446c modified init_gpio() to use symbolic values for initialization and added comments 2013-08-12 15:23:26 +00:00
Markus Fröschle
32920a20c6 fixed a typo in linker script
avoid copy of BaS if linked to RAM
2013-08-06 10:39:46 +00:00
Markus Fröschle
f4c8890b2f modified BaS copy to also have the exception routines in RAM 2013-08-05 04:22:10 +00:00
Markus Fröschle
fa05f3808d finished early exception vector table 2013-08-02 22:13:11 +00:00
Markus Fröschle
8448b2e579 initialize prelaminary exception vector table 2013-08-02 17:35:01 +00:00
Markus Fröschle
2a9a57eeea clear BaS data segment at start 2013-08-01 05:46:39 +00:00
Markus Fröschle
20b62d63b2 memory to memory DMA test
display BaS version and compile date/time
2013-07-31 20:57:55 +00:00
Markus Fröschle
1773c68af9 reverted previous changes that prevented FireTOS from booting (EmuTOS didn't have any problems) 2013-07-28 10:35:07 +00:00
Markus Fröschle
884f9eedd4 simplified MMU initialization
removed (apparently unneeded) MMU TLBs
added source file templates for SPI dma routines
2013-07-28 07:19:57 +00:00
Markus Fröschle
439ccea341 added display of reset cause and processor identification 2013-07-23 05:05:07 +00:00
Markus Fröschle
8ff592e6cd fixed SLT signedness 2013-07-15 04:27:28 +00:00
Markus Fröschle
9539cf0c32 fixed (hopefully) SD-card busy-wait loops 2013-07-14 17:36:46 +00:00
Markus Fröschle
0a9c396d39 added FASTRAM_END to BaS 2013-07-02 10:23:05 +00:00
Markus Fröschle
ab94a57783 set FASTRAM_END for Firetos 2013-07-02 09:58:30 +00:00
Markus Fröschle
41fa049f5b removed BaS copy to RAM.
Since flashing is intended from a self-contained, SD-card loaded image, this is not neccessary anymore.
2013-07-02 09:53:48 +00:00
Markus Fröschle
d81879b86a deciphered SDRAM initialization values (SDCR and SDMR) with Coldfire preprocessor macros 2013-02-05 16:33:35 +00:00
Markus Fröschle
075062972b deciphered SDRAM initialization values (SDCFG1 and 2) with Coldfire preprocessor macros 2013-02-05 10:41:18 +00:00
Markus Fröschle
14ac2e71ba fixed doubly definition of wait_() routines 2013-01-21 13:13:33 +00:00
Markus Fröschle
a875f4062a avoid compiler warning due to bogus comparison 2013-01-21 11:06:35 +00:00