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
kozy has quit [Remote host closed the connection]
kozy has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
popolon has quit [Quit: WeeChat 1.9.1]
kozy has quit [Remote host closed the connection]
kozy has joined #linux-sunxi
megi has quit [Ping timeout: 264 seconds]
nuuuciano_ has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 255 seconds]
lurchi_ has quit [Ping timeout: 260 seconds]
lurchi_ has joined #linux-sunxi
AneoX has quit [Read error: Connection reset by peer]
AneoX has joined #linux-sunxi
tl_lim has quit [Ping timeout: 265 seconds]
tl_lim has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
Andy-D__ has quit [Ping timeout: 264 seconds]
lurchi_ is now known as lurchi__
IgorPec has joined #linux-sunxi
tl_lim has quit [Read error: Connection reset by peer]
tl_lim has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
IgorPec has quit [Ping timeout: 264 seconds]
tl_lim has quit [Read error: Connection reset by peer]
tl_lim has joined #linux-sunxi
kaspter has joined #linux-sunxi
[7] has quit [Ping timeout: 260 seconds]
kaspter has quit [Client Quit]
tl_lim has quit [Read error: Connection reset by peer]
TheSeven has joined #linux-sunxi
tl_lim has joined #linux-sunxi
BenG83 has quit [Ping timeout: 264 seconds]
leviathan has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 268 seconds]
paulk-gagarine-s has joined #linux-sunxi
paulk-gagarine has quit [Ping timeout: 256 seconds]
tl_lim has quit [Read error: Connection reset by peer]
tl_lim has joined #linux-sunxi
xerpi has joined #linux-sunxi
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-sunxi
tl_lim has quit [Ping timeout: 240 seconds]
tl_lim has joined #linux-sunxi
IgorPec has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 256 seconds]
hardfalcon1 has joined #linux-sunxi
hlauer has joined #linux-sunxi
nuuuciano_ has quit [Ping timeout: 256 seconds]
montjoie has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
hardfalcon1 has quit [Ping timeout: 264 seconds]
tl_lim has quit [Ping timeout: 276 seconds]
anarsoul has quit [Ping timeout: 240 seconds]
tl_lim has joined #linux-sunxi
anarsoul has joined #linux-sunxi
fkluknav has joined #linux-sunxi
fredl_ has joined #linux-sunxi
fredl has quit [Read error: Connection reset by peer]
indy has joined #linux-sunxi
<montjoie> wens: booted my R40 with drivercore/mmc/pinctrl debug https://paste.pound-python.org/show/au0gAjV08jhvNQp6wbvd/
hlauer has quit [Ping timeout: 265 seconds]
<montjoie> seems that mmc is never reprobed
Mr__Anderson has joined #linux-sunxi
Gerwin_J has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
indy has quit [Read error: Connection reset by peer]
Andy-D__ has joined #linux-sunxi
indy has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 264 seconds]
dddddd has joined #linux-sunxi
indy has quit [Ping timeout: 265 seconds]
paulk-gagarine-s has quit [Quit: Leaving]
paulk-gagarine has joined #linux-sunxi
fkluknav has quit [Ping timeout: 256 seconds]
fkluknav has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 265 seconds]
<montjoie> pfff shame on me
fkluknav_ has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
fkluknav has quit [Ping timeout: 248 seconds]
Gerwin_J has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
<wens> missing i2c-mv64xxx?
<montjoie> yes
<montjoie> I miss the rule "wait longer before reporting because it always your fault"
<montjoie> soory for the noise
bonbons has joined #linux-sunxi
<sensille> don't underestimate the rubberducking effect
megi has joined #linux-sunxi
tl_lim has quit [Ping timeout: 255 seconds]
<wens> montjoie: no worries
<wens> montjoie: I did something similar with the h64 wondering why the external rtc didn't work
tl_lim has joined #linux-sunxi
<wens> montjoie: turns out I accidentally removed the i2c pinctrl line when rebasing
igraltis1 is now known as igraltist
indy has joined #linux-sunxi
<MoeIcenowy> how to deal with "mmc0: card stuck in programming state"?
<MoeIcenowy> (sunxi-mmc on sun50i-a64-pinebook
<MoeIcenowy> (card is an old Kingston U1
mavkhimenia has joined #linux-sunxi
<wens> replug it
<KotCzarny> or throw it to trash and get normal card
mavkhimenia has quit [Remote host closed the connection]
xerpi has quit [Quit: Leaving]
<paulk-gagarine> icenowy[m], this might interest you: https://fccid.io/2AOFT-FC01/Internal-Photos/Internal-Photos-3686871
<paulk-gagarine> I'm pondering whether to get one
<paulk-gagarine> in addition to the f60 action camera
dddddd has quit [Remote host closed the connection]
<paulk-gagarine> meh, just got one anyway
<paulk-gagarine> I'm starting to think I have a problem with compulsively buyinh Allwinner devices
<paulk-gagarine> buying*
<paulk-gagarine> can't wait to find out which of the two pins shown at https://fccid.io/png.php?id=3686871&page=2 is Rx and which one is Tx :p
merbanan has quit [Ping timeout: 265 seconds]
AneoX has quit [Read error: Connection reset by peer]
AneoX has joined #linux-sunxi
<Ke> paulk-gagarine: supercomputer cluster with high performance 115200bps ttl interconnect
merbanan has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
rexxster has quit [Remote host closed the connection]
dddddd has joined #linux-sunxi
tl_lim has quit [Ping timeout: 260 seconds]
tl_lim has joined #linux-sunxi
tl_lim has quit [Read error: Connection reset by peer]
<paulk-gagarine> Ke, indeed!
tl_lim has joined #linux-sunxi
tl_lim has quit [Ping timeout: 245 seconds]
tl_lim has joined #linux-sunxi
elros has joined #linux-sunxi
tl_lim has quit [Ping timeout: 260 seconds]
tl_lim has joined #linux-sunxi
mavkhime_ has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 256 seconds]
mavkhime_ has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
phdeswer has joined #linux-sunxi
reinforce has joined #linux-sunxi
phdeswer has quit [Ping timeout: 256 seconds]
mavkhimenia has quit []
[CondenSed] has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
Andy-D__ has quit [Ping timeout: 264 seconds]
<MoeIcenowy> paulk-gagarine: you can call MoeIcenowy now ;-)
<MoeIcenowy> paused to use matrix because of low connection quality inside mainland China
Andy-D__ has joined #linux-sunxi
<MoeIcenowy> ooooooooops... xr819...
JohnDoe_71Rus has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 240 seconds]
Gerwin_J has quit [Ping timeout: 265 seconds]
IgorPec has quit [Ping timeout: 240 seconds]
nuuuciano_ has joined #linux-sunxi
TEKrantz has quit [Read error: Connection reset by peer]
TEKrantz has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
hanetzer has quit [Quit: WeeChat 2.1]
elros has quit [Remote host closed the connection]
leviathan has quit [Remote host closed the connection]
hanetzer has joined #linux-sunxi
dc13ff has joined #linux-sunxi
leviathan has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
veremitz has quit [Quit: ZNC - http://znc.in]
veremitz has joined #linux-sunxi
xerpi has joined #linux-sunxi
Mr__Anderson has quit [Read error: Connection reset by peer]
tl_lim has quit [Read error: Connection reset by peer]
tl_lim has joined #linux-sunxi
<montjoie> yes finaly R40 boot! now time to check ... sun4i-ss or sun8i-ce ?
<MoeIcenowy> montjoie: seems to be sun8i-ce according to document
<montjoie> MoeIcenowy: yes but R40 is enhanced A20. only trial will proove it
<MoeIcenowy> but new IPs get used, e.g. DE2
phdeswer has joined #linux-sunxi
<wens> sunxi support in OP-TEE # https://github.com/OP-TEE/optee_os/pull/2324
<montjoie> \o/ I will can use sun8i-ce dedicated to SW
<wens> turns out the guy that did the port is from Taiwan. Just saw someone re-post his porting experience
<MoeIcenowy> wens: in fact there's one implementation inside Allwinner
<MoeIcenowy> they just keep it confidential
<wens> MoeIcenowy: he mentioned the official repo had an old port for a80, but was removed
<wens> MoeIcenowy: if they keep it confidential / try to charge money for the blob, what will end up happening is someone will contract someone else to do a port from scratch and open source it :p
<MoeIcenowy> P.S. the confidential OPTEE impl seems to be used to implement Widevine DRM
<MoeIcenowy> it must be admitted there's some customers that needs DRM (e.g. for Netflix)
<wens> that's the unfortunate reality. And it seems DRM implementations can't be open sourced
IgorPec has joined #linux-sunxi
tl_lim has quit [Ping timeout: 265 seconds]
tllim has joined #linux-sunxi
hanetzer has quit [Remote host closed the connection]
vagrantc has joined #linux-sunxi
rexxster has joined #linux-sunxi
hanetzer has joined #linux-sunxi
<KotCzarny> MoeIcenowy: optee/widevine l1 is probably used by some chinse phone/tv company cmcc
<MoeIcenowy> cmcc is not tv company
<MoeIcenowy> it's ISP
<MoeIcenowy> and mobile operator
<MoeIcenowy> one of my SIM card is from CMCC
<KotCzarny> anyway, code related to wv l1 is peppered with cmcc ifdefs
<MoeIcenowy> I think they proide IPTV in some region
lurchi_ is now known as lurchi__
focus has joined #linux-sunxi
dc13ff has quit [Quit: Connection closed for inactivity]
dc13ff has joined #linux-sunxi
lurchi__ is now known as lurchi_
<montjoie> pfff my R40 does not work at Gigabit but 100M
<montjoie> I'm damned
<MoeIcenowy> how to check what in a driver is error with s2idle?
<MoeIcenowy> (I found that when I close the lid of Pinebook it will try to enter s2idle
<anarsoul> MoeIcenowy: some of this can be useful for you https://01.org/blogs/rzhang/2015/best-practice-debug-linux-suspend/hibernate-issues
<MoeIcenowy> P.S. it seems that TERES-I can successfully enter s2idle, and entered a forever sleep
<anarsoul> MoeIcenowy: try to unload rtl8723cs driver?
<MoeIcenowy> anarsoul: on PB 8723cs seems to be a barrier
<MoeIcenowy> but on TERES-I it's bs
<anarsoul> yeah
<anarsoul> I've got 8723u and 8723cs driver sources from realtek, and they only differ in interface part (usb vs sdio), rest if the same
<MoeIcenowy> so it can enter sleep
<MoeIcenowy> (and no longer wake
<anarsoul> so it should be relatively easy to add sdio support to rtl8xxxu
<anarsoul> and use proper driver, not this code drop from realtek
<anarsoul> however 8723c isn't supported by rtl8xxxu so it won't help pinebook
<MoeIcenowy> oh Pinebook/TERES-I console cable is compatible
<anarsoul> MoeIcenowy: try adding no_console_suspend to kernel command line
<anarsoul> btw you'll need to add some wakeup sources
<MoeIcenowy> how to add wakeup source?
<anarsoul> (my guess is that lid switch could be the easiest)
<anarsoul> 1 min
Gerwin_J has joined #linux-sunxi
<anarsoul> MoeIcenowy: I'm not sure how it's implemented in sun50i gpio or pinctrl driver
<anarsoul> usually it's some flag passed for gpio in gpio-keys node
<MoeIcenowy> yes nearly all other input on TERES-I/PB is behind another bus
<MoeIcenowy> not directly connected to SoC
<anarsoul> I'm not sure about power key
<MoeIcenowy> PEK is I2C
<anarsoul> is it connected to axp?
<MoeIcenowy> yes
phdeswer has quit [Ping timeout: 264 seconds]
<anarsoul> MoeIcenowy: so I guess axp can somehow signal to the CPU that power button is pressed?
<anarsoul> is there a dedicated interrupt line from axp?
<MoeIcenowy> all AXP events use a single IRQ line
<MoeIcenowy> and the CPU must read AXP register to known what IRQ is raised
<MoeIcenowy> anarsoul: seems that by add wakeup-source property to the lid node
<MoeIcenowy> it can wake when lid opens
<KotCzarny> hrm
<KotCzarny> something is wrong with audio on my bpim1
<KotCzarny> when i sun siggen with 2 sines differing by 180degs, they cancel out
<KotCzarny> and it's not at loudspeakers but earlier (because i can move balance on my amplifier and nothing changes)
<KotCzarny> hrm, it uses trs, not trrs, maybe that's the culprit
BenG83 has joined #linux-sunxi
<KotCzarny> hmm, nope
<KotCzarny> could it be some internal audio state messed up?
<anarsoul> MoeIcenowy: cool
<KotCzarny> oh, nvm, seems ch1 and ch2 in siggen aren't left and right
xerpi has quit [Quit: Leaving]
<MoeIcenowy> anarsoul: fixed rtl8723cs suspend
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
lurchi_ is now known as lurchi__
<jernej> MoeIcenowy: You are talking about BSP kernel on Pinebook, right?
<jernej> I mean, there is no suspend on mainline?
<MoeIcenowy> jernej: nope, talking about mainline
<MoeIcenowy> although there's no s2mem
<MoeIcenowy> there's s2idle
<jernej> interesting
<MoeIcenowy> which will pause all unnecessary processes and shutdown some peripherals
<MoeIcenowy> and we need to fix it as when closing the lid s2idle will be trigger by systemd
dddddd has joined #linux-sunxi
<MoeIcenowy> P.S. I think it might be also possible to support hibernate
<MoeIcenowy> although I daren't do it on my poor sd
<vagrantc> MoeIcenowy: mainline with custom .dtb ?
<MoeIcenowy> vagrantc: yes
<MoeIcenowy> a device tree defining wakeup source is needed
<vagrantc> i spent some time trying to get a minimal device-tree for pinebook for submission upstream, but got caught up wondering who's work i was actually cargo-culting
lurchi__ is now known as lurchi_
<MoeIcenowy> P.S. I think the current mainline A64 simplefb node is too simple
<MoeIcenowy> (and even with no HDMI simplefb support present
<vagrantc> i certainly had mixed results with the LCD panel, but mostly worked
hlauer has joined #linux-sunxi
nots has joined #linux-sunxi
dc13ff has quit [Quit: Connection closed for inactivity]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
montjoie has quit [Quit: leaving]
rexxster has quit [Remote host closed the connection]
Mr__Anderson has joined #linux-sunxi
leviathan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
lurchi_ is now known as lurchi__
fkluknav_ has quit [Ping timeout: 248 seconds]
focus has quit [Quit: Leaving]
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 276 seconds]
xerpi has joined #linux-sunxi
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-sunxi
fkluknav_ has joined #linux-sunxi
phdeswer has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
Andy-D__ has quit [Ping timeout: 264 seconds]
phdeswer has quit [Remote host closed the connection]
fkluknav_ has quit [Ping timeout: 256 seconds]
lurchi__ is now known as lurchi_
Ntemis has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
bonbons has quit [Quit: Leaving]
IgorPec has quit [Ping timeout: 245 seconds]
<Ntemis> anyone familiar with armbian build system?
<Ntemis> or better, anyone knows how i compile an image using a kernel source until a certain commit?
<Ntemis> if i put something like KERNELCOMMIT="blahblah" in config will work?
Mr__Anderson has quit [Remote host closed the connection]
<aalm> use git?
TheSeven has quit [Ping timeout: 265 seconds]
TheSeven has joined #linux-sunxi
merbanan has quit [Ping timeout: 255 seconds]
tl_lim has quit [Ping timeout: 245 seconds]
tl_lim has joined #linux-sunxi
* willmore points at KotCzarny and laughs.
xerpi has quit [Quit: Leaving]
merbanan has joined #linux-sunxi
<KotCzarny> hrm?
tl_lim has quit [Ping timeout: 276 seconds]
hlauer has quit [Ping timeout: 256 seconds]
tl_lim has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 240 seconds]
rexxster has joined #linux-sunxi
<anarsoul> vagrantc: I've submitted minimal dts for pinebook upstream a while ago
<anarsoul> 3 weeks I think
<vagrantc> anarsoul: oh, cool!
<vagrantc> according to this, it was applied somewhere: https://patchwork.kernel.org/patch/10449613/ ... but hasn't landed in linux-next yet
clemens3_ has quit [Ping timeout: 268 seconds]
<anarsoul> vagrantc: all questions to mripard :)
<anarsoul> vagrantc: I guess it'll land for 4.19
<anarsoul> too late for 4.18
<vagrantc> sure
<vagrantc> but if it gets in next, i can pull it into debian's 4.16/4.17 even
<vagrantc> mripard: where did the pinebook .dts patches get merged?
lurchi_ has joined #linux-sunxi
Ntemis has quit [Read error: Connection reset by peer]
reinforce has quit [Quit: Leaving.]