Skip to content

Commit 01cfea5

Browse files
committed
Enlarge RAM size to 1024 MiB to run virgl_test_server
1 parent a0d9059 commit 01cfea5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

device.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/* RAM */
1010

11-
#define RAM_SIZE (512 * 1024 * 1024)
11+
#define RAM_SIZE (1024 * 1024 * 1024)
1212
#define DTB_SIZE (1 * 1024 * 1024)
1313
#define INITRD_SIZE (8 * 1024 * 1024)
1414

minimal.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
chosen {
1818
bootargs = "earlycon console=ttyS0";
1919
stdout-path = "serial0";
20-
linux,initrd-start = <0x1f700000>; /* @403 MiB (503 * 1024 * 1024) */
21-
linux,initrd-end = <0x1fefffff>; /* @511 MiB (511 * 1024 * 1024 - 1) */
20+
linux,initrd-start = <0x3f700000>; /* @915 MiB (915 * 1024 * 1024) */
21+
linux,initrd-end = <0x3fefffff>; /* @1023 MiB (1023 * 1024 * 1024 - 1) */
2222
};
2323

2424
cpus {
@@ -29,7 +29,7 @@
2929

3030
sram: memory@0 {
3131
device_type = "memory";
32-
reg = <0x00000000 0x20000000>;
32+
reg = <0x00000000 0x40000000>;
3333
reg-names = "sram0";
3434
};
3535

0 commit comments

Comments
 (0)