rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
MoeIcenowy has joined #linux-sunxi
RichardG867 has joined #linux-sunxi
Ntemis has joined #linux-sunxi
Ntemis has quit [Read error: Connection reset by peer]
anarsoul|2 has quit [Ping timeout: 252 seconds]
nucleargrave has quit [Quit: WeeChat 2.1]
imcsk8_ has joined #linux-sunxi
imcsk8 has quit [Read error: Connection reset by peer]
reinforce has quit [Quit: Leaving.]
VargaD has quit [Ping timeout: 276 seconds]
VargaD has joined #linux-sunxi
Andy-D has quit [Remote host closed the connection]
lurchi__ is now known as lurchi_
jbrown has quit [Ping timeout: 252 seconds]
victhor has quit [Remote host closed the connection]
jbrown has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
Ultrasauce has quit [Quit: Ultrasauce]
VargaD has quit [Ping timeout: 250 seconds]
VargaD has joined #linux-sunxi
Ultrasauce has joined #linux-sunxi
imcsk8_ has quit [Read error: Connection reset by peer]
imcsk8_ has joined #linux-sunxi
leviathan has joined #linux-sunxi
vagrantc has quit [Ping timeout: 276 seconds]
megi has quit [Ping timeout: 246 seconds]
lurchi_ is now known as lurchi__
VargaD has quit [Ping timeout: 250 seconds]
VargaD has joined #linux-sunxi
t0dd1v has joined #linux-sunxi
IgorPec has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 268 seconds]
imcsk8_ has quit [Read error: Connection reset by peer]
imcsk8_ has joined #linux-sunxi
selfbg has joined #linux-sunxi
tllim has joined #linux-sunxi
<MoeIcenowy> mripard: strangely when I try to rebase ANX6345 driver to linux-next/master
<MoeIcenowy> system hangs when initializing DRM
<swiftgeek> how do i disable all warnings on dtc?
<anarsoul> MoeIcenowy: it probably crashes, try disabling console locking
<MoeIcenowy> anarsoul: what's console locking?
<anarsoul> MoeIcenowy: let me find kernel cmdline option for you...
<MoeIcenowy> oh maybe I should remove console=tty0
<MoeIcenowy> btw it seems not an anx6345 issue...
<anarsoul> probably sun4i-drm?
<MoeIcenowy> when I replaced it with a fake simple-panel
<MoeIcenowy> it reports that vblank timeout
<anarsoul> MoeIcenowy: try fb.lockless_register_fb=1
<MoeIcenowy> let me first kill the vblank timeout
<MoeIcenowy> rgb shouldn't vblank timeout
<MoeIcenowy> it's dummy, not as clever as dsi
<anarsoul> OK
hipboi has joined #linux-sunxi
<anarsoul> MoeIcenowy: please ping me when you have anything to test
f11f12 has joined #linux-sunxi
<MoeIcenowy> anarsoul: seems another pll-mipi issue...
<MoeIcenowy> no, it fixes issue on dummy simple-panel
<MoeIcenowy> but the hang seems to be not the same issue
<MoeIcenowy> Oops. Oops at sun4i_tcon_mode_set+0x5d4/0x818
<mripard> MoeIcenowy: it can do a vblank timeout also when the timings aren't properly set compared to the clock
<mripard> so it's just running much slower than it should, and you miss the vblank deadline
<mripard> anarsoul: your 4.18 branch works like a charm btw
<MoeIcenowy> mripard: it seems that the key problem is the oops
<MoeIcenowy> Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008
<mripard> with which release is this?
<MoeIcenowy> newest linux-next
<MoeIcenowy> trying to attach an ANX bridge
<mripard> iirc we've seen a bugfix recently to fix a NULL pointer dereference on systems with a bridge
<mripard> hmmm
<MoeIcenowy> where?
<mripard> it's supposed to be merged already
<mripard> let me check
<MoeIcenowy> drm/sun4i: tcon: prevent tcon->panel dereference if null ?
<MoeIcenowy> I'm using next-20181017
<mripard> yes, that one
<mripard> and drm/sun4i: tcon: fix check of tcon->panel null pointer
<mripard> I forgot to push them apparently
<mripard> sorry, I'm rebasing and pushing it
<MoeIcenowy> seems that the problem is raised by introducing dither in 4.20
<MoeIcenowy> btw for dithering I think we need some way to force it
<MoeIcenowy> as we may connect 8bpp panel with 6bpp
<MoeIcenowy> e.g. Pinebook 1080p uses a 8bpp panel, but the RGB of A64 is only 6bpp
<MoeIcenowy> s/8bpp/24bpp/;s/6bpp/18bpp/g
<MoeIcenowy> mripard: btw thanks the patchset solves it
<mripard> hmmm, its' supposed to be there already
<mripard> I can see the patches in next-20181017
m4ssi has joined #linux-sunxi
massi_ has joined #linux-sunxi
<MoeIcenowy> mripard: 1018 comes
<MoeIcenowy> but unfortunately the patches aren't there
<MoeIcenowy> mripard: btw now we met the dot clock accuracy problem again
clemens3_ has joined #linux-sunxi
<MoeIcenowy> and for Pinebook & TERES-I it's not possible to tweak the clock frequency -- they're in EDID, and may vary between panels
<MoeIcenowy> sent out v2 of PLL-MIPI LDO_EN bit patch for A64
tnovotny has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
arete74 has quit [Ping timeout: 252 seconds]
matthias_bgg has joined #linux-sunxi
<MoeIcenowy> anarsoul: sent out anx patchset
leviathan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
msimpson has joined #linux-sunxi
t0dd1v has quit [Quit: Connection closed for inactivity]
msimpson has quit [Read error: Connection reset by peer]
vagrantc has joined #linux-sunxi
msimpson has joined #linux-sunxi
airwind has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
<f11f12> mripard: any suggestions how I can debug the R40-mali output?
m4ssi has quit [Quit: Leaving]
massi_ has quit [Quit: Leaving]
foxx_ has joined #linux-sunxi
m4ssi has joined #linux-sunxi
vpeter has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
vpeter has joined #linux-sunxi
pgreco has quit [Ping timeout: 268 seconds]
pgreco has joined #linux-sunxi
pgreco has quit [Ping timeout: 272 seconds]
pgreco has joined #linux-sunxi
<plaes> heya.. does anyone have instruction on how to use fastboot?
<plaes> with eMMC
The_Loko has joined #linux-sunxi
<plaes> and A20
paulk-leonov has quit [Ping timeout: 246 seconds]
pgreco has quit [Ping timeout: 272 seconds]
Andy-D has joined #linux-sunxi
pgreco has joined #linux-sunxi
dddddd has joined #linux-sunxi
reinforce has joined #linux-sunxi
reinforce1 has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
imcsk8__ has joined #linux-sunxi
imcsk8_ has quit [Read error: Connection reset by peer]
megi has joined #linux-sunxi
pgreco has quit [Ping timeout: 272 seconds]
pgreco has joined #linux-sunxi
mpmc has quit [Ping timeout: 252 seconds]
pgreco has quit [Quit: ZNC 1.6.6 - http://znc.in]
airwind has quit [Quit: airwind]
pgreco has joined #linux-sunxi
leviathan has joined #linux-sunxi
paulk-leonov has joined #linux-sunxi
jaganteki has joined #linux-sunxi
random_yanek has quit [Ping timeout: 245 seconds]
random_yanek has joined #linux-sunxi
random_yanek has quit [Max SendQ exceeded]
afaerber has quit [Quit: Leaving]
f11f12 has quit [Remote host closed the connection]
f11f12 has joined #linux-sunxi
random_yanek has joined #linux-sunxi
random_yanek has quit [Max SendQ exceeded]
afaerber has joined #linux-sunxi
fdcx has quit [Ping timeout: 252 seconds]
random_yanek has joined #linux-sunxi
imcsk8__ has quit [Read error: Connection reset by peer]
imcsk8_ has joined #linux-sunxi
fdcx has joined #linux-sunxi
TEKrantz has quit [Quit: First shalt thou take out the Holy Pin. Then, shalt thou count to three. No more. No less.]
<plaes> ok, seems like I was able to write the 'system' partition
<plaes> but how should I approach the loader1 and loader2 partitions?
<plaes> and what's 'esp' for?
victhor has joined #linux-sunxi
<plaes> sunxi-spl.bin goes to loader1?
<mripard> yep
<plaes> and loader2 is for?
<mripard> and u-boot.img for loader2
<plaes> and esp?
<mripard> that's mostly for arm64
<plaes> ah.. cool
<mripard> and that's where the u-boot environment is supposed to be stored
<mripard> so you can just flash an empty fat filesystem there if you want
<plaes> esp == environment storage partition?
<ElBarto> efi system partition
<plaes> :)
<plaes> whoa.. almost worked :)
jaganteki has quit [Quit: Page closed]
selfbg has quit [Remote host closed the connection]
tnovotny has joined #linux-sunxi
jaganteki has joined #linux-sunxi
reinforce1 has quit [Quit: Leaving.]
<plaes> ok, need to figure out the uuid mismatches :S
<plaes> debian initrd wants to load different root device
sunshavi has quit [Read error: Connection reset by peer]
sunshavi has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
koty0f has joined #linux-sunxi
enrico_ has quit [Ping timeout: 252 seconds]
foxx_ has quit [Ping timeout: 246 seconds]
lurchi__ has quit [Ping timeout: 268 seconds]
megi has quit [Quit: WeeChat 2.2]
lurchi__ has joined #linux-sunxi
koty0f has quit [Quit: Leaving]
koty0f has joined #linux-sunxi
<koty0f> jerenej: thanks for response. I would like to connect my bridge to A64 HDMI peripheral. The bridge is Toshiba TC358870 HDMI->DSI bridge. tcon0 is used by second display directly connected to A64 DSI peripheral. Thats why I connected my bridge to hdmi_out
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-sunxi
enrico__ has joined #linux-sunxi
kaspter1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 252 seconds]
kaspter1 is now known as kaspter
megi has joined #linux-sunxi
<jernej> ok, that changes things a bit
<anarsoul> MoeIcenowy: thanks, I'll test it tonight
<jernej> wait, why don't you use native DSI? It's true that driver is in the works, but it would be easier nevertheless
tllim has joined #linux-sunxi
hipboi_ has joined #linux-sunxi
hipboi has quit [Ping timeout: 252 seconds]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
<koty0f> I need two displays attached. One via native DSI (it is working OK) and the second connected via HDMI->TC358870->panel
msimpson has quit [Quit: Leaving]
<jaganteki> koty0f, DSI on a64?
leviathan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
vagrantc has joined #linux-sunxi
imcsk8__ has joined #linux-sunxi
imcsk8_ has quit [Read error: Connection reset by peer]
<koty0f> yes.
<jaganteki> koty0f, is it in Mailine linux?
<jaganteki> if yes, can you send your series.. we have some isue with PLL_MIPI
<koty0f> it is curlybrackets work. He started with anarsouls patches and got it working.
<anarsoul> :)
<jaganteki> anarsoul, is your series include this change https://gist.github.com/anarsoul/853d219d104eaf30e1ca3fbd14d82f75
<jaganteki> the only change b/w us is panel, yours in burst and I'm using video stream
<jaganteki> and panel clock
jbrown has quit [Ping timeout: 252 seconds]
<anarsoul> jaganteki: did you add burst support to dsi driver?
koty0f has quit [Ping timeout: 260 seconds]
<jaganteki> no, since the panel I have used didn't use it
tnovotny has quit [Quit: Leaving]
<anarsoul> jaganteki: that's another major difference
jbrown has joined #linux-sunxi
<jaganteki> don't know if it works, how about checking your panel to use 30 clock?
curlybracket has joined #linux-sunxi
<anarsoul> jaganteki: I don't have enough spare time to check it
<curlybracket> this series got us working DSI in video mode: https://gist.github.com/zavorka/8c8ce200fdbb2e1783e105eecaa01d07 ; I didn't track if each and every of my changes to the sun4i-drm or clk-sunxi-ng was essential unfortunately, there's only a few of them though
jaganteki_ has joined #linux-sunxi
jaganteki has quit [Ping timeout: 256 seconds]
jaganteki_ has quit [Client Quit]
jaganteki has joined #linux-sunxi
<jaganteki> anarsoul, change clock to 55 from 30, work for me. **but without https://gist.github.com/anarsoul/853d219d104eaf30e1ca3fbd14d82f75
anarsoul|2 has joined #linux-sunxi
xyntrix has quit [Quit: Leaving]
<vagrantc> so, very excited to see u-boot getting upstreamed for pinebook!
florianH has quit [Ping timeout: 264 seconds]
florianH has joined #linux-sunxi
<vagrantc> still seem to have issues with the clock jumping far into the future occasionally (and maybe sometimes into the distant past?)
<vagrantc> i seem to recall some patches posted about that, but either they were ineffective or didn't make it into linux 4.19
<anarsoul|2> vagrantc: I think the patch for workaround a64 timer erratum hasn't been upstreamed yet
<anarsoul|2> s/for/to
<vagrantc> yeah, that was my fear
<vagrantc> although the bigger fear is that the patches don't work :)
<anarsoul|2> I've never experienced it myself on my pinebook
<anarsoul|2> but I added the patch to my 4.18 tree
<vagrantc> i've seen it both on pine64+ and pinebook
<anarsoul|2> MoeIcenowy: btw, you may want to disable glamor for your AOSC build if you haven't done it yet. On archlinux it uses llvmpipe and it makes X very slow
clemens3_ has quit [Ping timeout: 244 seconds]
<vagrantc> last patch i have was from samuel holland in mid-may
lurchi__ has quit [Read error: Connection reset by peer]
<anarsoul|2> vagrantc: same here
<vagrantc> looks like there's a more recent one posted, not sure if there are any real changes: https://patchwork.kernel.org/patch/10520851/ https://patchwork.kernel.org/patch/10520849/
* vagrantc hrms about why patchwork.kernel.org doesn't support series well/at all
victhor has quit [Remote host closed the connection]
<anarsoul|2> looks like no comments on v2?
* vagrantc nods
<vagrantc> or if there were, they were sent to a different CCed list
aalm has quit [Ping timeout: 252 seconds]
aalm has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
dev1990 has joined #linux-sunxi
m4ssi has quit [Remote host closed the connection]
jaganteki has quit [Ping timeout: 256 seconds]
koty0f has joined #linux-sunxi
jaganteki has joined #linux-sunxi
<anarsoul> smaeul: hey, what's the status of a64 timer workaround patches?
<ElBarto> what is the unit of the pwm cell number 2 (50000 in pinebook dts), I don't see any docs about it
<anarsoul> see Documentation/devicetree/bindings/pwm/pwm.txt
<anarsoul> excerpt: "pwm-specifier typically encodes the chip-relative PWM number and the PWM period in nanoseconds."
<ElBarto> damn I missed this
<ElBarto> yeah
<ElBarto> thanks
<anarsoul> np
afaerber has quit [Quit: Leaving]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
netlynx has quit [Quit: Ex-Chat]
<f11f12> are there limitation for the Mali in the R40 SoC for the addresses the framebuffer memory can reside?
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
<ElBarto> anarsoul: do you know if it's possible to have a brightness-levels prop but no default-brightness-level prop ?
<ElBarto> anarsoul: and if it is what is the behavior ?
<ElBarto> I can't find anything in the documentation
<anarsoul|2> ElBarto: is it required property?
<ElBarto> both are optionals properties
<ElBarto> but it's not defined if brightness-levels exist that default-brightness-level should too
<anarsoul|2> according to the code default-brightness-level is required if brightness-levels is present
<anarsoul|2> it'll error out if default-brightness-level is missing
<ElBarto> ok I'll do the same in FreeBSD then, thanks
<anarsoul|2> np
<ElBarto> I'll try to not look at Linux code if I don't have too ...
<anarsoul|2> understood
<ElBarto> this part should be problematic since the subsystems are different
<ElBarto> but since I'm designing the pwm subsystem right now it's hard to get everything :P
<ElBarto> s/should/shouldn't/
jaganteki has quit [Ping timeout: 256 seconds]
matthias_bgg has quit [Ping timeout: 250 seconds]
hitech95_ROG has quit [Ping timeout: 252 seconds]
duncan^ has quit [Quit: Hwyl fawr, fy nghariad]
duncan^ has joined #linux-sunxi
duncan^ has joined #linux-sunxi
dddddd has quit [Ping timeout: 244 seconds]
Putti has quit [Remote host closed the connection]
anarsoul has quit [Ping timeout: 250 seconds]
Putti has joined #linux-sunxi
imcsk8__ has quit [Read error: Connection reset by peer]
imcsk8_ has joined #linux-sunxi
anarsoul has joined #linux-sunxi
hitech95_ROG has joined #linux-sunxi
IgorPec has quit [Ping timeout: 276 seconds]
Ntemis has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
GrimKriegor has quit [Ping timeout: 252 seconds]
GrimKriegor has joined #linux-sunxi
lkcl has quit [Read error: Connection reset by peer]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
victhor has joined #linux-sunxi
f11f12 has quit [Quit: f11f12]
lkcl has joined #linux-sunxi
jstein has quit [Quit: quit]
dddddd has joined #linux-sunxi
mzki has quit [Ping timeout: 268 seconds]
mzki has joined #linux-sunxi
hitech95_ROG has quit [Ping timeout: 252 seconds]
afaerber has joined #linux-sunxi
Asara has quit [Quit: leaving]
koty0f has quit [Ping timeout: 244 seconds]
Ntemis has quit [Remote host closed the connection]
anarsoul|2 has quit [Remote host closed the connection]
anarsoul|2 has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
AneoX has joined #linux-sunxi
hitech95_ROG has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 252 seconds]
mzki has quit [Ping timeout: 268 seconds]
Putti has quit [Ping timeout: 276 seconds]
mzki has joined #linux-sunxi
The_Loko has quit [Read error: Connection reset by peer]
lurchi__ has joined #linux-sunxi
hitech95__ has joined #linux-sunxi
hitech95_ROG has quit [Ping timeout: 268 seconds]
imcsk8__ has joined #linux-sunxi
imcsk8_ has quit [Read error: Connection reset by peer]
Asara has joined #linux-sunxi
leviathan has joined #linux-sunxi