-
Notifications
You must be signed in to change notification settings - Fork 13
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
h6 atf hangs at the axp805 probe on some h6 devices #5
Comments
Sorry, just saw your comment. Thanks for the report, indeed there are H6 devices without an AXP chip. Ideally the I2C scan should come back without a result, but apparently there is some problem with that. |
So it worked as expected on my Eachlink H6 Mini:
I see that you have DEBUG defined for the SPL DRAM driver. Do you have any other changes in your SPL, especially the DRAM driver? |
checking the dt for an axp node sounds like a good idea. regarding the dram driver in the spl i tried to get the timing stable with @jernejsk - we tried some patches but in the end it always resets a few times, but after a while gets through it and runs stable then - the story starts here: https://forum.armbian.com/topic/12372-h6-allwinner-tv-box-need-help/?do=findComment&comment=92283 ... but i think the atf problems are not related to that, as i get the same atf hang if i use a u-boot compiled with your libdram binary blob code (with the only difference, that there is no resetting at the beginning in that case) ... regarding the hanging: yes, it really simply hangs reliably after those two letters each time ... here is the dtb extracted from that box: https://forum.armbian.com/topic/12372-h6-allwinner-tv-box-need-help/?do=findComment&comment=92389 - hopefully this will tell you enough about how things are wired up best wishes - hexdump |
I am still somewhat puzzled by that "IN" output, because it hints that the next output would have been an INFO line, which does not make much sense unless there is an AXP detected (compare the outputs in the other cases). And we actually already check for the AXP DT node (see the output with your patch applied), it's just we should do it a bit earlier. I need to think how to write this properly, since this is partly Allwinner generic code. Technically we should check for a valid I2C bus in the DT, but this harder to do properly. |
Clearfog Base carrier uses serdes lane #5 as USB host. Use EEPROM stored device identification to configure the serdes accordingly when available. Reviewed-by: Stefan Roese <[email protected]> Signed-off-by: Baruch Siach <[email protected]>
Hello. Is this issue maybe related? |
hello,
i just built a fresh mainline u-boot (2020.01) and mainline atf (head as of today from the github mirror) and on a h6 tv box without an axp805 the resulting u-boot with that atf in it will hang:
if i comment out the apx805 probing, it works perfectly fine:
resulting working boot:
maybe the axp805 probing should be made optional by some atf compile time option?
a lot of thanks in advance and best wishes - hexdump
The text was updated successfully, but these errors were encountered: