stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
anarsoul|3 has joined #linux-rockchip
busterbcook has joined #linux-rockchip
vstehle has quit [Ping timeout: 240 seconds]
DuClare has quit [Ping timeout: 240 seconds]
athidhep has quit [Ping timeout: 240 seconds]
anarsoul|2 has quit [Ping timeout: 240 seconds]
sb35 has joined #linux-rockchip
vstehle has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
somy has quit [Ping timeout: 250 seconds]
stikonas has quit [Remote host closed the connection]
anarsoul|3 has quit [Ping timeout: 244 seconds]
athidhep has joined #linux-rockchip
vstehle has quit [Ping timeout: 250 seconds]
vagrantc has quit [Quit: leaving]
ldevulder has quit [Ping timeout: 246 seconds]
ldevulder has joined #linux-rockchip
field^Zzz2 has joined #linux-rockchip
field^Zzz1 has quit [Ping timeout: 268 seconds]
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #linux-rockchip
sb35 has quit [Quit: sb35]
athidhep has quit [Quit: athidhep]
athidhep has joined #linux-rockchip
athidhep has quit [Client Quit]
sb35 has joined #linux-rockchip
athidhep has joined #linux-rockchip
vstehle has joined #linux-rockchip
nashpa has quit [Ping timeout: 250 seconds]
nashpa has joined #linux-rockchip
LargePrime has quit [Ping timeout: 268 seconds]
sb35 has quit [Ping timeout: 250 seconds]
guthwine has joined #linux-rockchip
<
guthwine>
hi. is hdmi supported for the rk3328 (rock64) on the mainline kernel or maybe on some distro kernel from debian?
<
wens>
don't think so
<
guthwine>
:(, and rk3399 ?
<
mmind00>
guthwine wens: rk3328 hdmi is supported
<
wens>
cool! I need to update my kernel
vagrantc has joined #linux-rockchip
BenG83 has joined #linux-rockchip
BenG83 has quit [Ping timeout: 250 seconds]
vicencb has joined #linux-rockchip
BenG83 has joined #linux-rockchip
<
guthwine>
mmind00: do you have a working kernel config? or will it work with the default config?
<
mmind00>
guthwine: should work with the default arm64 defconfig
<
mmind00>
aka the only relevant addition is the innosilicon hdmi phy and that option was added then
<
guthwine>
did you test it, i think last time i tried it did not work for me and this was after the commit
<
guthwine>
but i'm going to give ot a try again
<
guthwine>
there also some packages on the rockchip github for xorg, i'm not sure if they are required
<
mmind00>
guthwine: that is for the longest time my test platform for following lima progress ... so definitly yes :-D
<
mmind00>
guthwine: and I did spent quite a bit of time on bringing that stuff into the mainline kernel ;-)
vicencb has quit [Quit: Leaving.]
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
<
guthwine>
mmind00: still no luck, compiled the kernel with: make KBUILD_DEBARCH=arm64 -j12 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- defconfig"
<
guthwine>
and then: "make KBUILD_DEBARCH=arm64 -j12 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- deb-pkg"
<
guthwine>
build an debian testing image with the kernel
<
guthwine>
boots fine, but startx does not work
<
guthwine>
error is : no screens found
<
guthwine>
is there some specific module which should be loaded?
<
guthwine>
maybe it is also just some Xorg issue, but usually it works out of the box
<
beeble>
do you see the console?
<
beeble>
then hdmi is working :)
<
guthwine>
serial ;)
<
guthwine>
or maybe some option on the kernelcmd line i'm missing?
<
beeble>
your dtb is up to date and has hdmi enabled?
<
beeble>
you should get at least a console without doing anything special
<
guthwine>
kernel version was 4.19.5 mainline, i used the dtb that comes with the kernel
<
quark_>
and your dtb have hdmi and vop enable?
<
quark_>
mean enabled
<
quark_>
find /sys/firmware/devicetree/ | grep -E "hdmi|vop"
<
guthwine>
finds some stuff for hdmi_i2c and hdmi_pin, nothing for vop,
<
guthwine>
anything particular to look out for?
stikonas has joined #linux-rockchip
<
quark_>
dtc -I dtb -O dts yourfile.dtb | grep -A 20 "vop@"
<
quark_>
for rk3328 there should be line 'compatible = "rockchip,rk3328-vop"' and 'status = "okay"'
<
quark_>
actually you current dtb should be available from /sys
<
quark_>
dtc -I dtb -O dts /sys/firmware/fdt | grep -A 20 "vop@"
<
quark_>
hmm. actually commit e78d53c7b2873e0724eb765a88ccde42560b0e05 is added after 4.19 so you need to patch you dts
_whitelogger has joined #linux-rockchip
BenG83 has quit [Quit: Leaving]
sb35 has joined #linux-rockchip
<
guthwine>
quark_: i see, i'm going to test it with 4.20 then
sb35 has quit [Ping timeout: 244 seconds]
<
mmind00>
guthwine: 4.19 is too old
stikonas has quit [Read error: Connection reset by peer]
stikonas has joined #linux-rockchip
Kelsar has joined #linux-rockchip
paulk-leonov has quit [Ping timeout: 268 seconds]
paulk-leonov has joined #linux-rockchip
guthwine has quit [Ping timeout: 256 seconds]
guthwine has joined #linux-rockchip
lkcl has quit [Read error: Connection reset by peer]
dmnq has joined #linux-rockchip
ldevulder has quit [Ping timeout: 268 seconds]
lkcl has joined #linux-rockchip
LargePrime has joined #linux-rockchip
<
guthwine>
getting a little closer maybe ...
<
guthwine>
build the image with the 4.20 rc5 kernel, I now see the vop stuff
<
guthwine>
but get an error: "display subsystem master bind failed: -22"
irsol has quit [Ping timeout: 246 seconds]
<
guthwine>
i guess i need the mali-midgard package too, is that correct?
<
guthwine>
this tries to build a module for the current kernel with dkms but fails:
<
guthwine>
implicit declaration of function: "access_once"; did you mean "read_once" ?
<
guthwine>
it is probably a debian issue then?
irsol has joined #linux-rockchip
dmnq has quit [Remote host closed the connection]
BenG83 has joined #linux-rockchip
dmnq has joined #linux-rockchip
<
mmind00>
guthwine: nope, gpu is not needed, and rk3328 also doesn't have a midgard-class gpu anyway
<
mmind00>
guthwine: you might want to put a bit more dmesg output on some paste-site for review
nashpa has quit [Quit: Going away]
nashpa has joined #linux-rockchip
adema_ has quit [Ping timeout: 264 seconds]
adema has joined #linux-rockchip
dmnq has quit [Remote host closed the connection]
dmnq has joined #linux-rockchip
dmnq has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]