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
lucascastro has joined #linux-sunxi
TEKrantz has quit [Quit: Excess flood. Did someone see an ark float by?]
GrimKriegor has quit [Read error: Connection reset by peer]
pgreco has quit [Quit: Leaving.]
hipboi has joined #linux-sunxi
akaizen has quit [Ping timeout: 245 seconds]
GrimKriegor has joined #linux-sunxi
yann has quit [Ping timeout: 260 seconds]
nashpa has quit [Ping timeout: 248 seconds]
nashpa has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
BenG83 has quit [Quit: Leaving]
fixmer has quit [Read error: Connection reset by peer]
clemens3 has quit [Ping timeout: 240 seconds]
hardfalcon has quit [Ping timeout: 252 seconds]
fixmer_ has joined #linux-sunxi
hipboi has quit [Quit: This computer has gone to sleep]
akaizen has joined #linux-sunxi
victhor has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 276 seconds]
cnxsoft has joined #linux-sunxi
ninolein has quit [Ping timeout: 252 seconds]
ninolein has joined #linux-sunxi
BenG83 has joined #linux-sunxi
JohnDoe_71Rus has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
akaizen has quit [Ping timeout: 252 seconds]
tl_lim has quit [Remote host closed the connection]
tl_lim has joined #linux-sunxi
akaizen has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
lucascastro has quit [Remote host closed the connection]
lucascastro has joined #linux-sunxi
merbanan has quit [Ping timeout: 252 seconds]
duracrisis has quit [Max SendQ exceeded]
duracrisis has joined #linux-sunxi
duracrisis has quit [Max SendQ exceeded]
duracrisis has joined #linux-sunxi
merbanan has joined #linux-sunxi
TheSeven has quit [Ping timeout: 252 seconds]
TheSeven has joined #linux-sunxi
nots has quit [Quit: Page closed]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 245 seconds]
leviathan has joined #linux-sunxi
hardfalcon has joined #linux-sunxi
TheSeven has quit [Ping timeout: 240 seconds]
leviathan has quit [Read error: Connection reset by peer]
leviathan has joined #linux-sunxi
megi has quit [Ping timeout: 268 seconds]
TheSeven has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
qeed has quit [Quit: Leaving]
lerc has quit [Quit: No Ping reply in 180 seconds.]
lerc has joined #linux-sunxi
hanni76 has joined #linux-sunxi
IgorPec has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 248 seconds]
f0xx has joined #linux-sunxi
fkluknav has joined #linux-sunxi
sr-digitronic has joined #linux-sunxi
kaspter has joined #linux-sunxi
fkluknav has quit [Ping timeout: 248 seconds]
reinforce has joined #linux-sunxi
hipboi has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
nuuuciano__ has quit [Ping timeout: 256 seconds]
nuuuciano_ has joined #linux-sunxi
alexxy[home] has joined #linux-sunxi
alexxy has quit [Ping timeout: 240 seconds]
clemens3 has joined #linux-sunxi
<oliv3r> mripard: I'm going over both the A20 and A31 datasheets, but don't seem to figure out what https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/sun4i/sun4i_hdmi.h#L72 means (SUN4I_HDMI_PAD_CTRL1_HALVE_CLK) as both docs say this is a 2 bit REG_CKSS register. (I didn't go over the 3.4 sources to be fair however)
sr-digitronic has quit [Quit: Leaving]
lemonzest has joined #linux-sunxi
<mripard> what issue do you have ?
f11f12 has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
tl_lim has quit [Read error: Connection reset by peer]
<oliv3r> just going over the files and trying to understand is all
<oliv3r> no problem nor issue
<oliv3r> just wondered why the docs say it's a 2 bit register, and the driver only looks at half of it
<oliv3r> curiosity got the better of me :)
lukasz has quit [Ping timeout: 240 seconds]
kloczek has quit [Quit: kloczek]
IlyaM has joined #linux-sunxi
kloczek has joined #linux-sunxi
lukasz has joined #linux-sunxi
msimpson has joined #linux-sunxi
chomwitt has joined #linux-sunxi
dddddd has joined #linux-sunxi
maz has joined #linux-sunxi
yann has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
cnxsoft1 is now known as cnxsoft
BroderTuck has joined #linux-sunxi
megi has joined #linux-sunxi
msimpson has quit [Ping timeout: 248 seconds]
msimpson has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 245 seconds]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
pgreco has joined #linux-sunxi
hipboi has quit [Quit: This computer has gone to sleep]
maz has quit [Quit: Leaving]
maz has joined #linux-sunxi
BroderTuck has quit [Remote host closed the connection]
paulk-gagarine has joined #linux-sunxi
paulk-gagarine has quit [Ping timeout: 248 seconds]
msimpson has quit [Read error: Connection reset by peer]
<IlyaM> is it possible to set up spis with 2 different clocks?
paulk-gagarine has joined #linux-sunxi
<willmore> oliv3r, coming to MRRF? :)
<oliv3r> me personally? sadly no :) but i'm guessing our company might
<willmore> They're a sponsor, so yeah, they'll be there. :) I'll stop by the booth and drop your name again. :)
paulk-gagarine has quit [Ping timeout: 260 seconds]
IlyaM has quit [Quit: Textual IRC Client: www.textualapp.com]
fkluknav has joined #linux-sunxi
msimpson has joined #linux-sunxi
gnufan1 has quit [Ping timeout: 252 seconds]
montjoie has quit [Ping timeout: 245 seconds]
montjoie has joined #linux-sunxi
<oliv3r> :)
<oliv3r> tell them I say hi :D
<willmore> Will do. I did last year, did it find its way back to you?
montjoie has quit [Ping timeout: 240 seconds]
montjoie has joined #linux-sunxi
aalm has quit [Ping timeout: 252 seconds]
IlyaM has joined #linux-sunxi
BenG83 has quit [Ping timeout: 256 seconds]
awais has joined #linux-sunxi
aalm has joined #linux-sunxi
BenG83 has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
paulk-gagarine has joined #linux-sunxi
merbanan has quit [Ping timeout: 240 seconds]
matthias_bgg has joined #linux-sunxi
<oliv3r> it did :)
BenG83 has quit [Ping timeout: 240 seconds]
merbanan has joined #linux-sunxi
BenG83 has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 248 seconds]
matthias_bgg has quit [Quit: Leaving]
matthias_bgg has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
IlyaM has quit [Read error: Connection reset by peer]
hardfalcon has joined #linux-sunxi
<willmore> Really? That's great!!!!
<willmore> I have some stuff to chat with the rep about, so I'll make sure to mention you again this year.
fkluknav has joined #linux-sunxi
gnarface has quit [Ping timeout: 260 seconds]
gnarface has joined #linux-sunxi
zzeroo has quit [Ping timeout: 256 seconds]
zzeroo has joined #linux-sunxi
TEKrantz has joined #linux-sunxi
qeed has joined #linux-sunxi
victhor has joined #linux-sunxi
hipboi has joined #linux-sunxi
<oliv3r> :)
<oliv3r> i wonder who will be going
<oliv3r> from our side that is
<oliv3r> probably sander will be there, maybe svitlana as well
fkluknav has quit [Ping timeout: 240 seconds]
fkluknav has joined #linux-sunxi
chrisf_ has joined #linux-sunxi
anarsoul has quit [Ping timeout: 256 seconds]
nuuuciano_ has quit [Ping timeout: 245 seconds]
nuuuciano__ has joined #linux-sunxi
anarsoul has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
aalm has quit [Ping timeout: 240 seconds]
<Strontium> smaeul: i have checked various schmatics of H2+/H3 boards, and as far as port L goes, its usually full of power control IOs, and other misc system io's (like usb id). So there isn't much on there one can use, or rely on, and the only signal which ever appears on a header is IR-RX.
fkluknav has quit [Ping timeout: 248 seconds]
wasutton3_mobile has joined #linux-sunxi
<Strontium> smaeul: i am pretty convinced the only way "CPUS" can safely toggle any GPIO (even the stuff on the L port) is to use a spinlock, which linux drivers that do direct port io are already aware of. So the challenge is to inform any code running on the CPUS which spinlock the kernel allocated for gpio protection.
lucascastro has quit [Remote host closed the connection]
cnxsoft has quit [Quit: cnxsoft]
tllim has joined #linux-sunxi
<Strontium> smaeul: actually, it seems that the linux gpio code for allwinner chips is just using generic kernel spin locks, and not hardware ones. So in that case, the allwinner gpio driver would need to be enhance to use hardware spinlocks, instead of generic ones.
tllim has quit [Read error: Connection reset by peer]
SP7RT has joined #linux-sunxi
tllim has joined #linux-sunxi
xerpi has joined #linux-sunxi
paulk-gagarine has quit [Ping timeout: 260 seconds]
xerpi has quit [Ping timeout: 248 seconds]
<Strontium> hmm, i have seen sunxi hardware spinlock patches going back to August 2016, but it would appear they never made it into the tree. sun8i_hwspinlock doesn't exist as far as i can tell.
xerpi has joined #linux-sunxi
ernestask has joined #linux-sunxi
fkluknav has joined #linux-sunxi
<wasutton3_mobile> where whould i go looking to find the baud rate of the default serial console?
<wasutton3_mobile> i see setenv bootargs in one of the files in the /boot folder
<wasutton3_mobile> but i don't see where its pulling the variable names from.
paulk-gagarine has joined #linux-sunxi
fkluknav has quit [Ping timeout: 248 seconds]
reinforce has joined #linux-sunxi
<chrisf_> In case anyone's interested, I just fixed a UART problem on an H5 that's been niggling me for weeks. I need one of the UARTs to run at high speed (3MHz) so switched APB2 to PLL_PERIPH0(1X). My regular debugging UART kept working OK but would spit out a garbage character every 15 or so. Not a baud rate problem but actually clocking out garbage. Dividing the APB2 clock down from 600MHz fixed it.
paulk-gagarine has quit [Ping timeout: 240 seconds]
paulk-leonov has joined #linux-sunxi
dimaggio has joined #linux-sunxi
paulk-gagarine has joined #linux-sunxi
<dimaggio> hello, i have issue with mali.ko module loading on mainline kernel
<dimaggio> cubieboard A10
paulk-leonov has quit [Ping timeout: 256 seconds]
<dimaggio> can anyone check my dmesg logs?
tom_nov has joined #linux-sunxi
paulk-leonov has joined #linux-sunxi
<BenG83> just a wild guessm how large is your CMA size?
<dimaggio> cma: Reserved 128 MiB at 0x78000000
<BenG83> and the dts node is there?
<BenG83> Mali memory settings (shared: 0xFFFFFFFF) and Using device defined frame buffer settings (0x00000000@0x00000000)
<dimaggio> i use this one
<BenG83> those values look a bit off to me
matthias_bgg has quit [Ping timeout: 240 seconds]
<dimaggio> CONFIG_DRM_KMS_FB_HELPER=y CONFIG_DRM_FBDEV_EMULATION=y CONFIG_DRM_FBDEV_OVERALLOC=200 CONFIG_FB=y CONFIG_FB_CMDLINE=y CONFIG_FB_NOTIFY=y CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_IMAGEBLIT=y CONFIG_FB_SYS_FILLRECT=y CONFIG_FB_SYS_COPYAREA=y CONFIG_FB_SYS_IMAGEBLIT=y CONFIG_FB_SYS_FOPS=y CONFIG_FB_DEFERRED_IO=y CONFIG_FB_SIMPLE=y
<dimaggio> sorry
<dimaggio> simple fb and sun4i-drm are in kernel
<BenG83> drm works ok?
hardfalcon has quit [Remote host closed the connection]
<BenG83> which mali version is that?
<dimaggio> r6p2
clemens3 has quit [Ping timeout: 276 seconds]
<BenG83> for X11?
<dimaggio> no just fb for now
<dimaggio> hdmi works fine
hardfalcon has joined #linux-sunxi
SP7RT has quit [Ping timeout: 256 seconds]
hipboi has quit [Quit: Leaving]
paulk-gagarine has quit [Read error: Connection reset by peer]
nuuuciano__ has quit [Ping timeout: 256 seconds]
SP7RT has joined #linux-sunxi
paulk-gagarine has joined #linux-sunxi
netlynx has joined #linux-sunxi
chomwitt has quit [Ping timeout: 256 seconds]
LargePrime has quit [Ping timeout: 240 seconds]
<dimaggio> here is mali dmesg with reserved-memory in dts https://pastebin.com/088AZEBu
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
BenG83_ has joined #linux-sunxi
raspo666 has quit [Quit: Leaving]
LargePrime has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
<willmore> chrisf_, good news! Can you find a place on the Wiki where it makes sense to record that knowledge?
dimaggio has quit [Ping timeout: 260 seconds]
<chrisf_> willmore, will do. In hindsight, I suppose 600MHz might be a bit quick for a legacy uart ...
<willmore> chrisf_, understood. I thought it was 200MHz or so.
paulk-leonov has quit [Quit: Leaving]
<willmore> Don't let tkaiser see it.
<chrisf_> Just realised, we might be talking at crossed purposes because I'm running bare metal?
yann has quit [Ping timeout: 245 seconds]
msimpson has quit [Quit: Leaving]
elros_ has joined #linux-sunxi
f0xx has quit [Ping timeout: 248 seconds]
DonkeyHotei has quit [Read error: Connection reset by peer]
SP7RT_ has joined #linux-sunxi
SP7RT has quit [Ping timeout: 268 seconds]
chrisf_ has quit [Ping timeout: 260 seconds]
clemens3 has joined #linux-sunxi
lkcl has quit [Ping timeout: 240 seconds]
paulk-gagarine has quit [Ping timeout: 248 seconds]
lucascastro has joined #linux-sunxi
chomwitt has joined #linux-sunxi
tom_nov has quit [Quit: Leaving]
IlyaM has joined #linux-sunxi
paulk-gagarine has joined #linux-sunxi
IlyaM has quit [Client Quit]
tl_lim has joined #linux-sunxi
tl_lim has quit [Read error: Connection reset by peer]
lucascastro has quit [Remote host closed the connection]
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 245 seconds]
anarsoul|2 has joined #linux-sunxi
SP7RT_ has quit [Ping timeout: 240 seconds]
leviathan has quit [Read error: Connection reset by peer]
SP7RT has joined #linux-sunxi
leviathan has joined #linux-sunxi
leviathan has quit [Remote host closed the connection]
xerpi has quit [Quit: Leaving]
vagrantc has joined #linux-sunxi
elros_ has quit [Quit: Communi 3.5.0 - http://communi.github.com]
f0xx has joined #linux-sunxi
chrisf_ has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
IlyaM has joined #linux-sunxi
yann has joined #linux-sunxi
BenG83_ has quit [Ping timeout: 248 seconds]
lucascastro has joined #linux-sunxi
chrisf__ has joined #linux-sunxi
IlyaM has quit [Quit: IlyaM]
hanetzer has quit [Ping timeout: 260 seconds]
SP7RT_ has joined #linux-sunxi
SP7RT has quit [Ping timeout: 240 seconds]
tl_lim has quit [Ping timeout: 240 seconds]
tl_lim has joined #linux-sunxi
gnufan has joined #linux-sunxi
hanni76 has quit [Quit: Leaving]
lemonzest has quit [Quit: Quitting]
msimpson has joined #linux-sunxi
DonkeyHotei has joined #linux-sunxi
Ntemis has joined #linux-sunxi
xes_ is now known as xes
ernestask has quit [Quit: ernestask]
msimpson has quit [Quit: Leaving]
BroderTuck has joined #linux-sunxi
anarsoul has quit [Ping timeout: 240 seconds]
anarsoul has joined #linux-sunxi
nots has joined #linux-sunxi
<BroderTuck> jernej: maybe you know what's up. If my device has been idle for a while, I get stuff like this added to the end of the dmesg when waking it up: www.palvencia.se/H3/dmesg3.txt (remember, this is with 4.16.rc3, the patches from www.palvencia.se/H3 and make sunxi_defconfig followed by the usual makes)
SP7RT_ has quit [Ping timeout: 268 seconds]
<jernej> BroderTuck: Update patches from here: https://github.com/jernejsk/linux-1/commits/h3_hdmi_v2
<jernej> I fixed clock bug, which should solve that
<jernej> please report result
f0xx has quit [Ping timeout: 245 seconds]
<BroderTuck> I'll investigate. the error occurs on wakeup, not when the tv starts reporting "no signal"
<jernej> what do you mean by wakeup? boot?
<jernej> sleep/wakeup isn't implemented yet...
<BroderTuck> No. After 15 minutes or so, hdmi turns off and the monitor says "no signal"
vagrantc has quit [Ping timeout: 256 seconds]
<jernej> well, that clock bug in v1 could have something to do with that
<jernej> anyway, worth trying
<BroderTuck> I'll investigate and see if there's any more changes than the adding of " / i" that I saw you mention here, and which I've already included
tl_lim has quit [Read error: Connection reset by peer]
<jernej> yes, I expanded that condition a bit further
<jernej> but I'm not sure how important it is for your case
xes has quit [Ping timeout: 256 seconds]
<jernej> is this still for same 1080p TV?
<BroderTuck> btw, I also managed to find a hdmi<>vga converter, and was able to test also with my usual 1280/1024 minitor, same issue there, and yes, same 1080p tv
<BroderTuck> works very well, up until the hdmi output goes to sleep
vagrantc has joined #linux-sunxi
<jernej> so TV goes to sleep by itself, right?
<jernej> currently I really don't have any sensible idea
<BroderTuck> not sure it's the TV itself that does it, I saw the same effect with the VGA screen, the same "no signal detected" message
<BroderTuck> after a period of just letting it sit for something like 10 or 15 minutes
<jernej> that should be easy to test on my side :)
<jernej> anyway, before I have to bisect kernel for unrelated issue
<BroderTuck> The device still seems to work fine, it's just that stack trace getting logged
anarsoul|3 has joined #linux-sunxi
SP7RT has joined #linux-sunxi
tllim has joined #linux-sunxi
anarsoul|2 has quit [Read error: Connection reset by peer]
BroderTuck has quit [Quit: Night, will test more on my end after work tomorrow]
netlynx has quit [Quit: Ex-Chat]
jmcneill has joined #linux-sunxi
jmcneill has quit [Client Quit]
jmcneill has joined #linux-sunxi
<jmcneill> Hi folks. What's the current status of H6 U-Boot?
reinforce has quit [Quit: Leaving.]
jmcneill has quit [Quit: leaving]
<BenG83> jmcneil, it boots my PineH64 with icenowy[m]'s branch
bonbons has joined #linux-sunxi
xes has joined #linux-sunxi
<jernej> mripard: wens: kernel from latest linux-next crashes at boot if CONFIG_SND_SUN4I_CODEC is enabled on H3 since commit be7ee5f32a9a4eba881d18e85d58e9a03a9cca99
<jernej> any ideas?
scream has joined #linux-sunxi
LargePrime has quit [Ping timeout: 248 seconds]
bonbons has quit [Quit: Leaving]
xerpi has joined #linux-sunxi
<jernej> mripard: wens: I'm not really sure anyone tested those sun4i-codec platform -> component model transition commits...
LargePrime has joined #linux-sunxi
<jernej> BroderTuck: it still works after 20 min
<jernej> I had to reset the board to test patches, but I'll leave it longer next time
chomwitt has quit [Quit: WeeChat 1.0.1]
IgorPec has quit [Ping timeout: 260 seconds]
SP7RT_ has joined #linux-sunxi
<BenG83> maybe you have different power management settings?
SP7RT has quit [Ping timeout: 248 seconds]
wasutton3_mobile has quit [Ping timeout: 245 seconds]
<jernej> well, I'm using monitor, not tv
<BenG83> and nothing on the Linux side that turns off the display after x minutes?
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
<jernej> not on my side, since I boot directly to console (debian server userland)
jstein has quit [Remote host closed the connection]
<smaeul> jernej: you can boot with `consoleblank=1` (https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html)
anarsoul|3 has quit [Remote host closed the connection]
anarsoul|3 has joined #linux-sunxi
<jernej> ah, yes, but it will have to wait, since it's late here
lkcl has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
scream has quit [Remote host closed the connection]
scream has joined #linux-sunxi
msimpson has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
SP7RT_ has quit [Ping timeout: 276 seconds]
xerpi has quit [Remote host closed the connection]
scream has quit [Remote host closed the connection]
Mr__Anderson has quit [Remote host closed the connection]
msimpson has quit [Quit: Leaving]
BenG83 has quit [Quit: Leaving]
nuuuciano has quit [Ping timeout: 260 seconds]
nuuuciano has joined #linux-sunxi