ikarso has quit [Quit: Connection closed for inactivity]
crabbedhaloablut has quit []
rob_w has joined #linux-ti
florian has joined #linux-ti
<pivi>
Hello all, I am currently implementing the equivalent of Linux commit c7666240ec76 ("drivers: mmc: sdhci_am654: Add the quirk to set TESTCD bit") in U-Boot. When using the SDHCI CD as GPIO this is required.
<pivi>
From what I can tell current U-Boot master, because of this, should have a non working SD interface also on the beagleplay.
<pivi>
Can anybody confirm? I do not have a beagleplay at hand to confirm this
<javierm_>
pivi: what u-boot version should have that problem? I'm using U-Boot 2024.01-rc4-00036-g65eed687729c and the uSD works correctly
<pivi>
javierm_: that version should be affected. I would say there is something missing in my reasoning
<pivi>
from what I see on our hardware, when using the CD as GPIO (likewise beagleplay is doing), "ti,fails-without-test-cd" property needs to be correctly handled. But this is not done in U-Boot
<pivi>
but again, if it works for you, I am missing something
<pivi>
wait
<pivi>
no, this version is ok
<pivi>
v2024.07 is affected
<pivi>
v2024.04 I have not checked, it depends when the upstream DTS was merged into U-Boot, but for sure your old version is fine
<pivi>
(2024.01 is so old that my mind filtered out the .01 ;-)
<javierm_>
pivi: I can try updating my u-boot later then
florian_kc has joined #linux-ti
<pivi>
javierm_: if you try it let me know, thanks!
<vigneshr>
pivi: I am not sure how U-Boot works/handles TESTCD. let me check internally
<javierm_>
vigneshr: wooo, that seems to fix it!
<javierm_>
vigneshr: confirmed that boots with that patch, even with the u-boot provided FDT
<javierm_>
pivi: so I was not able to reproduce your issue
<vigneshr>
javierm_: good to know, thanks!
<javierm_>
can someone remind me from where I could fetch the ti-connectivity/wl18xx-conf.bin firmware for the BeaglePlay ?
<vigneshr>
pivi: I know that mmc2 instance definitely fails if CD isnt connected (found this while testing differen wifi cards). I am not sure how SDCD line is internally tied off for mmc0/1 which maybe helping here...
<javierm_>
I remember that it was mentioned before that was optional? But WiFi isn't working for me
<javierm_>
vigneshr: that could be why the WiFi SDIO isn't working then? Due the CD not connected and the "ti,fails-without-test-cd" quirk not present in the DT ?
<vigneshr>
javierm_: if you dont have "ti,fails-without-test-cd" then yes MMC2 would not enumerate cards correctly... but i see k3-am625-beagleplay.dts has this set
<javierm_>
vigneshr: ah, another issue then. What about the FW, it's optional as was told or required ?
<javierm_>
[ 44.080753] wl18xx_driver wl18xx.6.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
<vigneshr>
javierm_: Sorry, havent used wl8xx much, all firmwares should ideally be in linux-firmware and see I dont see above, I am thinking thats optional.. Will let you know if thats not the case
<javierm_>
vigneshr: sure, no worries. And thanks again for solving the boot issue!
<pivi>
vigneshr: the concern here is in U-Boot, where the "ti,fails-without-test-cd" is not handled by the driver ... I am surprised this is working fine with beagleplay ...
florian_kc has joined #linux-ti
<javierm_>
TIL about bootflow and the standard boot
<javierm_>
it is indeed much nicer than the complex distro boot commands and environment variables
bytesbyraj_ has joined #linux-ti
mripard has quit [Quit: mripard]
goliath has joined #linux-ti
ikarso has joined #linux-ti
florian has quit [Quit: Ex-Chat]
florian_kc has quit [Ping timeout: 264 seconds]
bytesbyraj_ has quit [Quit: Connection closed for inactivity]
ungeskriptet7 has joined #linux-ti
ungeskriptet has quit [Ping timeout: 256 seconds]
ungeskriptet7 is now known as ungeskriptet
florian_kc has joined #linux-ti
rob_w has quit [Quit: Leaving]
goliath has quit [Quit: SIGSEGV]
florian_kc is now known as florian
goliath has joined #linux-ti
ikarso has quit [Quit: Connection closed for inactivity]