From: Joost van Zwieten <joost@diskos.nl>
To: u-boot@lists.denx.de
Subject: regression on Odroid U2: can't read from SD card
Date: Mon, 09 Jan 2023 13:02:52 +0100 [thread overview]
Message-ID: <S4W7OR.DFL133QVZ78S2@diskos.nl> (raw)
Dear maintainers,
As of commit 4a3ea75de4c5b3053eac326bf1c753ed65df8cb9 (somewhere
between v2021.07 and v2021.10) U-Boot on my Odroid U2 can't read files
from an SD card (despite being loaded from the SD card itself). During
initialization loading the environment from the SD card fails (NOTE:
the environment is zeroed):
U-Boot 2021.10-rc3-00055-g4a3ea75de4 (Jan 09 2023 - 10:29:52 +0100)
CPU: Exynos4412 @ 1 GHz
Model: Odroid based on Exynos4412
Type: u3
DRAM: 2 GiB
LDO20@VDDQ_EMMC_1.8V: set 1800000 uV; enabling
LDO22@VDDQ_EMMC_2.8V: set 2800000 uV; enabling
LDO21@TFLASH_2.8V: set 2800000 uV; enabling
MMC: SAMSUNG SDHCI: 2, EXYNOS DWMMC: 0
Loading Environment from MMC... sdhci_send_command: Timeout for
status update!
mmc fail to send stop cmd
*** Warning - !read failed, using default environment
Boot device: MMC(2)
Net: No ethernet found.
Hit any key to stop autoboot: 0
In the U-Boot shell, running `ls mmc` and `load mmc` fails:
Odroid # mmc list
SAMSUNG SDHCI: 2 (SD)
EXYNOS DWMMC: 0
Odroid # ls mmc 2:1 /boot
sdhci_send_command: Timeout for status update!
mmc fail to send stop cmd
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Odroid # load mmc 2:1 0x41000000 /boot/vmlinuz-5.10.0-20-armmp
sdhci_send_command: Timeout for status update!
mmc fail to send stop cmd
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Can't set block device
For reference, running the same commands using the parent of commit
4a3ea75d gives
U-Boot 2021.10-rc3-00054-g4412fd8ba2 (Jan 09 2023 - 12:22:54 +0100)
CPU: Exynos4412 @ 1 GHz
Model: Odroid based on Exynos4412
Type: u3
DRAM: 2 GiB
LDO20@VDDQ_EMMC_1.8V: set 1800000 uV; enabling
LDO22@VDDQ_EMMC_2.8V: set 2800000 uV; enabling
LDO21@TFLASH_2.8V: set 2800000 uV; enabling
MMC: SAMSUNG SDHCI: 2, EXYNOS DWMMC: 0
Loading Environment from MMC... *** Warning - bad CRC, using
default environment
Boot device: MMC(2)
Net: No ethernet found.
Hit any key to stop autoboot: 0
Odroid # mmc list
SAMSUNG SDHCI: 2 (SD)
EXYNOS DWMMC: 0
Odroid # ls mmc 2:1 /boot
<DIR> 4096 .
<DIR> 4096 ..
250461 config-5.10.0-20-armmp
4973056 vmlinuz-5.10.0-20-armmp
<DIR> 4096 dtbs
83 System.map-5.10.0-20-armmp
22231585 initrd.img-5.10.0-20-armmp
<SYM> 46 dtb-5.10.0-20-armmp
<SYM> 46 dtb
3491 boot.scr
Odroid # load mmc 2:1 0x41000000 /boot/vmlinuz-5.10.0-20-armmp
4973056 bytes read in 181 ms (26.2 MiB/s)
I'm building U-Boot using the default config for board `odroid` and
boot the Odroid from an SD card with firmware (`bl1`, `bl2` and `tzsw`)
from Hardkernel's clone of the u-boot repository [1]. There are no
peripherals connected apart from the SD card and the serial console.
Please let me know if you need more information.
Best, Joost
[1]:
https://github.com/hardkernel/u-boot/tree/33e05ffb159141b640571e91470172d83a2a1273/sd_fuse
reply other threads:[~2023-01-09 13:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=S4W7OR.DFL133QVZ78S2@diskos.nl \
--to=joost@diskos.nl \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox