Skip to content

Commit 919f605

Browse files
authored
[msft-202405][Platform][OtterLake] Move crashkernel to high mem (#1852)
Why I did it Cherry-pick sonic-net/sonic-buildimage#24536 to msft-202405
1 parent ea028e6 commit 919f605

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

files/Aboot/boot0.j2

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,12 @@ read_system_eeprom() {
483483
write_kdump_cmdline() {
484484
local sid="$(cmdline_get sid | sed 's/Ssd$//')"
485485
case "$sid" in
486-
Wolverine*|Clearwater2*|OtterLake*|QuartzDd*|Redstart8Mk2Quartz4*|CitrineDd*)
486+
OtterLake*)
487+
if ! cmdline_has crashkernel; then
488+
cmdline_add crashkernel=1G,high
489+
fi
490+
;;
491+
Wolverine*|Clearwater2*|QuartzDd*|Redstart8Mk2Quartz4*|CitrineDd*)
487492
if ! cmdline_has crashkernel; then
488493
cmdline_add crashkernel=0M-2G:256M,2G-4G:320M,4G-8G:384M,8G-16G:448M,16G-32G:768M,32G-:1G
489494
fi

0 commit comments

Comments
 (0)