[Bug 2069410] Re: On the StarFive VisionFive 2 the card detect GPIO is not set to input

Launchpad Bug Tracker 2069410 at bugs.launchpad.net
Fri Sep 13 03:49:17 UTC 2024


This bug was fixed in the package u-boot - 2024.01+dfsg-5ubuntu2

---------------
u-boot (2024.01+dfsg-5ubuntu2) oracular; urgency=medium

  * Enable FIT images (LP: #2054092)
  * Fix card detection on the JH7110 SoC (LP: #2069410)
    - d/p/riscv64/synopsys-designware-cd-gpios.patch
    - d/p/riscv64/starfive-mmc-card-detect.patch
  * d/rules: Unexport ELF_PACKAGE_METADATA to fix FTBFS on oracular
  * Enable 'env erase' sub-command to enable reset of the boot environment on
    RISC-V boards (LP: #2080386)

 -- Dave Jones <dave.jones at canonical.com>  Tue, 06 Aug 2024 09:41:28
+0100

** Changed in: u-boot (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to u-boot in Ubuntu.
https://bugs.launchpad.net/bugs/2069410

Title:
  On the StarFive VisionFive 2 the card detect GPIO is not set to input

Status in u-boot package in Ubuntu:
  Fix Released

Bug description:
  The card detect pin of the SD card slot needs to be a GPIO input. But
  command

      gpio status GPIO41

  shows that it is output.

  This leads to showing errors

      Card did not respond to voltage select! : -110

  if not SD-Card is inserted.

  Switching to input is the task of the MMC driver. Other drivers have a
  call

      gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio,
  GPIOD_IS_IN);

  This is missing in drivers/mmc/snps_dw_mmc.c.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/u-boot/+bug/2069410/+subscriptions




More information about the foundations-bugs mailing list