[PATCH 3/4] Revert "ARM: mmu: use client domain permissions to support ARMv7 eXecute Never"

Peter Rosin peda at axentia.se
Sun Sep 19 13:33:07 PDT 2021


On 2021-09-19 09:50, Peter Rosin wrote:
> On 2021-09-19 09:06, Rouven Czerwinski wrote:
>> processors. Are you calling into SAMA5D3 ROM code somewhere? If so an
> 
> *I* am not calling anything. Maybe the board code for sama5d3xek is,
> but I have no idea as it's not "my" code. How can I figure out if it
> does?

I did some digging and I think calling into any ROM can be ruled out
in this case. The only ROM that I can find in the sama5d3x datasheet
is this one:

- One 160 Kbyte Internal ROM Single-cycle Access at System Speed,
  Embedded Boot Loader: Boot on 8-bit NAND Flash, SDCard, eMMC,
  serial DataFlash, selectable Order

AFAICT, the internal ROM only contains the first level boot loader,
so the ROM is presumably never used after that stage. That said,
I'm by no means an expert on the internal details of the sama5d3x...

That, and there's no external ROM on the address bus.

Cheers,
Peter



More information about the barebox mailing list