ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | Wiki at http://linux-rockchip.info | Logs at http://irclog.whitequark.org/linux-rockchip | ML at http://groups.google.com/group/linux-rockchip
Boohbah has joined #linux-rockchip
markm has joined #linux-rockchip
naobsd has joined #linux-rockchip
<naobsd> saradc (normally ch.1) is used for key(button)s on many RK based products
<naobsd> multiple keys can be connected on a channel
<naobsd> e.g. HOME MENU BACK VOL+ VOL-
<naobsd> hm? 0xfe000000- cannot be used?
cnxsoft has joined #linux-rockchip
naobsd has quit [Read error: Connection reset by peer]
naobsd has joined #linux-rockchip
naobsd has quit [Quit: naobsd]
naobsd has joined #linux-rockchip
<bashintosh> hi amstan, is this the only eDP config used in the DT for the RK3288-based Chromebook? https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-3.14/arch/arm/boot/dts/rk3288-veyron-edp.dtsi Where do you set the LCD timings?
<amstan> bashintosh: i'm pretty sure they get autodetected
<bashintosh> oh right
<bashintosh> amstan: do you use HPD as well as AUX for eDP? I am using the Firefly RK3288 to interface to an eDP->MIPI board/LCD but the Firefly has no HPD out, only AUX. I think HPD is a requirement (from VESA documentation). So far the link training fails, even if I set all the proper timings
<amstan> we actually have hpd broken on a few systems, so we just hardcode it to always be there
<amstan> so that's duable
<amstan> doable*
<bashintosh> with hardcode it you mean patching the eDP initialization in the transmitter driver or a hardware modification?
<amstan> someone forgot to connect the hpd pin, so we used a pullup on the pin to force it on(as if there's a display there)
<amstan> which there was
<amstan> and that worked
<amstan> though i'm not the best person to ask all this, i barely had it working
<bashintosh> mmh but you had an HPD pin on the source right? That's what is really confusing on the Firefly pinout... No HPD, not even in their schematics. Thx anyway amstan !
<amstan> what do you mean by the source?
<bashintosh> the eDP source
<amstan> isn't that the rk3288?
<bashintosh> yes, I cannot find HPD - there is one onto the HDMI pinouts but I don't think it's related to eDP
<amstan> see edp section in pinctrl
<amstan> pin 7 11 is what you want
<amstan> aka 7_B3
<bashintosh> amstan: that helps!!
<amstan> does it work?
<amstan> or are you just excited that you found the existance of edp_hpd?
<amstan> lol
<bashintosh> Both :) I have to see how to apply that to the Firefly configuration BUT at least I am not looking around in vain anymore
<bashintosh> amstan: the rk32-dp driver has this function which is executed after rk32_edp_init_edp() returns 0, so maybe in my case the link training is failing for some other reason: https://paste.fedoraproject.org/251252/
cnxsoft1 has joined #linux-rockchip
cnxsoft has quit [Ping timeout: 272 seconds]
<amstan> rperier: have you tried the mali stuff in arch btw? it works wonderfully for me
<mmind00> amstan: great to hear :-)
<amstan> mmind00: at the same time this other guy is reporting flickering on speedy, so i was trying to probe around and see what rperier's experience is like
<mmind00> amstan: I sometimes also see flickering (I guess mainly in webgl parts) ... which seems to have increased with the most recent version (r5-something)
<mmind00> amstan: waiting just now for the r6 stuff to land (kernel part is already in the tracker)
<amstan> r5, r6?
<amstan> i tought we were at r22? no?
<mmind00> amstan: https://chromium-review.googlesource.com/#/c/289175/ don't ask me where they all get their names from :-D
<mmind00> amstan: I think the r22 is the chromeos version of the binary libraries
<amstan> woah! ok.. this flickers
<amstan> this is not good
<mmind00> amstan: I guess possible flickering source is the gpu/cpu fencing ChromeOS has, that is not in mainline
<amstan> yeah, so i just upgraded my arch 3.14 kernel and it flickers now :(
<rperier> amstan: not yet, I will retry I think, if it works fine for you
<rperier> :)
<amstan> kde composition saves me from most of it, but it flickers when my cursor's y is under 20 or so in sddm
<rperier> (I mostly did mainline and yocto tasks on my veyron for now)
<naobsd> how about vpu(encoder/decoder) on ChromeOS?
<amstan> naobsd: we use both of the afaik
<naobsd> I'm curious about hangouts quality on ChromeOS :)
<naobsd> amstan: sounds nice :)
<amstan> hangouts video quality is pretty good
<amstan> if only hangouts was better in general though
<rperier> btw, do you need userspace tool to get edp working with the chromeos kernel ? (some mali stuffs for example) it works like a charm on arch, however when I rebuild the chromeos kernel myself from yocto and when I try to boot a minimal image, the kernel hangs when edp starts...
<rperier> (that's the same kernel , same config... same dtb... the toolchain is just different but other kernels work just fine)
<amstan> you shouldn't need userspace, edp starts working early in the boot process, you should see messages scroll by
<amstan> sounds like you're missing some config options
<amstan> mmind00: we need to get the author of this page in here: https://wiki.debian.org/InstallingDebianOn/Asus/C201
<amstan> aka GregAlexander
<rperier> except that I used the same config file than on arch linux....
<rperier> so no, I don't think so
<rperier> (and I checked manually that everything was right, and it was)
<amstan> that's weird
<amstan> what compiler?
<rperier> same rev, same patches, same config, I just repackaged it for yocto...
<rperier> 4.9.1
<rperier> tunes = cortexa9, vfp-neon
<amstan> i don't think arch uses neon, but i have no idea if that's important
<mmind00> rperier: the rest of the chromebook is running though (only without the edp?)
<mmind00> rperier: which sounds strange
<rperier> no it is freezed
<rperier> sorry, I meant cortexa15 not cortexa9 for compiler tunes
<rperier> still via kexec, but I don't think that it change something...
<amstan> ok, so i invited that greg alexander guy in here
<amstan> sent him an email
<mmind00> great :-)
markm has quit [Ping timeout: 260 seconds]
markm has joined #linux-rockchip
sunilmohan_w has quit [*.net *.split]
sunilmohan_w has joined #linux-rockchip
<naobsd> it looks like here is the room for developers! :D
<naobsd> I want to get chromebook to join discussion ;)
<naobsd> s/chromebook/& spare time/
naobsd has quit [Quit: naobsd]
markm has quit [Ping timeout: 240 seconds]
markm has joined #linux-rockchip
drcode has joined #linux-rockchip
<drcode> hi all
<drcode> I am thinking to buy rock2 , I want to compile my own kernel for rk3288 , but I can't find sources only for rock pro or rock, any idea?
nighty^ has joined #linux-rockchip
drcode has quit [Quit: Page closed]
markm has quit [Read error: Connection reset by peer]
nfstry has joined #linux-rockchip
<nfstry> hello
<nfstry> i'm looking for help about the rk3288
<nfstry> anybody here?
cnxsoft1 has quit [Quit: cnxsoft1]
premoboss has joined #linux-rockchip
premoboss has quit [Remote host closed the connection]
nfstry has quit [Quit: Page closed]
cristian_c has joined #linux-rockchip
GriefNorth has joined #linux-rockchip
naobsd has joined #linux-rockchip
GriefNorth has quit [Client Quit]
GriefNorth has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
GriefNorth has quit [Ping timeout: 255 seconds]
<amstan> naobsd: go get a chromebook, heh
<amstan> c100 is probably the coolest thing to get
<steev> yah!
cristian_c has quit [Read error: Connection reset by peer]
cristian_c has joined #linux-rockchip
cristian_c has quit [Read error: Connection reset by peer]
cristian_c has joined #linux-rockchip
cristian_c has quit [Read error: Connection reset by peer]
cristian_c has joined #linux-rockchip
cristian_c has quit [Read error: Connection reset by peer]
cristian_c has joined #linux-rockchip
cristian_c has quit [Read error: Connection reset by peer]
cristian_c has joined #linux-rockchip
cristian_c has quit [Read error: Connection reset by peer]
cristian_c has joined #linux-rockchip
nighty^ has quit [Quit: Disappears in a puff of smoke]
cristian_c has quit [Quit: Bye]
cristian_c has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
c0d3z3r0 has quit [Remote host closed the connection]
c0d3z3r0 has joined #linux-rockchip
greggypoo has joined #linux-rockchip
gb_master has joined #linux-rockchip
<amstan> steev: apparently the new updates to the chromeos kernel break armsoc(screen flickers when cursor is in the top 200px of the screen)
<amstan> i wonder if this is the case with the new mali release
<steev> amstan: I'm in LA still, so I haven't bothered to rebuild recently
<amstan> neat
<steev> was out on the pier having a think
<steev> jumbo frames aren't working and it makes no sense
cristian_c has quit [Quit: Bye]
<amstan> for what?
<amstan> broadcom on minnie?
<amstan> mmind00: you won the bet
<amstan> with you 7, with leming 8
<steev> nah, on an intel 82579
<amstan> mmind00: what was the prize?
<amstan> 181c3fe FROMLIST: drm/rockchip: vop: switch cursor plane to window 3
<amstan> dabea37 FROMLIST: drm/rockchip: default enable win2/3 area0 bit
<amstan> one of those causes armsoc flickering i think ^
<amstan> will debug later today
<mmind00> amstan: woohoo \o/ ... I don't think there was a prize, but dbehr was simply very sceptic if a significant number of people would want to use the chromeos mali drivers
<amstan> i convinced him to get us a new binary
<mmind00> but it is so cool to see the whole adoption of rockchip chromebooks :-D
<amstan> still waiting for the greg alexander guy to show up too
<amstan> greggypoo: oh! hi
<amstan> mmind00: now dbehr's watching your repo too!
<mmind00> :-D
premoboss has joined #linux-rockchip
gb_master has quit [Remote host closed the connection]
naobsd has quit [Quit: naobsd]