Skip to content

Commit

Permalink
[WIP] Reserve 150 MiB of initrd RAM for X11 and Mesa3D test programs
Browse files Browse the repository at this point in the history
  • Loading branch information
shengwen-tw committed Feb 1, 2025
1 parent 80fade6 commit dfa69eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion device.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#define RAM_SIZE (1024 * 1024 * 1024)
#define DTB_SIZE (1 * 1024 * 1024)
#define INITRD_SIZE (65 * 1024 * 1024)
#define INITRD_SIZE (150 * 1024 * 1024)

#define SCREEN_WIDTH 1024
#define SCREEN_HEIGHT 768
Expand Down
6 changes: 3 additions & 3 deletions minimal.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
chosen {
bootargs = "earlycon console=ttyS0";
stdout-path = "serial0";
/* Reserve 65MiB for initrd image */
linux,initrd-start = <0x3be00000>; /* @ 958 MiB (958 * 1024 * 1024) */
linux,initrd-end = <0x3fefffff>; /* @1023 MiB (511 * 1024 * 1024 - 1) */
/* Reserve 150 MiB for initrd image */
linux,initrd-start = <0x36900000>; /* @ 923 MiB (958 * 1024 * 1024) */
linux,initrd-end = <0x3fefffff>; /* @1023 MiB (1023 * 1024 * 1024 - 1) */
};

cpus {
Expand Down

0 comments on commit dfa69eb

Please sign in to comment.