ARM cp15 c1 control on the BBB at _start

Chris Johns chrisj at rtems.org
Tue Mar 6 08:20:56 UTC 2018


On 6/3/18 6:40 pm, Sebastian Huber wrote:
> On 05/03/18 23:12, Chris Johns wrote:
>> Note, the Zynq does not clear the A flag in it's specific MMU set up call so
>> does it assume the boot loader will clear it?
>>
>> Why not clear the A flag and remove any restrictions and try and make the BSPs
>> consistent?
> 
> A set SCTLR[A] bit after initialization (in thread/interrupt context) is a bug.
> 

The bit is left set by u-boot, well it is set while SPL is running.

How do you define initialization? I am asking why not clear it as soon as
possible after _start?

Chris

ps, SCTLR[A] is used in the Cortex-A9 docs and not in the Cortex-A8 :)


More information about the devel mailing list