at91rm9200ek.h: explicitly disable D-Cache
PATCH 1/1 at91rm9200ek.h: explicitly disable D-Cache
Commit c2dd0d45540397704de9b13287417d21049d34c6 enabled D-Cache for all arm devices explicitly. This renders at91_emac driver on at91rm9200ek unusable.
This patch disables D-Cache for at91rm9200ek explicitly to get this driver working again.
--- include/configs/at91rm9200ek.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
include/configs/at91rm9200ek.h +5 -0
@@ -219,6 +219,11 @@ (CONFIG_SYS_CBSIZE +sizeof (CONFIG_SYS_PROMPT ) +16 )/* +* Cache settings + */ +#define CONFIG_SYS_DCACHE_OFF + +/* * Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + SZ_128K, \
Signature · 1 line
1.7.6
PATCH 1/1 at91rm9200ek.h: explicitly disable D-Cache
Quoted 3 lines · On Wednesday, August 31, 2011 01:36:13 Andreas Bie?mann wrote:
Commit
c2dd0d45540397704de9b13287417d21049d34c6enabled D-Cache for all arm devices explicitly. This rendersat91_emacdriver on at91rm9200ek unusable.
sounds like the at91_emac driver should get a small patch:
#ifndef CONFIG_SYS_DCACHE_OFF
# error "this driver sucks: define CONFIG_SYS_DCACHE_OFF until it is fixed" #endif -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20110831/1657fdac/attachment.pgp
PATCH 1/1 at91rm9200ek.h: explicitly disable D-Cache
In reply to Andreas BießmannDear Andreas Bie?mann,
Quoted 6 lines
Commit
c2dd0d45540397704de9b13287417d21049d34c6enabled D-Cache for all arm devices explicitly. This rendersat91_emacdriver on at91rm9200ek unusable.This patch disables D-Cache for at91rm9200ek explicitly to get this driver working again.
As my experience, the MACB driver does work with dcache enabled. What are the reasons again that MACB and AT91_EMAC do coexist for the same SoC-IP ?
Best Regards,
Reinhard
PATCH 1/1 at91rm9200ek.h: explicitly disable D-Cache
Dear Reinhard Meyer,
Am 31.08.2011 um 21:51 schrieb Reinhard Meyer:
Quoted 11 lines
Dear Andreas Bie?mann,
Quoted 6 lines
Commit
c2dd0d45540397704de9b13287417d21049d34c6enabled D-Cache for all arm devices explicitly. This rendersat91_emacdriver on at91rm9200ek unusable.This patch disables D-Cache for at91rm9200ek explicitly to get this driver working again.
As my experience, the MACB driver does work with dcache enabled. What are the reasons again that MACB and
AT91_EMACdo coexist for the same SoC-IP ?
The at91rm9200 emac seems to be a older version of the current (E)MAC(B) implementations. Some registers not available there, some flags have other places ... but maybe this could be done with the same driver. I just wonder why the linux kernel also have an at91-ether and dedicated macb driver?
best regards
Andreas Bie?mann