Commit Graph

16 Commits

Author SHA1 Message Date
Markus Fröschle
28aad98ec2 fix comments 2020-06-23 10:00:13 +02:00
Markus Fröschle
a8dfbb1ba7 move remaining routines into BaS.c (after copy to RAM) 2020-06-23 09:58:06 +02:00
Markus Fröschle
3254a46278 rearrange to only run essential code from flash, everything else from
RAM

Move all code that is not essential before we copy code to RAM from
sysinit.c to BaS.c. Thus we only run basic initialization from flash and
everything else after RAM copy
2020-06-23 09:24:24 +02:00
Markus Fröschle
99af46af2a remove unused code 2020-06-23 09:09:23 +02:00
David Gálvez
231c71106e Fix typo 2020-05-14 19:18:22 +02:00
Markus Fröschle
e791f8bdae fix typo that caused a hex number wrongly interpreted as octal 2020-02-16 19:21:56 +01:00
Mark Duckworth
3446b32a45 Add support for the M5475EVB Board 2019-05-17 19:20:52 +02:00
David Gálvez
8001d4ed8b Correct speed setting in ACP_CONFIG register
Using a negative number to set the device as not existing
was incorrect, we set the device as a slow device (3) and
set the "not wait" bit like BaS CodeWarrior does.
2018-12-14 18:31:07 +01:00
David Gálvez
7a11f284d7 Clear IDE fields in ACP_CONFIG register
Don't trust that the IDE fields in ACP_CONFIG are set
to zero when the FPGA is loaded.
2018-12-14 18:31:07 +01:00
David Gálvez
0982b91c87 Fix FireTOS booting
For some reason which I coudn't figure it out FireTOS
fails to boot randomly when we turn on the MMU before
the IDE ports are initialized (FireTOS doesn't detect
the IDE devices). This is fixed when we turn on the MMU
after the IDE initialization. CodeWarrior BaS does it
this way too.
2018-12-14 18:31:07 +01:00
David Gálvez
025e8c9a28 Correct delay time from 1us to 1ms 2018-12-14 18:31:07 +01:00
David Gálvez
4799ba56b0 Add blank lines to make source more readable 2018-11-20 20:47:59 +01:00
David Gálvez
e1871d64d4 Show FPGA date after config loading
FPGA have now a register(0xf0040100) where the date is stored
2018-11-20 20:47:59 +01:00
David Gálvez
152c06f333 Add support for latest IDE improvements in FPGA 2018-11-20 20:47:59 +01:00
David Gálvez
3ae36eb937 Don't use error() to show shutdown message
It's misleading, RTC data is being saved in the PIC
and there is no error, better use inf() instead.
2018-11-02 14:27:34 +01:00
Markus Fröschle
d6a9aa14e3 add missing files not taken with github import 2017-12-25 10:21:08 +01:00