Skip to content
Permalink
Browse files

boards/x86/qemu_x86: increase RAM size

Increase ram size as flash simulator need it for
emulated storage. The qemu_x86 flash size is puted back to
its original value of 4092K

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
  • Loading branch information...
nvlsianpu authored and nashif committed May 10, 2019
1 parent e81090c commit 56be0fd5a97fd91113c63ee55df56ed24ee57057
Showing with 3 additions and 3 deletions.
  1. +1 −1 boards/x86/qemu_x86/board.cmake
  2. +2 −2 boards/x86/qemu_x86/qemu_x86.dts
@@ -8,7 +8,7 @@ endif()

set(QEMU_CPU_TYPE_${ARCH} qemu32,+nx,+pae)
set(QEMU_FLAGS_${ARCH}
-m 8
-m 12
-cpu ${QEMU_CPU_TYPE_${ARCH}}
-device isa-debug-exit,iobase=0xf4,iosize=0x04
${REBOOT_FLAG}
@@ -4,7 +4,7 @@

#include <mem.h>

#define DT_FLASH_SIZE DT_SIZE_K(1024)
#define DT_FLASH_SIZE DT_SIZE_K(4096)
#define DT_SRAM_SIZE DT_SIZE_K(4096)

#include <ia32.dtsi>
@@ -50,7 +50,7 @@

flash_sim0: flash_sim@0 {
compatible = "soc-nv-flash";
reg = <0x00000000 DT_FLASH_SIZE>;
reg = <0x00000000 DT_SIZE_K(1024)>;

erase-block-size = <1024>;
write-block-size = <4>;

0 comments on commit 56be0fd

Please sign in to comment.
You can’t perform that action at this time.