Skip to content

Commit 34d11dd

Browse files
committed
Reserve 150 MiB of initrd RAM for X11 and Mesa3D test programs
1 parent 549e461 commit 34d11dd

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
@@ -10,7 +10,7 @@
1010

1111
#define RAM_SIZE (1024 * 1024 * 1024)
1212
#define DTB_SIZE (1 * 1024 * 1024)
13-
#define INITRD_SIZE (65 * 1024 * 1024)
13+
#define INITRD_SIZE (150 * 1024 * 1024)
1414

1515
#define SCREEN_WIDTH 1024
1616
#define SCREEN_HEIGHT 768

minimal.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
chosen {
1818
bootargs = "earlycon console=ttyS0";
1919
stdout-path = "serial0";
20-
/* Reserve 65MiB for initrd image */
21-
linux,initrd-start = <0x3be00000>; /* @ 958 MiB (958 * 1024 * 1024) */
22-
linux,initrd-end = <0x3fefffff>; /* @1023 MiB (511 * 1024 * 1024 - 1) */
20+
/* Reserve 150 MiB for initrd image */
21+
linux,initrd-start = <0x36900000>; /* @ 923 MiB (958 * 1024 * 1024) */
22+
linux,initrd-end = <0x3fefffff>; /* @1023 MiB (1023 * 1024 * 1024 - 1) */
2323
};
2424

2525
cpus {

0 commit comments

Comments
 (0)