This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001606] Enable the cache on Kinetis in RAM startup mode


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001606

--- Comment #25 from Ilija Kocho <ilijak@siva.com.mk> 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.
Comments?


> 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].
> 
> Jifl,
> I hope that now Kinetis CACHE has achieved desired functionality.
> 
> Ilija

-- 
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]