Re: [Qemu-devel] [PATCH v2 0/2] target-xtensa: fix loading uImage kernels on MMUv2 cores

2014-10-20 Thread Alexander Graf



> Am 19.10.2014 um 07:03 schrieb Max Filippov :
> 
> Hi,
> 
> this series fixes loading uImage kernels on MMUv2 xtensa cores.
> 
> U-boot for xtensa always treats uImage load address as virtual address.
> This is important when booting uImage on xtensa core with MMUv2, because
> MMUv2 has fixed non-identity virtual-to-physical mapping after reset.

Reviewed-by: Alexander Graf 


Alex




[Qemu-devel] [PATCH v2 0/2] target-xtensa: fix loading uImage kernels on MMUv2 cores

2014-10-18 Thread Max Filippov
Hi,

this series fixes loading uImage kernels on MMUv2 xtensa cores.

U-boot for xtensa always treats uImage load address as virtual address.
This is important when booting uImage on xtensa core with MMUv2, because
MMUv2 has fixed non-identity virtual-to-physical mapping after reset.

Changes v1->v2:
- drop custom uImage loader interface and add generic translation function
  instead (suggested by Alexander Graf).

Max Filippov (2):
  hw/core/loader: implement address translation in uimage loader
  hw/xtensa/xtfpga: treat uImage load address as virtual

 hw/arm/boot.c  |  2 +-
 hw/core/loader.c   | 17 +
 hw/m68k/an5206.c   |  3 ++-
 hw/m68k/dummy_m68k.c   |  3 ++-
 hw/m68k/mcf5208.c  |  3 ++-
 hw/microblaze/boot.c   |  3 ++-
 hw/openrisc/openrisc_sim.c |  2 +-
 hw/ppc/e500.c  |  3 ++-
 hw/ppc/ppc440_bamboo.c |  3 ++-
 hw/xtensa/xtfpga.c |  3 ++-
 include/hw/loader.h|  4 +++-
 11 files changed, 32 insertions(+), 14 deletions(-)

-- 
1.8.1.4