Hi Marek, On 2024-07-10 21:26, Belisko Marek wrote: > Hi, > > I'm playing with radxa cme and mainline u-boot 2024.01 (present in > scarthgap yocto). > I realized that mmc write fails all the time like: > => md.l $loadaddr > 00c00800: ff7ff7eb fffdffff fffffff5 ffff9fff ................ > => mmc write $loadaddr 1fc0 10 > > MMC write: dev # 0, block # 8128, count 16 ... mmc write failed > 0 blocks written: ERROR > > 1fc0 = 8128 is according to rockchip gpt table u-boot env partition. > > Is there something I'm doing wrong or its regression?
Please try with latest U-Boot v2024.07, following fix has been part of U-Boot since v2024.04-rc2. rockchip: rk35xx: Remove use of eMMC DDR52 mode https://source.denx.de/u-boot/u-boot/-/commit/ebe293bae79d8c64d9cd4284044e25ddadd074b5 Regards, Jonas > > Thanks and regards, > > marek