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>
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 ;)
<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/