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 <staphylo@arista.com>
This commit is contained in:
parent
4f362dcaa4
commit
df0685fb19
@ -652,7 +652,6 @@ write_platform_specific_cmdline() {
|
||||
fi
|
||||
|
||||
cmdline_add "varlog_size=$varlog_size"
|
||||
|
||||
cmdline_add "sonic.mode=$sonic_mode"
|
||||
}
|
||||
|
||||
@ -670,6 +669,9 @@ write_image_specific_cmdline() {
|
||||
# disable unified cgroup hierarchy to workaround dockerd limitation
|
||||
cmdline_add systemd.unified_cgroup_hierarchy=0
|
||||
|
||||
# increase kernel log buffer size
|
||||
cmdline_add log_buf_len=1M
|
||||
|
||||
# verbosity
|
||||
cmdline_add quiet
|
||||
# Start showing systemd information from the first failing unit if any.
|
||||
|
Loading…
Reference in New Issue
Block a user