-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
try to fix SD card problems by adding SDH clock overrides to U-Boot and the kernel #59
base: main
Are you sure you want to change the base?
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