This is the mail archive of the
ecos-bugs@sourceware.org
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: Thu, 14 Jun 2012 13:32:22 +0100
- Subject: [Bug 1001606] Enable the cache on Kinetis in RAM startup mode
- Auto-submitted: auto-generated
- References: <bug-1001606-13@http.bugs.ecos.sourceware.org/>
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001606
--- Comment #10 from Ilija Kocho <ilijak@siva.com.mk> 2012-06-14 13:32:14 BST ---
Jifl
I am applying changes and I have some doubts.
Considering that Kinetis have 2 unified caches:
- Is it OK to independently disable/enable them by DCACHE_ENABLE/
DCACHE_DISABLE respectively (with appropriate documentation in CDL descriptions
and SGML)? The present state treats them as unified cache.
- What would be appropriate setting for DCACHE_SIZE / ICACHE_SIZE and
DCACHE_WAYS / ICACHE_WAYS (Each Kinetis cache size is 8KiB with 2 ways)?
Current setting is:
#define DCACHE_SIZE (2*8192)
#define DCACHE_WAYS (2*2)
#define ICACHE_SIZE (2*8192)
#define ICACHE_WAYS (2*2)
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.