This is the mail archive of the
mailing list for the eCos project.
[Bug 1001606] Enable the cache on Kinetis in RAM startup mode
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Sat, 13 Oct 2012 10:27:51 +0100
- Subject: [Bug 1001606] Enable the cache on Kinetis in RAM startup mode
- Auto-submitted: auto-generated
- References: <firstname.lastname@example.org/>
Please do not reply to this email. Use the web interface provided at:
--- Comment #25 from Ilija Kocho <email@example.com> 2012-10-13 10:27:40 BST ---
(In reply (addendum) to comment #23)
> Bus arbitration tweak for copy-back DDRAM 121008
Another consideration: It is possible to swap PC and PS priorities permanently
for RAM startup. Then cache control macros will be shorter and there's no risk
of preemption.. The drawback, if any, is that crossbar arbitration priorities
for DDRAM will be different than the reset default. If implemented, this
inversion could be fixed or configurable with CDL.
> This is an alternative to round-robin.
> With a little tweak of bus arbitration priority, prior to spin-check of cache
> status the priorities of PC and PS master of DDRAM slave are swapped (only in
> case PC priority is bigger than PS priority) so code execution now can't stale
> the DCACHE flushing (or any other operation). After the operation, the
> priorities are restored, so practically all the time, the system works with
> default settings (or whatever may have been set by application).
> Note: This patch is incremental to attachment 1949 [details].
> I hope that now Kinetis CACHE has achieved desired functionality.
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.