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
perr has joined #linux-sunxi
lennyraposo has quit [Ping timeout: 240 seconds]
hanetzer has joined #linux-sunxi
lennyraposo has joined #linux-sunxi
<hanetzer> sup guys. bit of an opinion question, how would one go about, as far as code layout in the kernel tree, setting up a hdmi controller? fbdev or other?
Andy-D has quit [Ping timeout: 246 seconds]
Andy-D has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 268 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
perr has quit [Remote host closed the connection]
perr has joined #linux-sunxi
perr has joined #linux-sunxi
perr has quit [Changing host]
cnxsoft has joined #linux-sunxi
Andy-D has quit [Ping timeout: 240 seconds]
victhor has quit [Ping timeout: 258 seconds]
terra854 has joined #linux-sunxi
bier33 has joined #linux-sunxi
bier33_ has quit [Ping timeout: 272 seconds]
lkcl has quit [Ping timeout: 255 seconds]
pg12 has quit [Ping timeout: 260 seconds]
pg12 has joined #linux-sunxi
oliv3r_ has quit [Ping timeout: 260 seconds]
perr has quit [Ping timeout: 240 seconds]
kuliuwu has joined #linux-sunxi
oliv3r has joined #linux-sunxi
lurchi_ is now known as lurchi__
pg12 has quit [Ping timeout: 268 seconds]
pg12 has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
cnxsoft has quit [Ping timeout: 260 seconds]
cnxsoft has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
iamfrankenstein has joined #linux-sunxi
IgorPec has joined #linux-sunxi
jernej has joined #linux-sunxi
jernej has quit [Ping timeout: 260 seconds]
kuliuwu has quit [Remote host closed the connection]
JohnDoe_71Rus has joined #linux-sunxi
terra854 has quit [Quit: Connection closed for inactivity]
reinforce has joined #linux-sunxi
afaerber has joined #linux-sunxi
hanetzer has quit [Quit: WeeChat 1.7.1]
f0xx has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
Andy-D has joined #linux-sunxi
phipli has joined #linux-sunxi
lkcl has joined #linux-sunxi
yann has quit [Ping timeout: 245 seconds]
terra854 has joined #linux-sunxi
phipli has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
tkaiser has joined #linux-sunxi
yann has joined #linux-sunxi
sztibi88 has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
fkluknav has joined #linux-sunxi
LargePrime has quit [Ping timeout: 255 seconds]
LargePrime has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
Steakmate has joined #linux-sunxi
Steakmate has quit [Client Quit]
dh1tw has joined #linux-sunxi
dh1tw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xes_ is now known as xes
<qschulz> montjoie: ping
<wens> seems like everything interesting is in linus' tree now
BenG83 has joined #linux-sunxi
<montjoie> qschulz: pong
<qschulz> montjoie: investigating this bug you reported
<qschulz> I do not have an A20 so will be testing on a CHIP but should be fine
<montjoie> when you want, I could test patch
<qschulz> first trying to reproduce
<wens> I think my SinA33 is dying on me... get all sorts of errors that look like memory corruption
<qschulz> montjoie: so you built sun4i-gpadc-iio as a module
<qschulz> did you build sun4i-gpadc also as a module? thermal, iio subsystems built-in or module?
<qschulz> (or pass me your defconfig)
chlorine_ has joined #linux-sunxi
<qschulz> montjoie: thanks. I've been able to reproduce it with only sun4i-gpadc-iio built as module. So clear path now to debug :)
chlorine has quit [Ping timeout: 240 seconds]
f0xx has quit []
f0xx has joined #linux-sunxi
Boris80_ has joined #linux-sunxi
<wens> qschulz: there's something bad about the new gpadc iio driver
<qschulz> wens: listening
<wens> qschulz: on my cubieboard2, the LED (that signals CPU activity) is lighting up solid every second, for a fraction of a second
<wens> it lights up to full brightness, instead of flickering
<wens> this suggests something is spinning in the kernel for longer than it should be
tkaiser has quit [Ping timeout: 240 seconds]
tkaiser has joined #linux-sunxi
<qschulz> wens: I guess you've tried on same kernel with same defconfig except TOUCHSCREEN_SUN4I=y (for flickering) or SUN4I_GPADC=y (for still light)
gjm has quit [Quit: Reconnecting]
gjm has joined #linux-sunxi
gjm has quit [Changing host]
gjm has joined #linux-sunxi
<wens> qschulz: it was comparing sunxi-next kernel with TOUCHSCREEN_SUN4I=y against latest Linus tree with GPADC=y
oliv3r has quit [Ping timeout: 240 seconds]
Leepty has quit [Ping timeout: 268 seconds]
<wens> qschulz: have you thought about exporting the IIO channels from AXP's ADC to hwmon?
foxx_ has joined #linux-sunxi
Leepty has joined #linux-sunxi
hramrach has quit [Quit: WeeChat 1.5]
Leepty has quit [Ping timeout: 240 seconds]
<qschulz> wens: I did it in the first version of the patchset but we removed it in some versions before it was merged.
Leepty has joined #linux-sunxi
tkaiser has quit [Read error: Connection reset by peer]
tkaiser has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
lvrp16 has quit []
tkaiser has quit [Ping timeout: 246 seconds]
lvrp16 has joined #linux-sunxi
longsleep has quit [Remote host closed the connection]
longsleep has joined #linux-sunxi
sztibi88 has quit [Remote host closed the connection]
speakman has quit [Quit: Lost terminal]
terra854 has quit [Quit: Connection closed for inactivity]
<qschulz> montjoie: http://code.bulix.org/v9yjri-131066 could you test this patch?
<qschulz> wget http://code.bulix.org/v9yjri-131066?raw -O tzd.patch; patch -p 1 < tzd.patch
<qschulz> wens: could you test with the exact same kernel? just to be sure it has something to do with this driver
lkcl has quit [Ping timeout: 260 seconds]
<montjoie> qschulz: I will test it in 4 hour, the board is off/remote
bamvor has quit []
bamvor has joined #linux-sunxi
<qschulz> montjoie: ok, no reason it wouldn't work but better be sure. I'll send the patch tomorrow if you can confirm it works on your board
LargePrime has quit [Ping timeout: 240 seconds]
LargePrime has joined #linux-sunxi
IgorPec has quit [Ping timeout: 240 seconds]
<wens> qschulz: wonder if just using iio maps to export the channels would be enough
<wens> or do you want to go the DT route
<qschulz> wens: iio_maps is already used for other drivers (axp20x_usb, battery and ac)
victhor has joined #linux-sunxi
<qschulz> but the big downside is that you need to modify it everytime you want to add a driver reading IIO channels, that's noise for nothing
<qschulz> the best way would be to have DT route as well as the existing IIO maps
<qschulz> typically, someone might want to add an iio_hwmon for example, is it really relevant to add an entry in an iio_map for that?
<qschulz> TBH, I don't know if there is a use case outside of iio_hwmon that would take advantage of DT iio channels instead of iio_map?
ganbold_ has joined #linux-sunxi
ganbold has quit [Read error: Connection reset by peer]
hramrach has joined #linux-sunxi
buZz has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-sunxi
buZz has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
<mripard> qschulz: any external device connected to one of the ADC
afaerber has quit [Quit: Leaving]
<wens> mripard's example is proper DT usage
<wens> iio_hwmon is more of a software construct
<wens> but using iio_hwmon in DT helps with the probe order
chlorine_ has quit [Remote host closed the connection]
Andy-D has quit [Remote host closed the connection]
Nacho___ has joined #linux-sunxi
terra854 has joined #linux-sunxi
Nacho has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
afaerber has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 272 seconds]
IgorPec has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 260 seconds]
yann-kaelig has quit [Quit: Leaving]
popolon has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
yann-kaelig has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
nove has joined #linux-sunxi
popolon has quit [Ping timeout: 245 seconds]
oliv3r has joined #linux-sunxi
Ntemis has joined #linux-sunxi
popolon has joined #linux-sunxi
<wens> just read a report about S905... and it says, even in 2016, the most stable STB chipset is Allwinner A31/A31s lol
longsleep has quit [Remote host closed the connection]
<KotCzarny> w00t ?
<terra854> I wonder why not the A64...
<wens> the article was from early 2016
<KotCzarny> because there were no a64 tablets/stb boxes ?
<wens> yeah, A64 is not an stb chip
<wens> (according to Allwinner)
<KotCzarny> what about h3?
<wens> MoeIcenowy: Have a laugh if you want http://iguang.tw/u/4195295/article/522383.html
<MoeIcenowy> but H64 is ;-)
<KotCzarny> if you can get it..
longsleep has joined #linux-sunxi
<MoeIcenowy> wens: at least S905 is better than H3 ;-)
<MoeIcenowy> P.S. I remember the tablet people saying that the A31/A31s SDK is very terrible
<MoeIcenowy> opposite to stable
JohnDoe_71Rus has joined #linux-sunxi
<KotCzarny> could it be s905 sdk is even worse? ;)
reinforce has quit [Quit: Leaving.]
mosterta|2 has joined #linux-sunxi
<deskwizard> I wouldnt be surprised at all
<wens> race to the bottom is it?
<deskwizard> wens: we're not coming first ;) even more so with you guys
chlorine has quit [Ping timeout: 240 seconds]
<MoeIcenowy> KotCzarny: it's possible that the tablet SDK and OTT SDK of A31 is by different people
oliv3r has quit [Ping timeout: 272 seconds]
oliv3r has joined #linux-sunxi
fkluknav has quit [Ping timeout: 264 seconds]
mosterta|2 has quit [Ping timeout: 240 seconds]
nove has quit [Quit: nove]
fkluknav has joined #linux-sunxi
nove has joined #linux-sunxi
yann-kaelig has quit [Quit: Leaving]
<nove> the difficulties of mobile GNU -> https://lists.debian.org/debian-mobile/2017/04/msg00003.html
BenG83 has quit [Quit: Leaving]
fkluknav has quit [Ping timeout: 260 seconds]
reinforce has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
arete74 has quit [Ping timeout: 240 seconds]
<nove> there isn't any future for myMobileOS, when at the same time is dependent of the one that wants to replace (android), because of binaries-blobs with license-issues that does not allow redistribution
chlorine has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Read error: Connection reset by peer]
foxx_ has quit [Ping timeout: 272 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
dave0x6d has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 260 seconds]
mosterta|2 has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
Boris80 has quit [Ping timeout: 264 seconds]
Boris80_ has quit [Ping timeout: 240 seconds]
chlorine has quit []
matthias_bgg has quit [Ping timeout: 240 seconds]
BenG83 has joined #linux-sunxi
victhor has quit [Ping timeout: 240 seconds]
<nove> maybe the future of mobile GNU will be under a fuchsia kernel
afaerber has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
yann has quit [Ping timeout: 246 seconds]
<olerem> nove: most probably not. it is already filed by LICENSE https://github.com/fuchsia-mirror/magenta/blob/master/LICENSE
<nove> why not? Isn't that free software?
<nove> it is free software, and that is all that is need to have a GNU OS
<olerem> nove: well, i worked for different companies and most of then do not commit to puplic projects if license do not force then to do so
<olerem> none of this companies ever gave back some code with BSD and MIT license
<olerem> this is the reason why google trying to create new kernel (GPL-free)
<olerem> to make this companies happy
<olerem> the only reason why linux kernel has so many contributors is GPL. there are other technically good kernels. How mach code gave Apple back to BSD kernel?
<beeble> apple does not have a bsd kernel. it only has a bsd personality
<beeble> the osx kernel is based on mach
<beeble> and xnu is opensource btw
<KotCzarny> xenu?
<KotCzarny> o.O
<beeble> xnu as in x is not unix
<olerem> beeble: thank you for correction. according to de.wikipedia (with components of FreeBSD and NetBSD)
<olerem> is it correct as well?
<beeble> short answer yes, long answer not so much any more
<olerem> so including your correction, my point is still correct?
<beeble> pretty much most of the things are just made so that it looks like a bsd to the userland
tkaiser has joined #linux-sunxi
chomwitt2 has quit [Ping timeout: 240 seconds]
<beeble> but most of the parts they took are major rewrites. first of all to match the microkernel architecture
chomwitt3 has joined #linux-sunxi
<beeble> so contributing back is sort of useless as it can't be used by *bsd
mosterta|2 has quit [Remote host closed the connection]
<olerem> hmm... the same say most companies i where was working. at the end it was not true
<olerem> "it is only for our product...", "no body need it anyway...", "we should keep our adwantages in hous.." and so on
<beeble> but the source is available_
<beeble> ?
<olerem> of what?
<olerem> if it was gpl code, every thing was at least made awailable.
<olerem> beeble: i did't worked for apple
<beeble> for example
<beeble> yes, but you where talking about apple
<beeble> and wrote they did not contribute back
<olerem> yes, so. then back to apple. how many drivers used by apple are there?
<beeble> but they released the source for it even if it was not required by the license
<olerem> and even if it can't be reusede anywhere else, and even if there are no drivers
<olerem> ?
<olerem> correct?
<olerem> so how mach is opened? and why? espesially if it is useless in this shape
<beeble> why is it useless? people build a gnu userland distribution based on darwin for example?
<beeble> i wouldn't use it but someone found it useful enough to build it
<olerem> where are the drivers?
matthias_bgg has quit [Ping timeout: 260 seconds]
vagrantc has joined #linux-sunxi
<KotCzarny> :>
<olerem> current linux kernel:
<olerem> 422M drivers
<olerem> 141M arch
<beeble> it's all or nothing for you, everything else is bad right?
<olerem> beeble: it is not the answer to my question
<olerem> complete comressed source of it is about 10MB
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
matthias_bgg has joined #linux-sunxi
<olerem> in gzip!!!
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
<beeble> if you want to compare it like that you have to include all the iokit stuff too
<beeble> xnu is a microkernel
<olerem> where are the drivers? please. i rellay have interest to see them
<Ke> I bet apple mostly uses proprietary drivers
<tkaiser> olerem: Ever heard of IOKit?
<beeble> take a look at the iokit stuff
<beeble> thats the interface lowlevel, rest of the driver is using the iokit on top of that
<tkaiser> olerem: And at least look up different concepts: 'micro' vs 'monolithic' and stuff like that.
<beeble> example for a network driver using iokit
<olerem> tkaiser: not the answer i was asking
<olerem> beeble: thank you
<tkaiser> olerem: I know :P
<beeble> so comparing xnu to a linux git checkout is totally useless
* vagrantc wonders what it's got to do with #linux-sunxi
<beeble> and of course you will have a lot more drivers in linux
<olerem> beeble: yes.
<beeble> vagrantc: sorry, but i hate gpl zealotism
<beeble> will shut up now
<olerem> :)
* vagrantc must have missed something
<olerem> vagrantc: i used keyword "apple" in bad context and was arguing that gpl is good
<tkaiser> olerem: Not really but still off-topic so I will follow beeble and shut up too :)
matthias_bgg has quit [Ping timeout: 240 seconds]
popolon has quit [Ping timeout: 246 seconds]
popolon has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
<olerem> beeble: one more thanks. interesting to read the code of AppleRTL8139Ethernet-153. It is absulutely different level of coding :)
jernej has joined #linux-sunxi
<nove> (i think that) fuchsia is not because GPL, as those companies already have what they want from the linux kernel
<nove> what ever the kernel license, the license-issues will still happen, because is not a GPL problem but about having the right to redistribute and reuse
dev1990 has joined #linux-sunxi
lurchi_ is now known as lurchi__
<beeble> nove: there is currently only one display/gpu driver in fuchsia and it's 3-clause bsd
<beeble> only thing i will say since it was kind of another offtopic thing :)
netlynx has quit [Quit: Ex-Chat]
tkaiser has quit [Ping timeout: 260 seconds]
tkaiser has joined #linux-sunxi
<nove> is the same as android, there will be binary-only-drivers, which will or not include a license that allows third-parties use them
lurchi__ is now known as lurchi_
terra854 has quit [Quit: Connection closed for inactivity]
<nove> i am sure that everything google will make or be directly involved will be free-software with a proper license
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
<[TheBug]> 'sure'
phipli has joined #linux-sunxi
<nove> yes, "sure"
tkaiser has quit [Ping timeout: 240 seconds]
tkaiser has joined #linux-sunxi
<longsleep> tkaiser: i will merge pinebook-support branches to the main branches on the weekend
<tkaiser> longsleep: Nice
reinforce has quit [Quit: Leaving.]
horstbaerbel has joined #linux-sunxi
IgorPec has joined #linux-sunxi
Andy-D has joined #linux-sunxi
jernej has quit [Ping timeout: 240 seconds]
<zoobab> @nove I said long time ago that Google rewrote everything on Android to be outside of GPL, except the kernel
<zoobab> and Google has an internal ban on AGPLv3 code as well, they lobbied against AGPL being inside the main GPL when v3 was discussed
<zoobab> so the motivation is clear
victhor has joined #linux-sunxi
IgorPec has quit [Ping timeout: 240 seconds]
<nove> i don't think so, instead i think that is just for the same reasons as was with webkit vs blink
<nove> google wants to have control, and not have to wait for "mainline" to decide the best ways
horstbaerbel has quit [Quit: Konversation terminated!]
dh1tw has joined #linux-sunxi
nove has quit [Quit: nove]
Macer_ has joined #linux-sunxi
Macer has quit [Ping timeout: 260 seconds]
Macer_ is now known as Macer
yann has joined #linux-sunxi
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
popolon has quit [Quit: WeeChat 1.7.1]
diego71_ has joined #linux-sunxi
diego71 has quit [Ping timeout: 255 seconds]
phipli has quit [Quit: Leaving]
tsuggs has joined #linux-sunxi
dh1tw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
perr has joined #linux-sunxi
vagrantc has quit [Quit: leaving]