NishanthMenon changed the topic of #linux-ti to: Linux development for TI SoCs | Logs: https://libera.irclog.whitequark.org/linux-ti/| paste logs in https://pastebin.ubuntu.com/ | Let it rock! Vendor SDK/kernel: Also see e2e.ti.com
goliath has quit [Quit: SIGSEGV]
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 has joined #linux-ti
<pivi> vigneshr: hello! I was just discussing one of your old patches, maybe you can have a look at the logs ;-) https://libera.irclog.whitequark.org/linux-ti/2024-06-28
<javierm_> pivi: it failed to boot with U-Boot SPL 2024.07-rc3-00013-g46ff00bea5dd (Jun 28 2024 - 09:41:31 +0200)
<javierm_> but last message I see is "[ 0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns"
<javierm_> this is with kernel 6.9.5-200.fc40.aarch64
<javierm_> pivi: it doesn't sound like your issue right ?
florian_kc has quit [Ping timeout: 246 seconds]
mripard has joined #linux-ti
<pivi> javierm_: nope, my expecation is that the SD card is not working at all in U-Boot, way before loading the Linux kernel
<pivi> javierm_: unless you have a fallback to boot to eMMC and you did not notice the error
<javierm_> pivi: I don't, I've wiped the eMMC completely
<pivi> that's weird. something I am not understanding.
<pivi> thanks for testing
<pivi> you just discovered some other unrelated issue, BTW
<pivi> in case you were getting bored ;-)
<javierm_> so yeah, u-boot -> grub works correctly
<javierm_> pivi: https://paste.centos.org/view/raw/ef009318 my boot log
<javierm_> pivi: I always have more than I can take on my plate but yes, it seems is an unrelated issue indeed
<javierm_> you broke my boot :P
<javierm_> just joking, I'll try to dig on this
<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]
florian has quit [Ping timeout: 240 seconds]
Kubu_work has joined #linux-ti
tlwoerner has quit [Ping timeout: 252 seconds]
tlwoerner has joined #linux-ti
florian has joined #linux-ti
tlwoerner has quit [Ping timeout: 255 seconds]
tlwoerner has joined #linux-ti
tlwoerner has quit [Ping timeout: 272 seconds]
Kubu_work has quit [Quit: Leaving.]
florian has quit [Ping timeout: 272 seconds]
goliath has quit [Quit: SIGSEGV]
goliath has joined #linux-ti