00:01
clonak has joined #linux-sunxi
00:41
nikos has joined #linux-sunxi
00:41
nikos is now known as Guest23894
00:48
Guest23894 has quit [Quit: Page closed]
01:30
kaspter has joined #linux-sunxi
01:32
ninolein has joined #linux-sunxi
01:45
egbert_ has joined #linux-sunxi
01:50
<
vagrantc >
ok, great, mainline u-boot working on pine64 again.
01:51
<
vagrantc >
rebased apritzel's a64-v5 branch on v4.8-rc5, and it still works
01:52
<
vagrantc >
still need some USB patches, though ... tried to merge icenowy's patchset, but resulted in too many conflicts.
02:12
dlan has joined #linux-sunxi
02:12
dlan has quit [Changing host]
02:12
dlan has joined #linux-sunxi
02:14
Nacho has joined #linux-sunxi
02:23
popolon has quit [Quit: WeeChat 1.4]
02:49
cnxsoft has joined #linux-sunxi
03:06
pg12 has quit [Ping timeout: 265 seconds]
03:06
pg12 has joined #linux-sunxi
03:13
_mamalala has joined #linux-sunxi
03:17
Gerwin_J has joined #linux-sunxi
03:30
gzamboni has quit [Read error: No route to host]
03:45
cnxsoft has quit [Ping timeout: 240 seconds]
03:50
cnxsoft has joined #linux-sunxi
03:54
f0xx has joined #linux-sunxi
03:58
vagrantc has quit [Quit: leaving]
04:23
kaspter has quit [Ping timeout: 264 seconds]
04:48
ikmaak has joined #linux-sunxi
04:55
Gerwin_J has quit [Quit: Gerwin_J]
04:55
Gerwin_J has joined #linux-sunxi
04:56
Gerwin_J has quit [Client Quit]
05:17
IgorPec has joined #linux-sunxi
05:41
JohnDoe_71Rus has joined #linux-sunxi
05:42
clonak_ has joined #linux-sunxi
05:44
clonak has quit [Ping timeout: 260 seconds]
05:53
gzamboni has joined #linux-sunxi
06:03
lemonzest has joined #linux-sunxi
06:27
IgorPec has quit [Ping timeout: 244 seconds]
06:43
mosterta has joined #linux-sunxi
06:49
yeoldetoast has joined #linux-sunxi
07:12
utente_ has quit [Ping timeout: 252 seconds]
07:17
<
huawei >
A20 display engine clock has been merged into mainline kernel, so can I use DRM instead of simpleFB in 4.8?
07:27
IgorPec has joined #linux-sunxi
07:31
IgorPec has quit [Client Quit]
07:33
IgorPec has joined #linux-sunxi
07:37
JohnDoe_71Rus has quit [Ping timeout: 252 seconds]
07:38
JohnDoe_71Rus has joined #linux-sunxi
07:42
<
plaes >
huawei: somewhat
07:43
<
plaes >
you need to setup tcon/de/fe in devicetree
07:48
nikre has joined #linux-sunxi
07:50
Hao has quit [Remote host closed the connection]
08:03
_whitelogger has joined #linux-sunxi
08:03
premoboss has joined #linux-sunxi
08:05
mosterta has quit [Ping timeout: 276 seconds]
08:07
Hao has joined #linux-sunxi
08:08
<
plaes >
yeah, these are clocks
08:10
<
plaes >
but you still need to set up pipeline
08:10
scream has joined #linux-sunxi
08:10
<
plaes >
huawei: what device do you have?
08:10
<
huawei >
plaes, cubietruck
08:11
<
plaes >
and which output you want to use?
08:11
<
huawei >
plaes, no, just HDMI.
08:12
pg12 has quit [Ping timeout: 240 seconds]
08:12
<
plaes >
no HDMI driver yet
08:12
<
huawei >
plaes, VGA is availabe?
08:12
<
plaes >
probably, as far as I know anyone hasn't tested it yet on A20
08:12
<
huawei >
plaes, ok, thanks.
08:13
<
plaes >
tcon0, fe0, de0 and display-engine block
08:14
pg12 has joined #linux-sunxi
08:14
<
plaes >
and maybe extra i2c for ddc
08:14
* plaes
starts looking for his cubietruck :P
08:17
<
huawei >
plaes, +_+
08:21
petr has quit [Ping timeout: 276 seconds]
08:23
petr has joined #linux-sunxi
08:27
_whitelogger has joined #linux-sunxi
08:30
paulk-aldrin has joined #linux-sunxi
08:37
<
Net147 >
plaes: I don't think VGA is implemented for A20 yet?
08:39
<
plaes >
I thought the same for LCD :P
08:40
<
Net147 >
plaes: just RGB, composite and on A13-Olinuxino / CHIP VGA adapter using passive RGB to VGA bridge
08:47
jernej has joined #linux-sunxi
08:49
clonak_ is now known as clonak
08:53
<
plaes >
hrm.. indeed
08:53
<
plaes >
de_be0 -> lcd0 -> tve0
08:54
<
plaes >
or de_be0 -> tcon1
08:56
<
Net147 >
plaes: I pushed some more commits to enable required kernel options for the simple panel
08:58
<
plaes >
do you happen to know how to convert this to proper panel config: CONFIG_VIDEO_LCD_MODE="x:1024,y:768,depth:18,pclk_khz:100000,le:799,ri:260,up:15,lo:16,hs:1,vs:1,sync:3,vmode:0" ?
08:59
<
Net147 >
plaes: what do you have at the moment?
09:00
<
plaes >
but the struct display_timing requires three values for each member
09:02
mosterta has joined #linux-sunxi
09:03
ricardocrudo has joined #linux-sunxi
09:04
<
Net147 >
plaes: the olinuxino 4.3" LCD didn't require the display_timing struct, it uses drm_display_mode struct instead
09:04
<
plaes >
the values in the drm_display_mode struct are even more cryptic
09:05
<
plaes >
yeah.. for drm_display_mode, I know the values for clock, hdisplay and vdisplay
09:20
vincele has joined #linux-sunxi
09:23
IgorPec has quit [Ping timeout: 265 seconds]
09:25
mpmc_znc has joined #linux-sunxi
09:25
<
MoeIcenowy >
vagrantc: what branch did I use?
09:25
<
MoeIcenowy >
did you *
09:30
GeneralStupid has left #linux-sunxi [#linux-sunxi]
09:37
|Jeroen| has joined #linux-sunxi
09:42
premoboss has quit [Ping timeout: 252 seconds]
09:43
<
vpeter >
I have something similar prototyped for some time already but should minimize it.
09:43
<
plaes >
vpeter: thanks, do you know how to access the sources?
09:44
<
jelle >
plaes: seems to be linked at the bottom of the page
09:45
<
jelle >
oh and then you get an basichauth popup >_>
09:45
<
plaes >
yeah, it requires password :)
09:45
<
plaes >
at least the schematic is available
09:48
<
KotCzarny >
i guess they just linked wrong
09:49
<
plaes >
I actually saw this project awhile ago
09:49
<
Net147 >
plaes: does it work?
09:50
pg12 has quit [Ping timeout: 276 seconds]
09:50
<
plaes >
Net147: sorry, moving slowly
09:50
mpmc_znc is now known as mpmc
09:50
pg12 has joined #linux-sunxi
09:51
IgorPec has joined #linux-sunxi
09:52
<
plaes >
Net147: I added conversion example to wiki
09:52
<
Net147 >
plaes: thanks
09:52
bonbons has joined #linux-sunxi
09:56
<
Net147 >
plaes: I fixed pcklk_khz typo
10:03
mosterta has quit [Ping timeout: 264 seconds]
10:07
<
Net147 >
hmm... A13 LCD interface is 18-bit but A20 LCD interface is 24-bit
10:09
<
Net147 >
mripard: how should we handle RGB666 vs RGB888 for simple panel?
10:14
Axl_ has joined #linux-sunxi
10:15
<
Net147 >
mripard: bus_format for lcd-olinuxino-43-ts is MEDIA_BUS_FMT_RGB666_1X18 but the LCD accepts RGB888
10:15
Hao has quit [Remote host closed the connection]
10:28
Axl__ has joined #linux-sunxi
10:29
Axl_ has quit [Remote host closed the connection]
11:04
<
vincele >
Hello, does someone know what the [boot_disp] section of a fex file is for, I only found a supposition on cubieforum...
11:05
<
KotCzarny >
see wiki
11:06
<
KotCzarny >
oh, its not existant in wiki
11:06
<
KotCzarny >
maybe its not used for anything then
11:07
<
KotCzarny >
maybe it's cubie specific
11:07
<
plaes >
vincele: what device?
11:08
<
KotCzarny >
wonder if they use patched uboot too
11:08
<
vincele >
Yep that is exactly my question, why not put a quick section telling its useless...
11:08
<
vincele >
my device is an orangepiplus2e
11:09
test_321 has joined #linux-sunxi
11:10
<
test_321 >
hi all, how can I figure out why strace is segfaulting? normal execution of binaries is fine, but "strace ./binary" always segfaults. i'm running an olimex supplied debian with linux 3.4.104+
11:11
<
KotCzarny >
test_321: you can try running it via gdb
11:11
<
vincele >
KotCzarny: yes that was the suppositionI found, but I wanted definitive info, so as to eventually add the small bit on the wiki for the next user like who wonder what it's for...
11:13
<
test_321 >
KotCzarny: I was hoping that to be a last resort, I guess I should start with it.
11:13
<
test_321 >
also was hoping it to be a configuration quirk
11:22
mossroy has joined #linux-sunxi
11:51
<
vpeter >
plaes: sources git clone git://review.tizen.org/tools/testlab/sd-mux.git
11:55
<
vpeter >
If anyone would make PCB let me know (I'm interested in one piece).
12:01
IgorPec has quit [Ping timeout: 240 seconds]
12:07
<
plaes >
anyone with panelook.com user?
12:23
netlynx has joined #linux-sunxi
12:29
y0x79 has joined #linux-sunxi
12:33
<
y0x79 >
i have a question concerning the FEX config. Is the nand0_para section meant to configure the NAND or the NFC?
12:35
|Jeroen| has quit [Quit: dada]
12:37
test_321 has quit [Quit: Page closed]
12:39
<
plaes >
Net147: seems like there's something different with A10
12:41
<
Net147 >
plaes: what is the power source?
12:41
<
Net147 >
plaes: I get that if I power my board from USB instead of DC connector
12:42
<
Net147 >
plaes: also, did you adjust the interrupts for A10?
12:43
<
plaes >
IRQs should be OK
12:47
<
Net147 >
for me specifically, it was the power draw from the LCD turning on when PH8 is set to high that caused the current limiter on the USB OTG port to trip
12:50
<
plaes >
ok, fails with external supply too
12:50
<
plaes >
err.. hangs
12:54
jernej has quit [Ping timeout: 250 seconds]
12:55
<
Net147 >
plaes: which board and DT changes?
12:55
Wizzup has quit [Ping timeout: 240 seconds]
12:57
Axl__ has quit [Quit: Ex-Chat]
12:57
Axl__ has joined #linux-sunxi
12:58
<
Net147 >
plaes: that board is using LVDS for the LCD. I don't think sun4i-drm supports LVDS yet.
13:05
<
plaes >
u-boot conf has this:
13:05
<
plaes >
CONFIG_VIDEO_LCD_IF_PARALLEL=y
13:05
<
plaes >
CONFIG_VIDEO_LCD_PANEL_PARALLEL=y
13:06
<
Net147 >
plaes: I was looking at configs/sunxi_Gemei_G9_defconfig which has CONFIG_VIDEO_LCD_PANEL_LVDS=y
13:06
<
Net147 >
plaes: U-Boot v2016.07
13:08
<
plaes >
I disabled VGA stuff
13:08
<
plaes >
err.. LCD stuff in u-boot
13:09
<
plaes >
CONFIG_VIDEO_LCD_IF_LVDS=y
13:09
<
plaes >
CONFIG_VIDEO_LCD_PANEL_LVDS=y
13:10
Wizzup has joined #linux-sunxi
13:12
<
Net147 >
plaes: it shouldn't be hard to modify sun4i-drm to add LVDS support... basically involves writing to a bunch of configuration registers
13:16
<
Net147 >
did you change the pin function from lcd0 to lvds0?
13:17
<
Net147 >
not sure what it does...
13:20
<
plaes >
ooh.. that was it :)
13:21
<
plaes >
and I guess I have to turn on backlight
13:22
<
Net147 >
where did you get the interrupt numbers?
13:23
<
plaes >
but I have to recheck
13:23
<
plaes >
at least they matched ones I made a while ago, when I added the clocks
13:24
<
Net147 >
looks correct
13:29
<
Net147 >
plaes: oh you already have it
13:30
<
plaes >
yea, but I added one extra pin to enable backlight
13:31
Axl__ has quit [Remote host closed the connection]
13:31
<
plaes >
mhm sun4i-pinctrl 1c20800.pinctrl: unsupported function lvds0 on pin PD10
13:31
<
plaes >
so I guess it actually hangs first
13:31
<
plaes >
because it doesn't know how to handle lvds
13:31
<
Net147 >
I guess sun4i-drm needs LVDS support
13:32
<
Net147 >
in the fex it is actually set to lcd0 function
13:34
<
Net147 >
but in U-Boot it sets to lvds0
13:36
<
plaes >
though, now it doesn't hang anymore
13:37
jernej has joined #linux-sunxi
13:37
|Jeroen| has joined #linux-sunxi
13:37
<
Net147 >
PD10 to PD19 looks like it is called lvds1
13:40
<
Net147 >
U-Boot sets the pin function to 0x3, if you match it with the function names in drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c
13:40
premoboss has joined #linux-sunxi
13:41
vincele has quit [Quit: Page closed]
13:43
<
plaes >
this lvds0/lvds1 is a bit weird
13:43
pg12 has quit [Ping timeout: 265 seconds]
13:49
<
Net147 >
may be better to work out which pins are actually used instead of setting the pin function for all of them
13:53
<
Net147 >
lvds0/lvds1 does match the A10 User Manual
13:53
<
plaes >
I also tried enabling both
13:54
<
Net147 >
regardless of whether the pin functions are correct, sun4i-drm will still need to be modified to support LVDS
13:55
Axl_ has joined #linux-sunxi
13:56
JohnDoe_71Rus has joined #linux-sunxi
14:07
cnxsoft has quit [Quit: cnxsoft]
14:09
<
wens >
tcon needs to be configured to do lvds
14:10
<
wens >
we don't support that yet
14:10
<
nikre >
i am playing around with the htsp client for the channel freezes
14:10
<
nikre >
i have tvheadend as backend
14:11
<
jernej >
sorry, no time
14:11
<
nikre >
20160806 openelec-kodi as htsp client
14:12
<
nikre >
i have observed that when i add channels to favourites and use only the favourites list to switch channels
14:12
<
nikre >
a freeze never happened so far
14:12
<
jernej >
ok, but that is only another workaround
14:12
<
nikre >
so i doubt the channel switch is related to the preview window
14:12
<
nikre >
maybe resizing
14:13
<
plaes >
wens: how can we tell tcon that we actually want LVDS?
14:13
<
nikre >
channel switch problem*
14:13
<
plaes >
wens: via reset names?
14:13
cptG_ has joined #linux-sunxi
14:13
<
nikre >
i have switched more than 100 times and tv is on nonstop. never freezed
14:13
<
nikre >
more than 24 h
14:14
<
jernej >
nikre: Interesting, but I really don't have time to continue discussing
14:14
<
wens >
plaes: likely via a different output port
14:15
<
wens >
it's what some other drm drivers use
14:16
cptG has quit [Ping timeout: 244 seconds]
14:28
IgorPec has joined #linux-sunxi
14:39
paulk-aldrin has quit [Remote host closed the connection]
15:12
IgorPec2 has joined #linux-sunxi
15:14
yangl1996 has joined #linux-sunxi
15:14
yangl1996 has quit [Client Quit]
15:14
IgorPec has quit [Ping timeout: 240 seconds]
15:25
f0xx has quit [Quit: terminated!]
15:26
f0xx has joined #linux-sunxi
15:27
_mamalala_ has joined #linux-sunxi
15:29
_mamalala has quit [Ping timeout: 260 seconds]
15:34
jernej has quit [Ping timeout: 244 seconds]
15:50
Axl_ has quit [Ping timeout: 265 seconds]
15:53
mossroy has quit [Quit: Leaving]
16:28
smooker has joined #linux-sunxi
16:30
kelvan has quit [Remote host closed the connection]
16:31
kelvan has joined #linux-sunxi
16:34
paulk-collins has joined #linux-sunxi
16:50
TheSeven has quit [Ping timeout: 250 seconds]
16:51
TheSeven has joined #linux-sunxi
16:56
y0x79 has quit [Ping timeout: 264 seconds]
17:07
mosterta has joined #linux-sunxi
17:25
petr has quit [Ping timeout: 240 seconds]
17:26
cptG_ is now known as cptG
17:26
petr has joined #linux-sunxi
17:34
Nacho has quit [Remote host closed the connection]
17:37
Nacho has joined #linux-sunxi
17:49
mosterta has quit [Ping timeout: 264 seconds]
17:59
f0xx has quit [Ping timeout: 265 seconds]
18:27
vishnup has joined #linux-sunxi
18:29
mosterta has joined #linux-sunxi
18:30
pg12 has joined #linux-sunxi
18:53
lemonzest has quit [Quit: Leaving]
18:58
jstein_ has joined #linux-sunxi
19:00
jstein_ is now known as jstein
19:08
jernej has joined #linux-sunxi
19:16
andor2007 has joined #linux-sunxi
19:23
jbrown has quit [Ping timeout: 265 seconds]
19:25
jstein has quit [Remote host closed the connection]
19:27
paulk-collins_ has joined #linux-sunxi
19:30
paulk-collins has quit [Ping timeout: 265 seconds]
19:35
jbrown has joined #linux-sunxi
19:38
IgorPec2 has quit [Ping timeout: 260 seconds]
19:42
medvid has quit [Ping timeout: 260 seconds]
19:45
|Jeroen| has quit [Quit: dada]
20:03
andor2007 has quit [Quit: Ex-Chat]
20:05
Nacho has quit [Ping timeout: 255 seconds]
20:12
andor2007 has joined #linux-sunxi
20:25
vishnup has left #linux-sunxi ["Leaving"]
20:30
andor2007 has quit [Quit: Ex-Chat]
20:50
netlynx has quit [Quit: Ex-Chat]
20:57
IgorPec has joined #linux-sunxi
21:02
IgorPec has quit [Ping timeout: 276 seconds]
21:03
medvid has joined #linux-sunxi
21:11
mosterta has quit [Ping timeout: 276 seconds]
21:19
scream has quit [Remote host closed the connection]
21:26
bonbons has quit [Quit: Leaving]
21:29
mosterta has joined #linux-sunxi
21:43
apritzel has joined #linux-sunxi
21:46
nikre has quit [Remote host closed the connection]
21:55
mosterta has quit [Ping timeout: 255 seconds]
22:06
mosterta has joined #linux-sunxi
22:08
paulk-collins_ has quit [Quit: Leaving]
22:33
popolon has joined #linux-sunxi
22:49
Nacho_ has joined #linux-sunxi
22:54
mosterta has quit [Ping timeout: 255 seconds]
22:59
Nacho_ has quit [Remote host closed the connection]
23:02
Nacho_ has joined #linux-sunxi
23:17
ricardocrudo has quit [Remote host closed the connection]
23:27
utente_ has joined #linux-sunxi
23:27
premoboss has quit [Read error: Connection reset by peer]
23:33
pg12 has quit [Ping timeout: 240 seconds]
23:35
pg12 has joined #linux-sunxi
23:46
jernej has quit [Ping timeout: 252 seconds]