try to fix SD card problems by adding SDH clock overrides to U-Boot and the kernel#59
try to fix SD card problems by adding SDH clock overrides to U-Boot and the kernel#59wpwrak wants to merge 4 commits intoopenbouffalo:mainfrom
Conversation
|
Could you provide prebuilt binaries? I dont have the capacity to build it right now but i would like to contribute my findings EDIT: nvm, i'm dumb, there is a continous delivery for that :D Sorry! |
|
The u-boot changes alone (I didn't re-flash my SD card) seem to have resolved the issue for my where my 0x64 could not boot. Here's the full boot log: |
In case anyone needs my versions, I've uploaded them here: |
Interesting ! In your case, the kernel did indeed do nothing new. So we have at least three scenarios:
|
Hmmm, or maybe not. I had 3 or 4 successful boots earlier, but trying again now, the kernel is indeed not able to mount the SD card. I'll flash the new FS in a bit to confirm that it fixes things |
|
With the patched kernel, I've had good results getting successful full boots, but maybe 2 times in 20, I've still had issues with u-boot reading from the SD card. But if u-boot can read the card, I've had no issues with the kernel booting. |
|
Thanks for testing ! The register values are what I also have.
|
|
Hi all, @wpwrak , thank you for your patch! P.S. I ported your pull request to a Yocto layer ( https://github.com/ErmakovDmitriy/meta-bl808-mmc-clock ). |
|
In my case it fixed uboot but not linux |
Note: this PR is not intended as a direct submission for upstreaming, but for review and evaluation.
This adds:
bflb_sdh sdh 8; bflb_sdh bus 1; setenv bootargs ${bootargs} sdhci-bflb.bus_div=1