<naoki>
(FYI, it runs sdr104 on rockchip 5.10 kernel with mainline u-boot + e25 patch)
<Kwiboo>
u-boot needs CONFIG_MMC_SPEED_MODE_SET=y and you need to be explicit about what modes it support, just adding sd-uhs-sdr104 does not imply any other uhs mode
<Kwiboo>
if you want to change modes, so adding sd-uhs-sdr50, sd-uhs-sdr25 and sd-uhs-sdr12 could possibly be an option
<Kwiboo>
then at least u-boot should try multple modes
<naoki>
oh thanks
<naoki>
Kwiboo: btw I'm trying your patches from your e25 branch on rock-5a/5b. currently it works on 5b, but I got error on 5a
<naoki>
Model: Radxa ROCK 5 Model A
<naoki>
Net: "Error" handler, esr 0xbe000011
<Kwiboo>
naoki: I do not have any ROCK 5 Model A to help test on, yet, one should arrive by end of next week :-)
<naoki>
ah
<naoki>
it seems "HACK: net: Add dummy PHY reset-gpios driver" is not good for 5a ;)
<Kwiboo>
oh, interesting, check that you do not have CONFIG_ETH_DESIGNWARE=y or CONFIG_GMAC_ROCKCHIP=y in the defconfig
<naoki>
CONFIG_ETH_DESIGNWARE=y
<naoki>
CONFIG_GMAC_ROCKCHIP=y
<Kwiboo>
will drop the "imply ETH_DUMMY if NET" for rk3588 in my next push, war not really runtime tested on any rk3588 board :-)
<naoki>
:)
<naoki>
I wonder why it doesn't work
<naoki>
(gmac on 5a is working without hack)
<naoki>
no problem
<Kwiboo>
great, the hack is only needed in case the ethernet phy is hold in reset state at linux start and reset-gpios is used in phy node in device tree