Skip to content

Commit

Permalink
boards/x86/qemu_x86: increase RAM size
Browse files Browse the repository at this point in the history
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 13, 2019
1 parent e81090c commit 56be0fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion boards/x86/qemu_x86/board.cmake
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ endif()


set(QEMU_CPU_TYPE_${ARCH} qemu32,+nx,+pae) set(QEMU_CPU_TYPE_${ARCH} qemu32,+nx,+pae)
set(QEMU_FLAGS_${ARCH} set(QEMU_FLAGS_${ARCH}
-m 8 -m 12
-cpu ${QEMU_CPU_TYPE_${ARCH}} -cpu ${QEMU_CPU_TYPE_${ARCH}}
-device isa-debug-exit,iobase=0xf4,iosize=0x04 -device isa-debug-exit,iobase=0xf4,iosize=0x04
${REBOOT_FLAG} ${REBOOT_FLAG}
Expand Down
4 changes: 2 additions & 2 deletions boards/x86/qemu_x86/qemu_x86.dts
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


#include <mem.h> #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) #define DT_SRAM_SIZE DT_SIZE_K(4096)


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


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


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

0 comments on commit 56be0fd

Please sign in to comment.