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
book` has quit [Quit: Leaving]
vagrantc has quit [Ping timeout: 245 seconds]
book` has joined #linux-sunxi
megi has joined #linux-sunxi
d3r3k has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 244 seconds]
anarsoul|2 has quit [Ping timeout: 260 seconds]
cnxsoft has joined #linux-sunxi
brianjaod has joined #linux-sunxi
gzamboni has quit [Read error: Connection reset by peer]
lurchi_ is now known as lurchi__
leviathan has joined #linux-sunxi
<anarsoul> icenowy[m]: hey, I'm trying to get left port on pinebook switched to ehci, but sun4i_usb_phy0_id_vbus_det_scan() never gets called and thus port is never switched to ehci
<anarsoul> icenowy[m]: any hint on how to get it working?
brianjaod has quit [*.net *.split]
dddddd has quit [*.net *.split]
fl_0 has quit [*.net *.split]
merlin1991 has quit [*.net *.split]
fossxplorer has quit [*.net *.split]
aliosa27_ has quit [*.net *.split]
atsampson has quit [*.net *.split]
ceng has quit [*.net *.split]
Guest57922 has quit [*.net *.split]
OnkelUlla has quit [*.net *.split]
nixdork has quit [*.net *.split]
zerotri has quit [*.net *.split]
aalm has quit [Ping timeout: 256 seconds]
aalm has joined #linux-sunxi
akaizen has joined #linux-sunxi
<anarsoul> well, I'm not sure how it's supposed to work - a64 doesn't have neither usb0_vbus_power-supply nor usb0_id_det nor usb0_vbus_det
rexxster has quit [Remote host closed the connection]
TheSeven has quit [Ping timeout: 240 seconds]
cnxsoft1 has joined #linux-sunxi
IgorPec has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 is now known as cnxsoft
TheSeven has joined #linux-sunxi
TheSeven has quit [Ping timeout: 260 seconds]
TheSeven has joined #linux-sunxi
montjoie has joined #linux-sunxi
return0e has quit [Read error: Connection reset by peer]
lurchi_ has joined #linux-sunxi
leviathan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
return0e has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 248 seconds]
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 240 seconds]
fkluknav has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 240 seconds]
fkluknav has quit [Ping timeout: 244 seconds]
cnxsoft has quit [Ping timeout: 244 seconds]
fkluknav has joined #linux-sunxi
gumblex has quit [Quit: ZNC 1.6.6+deb1 - http://znc.in]
gumblex has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
hanetzer has quit [Ping timeout: 260 seconds]
hanetzer has joined #linux-sunxi
Putti has joined #linux-sunxi
reinforce has joined #linux-sunxi
airwind has joined #linux-sunxi
gnufan1 has quit [Quit: Leaving.]
kaspter has joined #linux-sunxi
<Pe3ucTop> wens: Thanks, you make my day. I put AXP228 in design, but found it is not I2C after. AXP221 is same pinout with AXP228.
<Pe3ucTop> anarsoul: is that port mini/micro-usb with ID pin connected to any GPIO of A64 ?
<anarsoul> nope
<anarsoul> not on this board
<anarsoul> it's not micro-usb, it's just a regular usb port
<Pe3ucTop> probably it must work in host mode by itself if usb0_id_det-gpios / vbus not defined in DT..
<anarsoul> It didn't. I had to set dr_mode to "host" in usb_otg node even though it's not enabled and add usbphy to ehci0 and ohci0
<sensille> Pe3ucTop: the other day we talked about uart speed and dma. you said you were using uart at 12.5MHz. what did you have to do to make it possible?
<sensille> out of the box mine ends at about 1MHz
[HackItFixIt] has joined #linux-sunxi
jaganteki has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
hlauer has joined #linux-sunxi
jaganteki has quit [Ping timeout: 260 seconds]
msimpson has joined #linux-sunxi
f0xx has joined #linux-sunxi
akaizen has quit [Quit: Textual IRC Client: www.textualapp.com]
Mr__Anderson has joined #linux-sunxi
dddddd has joined #linux-sunxi
BenG83 has quit [Ping timeout: 260 seconds]
fl_0 has joined #linux-sunxi
fossxplorer has joined #linux-sunxi
atsampson has joined #linux-sunxi
merlin1991 has joined #linux-sunxi
Guest57922 has joined #linux-sunxi
ceng has joined #linux-sunxi
aliosa27_ has joined #linux-sunxi
nixdork has joined #linux-sunxi
OnkelUlla has joined #linux-sunxi
zerotri has joined #linux-sunxi
akaizen has joined #linux-sunxi
diego_ has joined #linux-sunxi
akaizen has quit [Ping timeout: 276 seconds]
matthias_bgg has joined #linux-sunxi
<Pe3ucTop> sensille: out of box UART work at speeds 24Mhz/16/N .. where N=integer(1,2,3,...etc) ; so UART baud rates 1.5M , 750k , 500k , etc..
<sensille> so by 12MHz you meant 12M/16 baud?
<Pe3ucTop> to get higher speed you need to change source clock (frequency) for UART .. I was setting 200Mhz ..
<sensille> is it configurable, or do i have to recompile for that?
<Pe3ucTop> sensille: no, 24 Mhz it's default clock source to UART controller inside CPU , then controller itself use 16 steps for syncronization and get 1.5Mhz base rate , which could be devided to get needed baudrate.
<Pe3ucTop> such changes is configurable in devicetree.
<sensille> i've looked through the data sheet and have seen that the clock source is configurable via registers, but haven't found the tunable
<Pe3ucTop> sensille: you do not neet to change registers, you need to apply parameters for uart "assigned-clocks", "assigned-clock-parents" and "assigned-clock-rates" . Clock driver will configure needed registers.
<sensille> Pe3ucTop: great, thanks
LargePrime has quit [Ping timeout: 240 seconds]
<Pe3ucTop> for assigned-clock-rates - I used 200000000 (hz) , other parameters depend on chip you using.
akaizen has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
d3r3k has quit [Quit: Connection closed for inactivity]
mavkhimenia has quit [Ping timeout: 248 seconds]
wens has quit [Ping timeout: 245 seconds]
wens has joined #linux-sunxi
wens has quit [Ping timeout: 244 seconds]
wens has joined #linux-sunxi
megi has quit [Ping timeout: 248 seconds]
d3r3k has joined #linux-sunxi
msimpson has quit [Ping timeout: 260 seconds]
mavkhimenia has joined #linux-sunxi
jbrown has quit [Quit: Leaving]
jbrown has joined #linux-sunxi
clemens3 has joined #linux-sunxi
tom_nov has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
chomwitt has joined #linux-sunxi
leviathan has joined #linux-sunxi
leviathan has quit [Read error: Connection reset by peer]
leviathanch has joined #linux-sunxi
jaganteki has joined #linux-sunxi
hanni76 has quit [Ping timeout: 276 seconds]
clemens3 has quit [Ping timeout: 256 seconds]
mavkhimenia has quit [Remote host closed the connection]
msimpson has joined #linux-sunxi
hanni76 has joined #linux-sunxi
elros has joined #linux-sunxi
elros_ has joined #linux-sunxi
rexxster has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
airwind has quit [Quit: Lost sanity]
kaspter has quit [Ping timeout: 244 seconds]
elros_ has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
IgorPec has quit [Ping timeout: 268 seconds]
fkluknav has quit [Remote host closed the connection]
fkluknav has joined #linux-sunxi
fkluknav has quit [Client Quit]
TheSeven has quit [Ping timeout: 260 seconds]
TheSeven has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
clemens3 has joined #linux-sunxi
tllim has joined #linux-sunxi
tllim has quit [Remote host closed the connection]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
tllim has joined #linux-sunxi
rexxster has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
<Net147> mirko: did you have any chance to write up anything about Mali on the wiki yet?
mavkhimenia has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
LargePrime has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
tllim has quit [Quit: Leaving]
LargePrime has quit [Client Quit]
megi has joined #linux-sunxi
return0e_ has joined #linux-sunxi
return0e has quit [Ping timeout: 256 seconds]
kaspter has quit [Quit: kaspter]
hanetzer has quit [Quit: WeeChat 2.1]
hanetzer has joined #linux-sunxi
return0e_ has quit [Remote host closed the connection]
return0e has joined #linux-sunxi
tom_nov has quit [Quit: Leaving]
hardfalcon1 has quit [Ping timeout: 240 seconds]
jaganteki has quit [Ping timeout: 260 seconds]
wasutton3 has joined #linux-sunxi
Guest57922 has quit [Quit: kthxbai]
R0b0t1 has quit [Ping timeout: 268 seconds]
vagrantc has joined #linux-sunxi
datagutt has joined #linux-sunxi
datagutt has joined #linux-sunxi
datagutt has quit [Changing host]
R0b0t1 has joined #linux-sunxi
datagutt has quit [Client Quit]
datagutt has joined #linux-sunxi
datagutt has joined #linux-sunxi
datagutt has quit [Changing host]
mavkhimenia has joined #linux-sunxi
SP7RT has joined #linux-sunxi
elros has quit [Remote host closed the connection]
hlauer has quit [Remote host closed the connection]
cnxsoft has quit [Quit: cnxsoft]
mavkhimenia has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
mavkhime_ has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 268 seconds]
diego_ is now known as diego_r
msimpson has quit [Read error: Connection reset by peer]
mavkhimenia has joined #linux-sunxi
mavkhim__ has joined #linux-sunxi
mavkhi___ has joined #linux-sunxi
mavkhime_ has quit [Ping timeout: 244 seconds]
mavkhime_ has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 240 seconds]
LargePrime has joined #linux-sunxi
mavkhim__ has quit [Ping timeout: 260 seconds]
brianjaod has joined #linux-sunxi
mavkhi___ has quit [Ping timeout: 260 seconds]
mavkhimenia has joined #linux-sunxi
brianjaod1 has joined #linux-sunxi
mavkhim__ has joined #linux-sunxi
mavkhimenia has quit [Read error: Connection reset by peer]
mavkhime_ has quit [Ping timeout: 244 seconds]
brianjaod has quit [Ping timeout: 256 seconds]
matthias_bgg has quit [Quit: Leaving]
nOOb__ has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
dddddd has joined #linux-sunxi
ep_ has joined #linux-sunxi
rexxster has joined #linux-sunxi
jaganteki has joined #linux-sunxi
diego_r has quit [Ping timeout: 244 seconds]
wasutton3 has quit [Ping timeout: 256 seconds]
hardfalcon has joined #linux-sunxi
mavkhim__ has quit [Remote host closed the connection]
maz has quit [Quit: Leaving]
Gerwin_J has joined #linux-sunxi
LongChair_ has joined #linux-sunxi
return0e has quit [Ping timeout: 244 seconds]
return0e has joined #linux-sunxi
return0e has quit [Read error: Connection reset by peer]
netlynx has joined #linux-sunxi
return0e has joined #linux-sunxi
leviathanch has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
juri__ has joined #linux-sunxi
diego_r has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
diego_r has quit [Ping timeout: 256 seconds]
juri__ has quit [Read error: Connection reset by peer]
juri__ has joined #linux-sunxi
megi has quit [Ping timeout: 244 seconds]
mavkhimenia has quit [Ping timeout: 248 seconds]
juri__ has quit [Ping timeout: 268 seconds]
juri__ has joined #linux-sunxi
arete74 has quit [Ping timeout: 240 seconds]
tllim has joined #linux-sunxi
arete74 has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 5.0.0, revision: git-7326-85ef2059c, build type: debug, sources date: 20160102, built on: 2018-06-01 10:18:08 UTC git-7326-85ef2059c http://www.kvirc.net/]
SP7RT has quit [Ping timeout: 240 seconds]
SP7RT has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<anarsoul> mripard: I tested pwm backlight with exponential values (power of two) and it's not very good (1-16 are almost the same) I prefer 0-100 with step 10.
<anarsoul> also change between 32 and 64 is quite noticeable, not like between 16 and 32
elros has joined #linux-sunxi
d3r3k has quit [Quit: Connection closed for inactivity]
Xal1u5 has joined #linux-sunxi
anarsoul|3 has joined #linux-sunxi
BenG has quit [Read error: Connection reset by peer]
anarsoul|2 has quit [Remote host closed the connection]
book` has quit [Quit: Leaving]
elros has quit [Ping timeout: 256 seconds]
datagutt has quit [Ping timeout: 244 seconds]
foxx_ has joined #linux-sunxi
f0xx has quit [Remote host closed the connection]
book` has joined #linux-sunxi
elros has joined #linux-sunxi
datagutt has joined #linux-sunxi
datagutt has joined #linux-sunxi
datagutt has quit [Changing host]
elros has quit [Remote host closed the connection]
elros has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 244 seconds]
rej has quit [Ping timeout: 244 seconds]
gumblex has quit [Ping timeout: 260 seconds]
rej has joined #linux-sunxi
rej has quit [Changing host]
rej has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
aalm has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has quit [Client Quit]
gumblex has joined #linux-sunxi
aalm has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
juri__ is now known as juri_
return0e has quit [Read error: No route to host]
jaganteki has quit [Ping timeout: 260 seconds]
return0e has joined #linux-sunxi
hanni76 has quit [Quit: Leaving]
nashpa has joined #linux-sunxi
<paulk-gagarine> anarsoul, note that I posted some values from an exp curve on my ainol aw1 series
<anarsoul|3> paulk-gagarine: could you share a link?
<anarsoul|3> thanks
<anarsoul|3> paulk-gagarine: "0 4 8 16 32 64 128 255" doesn't work well.
tllim has quit [Ping timeout: 240 seconds]
hanni76 has joined #linux-sunxi
<paulk-gagarine> right
<anarsoul|3> paulk-gagarine: I experimented a bit and "0 5 10 15 20 30 40 55 70 85 100" looks fine here
<paulk-gagarine> anarsoul|3, I think that's not precise enough though, your pwm can do a lot better than this many values
<paulk-gagarine> something like 100 values seems more reasonable
<paulk-gagarine> chromium os devices have 255
<paulk-gagarine> anarsoul|3, by the way, are the lima discussions stuck?
<anarsoul|3> nope, why?
<anarsoul|3> yuq recently rebased mesa-lima onto 18.1
<anarsoul|3> I implemented initial tiled textures support last weekend (still WIP)
<paulk-gagarine> how are textures going?
<paulk-gagarine> it's all very exciting
<anarsoul|3> Textures are fine. There're some limitations for linear textures (or rather rendering to linear textures)
montjoie has quit [Quit: leaving]
<paulk-gagarine> is it usually done with triangle strips with z=0 rendered with a viewport matching the texture size in desktop UIs?
<paulk-gagarine> VLC and others seem to do that for displaying stuff with GL
<anarsoul> paulk-gagarine: sorry, I'm not sure about desktop UI
<paulk-gagarine> ok
LongChair_ has quit [Quit: Connection closed for inactivity]
<anarsoul> paulk-gagarine: displaying 2 textured triangles should definitely work with lima, since textured kmscube does work
<paulk-gagarine> nice
<paulk-gagarine> are there docs about the texture sampler design?
<anarsoul> nope. what kind of docs you need?
<paulk-gagarine> oh nothing specific, I'm just curious about it
<paulk-gagarine> about why I'm curious about it :)
<paulk-gagarine> (spent the whole week writing a shader)
<anarsoul> paulk-gagarine: put your Y plane into rgba texture and use each component?
<paulk-gagarine> mhh that can work
<paulk-gagarine> since the size is 32-aligned
<paulk-gagarine> and 32 / 4 = 8
<paulk-gagarine> here come longer formulas
<anarsoul> also check if output of your video decoder matches mali tiled format
<anarsoul> however mali tile is 16x16, not 32x32
<anarsoul> so probably it doesn't
<anarsoul> paulk-gagarine: can I see your shaders?
<paulk-gagarine> anarsoul, it manages the tiles internally
<paulk-gagarine> I just set every fragment color individually
<anarsoul> paulk-gagarine: actually mali prefers tiled texture format, and proprietary driver uses it for most of textures
<anarsoul> (I haven't been able to get proprietary driver using linear textures yet)
<paulk-gagarine> so it converts linear to tiled internally?
<paulk-gagarine> in the driver
<anarsoul> yes
<paulk-gagarine> ahh
<paulk-gagarine> I was getting artifacts at % 32
<anarsoul> I'm not sure about importing dmabuf though
<paulk-gagarine> for the shader
<anarsoul> paulk-gagarine: mali pp uses 16-bit floats, so be careful with your constants :)
<anarsoul> gp uses proper 32-bit floats
<paulk-gagarine> good to know
<pmpp> took me a year to realize that
<paulk-gagarine> even with highp?
<paulk-gagarine> maybe dmabuf makes it go with linear textures
<anarsoul> paulk-gagarine: yes, hardware can do only fp16
<paulk-gagarine> ok
<paulk-gagarine> are all textures usually uploaded with glTexImage2D?
<paulk-gagarine> that's probably when it does linear to tiled conversion
<paulk-gagarine> if it goes tiled before hitting the sampler
<anarsoul> paulk-gagarine: linear textures are complex
<anarsoul> paulk-gagarine: mali4x0 supports linear textures
<anarsoul> but stride must be width * bpp
xerpi has joined #linux-sunxi
<anarsoul> but if you want to render into linear buffer stride must be align(width, 16) * bpp
<anarsoul> thus you can't render into 500x500 buffer and then use it as a texture
<paulk-gagarine> mhh
<anarsoul> but you can do it with 512x512
<paulk-gagarine> that might match the requirements for dmabuf
<anarsoul> paulk-gagarine: but as far as I can tell, using linear texture will be slower than using tiled texture
<paulk-gagarine> ok
foxx_ has quit [Ping timeout: 244 seconds]
chomwitt has quit [Ping timeout: 276 seconds]
AneoX_ has quit [Read error: Connection reset by peer]
AneoX has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
hardfalcon has quit [Ping timeout: 244 seconds]
hardfalcon has joined #linux-sunxi
clemens3 has quit [Ping timeout: 240 seconds]
vagrantc has joined #linux-sunxi
return0e has quit [Ping timeout: 260 seconds]
xerpi has quit [Quit: Leaving]
elros has quit [Remote host closed the connection]
d3r3k has joined #linux-sunxi
return0e has joined #linux-sunxi
return0e has quit [Read error: Connection reset by peer]
perr has joined #linux-sunxi
brianjaod1 has quit [Ping timeout: 276 seconds]
vagrantc has quit [Quit: leaving]
perr has quit [Remote host closed the connection]
perr has joined #linux-sunxi
perr has joined #linux-sunxi
hanni76 has quit [Remote host closed the connection]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 245 seconds]
chomwitt has joined #linux-sunxi