From 8d19aad601cf2cd2f42cbfb334c316d11c2ecf98 Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Wed, 27 Nov 2013 19:10:50 +0100 Subject: [PATCH] hw_pbxa9: provide 768 MB RAM The previously used RAM 0x0..0x10000000 was just an alias for 0x70000000..0x80000000. Qemu provides up to of 768 MB RAM with the correct -m argument. This RAM is located at 0x70000000..0x90000000 and 0x20000000..0x30000000. At least the noux_tool_chain scripts are happy to have that much RAM. ref #964 --- base-hw/mk/spec-hw_pbxa9.mk | 2 +- base/include/platform/pbxa9/drivers/board_base.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/base-hw/mk/spec-hw_pbxa9.mk b/base-hw/mk/spec-hw_pbxa9.mk index de2cbbad5..c152f1f51 100644 --- a/base-hw/mk/spec-hw_pbxa9.mk +++ b/base-hw/mk/spec-hw_pbxa9.mk @@ -8,7 +8,7 @@ SPECS += hw platform_pbxa9 # set address where to link text segment at -LD_TEXT_ADDR ?= 0x01000000 +LD_TEXT_ADDR ?= 0x70000000 # include implied specs include $(call select_from_repositories,mk/spec-hw.mk) diff --git a/base/include/platform/pbxa9/drivers/board_base.h b/base/include/platform/pbxa9/drivers/board_base.h index d94cd7201..fadc0c141 100644 --- a/base/include/platform/pbxa9/drivers/board_base.h +++ b/base/include/platform/pbxa9/drivers/board_base.h @@ -24,8 +24,8 @@ namespace Genode enum { /* normal RAM */ - RAM_0_BASE = 0x00000000, - RAM_0_SIZE = 0x10000000, + RAM_0_BASE = 0x70000000, + RAM_0_SIZE = 0x20000000, RAM_1_BASE = 0x20000000, RAM_1_SIZE = 0x10000000,