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
Astralix` has joined #linux-rockchip
Astralix|away has quit [Ping timeout: 264 seconds]
markm has quit [Ping timeout: 272 seconds]
premoboss has joined #linux-rockchip
<bashintosh> Does anybody know how to disable HDMI and only leave eDP and VGA-out enabled on Firefly (RK3288)? I tried various things in the Firefly device tree (kernel) but no luck. I posted a thread on the Firefly forum -> http://bbs.t-firefly.com/forum.php?mod=viewthread&tid=574&extra=page%3D1
<amstan> bashintosh: heh, that's a tricky one
<amstan> bashintosh: how about on line 68
<amstan> you type status = "disabled"
<amstan> alright.. not tricky
<amstan> it was trickier to remove all signs that edp was ever there actually
<bashintosh> Was exactly the first thing I tried - the board boots but no video out on any port - somehow it seems that if you disable the HDMI node, VGA dies as well. This is even if you change the VGA source to 1 at line 30
<bashintosh> amstan: uh, that must have been a lot of clean-up
<amstan> oh, then that dts doesn't sound very healthy
<amstan> there's something that needs to be enabled for edp, that hdmi probably keeps it enabled
<amstan> so hdmi is probably supporting both, when edp should be responsible for it too
<amstan> bashintosh: see any errors?
<amstan> during bootup?
<bashintosh> I struggle to understand some sections - or better the relation between some nodes and the actual ports on the board - the fact is that the RK1000 seems to be quite involved - there is no TV-OUT on the Firefly so what does the RK1000 do? Is it related to VGA?
<amstan> oh, it's quite complicated, struggling is normal
<bashintosh> ah ah!
<bashintosh> true!
<bashintosh> amstan: yeah good tip, will dig into the boot logs as soon I get back to the hardware!
<amstan> for the chromebooks, but it's what needed to be done to separate edp without hdmi getting broken
* bashintosh looks..
<amstan> i don't have a similar fragment for hdmi though, because we always have that enabled
<amstan> bashintosh: have you also considered a non-kernel way to do this?
<amstan> with xrandr perhaps?
<amstan> another way you could trick it off is by misconfiguring the hpd pin
<bashintosh> That's interesting as option but too high level - involves X but I'd like to keep this change low level, as close as possible to the hardware. Maybe in the drivers...
<amstan> which is the way it knows there's something connected on hdmi
<amstan> misconfigure that and it won't know there's a cable connected
<bashintosh> amstan: that's a good one!
<amstan> bashintosh: what kernel is this anyway? i'm not familiar with any of those dt properties
<amstan> 3.10?
<amstan> i strongly suggest upgrading if so
<bashintosh> Ah sorry yeah 3.10 for Android 4.4
<bashintosh> to which ver?
<amstan> because the hdmi disabled would have just worked otherwise
<amstan> if you need android i guess you just need 3.10
<amstan> but ugh..
<bashintosh> amstan: I felt that would have been logic
<bashintosh> Yes Android, hopefully 5.x soon!
<amstan> :(
<bashintosh> I still have to try the preview version of Lollipop for the Firefly - wonder how much work is still needed to finish porting. Might be cool to help!
premoboss has quit [Quit: Sto andando via]
naobsd has quit [Quit: naobsd]
bamvor has joined #linux-rockchip
Astralix` has quit [Ping timeout: 264 seconds]
Astralix|away has joined #linux-rockchip
markm has joined #linux-rockchip
naobsd has joined #linux-rockchip
dlezcano has quit [Ping timeout: 272 seconds]
lerc has quit [Read error: Connection reset by peer]
dlezcano has joined #linux-rockchip
<naobsd> debug uart shares pins with sd slot?
<naobsd> wow
<naobsd> GPIO2_5/6
<naobsd> it means that we can get uart2 on all RK3368 devices which has sd slot
<ganbold> naobsd: so does rockchip replace their bootloader with u-boot or they have still their own bootloader?
<naobsd> I can see rk3368 support in RK's u-boot (in rk312x lollipop sdk), but I'm not sure which bootloader is used for production.
<naobsd> I guess it's u-boot, but no idea for now.
<naobsd> what I talked now is about uart2 pins
<naobsd> and I have no idea how to configure pins as uart on product which has sd slot with stock loader. pins should be configured as sd pins ;)
<naobsd> hmm, RK3368 box is $120?
lerc has joined #linux-rockchip
<naobsd> mmind00: [PATCH 4/4] dt-bindings: document rk3368 R89 board from Rockchip <- s/R89/R88/
<mmind00> naobsd: nope ... the arm64 board is called R89
<naobsd> then, s/R88/R89/ in patches...
<mmind00> nope ... the rk3288 board is called R88, or did you see more r88 mentions in the other patches?
<mmind00> naobsd: oh you're right
<naobsd> "With these dts files, the R88 board is able to boot from an attached
<naobsd> usb device" very interesting
<mmind00> naobsd: totally confused now ... just looked at the board again ... really called r88
<naobsd> :)
cosm has quit [Ping timeout: 252 seconds]
<naobsd> mmind00: could you show me dmesg with linux-next ? :)
<naobsd> "LoadTrustBL" hmm
<naobsd> "SMP: Total of 8 processors activated." nice :)
<naobsd> mmind00: really interesting, thanks :)
<naobsd> "CPU: All CPU(s) started at EL1" hm
<naobsd> Exception Level
<naobsd> I don't know well about aarch64
<naobsd> TrustBL runs at EL3, U-Boot runs at EL2, Linux kernel runs at EL1?
<naobsd> I'll check RK's u-boot...
mrueg has quit [Remote host closed the connection]
mrueg has joined #linux-rockchip
leming has quit [Quit: ZNC - http://znc.in]
leming has joined #linux-rockchip
earthrocker has joined #linux-rockchip
GTRsdk has joined #linux-rockchip
earthrocker has quit [Client Quit]
skoperst has joined #linux-rockchip
cosm has joined #linux-rockchip
GriefNorth has quit [Quit: Konversation terminated!]
GriefNorth has joined #linux-rockchip
GriefNorth has quit [Ping timeout: 252 seconds]
cosm has quit [Ping timeout: 264 seconds]
cosm has joined #linux-rockchip
<bashintosh> Does anyone have the TRM for RK3288? Seems impossible to find..
markm has quit [Ping timeout: 276 seconds]
<bashintosh> naobsd: thanks! I had that link - it's useful but missing lots of things, for example the USB controller and picoPHY architecture which I am looking into - I found the one for RK3188 and I assume that many sections are similar to RK3288 but it's hard to tell precisely. Here's a useful resource, but no RK3288 TRM :) http://rockchip.fr/