Nacho has quit [Remote host closed the connection]
Nacho has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 264 seconds]
akaizen has joined #linux-sunxi
leviathan_ has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 268 seconds]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
leviathan_ has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
Nacho has quit [Remote host closed the connection]
Nacho has joined #linux-sunxi
<wens>
MoeIcenowy: weird... I got 2 copies of some, but not all, of your patches
pg12 has quit [Ping timeout: 268 seconds]
pg12 has joined #linux-sunxi
lemonzest has joined #linux-sunxi
Nacho has quit [Remote host closed the connection]
Nacho has joined #linux-sunxi
lkcl has quit [Ping timeout: 240 seconds]
pg12 has quit [Ping timeout: 240 seconds]
pg12 has joined #linux-sunxi
reev has joined #linux-sunxi
<plaes>
ugh.. ENOTENOUGHTIME
IgorPec has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
<wens>
always
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
jernej has joined #linux-sunxi
lennyraposo has quit [Ping timeout: 240 seconds]
lennyraposo has joined #linux-sunxi
jernej has quit [Ping timeout: 240 seconds]
<MoeIcenowy>
wens: some of them are wrongly sent without decoration
<MoeIcenowy>
then I realized it and ctrl-c
goofie has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<MoeIcenowy>
wens, mripard: something strange, when testing my H3 TVE patchset, I assigned the clock of PLL_DE (the TVE of H3 must work under 216MHz, otherwise it doesn't generate signal)
<MoeIcenowy>
but when booting it warns that the clock wait for lock failed
IgorPec has quit [Ping timeout: 268 seconds]
goofie has quit [Read error: Connection reset by peer]
terra854 has joined #linux-sunxi
goofie has joined #linux-sunxi
reinforce has joined #linux-sunxi
IgorPec has joined #linux-sunxi
HeavyMetal has quit [Ping timeout: 268 seconds]
HeavyMetal has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Changing host]
k4chn1k has joined #linux-sunxi
HeavyMetal has quit [Ping timeout: 268 seconds]
<k4chn1k>
hi, how is it with Mali mainline support? I am using driver r6p2 from malideveloper.arm.com/resources/drivers/arm-mali-utgard-gpu-user-space-drivers/ with patches form https://github.com/mripard/sunxi-mali
<k4chn1k>
latest kernel with suggested patches 0f3bbe074dd1 and 5f15257689bf
<k4chn1k>
and app in Qt
<k4chn1k>
it is possible to create eglfs surface and run demo apps
<k4chn1k>
withyout OpenGL
<k4chn1k>
without OpenGL
<k4chn1k>
OpenGL app crashes the system in mali driver
<k4chn1k>
in mali_gp_job_create
<MoeIcenowy>
please do not use the drivers there.
<k4chn1k>
from arm website or in general?
<MoeIcenowy>
from arm website.
dave0x6d has quit [Quit: Connection closed for inactivity]
<MoeIcenowy>
You should ask Allwinner for a special build
<MoeIcenowy>
Although it will fail in 99%
<k4chn1k>
is this issue in driver or userspace library?
matthias_bgg has joined #linux-sunxi
<MoeIcenowy>
in fact currently I don't hope people to try out it
<k4chn1k>
yes, RGB interface with ssd2828 to dsi LVD
<MoeIcenowy>
with DRM driver?
<MoeIcenowy>
simplefb cannot support Mali
<k4chn1k>
yes
<wens>
there's no drm driver for ssd2828
<k4chn1k>
i use spidev config tool from userspace
<k4chn1k>
and my panel config
<wens>
well, I suppose if U-boot configured it, you could just fake it in DRM :p
foxx_ has joined #linux-sunxi
matthias_bgg_ has joined #linux-sunxi
lkcl has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Changing host]
<MoeIcenowy>
mripard, wens: when I applied "drm/sun4i: tcon: Fix tcon channel 1 backporch calculation" and "drm/sun4i: tcon: multiply the vtotal when not in interlace" the H3 TVE now stopped to work
<MoeIcenowy>
oh the vtotal seems to be wrongly doubled for TVE
DullTube has joined #linux-sunxi
<MoeIcenowy>
oh so strange
<MoeIcenowy>
the tcon1 fixes that fixed HDMI has broken TVE
<MoeIcenowy>
oh it's not wrongly doubled -- it's just interlace...
<MoeIcenowy>
maybe the backporch calculating algorithm need sfix
<wens>
it should be correct, as .crtc_vtotal = .vtotal / 2 when it is an interlaced mode
<MoeIcenowy>
but these two commits really broken TV output...
<wens>
please report it on the mailing list
<MoeIcenowy>
but it used my H3 TVE patchset
<plaes>
wens: do you have any idea whether mripard's clk parent improvements will be merged soon?
<plaes>
the ones that came with HDMI patchset
<MoeIcenowy>
although I think it can reproduce on A13, I don't have a proper board now
<wens>
plaes: there is a clk core patch... so that really depends on the clk maintainers
<wens>
MoeIcenowy: I don't have anything to test it on, so I really can't help you there
<plaes>
I looked into the SATA post-divider a while ago, but didn't get anywhere :(
<MoeIcenowy>
wens: ok fixed
<MoeIcenowy>
the original code tried to double crtc_vtotal when not interlaced
<MoeIcenowy>
then if interlaced the val will be 1/2 of vtotal
<MoeIcenowy>
but we want a full vtotal when not interlaced
<MoeIcenowy>
I changed to code to val = mode->vtotal; /* used to be crtc_vtotal */ if (!(mode->flags & DRM_MODE_FLAG_INTERLACE)) val = val * 2;
<MoeIcenowy>
P.S. wens: another problem on multiple pipeline
<MoeIcenowy>
if the first failed to all probe
<MoeIcenowy>
the second won't be used
<wens>
can you give an example?
<MoeIcenowy>
for H3 I used to wrongly set the compatible of hdmi (the end of pipeline 0)
techping has joined #linux-sunxi
<MoeIcenowy>
and the pipeline 1 (tv pipeline) is also enabled
<MoeIcenowy>
no signal on tv
<wens>
_all_ available components must probe for the DRM driver to work
<wens>
I think that is by design
<MoeIcenowy>
and now there's another problem
<MoeIcenowy>
still this pipeline configuration, but HDMI fixed
<MoeIcenowy>
the CRTC1 seems to do not do vblank
<wens>
you initialize all components before registering the driver
<wens>
H3?
<MoeIcenowy>
yes
<MoeIcenowy>
when I disabled de2_mixer0 (the start of pipeline0) the pipeline1 do vblank correctly
<MoeIcenowy>
after the vtotal fix
<wens>
if it's not doing vblank, then either the mixer / tcon is not running
<MoeIcenowy>
nope
<MoeIcenowy>
the display is out
<MoeIcenowy>
I can see the penguins and the cursor blinking
<wens>
weird
<wens>
i haven't gotten my a31 hdmi to work with the second pipeline yet
<wens>
need to make the mux work
<MoeIcenowy>
so the multiple pipeline patchset is totally not tested?
<MoeIcenowy>
wens: oh drm_vblank_init has a parameter num_crtcs
<MoeIcenowy>
which is called in sun4i_drv.c with num_crtcs = 1
<wens>
MoeIcenowy: no it was not, this was properly mentioned in the cover letter
<wens>
there was nothing to test it with
<wens>
the point is to be able to actually have 2 display pipelines in the DT without the driver crashing or doing stupid things
<wens>
but the second pipeline is useless without a downstream encoder
<MoeIcenowy>
ok
<MoeIcenowy>
change it to 2 makes two crtcs do vblank together
kikadisa has joined #linux-sunxi
<kikadisa>
Hello
<wens>
MoeIcenowy: drm_vblank_init(dev, dev->mode_config.num_crtc); <= this is probably better
<kikadisa>
I'm the owner of a BPI M64 and i would like to know if it's safe to upgrade kernel to 4.5 from a 3.10 longsleep kernel. Any ideas ?
<MoeIcenowy>
kikadisa: impossible
<montjoie>
4.5 is old:)
<MoeIcenowy>
wens: just assign it to 2 doesn't hurt when a pipeline gone away
<MoeIcenowy>
and the num_crtc seems to be not ready here
<wens>
I'll look into it
<MoeIcenowy>
but it won't block to use H3 DE2 now
<MoeIcenowy>
as usually people do not use TV output
<rellla>
MoeIcenowy: i'm out of date regarding DE and HDMI drivers atm...
<MoeIcenowy>
rellla: current DE2 and HDMI work are done by me and jernej
<rellla>
we have your branch with DE2.0 + HDMI working?
<longsleep>
kikadisa: remember that if you upgrade from legacy BSP based Kernels you also need to have an updated bootloader as the BSP bootloader is not able to boot anything else than BSP
<rellla>
and with mripard's we have DE1.0 with HDMI - but only for A10s?
<Net147>
wens: that looks like it might fix it. I will give it a try, thanks
<MoeIcenowy>
Yong_: you may need to send a patch to more maintainers
<MoeIcenowy>
a kernel/u-boot patch sent to only linux-sunxi mailing list won't be picked up by anyone
<MoeIcenowy>
P.S. are you the "清水" in Lichee Pi group?
<Yong_>
ok
<Yong_>
yes
<MoeIcenowy>
for sending a patch you should learn to use ./scripts/get_maintainers.pl and ./scripts/checkpatch.pl ;-)
<MoeIcenowy>
P.S. could you just send one to icenowy@aosc.io? I'm the author to V3s CCU driver
<MoeIcenowy>
ok received it
<MoeIcenowy>
Yong_: you may need to add a "." in your comment message
<MoeIcenowy>
your current message gives people a feeling that it's not done.
<Yong_>
ok
<MoeIcenowy>
wens: should the original author of a patch send "Acked-By" or "Reviewed-By" to a fix patch?
<zoobab>
@MoeIcenowy which V3S board do you have?
<MoeIcenowy>
zoobab: Lichee Pi Zero early samples
<MoeIcenowy>
(note: not the final version)
<zoobab>
I was looking at those sportscam
techping has quit [Remote host closed the connection]
<zoobab>
to get one for hacking
leviathancn has joined #linux-sunxi
<Yong_>
MoeIcenowy: should i resend it to you?
<MoeIcenowy>
nope
<MoeIcenowy>
please read my notes
<Yong_>
ok
lkcl has quit [Ping timeout: 268 seconds]
<wens>
MoeIcenowy: what do you mean?
<MoeIcenowy>
wens: I made the V3s CCU patch (but maintainer is you and mripard)
<MoeIcenowy>
and Yong_ made a fix
<MoeIcenowy>
what should I do on it?
<wens>
nothing is required of you
<wens>
it is just like any other patch
<MoeIcenowy>
ok ;-)
<wens>
if you want you can help review patches
Mr__Anderson has joined #linux-sunxi
lkcl has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
popolon has joined #linux-sunxi
phipli has joined #linux-sunxi
leviathancn has quit [Read error: Connection reset by peer]
fkluknav has joined #linux-sunxi
leviathancn has joined #linux-sunxi
afaerber has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
cnxsoft1 is now known as cnxsoft
Yong__ has joined #linux-sunxi
<Net147>
wens: the patch fixed the panic, thanks
<Yong_>
INFO Yong
gzamboni has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
reinforce has quit [Quit: Leaving.]
<kikadisa>
MoeIcenowy: How could it be impossible ? I deploy centos on my Banana Pi (m64 version) and yum update returns me kernel-image 4.5
<kikadisa>
I update it but currently i didn't reboot the system yet
<MoeIcenowy>
kikadisa: 4.5 kernel doesn't include any support for A64
<kikadisa>
holy crap. So i shouldn't reboot my board ?
<MoeIcenowy>
maybe you can reboot it but will see nothing happen
<kikadisa>
and try to downgrade to 3.10 kernel ?
<MoeIcenowy>
I think the updated kernel won't apply at all
<MoeIcenowy>
the first mainline kernel that have gained usable support for A64 is 4.11
Yong__ has quit [Quit: Page closed]
Yong_ has quit [Quit: Page closed]
Yong_ has joined #linux-sunxi
Yong_ has quit [Client Quit]
<kikadisa>
hum. Ok.
Leepty has quit [Ping timeout: 268 seconds]
<kikadisa>
you(re right. Upgrading the kernel didn't change the answer of uname -ar
Leepty has joined #linux-sunxi
lkcl has quit [Ping timeout: 240 seconds]
DullTube has quit [Quit: Leaving]
victhor has joined #linux-sunxi
fkluknav has quit [Ping timeout: 246 seconds]
matthias_bgg has quit [Quit: Leaving]
Ixnus has joined #linux-sunxi
<Ixnus>
zoobab: I found something about kernelCI , our boards are split in 2 SoC categoriess: "allwinner" and "sunxi" which is mistake imo
Leepty has quit [Ping timeout: 264 seconds]
Ixnus has quit [Quit: Page closed]
paulk-collins has quit [Quit: Leaving]
Leepty has joined #linux-sunxi
chomwitt1 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 240 seconds]
ruben-ikmaak is now known as ikmaak
techping has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
cptG has joined #linux-sunxi
reev has quit [Ping timeout: 240 seconds]
mrala has joined #linux-sunxi
dave0x6d has quit [*.net *.split]
Leepty has quit [*.net *.split]
chomwitt1 has quit [*.net *.split]
The_Loko has quit [*.net *.split]
mosterta has quit [*.net *.split]
akaizen has quit [*.net *.split]
xes has quit [*.net *.split]
cptG_ has quit [*.net *.split]
dave0x6d has joined #linux-sunxi
IgorPec has joined #linux-sunxi
Leepty has joined #linux-sunxi
The_Loko has joined #linux-sunxi
xes has joined #linux-sunxi
chomwitt1 has joined #linux-sunxi
techping has quit [Ping timeout: 240 seconds]
LargePrime has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-sunxi
marble_visions has joined #linux-sunxi
<marble_visions>
hi all, i want to understand the difference in the video config in the DTS files for a13 and r8
<marble_visions>
s/a13/olimex a13/
<marble_visions>
obviously the final stage (post tcon is different), but is the r8-chip DTS more explicit
<marble_visions>
in the de fe and tcon?
<MoeIcenowy>
a13 is equal to r8.
<marble_visions>
s/but is/but why is/
<marble_visions>
indeed, but why to the chip guys have made their dts more explicit? if i understand correctly, this means that a lack of an DTS entry leaves the tcon with the default reset values in the periph registers
<marble_visions>
which is ok for the vga output of the olimex board
phipli has quit [Quit: Leaving]
LargePrime has joined #linux-sunxi
kikadisa has left #linux-sunxi [#linux-sunxi]
techping has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 260 seconds]
techping has quit [Ping timeout: 240 seconds]
cnxsoft has joined #linux-sunxi
<MoeIcenowy>
mripard: will the mali X11 driver request a overlay layer?
<mripard>
yes, for the cursor, if you tell it to
<MoeIcenowy>
if it doesn't have overlay layer will it automatically fallback?
* MoeIcenowy
trying to use Mali on H3
<MoeIcenowy>
oh it doesn't fallback
<mripard>
it doesn't fallback, the code explicitly tells it to use one
<MoeIcenowy>
ok
<MoeIcenowy>
let me change the sun4i armsoc glue code
cnxsoft has quit [Quit: cnxsoft]
<mripard>
you probably want to use HWCURSOR_API_NONE
<MoeIcenowy>
ok, thanks ;-)
<MoeIcenowy>
mripard: P.S. how should I implement the "magic bit" in A64 DE2?
<MoeIcenowy>
(magic bit in syscon (0x01c00000) part)
<mripard>
what is this magic bit supposed to do ?
<MoeIcenowy>
"set sram for vedio use, default is boot use"
<MoeIcenowy>
a sram controller node?
<MoeIcenowy>
but we do not surely know which sram section it is...
<MoeIcenowy>
should I add one more compatible for the SRAM controller, or should I use the A10 one?
<MoeIcenowy>
and the same zone is also used as syscon by sun8i-emac/dwmac-sun8i, will them conflict?
k4chn1k has quit [Quit: Page closed]
<montjoie>
same zone ?
<wens>
same register region
<wens>
MoeIcenowy: syscon is separately registered, should be ok
<MoeIcenowy>
P.S. there's another problem on sram controller
<MoeIcenowy>
the VE zone
<MoeIcenowy>
or "SRAM C1"
<MoeIcenowy>
1. it uses 31 bits to represent its state, 0x0 is CPU, 0x7fffffff is VE
popolon has joined #linux-sunxi
<MoeIcenowy>
2. on some SoCs it has no CPU map on memory mapping
HeavyMetal has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Changing host]
<wens>
a good reason to have per soc compatible strings for the SRAM controller
chlorine has joined #linux-sunxi
chlorine has quit [Read error: Connection reset by peer]
chlorine has joined #linux-sunxi
MadP0et[m] has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 240 seconds]
davidperrenoud has quit [Quit: Connection closed for inactivity]
lennyraposo has quit [Quit: Leaving.]
chlorine has quit [Ping timeout: 260 seconds]
chlorine has joined #linux-sunxi
lkcl has quit [Ping timeout: 260 seconds]
leviathan_ has joined #linux-sunxi
chlorine has quit [Read error: Connection reset by peer]
chlorine has joined #linux-sunxi
chlorine has quit [Read error: Connection reset by peer]
chlorine_ has joined #linux-sunxi
leviathan_ has quit [Ping timeout: 240 seconds]
leviathan_ has joined #linux-sunxi
leviathan_ has quit [Remote host closed the connection]
chlorine_ has quit [Client Quit]
iamfrankenstein has quit [Read error: Connection reset by peer]
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein1 is now known as iamfrankenstein
nOOb__ has joined #linux-sunxi
popolon has quit [Ping timeout: 260 seconds]
LargePrime has quit [Ping timeout: 246 seconds]
nOOb__ has quit [Ping timeout: 246 seconds]
lemonzest has quit [Quit: Leaving]
nOOb__ has joined #linux-sunxi
vagrantc has joined #linux-sunxi
goofie has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
lkcl has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
phipli has joined #linux-sunxi
phipli has quit [Client Quit]
cptG_ has joined #linux-sunxi
cptG has quit [Ping timeout: 260 seconds]
lemonzest has joined #linux-sunxi
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 260 seconds]
iamfrankenstein1 is now known as iamfrankenstein
goofie has quit [Ping timeout: 245 seconds]
vagrantc has quit [Quit: leaving]
vagrantc has joined #linux-sunxi
horstbaerbel has joined #linux-sunxi
gzamboni has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
<horstbaerbel>
Back with my USB problem. My Q8 A33 Tablet (mainline U-Boot and Kernel, Linaro alip rootfs) boots to desktop, but I have no USB functionality when booted. The keyboard works in U-Boot though. Any ideas what I should be looking for?
<vagrantc>
are you using the usb otg port? could it be in host or peripheral mode?
Ntemis has joined #linux-sunxi
<vagrantc>
and the obvious, are the necessary drivers compiled into the kernel or available as modules?