Hi Ben,
On 23/7/25 16:55, Ben Dooks wrote:
I am currently trying to track down two errors with mmc-spi.
The first looks like u-boot is sending a couple of CMDs (9, 10)
in the wrong state (currently this works however with a real SD
card) so I have a tmp-fix in to just ignore the two checks in
these and u-boot is now working.
I'm also getting multiple versions of linux failing with QEMU10
on Debian/testing and my own close to the current git tree with
Linux and CMD13...
[ 0.579845] EXT4-fs (mmcblk0): INFO: recovery required on readonly
filesystem
[ 0.580222] EXT4-fs (mmcblk0): write access will be enabled during
recovery
ssi_sd: error: Unexpected response to cmd 13, arglen=16
ssi_sd: error: Unexpected response to cmd 13, arglen=16
ssi_sd: error: Unexpected response to cmd 13, arglen=16
ssi_sd: error: Unexpected response to cmd 13, arglen=16
CMD13's arg len should be 2 in SSI mode.
Then the system stops working.
Systems are riscv sifive_u and my own cva6 machine
Do you mind sharing a reproducer?
Even better if contributed as a functional test :)
(see tests/functional/test_arm_sx1.py for example).
Regards,
Phil.