Skip to content

Fix AST2700 eMMC kernel improvements and Arista Goldfinch DTS update#587

Open
prajjwal-arista wants to merge 1 commit into
sonic-net:masterfrom
prajjwal-arista:fix-aspeed-emmc
Open

Fix AST2700 eMMC kernel improvements and Arista Goldfinch DTS update#587
prajjwal-arista wants to merge 1 commit into
sonic-net:masterfrom
prajjwal-arista:fix-aspeed-emmc

Conversation

@prajjwal-arista
Copy link
Copy Markdown
Contributor

Description

Add fix for AST2700 eMMC kernel improvements, and Arista Goldfinch DTS update for eMMC

Following is added in this patch to improve the eMMC -

  1. Patch AspeedTech-BMC Linux Kernel "mmc: sdhci-of-aspeed: Optimize tuning mechanism" (v6.12) AspeedTech-BMC/linux@5fa88b1
  2. Patch AspeedTech-BMC Linux Kernel "mmc: sdhci-of-aspeed: Improve CMD6 timing" (v6.18) AspeedTech-BMC/linux@e353214 (Note that this commit is not present in AspeedTech-BMC linux kernel branch v6.12, but in v6.18. We are patching it here in v6.12 as it is required for eMMC fix)
  3. Update arista goldfinch dts to increase drive strength and use 8-bit data for eMMC

Why I did it

On few bmc units we faced eMMC issues resulting it in not being initialized properly during bootup-

$ sudo dmesg | grep -i mmc
[    4.499887] mmc0: SDHCI controller on 12090100.sdhci [12090100.sdhci] using ADMA 64-bit
[    4.720956] mmc0: mmc_select_hs200 failed, error -110
[    4.731344] mmc0: error -110 whilst initialising MMC card
[    5.039620] mmc0: mmc_select_hs200 failed, error -110
[    5.045306] mmc0: error -110 whilst initialising MMC card
[    5.328407] mmc0: mmc_select_hs200 failed, error -110
[    5.334089] mmc0: error -110 whilst initialising MMC card
[    5.665417] mmc0: mmc_select_hs200 failed, error -110
[    5.672118] mmc0: error -110 whilst initialising MMC card
[    5.683391] mmc0: Failed to initialize a non-removable card

Patch List

M patches-sonic/arista_goldfinch-dts.patch

  • patches-sonic/mmc-sdhci-of-aspeed-Improve-CMD6-timing_v6.18.patch
  • patches-sonic/mmc-sdhci-of-aspeed-Optimize-tuning-mechanism_v6.12.patch

How I did it

Added Aspeed patches for mmc sdhci for tuning and improving eMMC. Updating Arista Goldfinch BMC DTS to adapt the eMMC changes.

How i tested it

Built and booted up with the changes and saw no mmc related dmesg logs:

$ sudo dmesg | grep -i mmc
[    3.249624] mmc0: SDHCI controller on 12090100.sdhci [12090100.sdhci] using ADMA 64-bit
[    3.471941] mmc0: new HS200 MMC card at address 0001
[    3.480883] mmcblk0: mmc0:0001 TS0A32 9.71 GiB
[    3.494901]  mmcblk0: p1
[    3.500625] mmcblk0boot0: mmc0:0001 TS0A32 4.00 MiB
[    3.512853] mmcblk0boot1: mmc0:0001 TS0A32 4.00 MiB
[    3.522829] mmcblk0rpmb: mmc0:0001 TS0A32 4.00 MiB, chardev (238:0)

Following is added in this patch to improve the eMMC

1. Patch AspeedTech-BMC Linux Kernel "mmc: sdhci-of-aspeed: Optimize tuning mechanism" (v6.12)
     AspeedTech-BMC/linux@5fa88b1
2. Patch AspeedTech-BMC Linux Kernel "mmc: sdhci-of-aspeed: Improve CMD6 timing" (v6.18)
     AspeedTech-BMC/linux@e353214
     (Note that this commit is not present in AspeedTech-BMC linux kernel branch v6.12, but in v6.18.
      We are patching it here in v6.12 as it is required for eMMC fix)
3. Update arista goldfinch dts to increase drive strength and use 8-bit data for eMMC

Signed-off-by: Prajjwal Singh <prajjwal@arista.com>
@prajjwal-arista prajjwal-arista requested a review from a team as a code owner June 5, 2026 11:30
@mssonicbld
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@vivekverma-arista
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants