[201811][Arista] Add emmc quirks for Upperlake (#9970)

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
This commit is contained in:
Samuel Angebault 2022-02-11 13:26:19 -08:00 committed by GitHub
parent 76af3dc148
commit 2ed7f537d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,6 +210,7 @@ platform_specific() {
aboot_machine=arista_7050_qx32s aboot_machine=arista_7050_qx32s
flash_size=3700 flash_size=3700
echo "modprobe.blacklist=radeon,sp5100_tco" >>/tmp/append echo "modprobe.blacklist=radeon,sp5100_tco" >>/tmp/append
echo "sdhci.append_quirks2=0x40" >> /tmp/append
fi fi
if [ "$sid" = "Upperlake" ] || [ "$sid" = "UpperlakeES" ]; then if [ "$sid" = "Upperlake" ] || [ "$sid" = "UpperlakeES" ]; then
aboot_machine=arista_7060_cx32s aboot_machine=arista_7060_cx32s
@ -246,6 +247,8 @@ platform_specific() {
echo "varlog_size=$varlog_size" >>/tmp/append echo "varlog_size=$varlog_size" >>/tmp/append
# disable deterministic interface naming # disable deterministic interface naming
echo "net.ifnames=0" >>/tmp/append echo "net.ifnames=0" >>/tmp/append
# increase kernel log circular buffer size
echo "log_buf_len=1M" >>/tmp/append
} }
get_uuid_for() { get_uuid_for() {