radxa cm3 2024.01 mmc write error

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?
Thanks and regards,
marek

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/ebe293bae79d8c64d9cd4284044e25...
Regards, Jonas
Thanks and regards,
marek

Hi Jonas,
On Thu, Jul 11, 2024 at 10:33 AM Jonas Karlman jonas@kwiboo.se wrote:
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/ebe293bae79d8c64d9cd4284044e25...
Thanks for the tip, it resolved an issue.
Regards, Jonas
Thanks and regards,
marek
BR,
marek

Hi,
On Wed, Jul 24, 2024 at 9:38 PM Belisko Marek marek.belisko@gmail.com wrote:
Hi Jonas,
On Thu, Jul 11, 2024 at 10:33 AM Jonas Karlman jonas@kwiboo.se wrote:
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/ebe293bae79d8c64d9cd4284044e25...
Thanks for the tip, it resolved an issue.
I've added a small u-boot change to store redundant u-boot env. Basically I split the env partition to 2 parts. When I set env in uboot like:setenv c 5 and boot board with fw_printenv I can see the value is c setto 5, but when set env in system with fw_setenv a 1 and reboot board such env doesn't exist. I'm using u-boot 2024.01. Are you maybe aware of such issue?
Regards, Jonas
Thanks and regards,
marek
BR,
marek
as simple and primitive as possible
Marek Belisko - OPEN-NANDRA Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite twitter: #opennandra web: http://open-nandra.com
Thanks and BR,
marek
participants (2)
-
Belisko Marek
-
Jonas Karlman