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
stikonas_ has quit [Remote host closed the connection]
TomTheDragon has joined #linux-rockchip
<TomTheDragon> I'm stuck using the armsoc xorg driver because I can't run the latest mainline on my system... trying to figure out the best way to obtain multiseat capability. armsoc doesn't have zaphodheads support.
<TomTheDragon> i really don't want the extra power consumption of an addon GPU, just for another display. another board would be simpler, cheaper, and probably use less power. but I really want to get the most out of my rockpro64, which has 2 video outputs
field^Mop has quit [Ping timeout: 260 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery
vstehle has quit [Ping timeout: 240 seconds]
<wens> AFAIK armsoc is pretty much dead
<TomTheDragon> wens: is... there an alternative if I'm stuck on a manufacturer kernel?
<TomTheDragon> last i checked, had no sound or pcie and video was... terribly hard to initialize
<TomTheDragon> like, video as in actually being able to see anything, not even accelerated.
<TomTheDragon> wens: if there's another way to get accelerated video, i'm very curious. even if it's kinda hackish.
<wens> probably not ...
<TomTheDragon> armsoc has little attention, then, but it is hardly dead in terms of userbase
<TomTheDragon> It doesn't look too hard to actually create the split display support... still don't see why x developers made it a part of the DDX
<TomTheDragon> wens: what system are you using?
<wens> TomTheDragon: my boards are headless
<TomTheDragon> ah, that would make things easy
<TomTheDragon> gpu support on these boards are kinda iffy. well, so is the videocodec.
<wens> complex proprietary hardware blocks with no public documentation :)
JohnDoe_71Rus has joined #linux-rockchip
vstehle has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery has joined #linux-rockchip
JohnDoe_71Rus has quit [Ping timeout: 246 seconds]
JohnDoe_71Rus has joined #linux-rockchip
vicencb has joined #linux-rockchip
maze-BUG has quit [Quit: maze-BUG]
mayab76 has joined #linux-rockchip
maze-BUG has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
maze-BUG has quit [Read error: Connection reset by peer]
maze-BUG has joined #linux-rockchip
Kelsar has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Kelsar has joined #linux-rockchip
stikonas has joined #linux-rockchip
field^Mop has joined #linux-rockchip
field^Mop has quit [Ping timeout: 260 seconds]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-rockchip
stikonas has quit [Read error: Connection reset by peer]
stikonas has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
vicencb has joined #linux-rockchip
chewitt has joined #linux-rockchip
damex has quit [Quit: damex]
damex has joined #linux-rockchip
damex has quit [Remote host closed the connection]
damex has joined #linux-rockchip
PhoenixMage has quit [Ping timeout: 264 seconds]
PhoenixMage has joined #linux-rockchip
<nomis> robmur01: I just found a smoking gun and fixed it - but it didn't help.
<nomis> apparently "ciu-drv" has been renamed to "ciu-drive".
<nomis> But nevertheless, speeding up the communication to the wireless module does not work. I get EILSEQ and ETIMEDOUT errors
<robmur01> Ah, I was thinking "I know I fixed that years ago", but of course that was in the upstream DTSI where sdmmc_ext isn't :)
<robmur01> have you tried cranking up the drive strength on the data and clock lines in pinctrl?
<nomis> not yet. My thinking was that it seems to work in the rockchip-image and the values in the devicetree there are the same as in mine.
<robmur01> I have a nagging feeling that that's one of those places where there might be a subtle difference in how the upstream and downstream drivers interpret the raw values
<nomis> robmur01: what raw values?
<nomis> Hm. I actually fail to understand the register descriptions for CRU_CRU_SDMMC_EXT_CON0 and CRU_CRU_SDMMC_EXT_CON1.
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
<robmur01> I mean for "drive-strength = <x>", whether is x the raw GRF value, or a milliAmp value that the driver converts internally
<robmur01> looks like RK3328 is probably OK in that regard, so I must be thinking of something older
<nomis> ah, ok.
<robmur01> and it might have actually been the pull-up config or something else ;)
<nomis> I guess I'll have a stare at the waveform shapes on the oscilloscope tomorrow. I'll then also compare the actual values of the registers for pullup/drivestrength.
<robmur01> but I definitely remember having to read a crusty out-of-tree pinctrl driver to decode a DTB for *some* reason...
indy has joined #linux-rockchip
<nomis> robmur01: do you know of any register description for the above mentioned clock-registers? I fail to understand how to interpret the values in them.
<nomis> It is kind of suspicous that the rockchip-kernel registers both of these clocks with shift 1.
<nomis> there is a weird series of commits on Oct 12 / Nov 29 2018: https://github.com/rockchip-linux/kernel/commits/develop-4.4/drivers/clk/rockchip/clk-rk3328.c
vicencb has quit [Quit: Leaving.]
<robmur01> yup, there's every possibility that the upstream code is minimally-tested and wrong, and that the TRM is wrong, and that trusting whatever empirical result the BSP kernel relies on is the right thing to do
<robmur01> hmm, in fact it seems upstream got that "fix", but not the subsequent revert, so I'm now mostly wondering how my box has been managing to work as well as it does...
<robmur01> guess I should crack out the scope and verify my clocks too :D
vicencb has joined #linux-rockchip
<nomis> robmur01: I'd appreciate your input on that.
<robmur01> come to think of it, at one point I did notice that limiting the eMMC frequency to 150MHz made it crap out more often than not, whereas letting it stay at 200MHz is rock solid despite being nominally way out-of-spec for the I/O pins. That never did make sense... :/
rperier has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rperier has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
leah2 has quit [Ping timeout: 260 seconds]
matthias_bgg has quit [Quit: Leaving]
leah2 has joined #linux-rockchip
leah2 has quit [Ping timeout: 272 seconds]
leah2 has joined #linux-rockchip
ldevulder__ has joined #linux-rockchip
ldevulder_ has quit [Ping timeout: 272 seconds]
leah2 has quit [Ping timeout: 272 seconds]
leah2 has joined #linux-rockchip
mayab76 has quit [Ping timeout: 260 seconds]
lerc has quit [Ping timeout: 256 seconds]
lkcl_ has joined #linux-rockchip
lkcl has quit [Ping timeout: 246 seconds]
robmur01 has quit [Ping timeout: 260 seconds]
field^Mop has joined #linux-rockchip
robmur01 has joined #linux-rockchip
<robmur01> nomis: bingo - the clock signals look fine and the SD card at 50MHz doesn't show any visible difference either way, but applying that revert makes my eMMC work perfectly at 150MHz rather than constantly throwing errors and retuning
<robmur01> I guess at 200MHz it just happens to use a phase where the shift error didn't matter
<robmur01> now I can go to bed with a sense of accomplishment :D
field^Mop has quit [Ping timeout: 256 seconds]
vicencb has quit [Quit: Leaving.]