Skip to content

Commit

Permalink
Add emmc quirks to boot0 (#9989)
Browse files Browse the repository at this point in the history
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.

Description for the changelog
Add emmc quirks for Upperlake
  • Loading branch information
Staphylo authored Feb 17, 2022
1 parent c7aca6f commit b32d7ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion files/Aboot/boot0.j2
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ write_platform_specific_cmdline() {
if in_array "$platform" "crow" "magpie"; then
cmdline_add amd_iommu=off
cmdline_add modprobe.blacklist=snd_hda_intel,hdaudio
cmdline_add sdhci.append_quirks2=0x40
read_system_eeprom
fi
if in_array "$platform" "woodpecker"; then
Expand All @@ -602,8 +603,8 @@ write_platform_specific_cmdline() {
fi

cmdline_add "varlog_size=$varlog_size"

cmdline_add "sonic.mode=$sonic_mode"
cmdline_add log_buf_len=1M
}

write_image_specific_cmdline() {
Expand Down

0 comments on commit b32d7ee

Please # to comment.