ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
dj_sundog has quit [Ping timeout: 248 seconds]
vicencb has quit [Quit: Leaving.]
kaspter has joined #linux-rockchip
nashpa has quit [Ping timeout: 246 seconds]
kaspter has quit [Ping timeout: 244 seconds]
kaspter has joined #linux-rockchip
jaganteki has quit [Remote host closed the connection]
nashpa has joined #linux-rockchip
benklop has joined #linux-rockchip
<SolidHal> urjaman Thanks, I'll try that out. In case you didn't see, I solved the dwc2/ath9k issue. I have a patch here https://github.com/SolidHal/PrawnOS/blob/master/resources/BuildResources/patches-tested/kernel/0001-Fix-ath9k-dwc2-init-frame-overruns.patch
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 246 seconds]
camus is now known as kaspter
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 246 seconds]
camus is now known as kaspter
<SolidHal> urjaman Your config worked, which means now I get to find the needle in the config haystack! But at least it's not a kernel bug, thanks again!
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-rockchip
omegamoon[m] has joined #linux-rockchip
yann has quit [Ping timeout: 272 seconds]
ldevulder has joined #linux-rockchip
<urjaman> SolidHal: nice to hear (and i'd be curious to know what config it was when you figure it out), and yeah i've bookmarked (and looked at) that dwc2/atkh9k workaround, hopefully i'll remember to put it in the next time i work on the kernel
<urjaman> (I dont have an ath9k to test so not super high priority for me...)
ldevulder has quit [Quit: Leaving]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
ldevulder has joined #linux-rockchip
elektirnis has quit [Ping timeout: 268 seconds]
elektirnis has joined #linux-rockchip
elektirnis has left #linux-rockchip [#linux-rockchip]
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
matthias_bgg has joined #linux-rockchip
vicencb has joined #linux-rockchip
kaspter has quit [Ping timeout: 244 seconds]
kaspter has joined #linux-rockchip
Greyztar has quit [Remote host closed the connection]
Greyztar has joined #linux-rockchip
yann has joined #linux-rockchip
ifbizo has quit [Remote host closed the connection]
ifbizo has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
vagrantc has joined #linux-rockchip
fabiobassa has joined #linux-rockchip
dj_sundog has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
tbueno has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 248 seconds]
matthias_bgg has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 246 seconds]
drrty has joined #linux-rockchip
yann has quit [Ping timeout: 245 seconds]
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 245 seconds]
benklop has quit [Ping timeout: 272 seconds]
fabiobassa has quit [Quit: ChatZilla 0.9.93 [Firefox 52.0.1/20170316213902]]
JohnDoe_71Rus has quit [Ping timeout: 272 seconds]
yann has joined #linux-rockchip
jwerner has joined #linux-rockchip
jwerner has quit [Client Quit]
jwerner has joined #linux-rockchip
field^Mop has joined #linux-rockchip
<sphalerite> I'm booting a standard linux from u-boot 2019.07 on my nanopi m4. It works wonderfully on a cold boot, but when I try to reboot, the SPL fails to load u-boot itself: mmc_load_image_raw_sector: mmc block read error // SPL: failed to boot from all boot devices // ### ERROR ### Please RESET the board ###
<sphalerite> Any ideas what might be going on here and how to fix it?
<mmind00> sphalerite: maybe the emmc is in a bad state?
<urjaman> i'd guess there is some sort of trouble in moving the eMMC (or SD? idk) from the high-speed mode linux uses back to the mode u-boot uses...
stikonas has joined #linux-rockchip
<mmind00> sphalerite: one idea would be to add an emmc-pwrseq to the dts, which might set things back?
<mmind00> or possibly check the clock-rates? ... but then how does it manage to load bootrom->tpl->spl from emmc I wonder
<sphalerite> how would I do that?
<sphalerite> (sorry, not much of an expert on this…)
<sphalerite> that is, the emmc-pwrseq
<sphalerite> if that's indeed relevant to SD cards
<sphalerite> in arch/arm/dts/rk3399-nanopi4-u-boot.dtsi I'm guessing?
<sphalerite> within the &sdmmc node
<sphalerite> according to a grep, no :)
<inode> more info in Documentation/devicetree/bindings/mmc/mmc-pwrseq-emmc.txt
<mmind00> sphalerite: there should be more examples in other rockchip boards as well ... the "important" thing is to hook up the emmc reset line ... for example rk3368-orion-r68-meta.dts ... you just need to get the rk3399 emmc reset gpio
<sphalerite> mmind00: huh, I don't see rk3368-orion-r68-meta.dts
<sphalerite> oooooh, in the _kernel_ dts??
<sphalerite> I was looking in u-boot >.<
<mmind00> sphalerite: that's the second part ... aka uboot also handles power-sequences ... I was primarily looking for an actual example :-)
<sphalerite> right
<sphalerite> but I need to put it in the u-boot device tree so that u-boot will reset the SD card [controller?], right?
ldevulder__ has joined #linux-rockchip
ldevulder_ has quit [Ping timeout: 248 seconds]
<sphalerite> I think I'm beyond my depth here :(
<stikonas> oh, this emmc-pwrseq might be something that I need too on rockpro64...
<stikonas> at the moment reboots don't work here
<stikonas> although, I don't get any error message at all
<mmind00> sphalerite: correct that then needs to go into the uboot dts as well
<mmind00> sphalerite: but of course that's "just a simple" copy'n'paste :-D
<sphalerite> but how do I find the right GPIO?
<vicencb> Hi, since a recent update of archlinuxarm on the kevin platform the X session is updating frames only when switching VTs.
<vicencb> for testing i have tried sway and it works fine with a decent frame-rate.
<vicencb> Has anybody experienced a similar issue before?
<vicencb> Does somebody know where could be the root cause?
<vicencb> (Note: X is using the fbdev driver)
<mmind00> sphalerite: I think there should be schematics for the nanopi devices?
<mmind00> vicencb: why would you want fbdev? The edp on Kevin uses PSR for power savings, which is hooked into the rockchip drm-driver and works nicely with both regular kms stuff, modesetting xserver and wayland ... but I guess it might be possible that fbdev could affect it
<mmind00> vicencb: and I had seen something similar in the past with the xserver cursor only blinking while moving the mouse ... but that got fixed meanwhile
<vicencb> mmind00: i am using fbdev because /usr/lib/dri/rockchip_dri.so segfaults while fbdev has been working fine since last week
<vicencb> mmind00: also fbdev is working fine on the sapphire board through hdmi (using archlinuxarm too)
<mmind00> vicencb: as I said, the edp PSR might be the culprit
<vicencb> mmind00: does PSR stand for power saving registers?
<vicencb> oh, i see, panel self-refresh
stikonas has quit [Read error: Connection reset by peer]
cristian_c has quit [Ping timeout: 245 seconds]
cristian_c has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
drrty has quit [Remote host closed the connection]
field^Mop has quit [Ping timeout: 244 seconds]
lerc has quit [Read error: Connection reset by peer]
lerc has joined #linux-rockchip