Skip to content

Commit df0685f

Browse files
mssonicbldStaphylo
andauthored
[Arista] Add emmc quirks in boot0 to improve reliability (#10013) (#13743)
Why I did it Fix some unreliability seen on emmc device with some AMD CPUs How I did it Added a kernel parameter to add quirks to It depends on a sonic-linux-kernel change to work properly but will be a no-op without it. The quirk added is SDHCI_QUIRK2_BROKEN_HS200 used to downgrade the link speed for the eMMC. Co-authored-by: Samuel Angebault <[email protected]>
1 parent 4f362dc commit df0685f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

files/Aboot/boot0.j2

+3-1
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,6 @@ write_platform_specific_cmdline() {
652652
fi
653653

654654
cmdline_add "varlog_size=$varlog_size"
655-
656655
cmdline_add "sonic.mode=$sonic_mode"
657656
}
658657

@@ -670,6 +669,9 @@ write_image_specific_cmdline() {
670669
# disable unified cgroup hierarchy to workaround dockerd limitation
671670
cmdline_add systemd.unified_cgroup_hierarchy=0
672671

672+
# increase kernel log buffer size
673+
cmdline_add log_buf_len=1M
674+
673675
# verbosity
674676
cmdline_add quiet
675677
# Start showing systemd information from the first failing unit if any.

0 commit comments

Comments
 (0)