Skip to content

Commit a5d1866

Browse files
committed
Reserve 150 MiB of initrd RAM for X11 and Mesa3D test programs
1 parent ba1bf99 commit a5d1866

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

device.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#define RAM_SIZE (1024 * 1024 * 1024)
1010
#define DTB_SIZE (1 * 1024 * 1024)
11-
#define INITRD_SIZE (65 * 1024 * 1024)
11+
#define INITRD_SIZE (150 * 1024 * 1024)
1212

1313
#define SCREEN_WIDTH 1024
1414
#define SCREEN_HEIGHT 768

minimal.dts

+3-3
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)