Turl 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
clonak has joined #linux-sunxi
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
nikos has joined #linux-sunxi
nikos is now known as Guest23894
Guest23894 has quit [Quit: Page closed]
kaspter has joined #linux-sunxi
ninolein has joined #linux-sunxi
egbert_ has joined #linux-sunxi
<vagrantc> ok, great, mainline u-boot working on pine64 again.
<vagrantc> rebased apritzel's a64-v5 branch on v4.8-rc5, and it still works
<vagrantc> still need some USB patches, though ... tried to merge icenowy's patchset, but resulted in too many conflicts.
dlan has joined #linux-sunxi
dlan has quit [Changing host]
dlan has joined #linux-sunxi
Nacho has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.4]
cnxsoft has joined #linux-sunxi
pg12 has quit [Ping timeout: 265 seconds]
pg12 has joined #linux-sunxi
_mamalala has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
gzamboni has quit [Read error: No route to host]
cnxsoft has quit [Ping timeout: 240 seconds]
cnxsoft has joined #linux-sunxi
f0xx has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
kaspter has quit [Ping timeout: 264 seconds]
ikmaak has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
IgorPec has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
clonak_ has joined #linux-sunxi
clonak has quit [Ping timeout: 260 seconds]
gzamboni has joined #linux-sunxi
lemonzest has joined #linux-sunxi
IgorPec has quit [Ping timeout: 244 seconds]
mosterta has joined #linux-sunxi
yeoldetoast has joined #linux-sunxi
utente_ has quit [Ping timeout: 252 seconds]
<huawei> A20 display engine clock has been merged into mainline kernel, so can I use DRM instead of simpleFB in 4.8?
IgorPec has joined #linux-sunxi
IgorPec has quit [Client Quit]
IgorPec has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 252 seconds]
JohnDoe_71Rus has joined #linux-sunxi
<plaes> huawei: somewhat
<plaes> you need to setup tcon/de/fe in devicetree
nikre has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
_whitelogger has joined #linux-sunxi
premoboss has joined #linux-sunxi
mosterta has quit [Ping timeout: 276 seconds]
Hao has joined #linux-sunxi
<plaes> yeah, these are clocks
<plaes> but you still need to set up pipeline
scream has joined #linux-sunxi
<plaes> huawei: what device do you have?
<huawei> plaes, cubietruck
<plaes> and which output you want to use?
<plaes> VGA?
<huawei> plaes, no, just HDMI.
<plaes> you can't
pg12 has quit [Ping timeout: 240 seconds]
<plaes> no HDMI driver yet
<huawei> plaes, VGA is availabe?
<plaes> probably, as far as I know anyone hasn't tested it yet on A20
<huawei> plaes, ok, thanks.
<plaes> tcon0, fe0, de0 and display-engine block
pg12 has joined #linux-sunxi
<plaes> and maybe extra i2c for ddc
* plaes starts looking for his cubietruck :P
<huawei> plaes, +_+
petr has quit [Ping timeout: 276 seconds]
petr has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
paulk-aldrin has joined #linux-sunxi
<Net147> plaes: I don't think VGA is implemented for A20 yet?
<plaes> I thought the same for LCD :P
<Net147> plaes: just RGB, composite and on A13-Olinuxino / CHIP VGA adapter using passive RGB to VGA bridge
jernej has joined #linux-sunxi
clonak_ is now known as clonak
<plaes> hrm.. indeed
<plaes> de_be0 -> lcd0 -> tve0
<plaes> or de_be0 -> tcon1
<Net147> plaes: I pushed some more commits to enable required kernel options for the simple panel
<plaes> cool
<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" ?
<Net147> plaes: what do you have at the moment?
<plaes> but the struct display_timing requires three values for each member
mosterta has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
<Net147> plaes: the olinuxino 4.3" LCD didn't require the display_timing struct, it uses drm_display_mode struct instead
<plaes> the values in the drm_display_mode struct are even more cryptic
<plaes> yeah.. for drm_display_mode, I know the values for clock, hdisplay and vdisplay
<Net147> plaes: here is my guess on how to translate - http://pastebin.com/9qrEnvZX
vincele has joined #linux-sunxi
IgorPec has quit [Ping timeout: 265 seconds]
mpmc_znc has joined #linux-sunxi
<MoeIcenowy> vagrantc: what branch did I use?
<MoeIcenowy> did you *
GeneralStupid has left #linux-sunxi [#linux-sunxi]
|Jeroen| has joined #linux-sunxi
premoboss has quit [Ping timeout: 252 seconds]
<vpeter> This device could be useful sometimes: https://wiki.tizen.org/wiki/SD_MUX
<vpeter> I have something similar prototyped for some time already but should minimize it.
<plaes> vpeter: thanks, do you know how to access the sources?
<jelle> plaes: seems to be linked at the bottom of the page
<jelle> oh and then you get an basichauth popup >_>
<plaes> yeah, it requires password :)
<plaes> at least the schematic is available
<KotCzarny> yeah
<KotCzarny> https://review.tizen.org/git/?p=tools/testlab/sd-mux.git;a=tree
<KotCzarny> hum
<plaes> o_O
<KotCzarny> i guess they just linked wrong
<plaes> I actually saw this project awhile ago
<Net147> plaes: does it work?
pg12 has quit [Ping timeout: 276 seconds]
<plaes> Net147: sorry, moving slowly
mpmc_znc is now known as mpmc
pg12 has joined #linux-sunxi
IgorPec has joined #linux-sunxi
<plaes> Net147: I added conversion example to wiki
<Net147> plaes: thanks
bonbons has joined #linux-sunxi
<Net147> plaes: I fixed pcklk_khz typo
<plaes> :)
mosterta has quit [Ping timeout: 264 seconds]
<Net147> hmm... A13 LCD interface is 18-bit but A20 LCD interface is 24-bit
<Net147> mripard: how should we handle RGB666 vs RGB888 for simple panel?
Axl_ has joined #linux-sunxi
<Net147> mripard: bus_format for lcd-olinuxino-43-ts is MEDIA_BUS_FMT_RGB666_1X18 but the LCD accepts RGB888
Hao has quit [Remote host closed the connection]
Axl__ has joined #linux-sunxi
Axl_ has quit [Remote host closed the connection]
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<vincele> Hello, does someone know what the [boot_disp] section of a fex file is for, I only found a supposition on cubieforum...
<KotCzarny> see wiki
<KotCzarny> oh, its not existant in wiki
<KotCzarny> maybe its not used for anything then
<vincele> There's nothing about boot_disp in http://linux-sunxi.org/Fex_Guide, do you mean another page ?
<KotCzarny> maybe it's cubie specific
<plaes> vincele: what device?
<KotCzarny> wonder if they use patched uboot too
<vincele> Yep that is exactly my question, why not put a quick section telling its useless...
<vincele> my device is an orangepiplus2e
test_321 has joined #linux-sunxi
<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+
<KotCzarny> test_321: you can try running it via gdb
<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...
<vincele> like me
<test_321> KotCzarny: I was hoping that to be a last resort, I guess I should start with it.
<test_321> also was hoping it to be a configuration quirk
mossroy has joined #linux-sunxi
<vpeter> plaes: sources git clone git://review.tizen.org/tools/testlab/sd-mux.git
<plaes> yup, found
<vpeter> If anyone would make PCB let me know (I'm interested in one piece).
IgorPec has quit [Ping timeout: 240 seconds]
<plaes> anyone with panelook.com user?
<plaes> trying would like to see datasheet for this lcd: http://www.panelook.com/LP097X02-SLQ2_LG%20Display_9.7_LCM_overview_15967.html
netlynx has joined #linux-sunxi
y0x79 has joined #linux-sunxi
<y0x79> i have a question concerning the FEX config. Is the nand0_para section meant to configure the NAND or the NFC?
|Jeroen| has quit [Quit: dada]
test_321 has quit [Quit: Page closed]
<plaes> Net147: seems like there's something different with A10
<Net147> plaes: what is the power source?
<plaes> hmm
<Net147> plaes: I get that if I power my board from USB instead of DC connector
<plaes> good point
<Net147> plaes: also, did you adjust the interrupts for A10?
<plaes> IRQs should be OK
<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
<plaes> ok, fails with external supply too
<plaes> err.. hangs
jernej has quit [Ping timeout: 250 seconds]
<Net147> plaes: which board and DT changes?
<plaes> Gemei G9
Wizzup has quit [Ping timeout: 240 seconds]
Axl__ has quit [Quit: Ex-Chat]
Axl__ has joined #linux-sunxi
<Net147> plaes: that board is using LVDS for the LCD. I don't think sun4i-drm supports LVDS yet.
<plaes> I guess :S
<plaes> u-boot conf has this:
<plaes> CONFIG_VIDEO_LCD_IF_PARALLEL=y
<plaes> CONFIG_VIDEO_LCD_PANEL_PARALLEL=y
<Net147> plaes: I was looking at configs/sunxi_Gemei_G9_defconfig which has CONFIG_VIDEO_LCD_PANEL_LVDS=y
<Net147> plaes: U-Boot v2016.07
<plaes> oh wait
<plaes> I disabled VGA stuff
<plaes> err.. LCD stuff in u-boot
<plaes> indeed
<plaes> CONFIG_VIDEO_LCD_IF_LVDS=y
<plaes> CONFIG_VIDEO_LCD_PANEL_LVDS=y
Wizzup has joined #linux-sunxi
<Net147> plaes: it shouldn't be hard to modify sun4i-drm to add LVDS support... basically involves writing to a bunch of configuration registers
<plaes> yea
<Net147> did you change the pin function from lcd0 to lvds0?
<Net147> not sure what it does...
<plaes> heh no :)
<plaes> ooh.. that was it :)
<plaes> and I guess I have to turn on backlight
<Net147> where did you get the interrupt numbers?
<plaes> manual
<plaes> but I have to recheck
<plaes> at least they matched ones I made a while ago, when I added the clocks
<Net147> looks correct
<Net147> plaes: oh you already have it
<plaes> yea, but I added one extra pin to enable backlight
Axl__ has quit [Remote host closed the connection]
<plaes> mhm sun4i-pinctrl 1c20800.pinctrl: unsupported function lvds0 on pin PD10
<plaes> so I guess it actually hangs first
<plaes> because it doesn't know how to handle lvds
<Net147> I guess sun4i-drm needs LVDS support
<Net147> in the fex it is actually set to lcd0 function
<Net147> but in U-Boot it sets to lvds0
<plaes> though, now it doesn't hang anymore
jernej has joined #linux-sunxi
|Jeroen| has joined #linux-sunxi
<Net147> PD10 to PD19 looks like it is called lvds1
<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
premoboss has joined #linux-sunxi
vincele has quit [Quit: Page closed]
<plaes> this lvds0/lvds1 is a bit weird
pg12 has quit [Ping timeout: 265 seconds]
<Net147> may be better to work out which pins are actually used instead of setting the pin function for all of them
<Net147> lvds0/lvds1 does match the A10 User Manual
<plaes> yup
<plaes> I also tried enabling both
<Net147> regardless of whether the pin functions are correct, sun4i-drm will still need to be modified to support LVDS
Axl_ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
<wens> tcon needs to be configured to do lvds
<wens> we don't support that yet
<nikre> hey jernej
<nikre> i am playing around with the htsp client for the channel freezes
<nikre> i have tvheadend as backend
<jernej> sorry, no time
<nikre> 20160806 openelec-kodi as htsp client
<nikre> i have observed that when i add channels to favourites and use only the favourites list to switch channels
<nikre> a freeze never happened so far
<jernej> ok, but that is only another workaround
<nikre> so i doubt the channel switch is related to the preview window
<nikre> maybe resizing
<plaes> wens: how can we tell tcon that we actually want LVDS?
<nikre> channel switch problem*
<plaes> wens: via reset names?
cptG_ has joined #linux-sunxi
<nikre> i have switched more than 100 times and tv is on nonstop. never freezed
<nikre> more than 24 h
<jernej> nikre: Interesting, but I really don't have time to continue discussing
<nikre> ok
<wens> plaes: likely via a different output port
<wens> it's what some other drm drivers use
cptG has quit [Ping timeout: 244 seconds]
IgorPec has joined #linux-sunxi
paulk-aldrin has quit [Remote host closed the connection]
IgorPec2 has joined #linux-sunxi
yangl1996 has joined #linux-sunxi
yangl1996 has quit [Client Quit]
IgorPec has quit [Ping timeout: 240 seconds]
f0xx has quit [Quit: terminated!]
f0xx has joined #linux-sunxi
_mamalala_ has joined #linux-sunxi
_mamalala has quit [Ping timeout: 260 seconds]
jernej has quit [Ping timeout: 244 seconds]
Axl_ has quit [Ping timeout: 265 seconds]
mossroy has quit [Quit: Leaving]
smooker has joined #linux-sunxi
kelvan has quit [Remote host closed the connection]
kelvan has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
y0x79 has quit [Ping timeout: 264 seconds]
mosterta has joined #linux-sunxi
petr has quit [Ping timeout: 240 seconds]
cptG_ is now known as cptG
petr has joined #linux-sunxi
Nacho has quit [Remote host closed the connection]
Nacho has joined #linux-sunxi
mosterta has quit [Ping timeout: 264 seconds]
f0xx has quit [Ping timeout: 265 seconds]
vishnup has joined #linux-sunxi
mosterta has joined #linux-sunxi
pg12 has joined #linux-sunxi
lemonzest has quit [Quit: Leaving]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
jernej has joined #linux-sunxi
andor2007 has joined #linux-sunxi
jbrown has quit [Ping timeout: 265 seconds]
jstein has quit [Remote host closed the connection]
paulk-collins_ has joined #linux-sunxi
paulk-collins has quit [Ping timeout: 265 seconds]
jbrown has joined #linux-sunxi
IgorPec2 has quit [Ping timeout: 260 seconds]
medvid has quit [Ping timeout: 260 seconds]
|Jeroen| has quit [Quit: dada]
andor2007 has quit [Quit: Ex-Chat]
Nacho has quit [Ping timeout: 255 seconds]
andor2007 has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
vishnup has left #linux-sunxi ["Leaving"]
andor2007 has quit [Quit: Ex-Chat]
netlynx has quit [Quit: Ex-Chat]
IgorPec has joined #linux-sunxi
IgorPec has quit [Ping timeout: 276 seconds]
medvid has joined #linux-sunxi
mosterta has quit [Ping timeout: 276 seconds]
scream has quit [Remote host closed the connection]
bonbons has quit [Quit: Leaving]
mosterta has joined #linux-sunxi
apritzel has joined #linux-sunxi
nikre has quit [Remote host closed the connection]
mosterta has quit [Ping timeout: 255 seconds]
mosterta has joined #linux-sunxi
paulk-collins_ has quit [Quit: Leaving]
popolon has joined #linux-sunxi
Nacho_ has joined #linux-sunxi
mosterta has quit [Ping timeout: 255 seconds]
Nacho_ has quit [Remote host closed the connection]
Nacho_ has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
utente_ has joined #linux-sunxi
premoboss has quit [Read error: Connection reset by peer]
pg12 has quit [Ping timeout: 240 seconds]
pg12 has joined #linux-sunxi
jernej has quit [Ping timeout: 252 seconds]