rellla 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 - *only registered users can talk*
xes has quit [Ping timeout: 272 seconds]
clemens3_ has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
willmore has quit [Quit: Leaving]
willmore has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
parco1 has joined #linux-sunxi
parco1 has left #linux-sunxi [#linux-sunxi]
parco1 has joined #linux-sunxi
parco1 has quit [Client Quit]
parco1 has joined #linux-sunxi
lurchi_ is now known as lurchi__
parco1 has left #linux-sunxi [#linux-sunxi]
parco has joined #linux-sunxi
<parco> mripard: have you tested the sun4i-drm code using the M2M? if so, which LCD screen did you use?
<parco> (MIPI DSI)
anarsoul|2 has quit [Ping timeout: 246 seconds]
hipboi has joined #linux-sunxi
victhor has quit [Remote host closed the connection]
_whitelogger has joined #linux-sunxi
paulliu has joined #linux-sunxi
jbrown has quit [Ping timeout: 246 seconds]
dddddd has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
mavkhime_ has quit [Ping timeout: 252 seconds]
chewitt has joined #linux-sunxi
t0dd1v has joined #linux-sunxi
f0xx has joined #linux-sunxi
<wens> parco: I think he used the 5" DSI LCD from Bananapi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 246 seconds]
[7] has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
IgorPec has joined #linux-sunxi
selfbg has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
netlynx has joined #linux-sunxi
anarsoul has quit [Remote host closed the connection]
netlynx has quit [Quit: Ex-Chat]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
nuuuciano_ has quit [Ping timeout: 246 seconds]
fkluknav has joined #linux-sunxi
fkluknav has quit [Ping timeout: 252 seconds]
nuuuciano_ has joined #linux-sunxi
reinforce has joined #linux-sunxi
anarsoul has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 246 seconds]
xes has joined #linux-sunxi
selfbg has quit [Read error: Connection reset by peer]
selfbg1 has joined #linux-sunxi
jogoes has quit [Ping timeout: 252 seconds]
anarsoul has quit [Remote host closed the connection]
alexxy has joined #linux-sunxi
selfbg1 is now known as selfbg
matthias_bgg has joined #linux-sunxi
rexxster has quit [Remote host closed the connection]
matthias_bgg has quit [Ping timeout: 244 seconds]
IgorPec has joined #linux-sunxi
jogoes has joined #linux-sunxi
<jogoes> hi
<jogoes> Anyone knows if there is a problem with V3S SoC related to GPIO interrupts?.I am trying to use PB02 as an input gpio triggered by interrupt. I configure the sys_config.fex file to have PB02 as an input. I compile an image. I flash it on my device.
<jogoes> Then I export the gpio, configure edge to rising, I check the value file when I switch the gpio input. Everything seems to work. Then I check the proc/interrupt file and I see that everytime I switch the gpio I see a counter incrementing.
<jogoes> But after reboot my system, the counter stops working. I only get it working again if I send my device to FEL mode and then I restart my system. Anyone has experimented a similar problem?
Andy-D has joined #linux-sunxi
m4ssi has joined #linux-sunxi
<dgp> jogoes: it sounds like you're using the allwinner kernel?
yann has quit [Ping timeout: 245 seconds]
<jogoes> dgp: yes, I am. Why?
Gerwin_J has joined #linux-sunxi
<dgp> jogoes: The mainline (I'm on 4.18) seems to work pretty well on the v3s. I haven't tried external interrupts yet but maybe it'll work there
<jogoes> dgp: I am using 3.4.39. And I don´t know if I will be able to use 4.18...
matthias_bgg has joined #linux-sunxi
nuuuciano_ has quit [Ping timeout: 264 seconds]
timdorohin has joined #linux-sunxi
SUjiajia has joined #linux-sunxi
SUjiajia has quit [Client Quit]
<wens> basically you aren't going to get any kind of support or assistance if you're using the allwinner kernel
<wens> simply almost no one uses it :|
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
indy has joined #linux-sunxi
nuuuciano_ has joined #linux-sunxi
a|3x has quit [Quit: Leaving]
qeed has quit [Quit: Leaving]
msimpson has joined #linux-sunxi
yann has joined #linux-sunxi
Andy-D has quit [Remote host closed the connection]
t0dd1v has quit [Quit: Connection closed for inactivity]
swiftgeek has quit [Ping timeout: 252 seconds]
yann has quit [Ping timeout: 252 seconds]
tnovotny has joined #linux-sunxi
yann has joined #linux-sunxi
megi has quit [Quit: WeeChat 2.2]
fkluknav has joined #linux-sunxi
f0xx has quit [Ping timeout: 244 seconds]
yann|work has joined #linux-sunxi
yann has quit [Ping timeout: 240 seconds]
Wizzup has quit [Ping timeout: 240 seconds]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
IgorPec has joined #linux-sunxi
KotCzarny has quit [Ping timeout: 246 seconds]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
Wizzup has joined #linux-sunxi
lkcl has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
IgorPec has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
mavkhime_ has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 240 seconds]
msimpson has quit [Read error: Connection reset by peer]
Gerwin_J has quit [Quit: Gerwin_J]
msimpson has joined #linux-sunxi
swiftgeek has joined #linux-sunxi
f0xx has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
KotCzarny has joined #linux-sunxi
msimpson has quit [Quit: Leaving]
dddddd has joined #linux-sunxi
mossroy has joined #linux-sunxi
f0xx has quit [Ping timeout: 240 seconds]
f0xx has joined #linux-sunxi
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-sunxi
lurchi_ is now known as lurchi__
hipboi has quit [Quit: This computer has gone to sleep]
IgorPec has quit [Ping timeout: 245 seconds]
mavkhime_ has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
brian_mccarter has joined #linux-sunxi
brian_mccarter has left #linux-sunxi [#linux-sunxi]
bmccarter has joined #linux-sunxi
Andy-D has joined #linux-sunxi
bmccarter has quit [Ping timeout: 252 seconds]
bmccarter has joined #linux-sunxi
<bmccarter> Hello, I'm new to this channel and would appreciate some help with a sopine+baseboard running mainline uboot and linux-4.19-rc3. I'm running gentoo and am able to boot fine with serial terminal, ethernet, and usb working.
<montjoie> bmccarter: gentoo !!!!!!!
<fALSO> :-D
<fALSO> gentoo4teh win
<montjoie> bmccarter: so what is your problem ?
<timdorohin> montjoie: h3 can build kernel in under 30 minutes (with optimized config).
<bmccarter> I'm using sysbench to compare cpu performance with a suse image running 3.10.105. The suse image is ~20% faster. I'm trying to track down the cause.
<fALSO> the support in mainline is probably a bit experimental yet
<timdorohin> bmccarter: cpu governor on mainline kernel?
<fALSO> so maybe thats the cause
<fALSO> i also saw some things in DMESG about cpu frequency not defined
<fALSO> probably that matters to
<fALSO> too
<wens> no that doesn't
<wens> that has nothing to do with performance
<wens> just check cpufreq
<fALSO> ok :-)
<wens> might be the 3.10 kernel is overclocking a bit
<bmccarter> I can't find a way to test the cpu clock on mainline.
<fALSO> there isnt any good cpu benchmark
<fALSO> sysbench kinda sucks
<timdorohin> bmccarter: cat /proc/cpuinfo | grep MHz ?
<KotCzarny> i think you can use whatever tkaiser is using to detect fake cpu freq reports on raspi
<wens> timdorohin: x86-ism
<bmccarter> cat /sys/devices/system/cpu/cpufreq/all_time_in_state on the suse image reports all time at 1152000
<KotCzarny> ie. most arm a7 have similar performance
<KotCzarny> and can be used to detect real freq
<bmccarter> No such node exists on mainline
<wens> install cpufrequtils and use cpufreq-info?
<wens> and check if you have cpufreq stats enabled in your kernel config
<KotCzarny> /sys/devices/system/cpu/cpufreq/policy0/stats/time_in_state
<KotCzarny> in 4.19
<bmccarter> timdorohin: No MHz line exists on either version.
<KotCzarny> but most likely your dts/cpufreq is broken
<bmccarter> KotCzarny: A64 cpufreq status is listed as NO here: http://linux-sunxi.org/Linux_mainlining_effort
<bmccarter> so I suspect you're right
<wens> then it runs at whatever speed ATF or U-boot SPL set it at
<wens> which is either 916 or 1008 MHz
<bmccarter> Ah, that would do it
<bmccarter> what's easier: modifying u-boot or adding cpufreq support?
<timdorohin> bmccarter: you didn't need to modify u-boot, only its dts
<fALSO> so... it does mean anything wens :-P
<wens> fALSO: what?
<fALSO> 14:03 < fALSO> i also saw some things in DMESG about cpu frequency not defined
<fALSO> 14:03 < wens> no that doesn't
<fALSO> now they are talking that it is needed :)
<wens> fALSO: "/cpus/cpu@0 missing clock-frequency property" this right?
<fALSO> let me confirm :)
<montjoie> timdorohin: I wasnt joking on gentoo, I use it!
<fALSO> 0.001423] /cpus/cpu@0 missing clock-frequency property
<fALSO> the same for all 4
jacob has joined #linux-sunxi
<wens> fALSO: that is the cpu topology complaining it has no basis to figure out which cores are part of the same cluster
jacob is now known as Guest33392
<fALSO> OK
<wens> fALSO: because on armv7 they didn't have device tree bindings for topology
<fALSO> i also found that cpuinfo is VERY LACKING on these boards on the mainline kernel
<wens> fALSO: it is the same across arm/arm64, cpuinfo only shows cpu features and model
<fALSO> doesnt eeven say teh mhz :(
<wens> this has been brought up multiple times on the mailing list and has been shot down again and again :)
<wens> because changing cpuinfo format will break userspace :)
<dgp> fALSO: If it wasn't already there for x86 it wouldn't be added now..
<fALSO> well, it kinda is there still
<fALSO> model name : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
<fALSO> :-)
<wens> because, removing it would break userspace :)
<dgp> fALSO: only because Linus won't let anyone break userspace. It wouldn't be allowed in now
<fALSO> =)
<dgp> There's a considerable amount of junk in /proc that should be removed
<wens> dgp: I remember some of it got deprecated and removed?
<wens> /proc/scsi comes to mind
<KotCzarny> that you can remove via kernel option
IgorPec has joined #linux-sunxi
<wens> IIRC the kernel option says "backward compatible"
<dgp> I think optional with the default as Y is more likely. I seem to remember a project called linuxtiny or tinylinux that was aiming to make a lot of that stuff optional but not much got merged
<wens> debian doesn't enable /proc/scsi now
Andy-D_ has joined #linux-sunxi
Andy-D has quit [Ping timeout: 244 seconds]
<jogoes> Anyone has managed to use gpio interrupts with V3S Soc and Linux kernel 3.4.39?
yann|work has quit [Ping timeout: 245 seconds]
<bmccarter> re: cpufreq on mainline sopine+baseboard, I copied the relevant blocks from the BSP dts (cpufreq, dvfs) into the mainline sun50i-a64.dtsi and am currently recompiling. Is that all it takes to get cpufreq running?
philectro has joined #linux-sunxi
<philectro> hello
<philectro> i see a 6-10% of cpu use by kworker with today kernels
<philectro> 4.18.x
<philectro> i suppose someone know why here, so here i'm :)
CSoto_ has joined #linux-sunxi
<philectro> Linux alarm 4.18.7-1-ARCH
<philectro> but it does the same with the forward kernel
<philectro> s/forward/previous/
yann|work has joined #linux-sunxi
selfbg has quit [Remote host closed the connection]
CSoto_ has quit [Ping timeout: 264 seconds]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
hipboi has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
jbrown has joined #linux-sunxi
TEKrantz has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 252 seconds]
mavkhimenia has joined #linux-sunxi
fkluknav has quit [Remote host closed the connection]
adjtm has quit [Ping timeout: 240 seconds]
tnovotny has quit [Quit: Leaving]
fkluknav has joined #linux-sunxi
rexxster has joined #linux-sunxi
victhor has joined #linux-sunxi
philectro has quit [Quit: Leaving]
reinforce has quit [Quit: Leaving.]
anarsoul has joined #linux-sunxi
f0xx has quit [Ping timeout: 244 seconds]
formruga has quit [Quit: Konversation terminated!]
mavkhime_ has joined #linux-sunxi
mavkhimenia has quit [Read error: Connection reset by peer]
adjtm has joined #linux-sunxi
<bmccarter> wens: I modified the mainline sun50i-a64.dtsi with updated cpu frequency settings, added idle-states, added psci settings, and a dvfs_table. I'm still missing something. U-boot never starts the kernel, and sometimes prints "ASSERT: psci_afflvl1_suspend <180> : cluster_node->level == MPIDR_AFFLVL1"
msimpson has joined #linux-sunxi
<bmccarter> wens: any ideas on what's missing?
hipboi has quit [Quit: Leaving]
formruga has joined #linux-sunxi
TEKrantz has quit [Remote host closed the connection]
f0xx has joined #linux-sunxi
<wens> huh?
<wens> what do you mean by added psci settings and idle-states
mavkhimenia has joined #linux-sunxi
<wens> and "updated cpu frequency settings"?
<wens> posting a diff somewhere would be more helpful
Putti has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
mavkhime_ has quit [Ping timeout: 272 seconds]
simosx has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
chewitt has quit [Read error: Connection reset by peer]
alexxy has quit [Ping timeout: 252 seconds]
chewitt has joined #linux-sunxi
<bmccarter> wens: sun50i-a64.dtsi diff here: https://pastebin.com/1kLyFbjh
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
bmccarter_ has joined #linux-sunxi
bmccarter_ has left #linux-sunxi [#linux-sunxi]
bmccarter__ has joined #linux-sunxi
bmccarter has left #linux-sunxi [#linux-sunxi]
bmccarter__ has left #linux-sunxi [#linux-sunxi]
bmccarter___ has joined #linux-sunxi
lerc_ has joined #linux-sunxi
lerc has quit [Ping timeout: 252 seconds]
reinforce has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 246 seconds]
bmccarter___ is now known as bmccarter
mavkhimenia has joined #linux-sunxi
<wens> the firmware is supposed to fill in the psci stuff, you shouldn't be adding it
vagrantc has joined #linux-sunxi
<wens> compatible = "allwinner,dvfs_table"; <= this should give you a hint that it doesn't belong in mainline
<wens> mainline uses opp tables
<wens> so "cpufreq_tbl" doesn't belong either
IgorPec has joined #linux-sunxi
<wens> and I don't know if we support idle states or not, probably not.
<wens> please look at other mainline dtsi files that already support cpufreq
<wens> allwinner doesn't follow mainline bindings, so directly copying from theirs is useless
<bmccarter> wens: thanks for the info
<bmccarter> absolutely makes sense, I just didn't know what I was looking at
<parco> mripard: wens: any example dts files out there for bpi m2m showing how to use a MIPI DSI panel?
mossroy has quit [Quit: Leaving]
m4ssi has quit [Quit: Leaving]
<parco> i'm still hanging during boot waiting for vblanks, i've verified correct timings
<wens> parco: try to find mripard's mipi dsi patch series from mailing list archives, it has an example patch on hooking up a panel
<parco> wens: yep, that's the one I copied, but it gets dropped during the series
yann|work has quit [Ping timeout: 245 seconds]
hanetzer has quit [Ping timeout: 240 seconds]
hanetzer has joined #linux-sunxi
Wizzup has quit [Ping timeout: 244 seconds]
Wizzup has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 246 seconds]
anarsoul|2 has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
msimpson has quit [Read error: Connection reset by peer]
mavkhimenia has quit [Ping timeout: 246 seconds]
<parco> paulk-leonov: checked the logs, we seem to have similar issues with vblank. Did you ever get that panel to work?
atsampson has quit [Quit: leaving]
Mr__Anderson has joined #linux-sunxi
atsampson has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
<anarsoul|2> parco: do you get any picture on your panel?
<parco> anarsoul|2: Mostly white with vertical spaces, and one horizontal line towards the bottom: https://i.imgur.com/xOwmZuS.jpg
<parco> the panel doesn't require any special startup commands, so I'm just using the simple panel driver with my own timings
<anarsoul|2> parco: then ignore vblank issue for now. DSI is not working for you, missing vblanks are just a symptom
<anarsoul|2> it it was just timings you would get some picture, but probably shifted or with some garbage at top or at bottom
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 245 seconds]
Gerwin_J has quit [Ping timeout: 240 seconds]
matthias_bgg has quit [Ping timeout: 240 seconds]
GrimKriegor has quit [Read error: Connection reset by peer]
reinforce has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 252 seconds]
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Read error: Connection reset by peer]
nuuuciano_ has quit [Ping timeout: 245 seconds]
iamfrankenstein has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Read error: Connection reset by peer]
GrimKriegor has joined #linux-sunxi
yann|work has joined #linux-sunxi
GrimKriegor has quit [Read error: Connection reset by peer]
nuuuciano_ has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
Putti has quit [Remote host closed the connection]
GrimKriegor has quit [Ping timeout: 252 seconds]
Putti has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
Putti has quit [Remote host closed the connection]
IgorPec has quit [Ping timeout: 264 seconds]
GrimKriegor has joined #linux-sunxi
Putti has joined #linux-sunxi
GrimKriegor has quit [Read error: Connection reset by peer]
nuuuciano_ has quit [Ping timeout: 252 seconds]
tllim has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
Putti has quit [Remote host closed the connection]
GrimKriegor has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
Putti has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Read error: Connection reset by peer]
tllim has quit [Quit: Leaving]
GrimKriegor has joined #linux-sunxi
mzki has quit [Ping timeout: 246 seconds]
TEKrantz has joined #linux-sunxi
mzki has joined #linux-sunxi
simosx has quit [Quit: Yakkety Bye!]
qeed has joined #linux-sunxi
lurchi__ is now known as lurchi_
f0xx has quit [Ping timeout: 244 seconds]
GrimKriegor has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
GrimKriegor has joined #linux-sunxi
dev1990_ has quit [Quit: Konversation terminated!]
dev1990 has joined #linux-sunxi
anarsoul has quit [Remote host closed the connection]
reinforce has quit [Quit: Leaving.]
Mr__Anderson has quit [Remote host closed the connection]
fkluknav has quit [Ping timeout: 240 seconds]
GrimKriegor has quit [Ping timeout: 246 seconds]
Andy-D_ has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 252 seconds]
GrimKriegor has joined #linux-sunxi
lukasz_ has joined #linux-sunxi
lurchi_ has quit [Quit: Konversation terminated!]
lurchi__ has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
lurchi__ has quit [Quit: Konversation terminated!]
lurchi_ has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 245 seconds]
lurchi_ has joined #linux-sunxi
lkcl has quit [Ping timeout: 250 seconds]
lurchi_ is now known as lurchi__
Andy-D_ has quit [Remote host closed the connection]
lurchi__ is now known as lurchi_
lurchi_ has quit [Quit: Konversation terminated!]
lurchi__ has joined #linux-sunxi
Andy-D has joined #linux-sunxi
clemens3_ has quit [Ping timeout: 245 seconds]
t0dd1v has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Andy-D_ has joined #linux-sunxi
lukasz_ has quit [Quit: Leaving]
Andy-D has quit [Ping timeout: 245 seconds]
vagrantc has quit [Ping timeout: 252 seconds]
GrimKriegor has quit [Read error: Connection reset by peer]
Andy-D__ has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 244 seconds]
GrimKriegor has joined #linux-sunxi
Andy-D__ has quit [Remote host closed the connection]
kaspter has quit [Remote host closed the connection]
Putti has quit [Ping timeout: 252 seconds]