Re: Cache

2022-09-19 Thread NXWorld Lee
Hi Tim, Please find the following code in arch/arm/src/armv7-a/arm_head.S. The ICache and DCache will be enabled by default. #undef CPU_DCACHE_DISABLE #undef CPU_ICACHE_DISABLE #if !defined(CPU_DCACHE_DISABLE) && !defined(CONFIG_SMP) /* Dcache enable * * SCTLR_CBit 2: DCache enable */ orr

RE: Cache

2022-09-13 Thread TimH
I found that the up_enable_dcache function is there, with a call to cp15_enable_dcache, yes; and that function is in my system.map. But nothing calls it that I can find? >-Original Message- >From: Alan Carvalho de Assis >Sent: 13 September 2022 15:01 > >I don't know about sama5, but pr

Re: Cache

2022-09-13 Thread Alan Carvalho de Assis
I don't know about sama5, but probably it is done here: arch/arm/src/armv7-a/ On 9/13/22, TimH wrote: > I will probably hit send then find it.but, right now, I can't see if > there's > anything I need to do to enable DCACHE? > > > > My .config has CONFIG_ARCH_DCACHE set, and that seems to "enable