[PATCH] arm: relocate: Introduce data-only relocation mode

Marek Vasut marek.vasut at mailbox.org
Tue Mar 17 18:23:58 CET 2026


On 3/17/26 8:46 AM, Heinrich Schuchardt wrote:
> Am 16. März 2026 00:54:05 MEZ schrieb Marek Vasut <marek.vasut+renesas at mailbox.org>:
>> Introduce new mode of relocation which relocates only data, not code.
>> This is mainly meant to relocate data to read-write portion of the RAM,
>> while the code remains in read-only portion of the RAM from which it is
>> allowed to execute. This split configuration is present on various secure
>> cores.
> 
> Ilias has been working on supporting RX and RW memory areas via the MMU. Isn't this compatible with code relocation?
This is different. First of all, the core has no MMU, it has MPU. But 
the separation of instructions and data is implemented on the bus level, 
it is outside of the MPU.


More information about the U-Boot mailing list