marex changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot 2022.10, 2023.01-rc3 / Merge Window is CLOSED, -next is OPEN / Release v2023.01 is scheduled for 2023-01-09 / Channel archives at https://libera.irclog.whitequark.org/u-boot
hanetzer has quit [Ping timeout: 265 seconds]
hanetzer has joined #u-boot
Gravis_ has joined #u-boot
Gravis has quit [Ping timeout: 246 seconds]
umbramalison has joined #u-boot
Leopold has quit [Ping timeout: 255 seconds]
Leopold has joined #u-boot
camus has joined #u-boot
qschulz has quit [Remote host closed the connection]
qschulz has joined #u-boot
mmu_man has quit [Ping timeout: 260 seconds]
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
thopiekar has quit [Ping timeout: 268 seconds]
thopiekar has joined #u-boot
haritz has joined #u-boot
haritz has joined #u-boot
haritz has quit [Remote host closed the connection]
haritz has joined #u-boot
haritz has joined #u-boot
haritz has quit [Remote host closed the connection]
haritz has joined #u-boot
haritz has joined #u-boot
teejay has quit [Quit: leaving]
persmule has quit [Remote host closed the connection]
haritz has quit [Quit: ZNC 1.8.2+deb2 - https://znc.in]
redbrain has quit [Read error: Connection reset by peer]
redbrain has joined #u-boot
mlaga97 has quit [Ping timeout: 272 seconds]
camus has quit [Quit: camus]
mlaga97 has joined #u-boot
wyre has quit [Ping timeout: 246 seconds]
wyre has joined #u-boot
enyc has quit [Ping timeout: 252 seconds]
enyc has joined #u-boot
Leopold has quit [Quit: No Ping reply in 180 seconds.]
Leopold has joined #u-boot
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
<vulpes2[m]> found an mmc reset issue on the rk3399 (mainline u-boot v2022.10 + mainline atf) that I don't know how to fix
<vulpes2[m]> the boot media is a MicroSD card attached to the DesignWare mmc controller, and if it was switched to 1.8v by the kernel and a kp happens, the board will fail to boot
<vulpes2[m]> the bootrom can read the card just fine and TPL comes up, but it dies at SPL with mmc read errors
<vulpes2[m]> this can be mitigated by disabling all the 1.8v signaling modes in dt, but disabling UHS-I modes will severely cripple the speed of my card
<vulpes2[m]> tested the same setup (mainline u-boot v2022.10 + mainline atf) with rk3328 and it worked fine, u-boot shell says the card is operating in SDHC mode and config doesn't have UHS support enabled
camus has joined #u-boot
<vulpes2[m]> so I figured it's less about having UHS support in SPL but more about having the mmc controller and/or the card reset properly
<vulpes2[m]> I've also tested miniloader on rk3399 and it doesn't exhibit this issue, so I'm pretty sure it can be fixed for u-boot tpl/spl as well.
<vulpes2[m]> any ideas on what I can try to fix this?
crb__ has quit [Read error: Connection reset by peer]
crb__ has joined #u-boot
ikarso has joined #u-boot
mncheckm has joined #u-boot
naoki has quit [Quit: naoki]
persmule has joined #u-boot
mmu_man has joined #u-boot
persmule has quit [Ping timeout: 255 seconds]
persmule has joined #u-boot
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
<sjg1> vulpes2[m]: Is it a regression - are you able to bisect it?
<vulpes2[m]> if it is it's not a recent one, I can try but it's probably going to take me a very long time
<vulpes2[m]> I did more research and it seems like there have been a lot of uncoordinated efforts on fixing this, none of which is great
<vulpes2[m]> This one is an investigation for normal reboots which doesn't apply here, if there's a kp then the board will still get stuck at SPL
<vulpes2[m]> and I think this isn't related to ATF either since it's loaded by SPL and SPL can't even access the card
zibolo has quit [Ping timeout: 264 seconds]
zibolo has joined #u-boot
camus has quit [Quit: camus]
ikarso has quit [Quit: Connection closed for inactivity]
haritz has joined #u-boot
haritz has quit [Changing host]
haritz has joined #u-boot
Gravis_ is now known as Gravis
mncheckm has quit [Ping timeout: 260 seconds]
naoki has joined #u-boot
stipa has joined #u-boot
<stipa> scanning bus usb@5311000 for devices... Device NOT ready
<stipa> Request Sense returned 02 3A 00
<stipa> that's one of those wifi USB3 dongles with driver on a flash chip that has to be bypassed with usb modeswitch app
<stipa> i get it going in linux but it halts the uboot boot
<stipa> if i stop the uboot process and ype usb stop & usb start & boot it boots
<stipa> now, i would liketo make it automatic
<stipa> is there a way to edit a script somewhere to make it so or i have to edit the script and recompile ?
Flole has quit [Ping timeout: 252 seconds]
Flole has joined #u-boot
umbramalison has quit [Quit: %So long and thanks for all the fish%]
Wouter010067 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067 has joined #u-boot
umbramalison has joined #u-boot
justache is now known as justReddy
<Tartarus> Oh, humm, would CONFIG_PREBOOT hit that in time?
<Tartarus> That's my first thought
<stipa> what is CONFIG_PREBOOT for?
<stipa> i think i can't stop the boot, only after USB stuff si passed, there's no countdown before it happens
<stipa> if i unplug the wifi dongle it is ok
<stipa> once i did it but now that i tried a few times later i couldn't stop the boot before the error
<stipa> what does the 'usb stop' does, does it cut's the power to the USB dongle?
alan_o has quit [Remote host closed the connection]
alan_o has joined #u-boot