[Bug 263928] sdhci_xenon puts SD card in read-only mode on 13.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 11 May 2022 19:42:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263928

            Bug ID: 263928
           Summary: sdhci_xenon puts SD card in read-only mode on 13.1
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: cuicui@gmail.com

I was running 13.0-Release on espressobin booting off SD card. After upgrading
to 13.1, the system no longer boots because the SD card is in read-only mode
and the root filesystem cannot be mounted.

Log on 13.1:

sdhci_xenon0: <Armada Xenon SDHCI controller> mem
0xd0000-0xd02ff,0x1e808-0x1e80b irq 25 on simplebus1
mmc0: <MMC/SD bus> on sdhci_xenon0
mmcsd0: 32GB <SDHC GB1QT 3.0 SN 2C0B63BC MFG 04/2020 by 27 SM> (read-only) at
mmc0 50.0MHz/4bit/65535-block

Log on 13.0:

sdhci_xenon0: <Armada Xenon SDHCI controller> mem
0xd0000-0xd02ff,0x1e808-0x1e80b irq 25 on simplebus1
mmc0: <MMC/SD bus> on sdhci_xenon0
mmcsd0: 32GB <SDHC GB1QT 3.0 SN 2C0B63BC MFG 04/2020 by 27 SM> at mmc0
50.0MHz/4bit/65535-block

Between 13.0-Release and 13.1-RC6: the following 6 changes were added:
1b19617e9662 sdhci_xenon: remove redundant code in property parsing
a2f06581802b sdhci_xenon: add AP807 compatible string
8bb448b66e9d sdhci_xenon: add UHS support
7518736826a2 sdhci_xenon: improve the VCCQ voltage switch sequence
68be9ab5bd53 sdhci_xenon: allow to properly disable the UHS signaling
707ab1f0643a sdhci_xenon: enable MMC FDT parsing

After reverting all 6 changes I can get 13.1-RC6 to boot again.

-- 
You are receiving this mail because:
You are the assignee for the bug.