From c5c7538ec4bf8579045ea12e31a287ae26af5730 Mon Sep 17 00:00:00 2001 From: Michalis Pappas <mpappas@fastmail.fm> Date: Sat, 3 Mar 2018 18:26:11 +0800 Subject: [PATCH] qemu: Accessing UART1 causes a data abort The register address range of UART1 (crash console) are outside the address ranges mapped for MMIO, resulting to an MMU abort when the device registers are accessed. Increase the size of DEVICE1 memory to include the range of UART1. Fixes ARM-software/tf-issues#560 Signed-off-by: Michalis Pappas <mpappas@fastmail.fm> --- plat/qemu/include/platform_def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plat/qemu/include/platform_def.h b/plat/qemu/include/platform_def.h index afda4f8e6..417048f8e 100644 --- a/plat/qemu/include/platform_def.h +++ b/plat/qemu/include/platform_def.h @@ -198,7 +198,7 @@ #define DEVICE0_BASE 0x08000000 #define DEVICE0_SIZE 0x00021000 #define DEVICE1_BASE 0x09000000 -#define DEVICE1_SIZE 0x00011000 +#define DEVICE1_SIZE 0x00041000 /* * GIC related constants -- GitLab