> No. This is a reset ordering problem. The CPU reset happens before the
> 'rom blob loader' reset, so at this point the rom data (usually an ELF file
> segment) has not been written into ram, and doing an
> address_space_read() will just read zeroes. This is also why the aliasing
> issue happens
With this patch, we allow loading a ROM image at an aliased address,
when it is located in a memory region for which an alias exists.
Changes since v1:
- Removes unnecessary "else rom = NULL" clause after having verified mr.
Signed-off-by: Jean-Hugues Deschenes
---
target/arm/cpu.c | 31 +++
With this patch, we allow loading a ROM image at an aliased address,
when it is located in a memory region for which an alias exists.
Signed-off-by: Jean-Hugues Deschenes
---
target/arm/cpu.c | 33 ++---
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/t