Skip to content

Commit 85c56a2

Browse files
committed
Enlarge RAM size to 1024 MiB to run virgl_test_server
1 parent a8820bf commit 85c56a2

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
@@ -6,7 +6,7 @@
66

77
/* RAM */
88

9-
#define RAM_SIZE (512 * 1024 * 1024)
9+
#define RAM_SIZE (1024 * 1024 * 1024)
1010
#define DTB_SIZE (1 * 1024 * 1024)
1111
#define INITRD_SIZE (65 * 1024 * 1024)
1212

minimal.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
bootargs = "earlycon console=ttyS0";
1919
stdout-path = "serial0";
2020
/* Reserve 65MiB for initrd image */
21-
linux,initrd-start = <0x1be00000>; /* @406 MiB (446 * 1024 * 1024) */
22-
linux,initrd-end = <0x1fefffff>; /* @511 MiB (511 * 1024 * 1024 - 1) */
21+
linux,initrd-start = <0x3be00000>; /* @ 958 MiB (958 * 1024 * 1024) */
22+
linux,initrd-end = <0x3fefffff>; /* @1023 MiB (511 * 1024 * 1024 - 1) */
2323
};
2424

2525
cpus {
@@ -30,7 +30,7 @@
3030

3131
sram: memory@0 {
3232
device_type = "memory";
33-
reg = <0x00000000 0x20000000>;
33+
reg = <0x00000000 0x40000000>; /* 1024 MiB */
3434
reg-names = "sram0";
3535
};
3636

0 commit comments

Comments
 (0)