On Tue, 05 Aug 2025 19:45:33 +0200, Ahmad Fatoum wrote: > The loop remapping the memory banks looks at reserved memory > regions and then maps everything eXecute Never up to the start of the > region. If the region happens to be in the same bank as the text area > and it comes after it, this means the text area is temporarily mapped > eXecute Never, while barebox is running from it, which results in a > hang. > > [...]
Applied, thanks! [1/8] partition: rename region_overlap_end to region_overlap_end_inclusive https://git.pengutronix.de/cgit/barebox/commit/?id=f6c2846933ca (link may not be stable) [2/8] partition: define new region_overlap_end_exclusive helper https://git.pengutronix.de/cgit/barebox/commit/?id=768fdb36f30e (link may not be stable) [3/8] ARM: mmu: skip TLB invalidation if remapping zero bytes https://git.pengutronix.de/cgit/barebox/commit/?id=b71103970c9b (link may not be stable) [4/8] ARM64: mmu: pass map type not PTE flags to early_remap_range https://git.pengutronix.de/cgit/barebox/commit/?id=fda2cc61ef68 (link may not be stable) [5/8] ARM: mmu: provide setup_trap_pages for both 32- and 64-bit https://git.pengutronix.de/cgit/barebox/commit/?id=5a4f19a47c21 (link may not be stable) [6/8] ARM: mmu: setup trap pages before remapping R/O https://git.pengutronix.de/cgit/barebox/commit/?id=b661f0519424 (link may not be stable) [7/8] ARM: mmu: share common memory bank remapping code https://git.pengutronix.de/cgit/barebox/commit/?id=5c4d167f5a54 (link may not be stable) [8/8] ARM: mmu: fix hang reserving memory after text area https://git.pengutronix.de/cgit/barebox/commit/?id=e91c073f4756 (link may not be stable) Best regards, -- Sascha Hauer <s.ha...@pengutronix.de>