Skip to content

Commit

Permalink
examples/simple: give MaaXBoard 256MB of guest RAM
Browse files Browse the repository at this point in the history
512MB works fine but to be consistent with the other platforms,
we should give it 256MB.

Signed-off-by: Ivan Velickovic <[email protected]>
  • Loading branch information
Ivan-Velickovic committed Sep 26, 2024
1 parent 9966c82 commit 0e81969
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/simple/board/maaxboard/overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/ {
memory@40000000 {
device_type = "memory";
reg = <0x00 0x40000000 0x00 0x20000000>;
reg = <0x00 0x40000000 0x00 0x10000000>;
};

soc@0 {
Expand Down
4 changes: 2 additions & 2 deletions examples/simple/board/maaxboard/simple.system
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
SPDX-License-Identifier: BSD-2-Clause
-->
<system>
<!-- We allocate 512MiB of RAM for the guest. -->
<memory_region name="guest_ram" size="0x20000000" page_size="0x200000" />
<!-- We allocate 256MiB of RAM for the guest. -->
<memory_region name="guest_ram" size="0x10000000" page_size="0x200000" />
<!-- We want to map in the UART to get input/output. -->
<memory_region name="uart" size="0x10000" phys_addr="0x30860000" />
<!-- To boot Linux, we need to map in the GIC virtual CPU interface. -->
Expand Down

0 comments on commit 0e81969

Please sign in to comment.