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
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.
<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]