Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
Hi,
my 4k sectioned ttbr1 setup is write and readable, so that I can load executable code (the kernel there), when I want to branch there and hand start the kernel I'm receiving a permission fault. I'm no an expert (still) and it's pretty likely that I have overseen something configuration wise.
My config:
sctrl: =1<<0
mair0 = 0xFF
tcr: t1sz = 16, .tg1 = 0, all other entries are 0
flags:
block entry flags: ap = only_el1_read_write(0b00), attrIndex = mair0, ns = 0, valid = 1, contiguous = 0, pxn = 0, uxn = 0
1 lvl flags: ap = read_write(0b01), attrIndex = mair0, ns = 0, valid = 1, contiguous = 0, pxn = 0, uxn = 0
Exception:
ESR_EL1 = 0x8600000d
I'm very thankful for any input!
greets from Germany!
ok, got it, my ttbr1 block table entries were starting with 0xfff, so uxn/ pxn where 1. nvm