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*
apritzel has joined #linux-sunxi
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
tl_lim has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
wwilly_ has joined #linux-sunxi
tllim has quit [Ping timeout: 250 seconds]
wwilly has quit [Ping timeout: 272 seconds]
AneoX_ has joined #linux-sunxi
jernej has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
clemens3 has quit [Ping timeout: 272 seconds]
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #linux-sunxi
popolon has quit [Quit: WeeChat 2.3]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 246 seconds]
fALSO has joined #linux-sunxi
return0e has joined #linux-sunxi
return0e_ has quit [Ping timeout: 246 seconds]
AneoX_ has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
AneoX has quit [Ping timeout: 244 seconds]
leviathanch has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
return0e has quit [Read error: Connection reset by peer]
return0e_ has joined #linux-sunxi
tl_lim has quit [Ping timeout: 260 seconds]
tl_lim has joined #linux-sunxi
Andy-D has quit [Ping timeout: 258 seconds]
tl_lim has quit [Ping timeout: 252 seconds]
tl_lim has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
reinforce has joined #linux-sunxi
anarsoul has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 258 seconds]
_whitelogger has joined #linux-sunxi
merlin1991 has quit [Remote host closed the connection]
kelvan has quit [Remote host closed the connection]
merlin1991 has joined #linux-sunxi
kelvan has joined #linux-sunxi
TheSeven has quit [Ping timeout: 264 seconds]
TheSeven has joined #linux-sunxi
s_frit has quit [Read error: Connection reset by peer]
tl_lim has quit [Read error: Connection reset by peer]
dddddd has quit [Remote host closed the connection]
_whitelogger has joined #linux-sunxi
f0xx has joined #linux-sunxi
chewitt has quit [Remote host closed the connection]
leviathanch has quit [Remote host closed the connection]
nuuuciano has quit [Ping timeout: 258 seconds]
wwilly_ has quit [Quit: Leaving]
wwilly has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 272 seconds]
xerpi has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
leviathanch has joined #linux-sunxi
typedef_pil has joined #linux-sunxi
IgorPec has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 244 seconds]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 250 seconds]
chewitt has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 258 seconds]
_whitelogger has joined #linux-sunxi
IgorPec has quit [Ping timeout: 246 seconds]
IgorPec has joined #linux-sunxi
clemens3 has joined #linux-sunxi
Putti has joined #linux-sunxi
Putti has quit [Ping timeout: 250 seconds]
return0e has joined #linux-sunxi
return0e_ has quit [Read error: Connection reset by peer]
apritzel has joined #linux-sunxi
popolon has joined #linux-sunxi
Putti has joined #linux-sunxi
markvandenborre has left #linux-sunxi [#linux-sunxi]
typedef_pil has quit [Ping timeout: 258 seconds]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 240 seconds]
typedef_pil has joined #linux-sunxi
Dennboy has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 250 seconds]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 268 seconds]
Dennboy has quit [Ping timeout: 256 seconds]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
popolon has quit [Quit: WeeChat 2.3]
reinforce has quit [Quit: Leaving.]
Andy-D has joined #linux-sunxi
xerpi has quit [Remote host closed the connection]
wwilly has quit [Ping timeout: 244 seconds]
<willmore> jernej, okay, thanks for the clarification.
<willmore> smaeul, you are an optimist. :)
reinforce has joined #linux-sunxi
return0e has quit [Ping timeout: 246 seconds]
AneoX has joined #linux-sunxi
return0e has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 246 seconds]
wwilly has joined #linux-sunxi
dddddd has joined #linux-sunxi
jbrown has quit [Ping timeout: 252 seconds]
apritzel has quit [Ping timeout: 246 seconds]
dev1990 has quit [Quit: Konversation terminated!]
dev1990 has joined #linux-sunxi
apritzel has joined #linux-sunxi
dev1990 has quit [Remote host closed the connection]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
juri_ has quit [Remote host closed the connection]
reinforce has quit [Quit: Leaving.]
apritzel has quit [Ping timeout: 258 seconds]
Rafael1980 has joined #linux-sunxi
Andy-D has quit [Ping timeout: 250 seconds]
Andy-D has joined #linux-sunxi
juri_ has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
dev1990 has joined #linux-sunxi
xerpi has joined #linux-sunxi
apritzel has joined #linux-sunxi
leviathanch has quit [Read error: Connection reset by peer]
nixdork has quit [Ping timeout: 252 seconds]
rexxster has quit [Remote host closed the connection]
rexxster has joined #linux-sunxi
nixdork has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
Nyuutwo has quit [Read error: Connection reset by peer]
Nyuutwo has joined #linux-sunxi
return0e has quit []
AneoX has joined #linux-sunxi
IgorPec has quit [Ping timeout: 245 seconds]
AneoX_ has quit [Ping timeout: 272 seconds]
apritzel has quit [Ping timeout: 268 seconds]
Amit_T has joined #linux-sunxi
hlauer has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
aalm has quit [Ping timeout: 240 seconds]
apritzel has joined #linux-sunxi
AneoX has quit [Ping timeout: 250 seconds]
<smaeul> apritzel: I did some more testing with the a64 timer last night
AneoX has joined #linux-sunxi
<smaeul> rather than hacking up arch_counter_set_user_access I wrote a kernel module to expose all of the relevant registers in sysfs :)
<smaeul> first of all I was able to reproduce the bug that allwinner has a workaround for
<smaeul> where writing cntv_tval_el0 sets cntv_cval_el0 to something completely wrong, in fact less than cntvct
apritzel has quit [Ping timeout: 252 seconds]
IgorPec has joined #linux-sunxi
<hanetzer> smaeul: kinky
<willmore> Geez, how do you mess that one up?
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-sunxi
<smaeul> or how about this one? cnt + tval == cval should always be true (cnt = current time, tval = time until timeout, cval = time at timeout)
<smaeul> and if write to cval or tval, cval should stay the same, right?
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
<smaeul> 0.0002% of the time on the A64 cval reads back as some bogus value somewhere between 1000 and 250000 cycles off in either direction
<smaeul> s/cval/tval actually
<willmore> The "in either direction" part kills me.
<smaeul> hmm, it's actually a bit hard to tell what's going on here
<smaeul> because cntvct is also known to be unstable
<smaeul> so if a + b != c ... which is wrong?
<KotCzarny> silicon bugs?
AneoX_ has joined #linux-sunxi
<KotCzarny> reminds me of the optimization that removes unused part of silicon which results in something else starting to fail
<KotCzarny> might be also free electrons jumping around
<KotCzarny> in short, fun
AneoX has quit [Ping timeout: 252 seconds]
typedef_pil has quit [Ping timeout: 250 seconds]
\\Mr_C\\ has joined #linux-sunxi
aalm has joined #linux-sunxi
afaerber has quit [Ping timeout: 252 seconds]
afaerber has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 258 seconds]
AneoX has joined #linux-sunxi
afaerber has quit [Remote host closed the connection]
afaerber has joined #linux-sunxi
return0e has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
AneoX has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 245 seconds]
apritzel has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 246 seconds]
apritzel has quit [Ping timeout: 268 seconds]
nuuuciano has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 240 seconds]
typedef_pil has joined #linux-sunxi
dddddd has quit [Ping timeout: 245 seconds]
<\x> hmmm
<\x> why does the built-in wifi on orange pi zero doesnt work on newer variants of openwrt. looks like theres no support?
<\x> hmmmmmmm
<KotCzarny> xr819?
<\x> yep
<\x> it does work well on older unofficial variants
<\x> really strong 2.4ghz signal
<KotCzarny> maybe it's so bad that they've decided it's better being ignored
<\x> would be nice if its working
<\x> maybe i can use armbian kernel on newer openwrt?
<\x> hmmm
<DonkeyHotei> xradio.ko is so bad even its author pretends it doesn't exist
<\x> it does work good DonkeyHotei
<\x> tho
<\x> on older 3.14
<\x> Linux OrangePiZero 3.4.113-sun8i #28 SMP PREEMPT Thu Feb 2 02:01:28 CET 2017 armv7l GNU/Linux
<\x> this one
<\x> tho ill try to use current armbian kernel and hope for the best
<KotCzarny> \x: observe retransmit count
dddddd has joined #linux-sunxi
<\x> okay, let me iperf
<KotCzarny> also, afair, it's so buggy, that it requires loading module twice
<KotCzarny> and strong signal is not equal to good signal quality
<\x> hmmm
<\x> so 30 Mbit/s for a 150 Mbit/s rated radio
<\x> well, i guess ill use it like this for now.
<\x> ill try to use current armbian kernel on it when i got time to play around
<\x> i say 30 Mbit/s is pretty good for my guest AP
<\x> its in its own vlan anyway
<KotCzarny> what is the retransmit count in ifconfig?
<\x> oh
<\x> i didnt look
<\x> let me see
<KotCzarny> it should be close to 0
<KotCzarny> if its in hundreds or more, link quality is sh*t
<\x> this or the ifconfig of the phone?
<KotCzarny> erm, sorry, i meant iwconfig
<\x> # iwconfig wlan1
<\x> wlan1 IEEE 802.11bgn Mode:Master Frequency:2.462 GHz Tx-Power=20 dBm
<\x> RTS thr:off Fragment thr:off
<\x> Power Management:on
<\x> this is all i see
<\x> let me see iwconfig options
<KotCzarny> ahm, might not be when it's set as ap
<\x> would be nice if the radio gets proper support tho
<\x> i also have a zero plus, wifi on that doesnt work too
<\x> i even added everything realtek on the openwrt menuconfig
<\x> heh
<catphish> using it in master mode may be less charted territory
<\x> KotCzarny: i do have to use openwrt toolchain for this right? and load the lkm at boot
<KotCzarny> yeah, should be compiled using toolchain/config used by your kernel
<\x> i will
<\x> im more interested in the xr819 tho
<\x> well, i guess ill put the zero plus out of service now
<\x> been my homeserver for like a month now
<KotCzarny> or use armbian
<KotCzarny> and setup firewall yourself
<KotCzarny> and routing
<KotCzarny> no need to stick to openwrt specifically
<\x> ah yeah i mean thats easy
<\x> but i want openwrt
<\x> mesh meme
<KotCzarny> i would expect that's opensource, which means should work with 4.20 etc, no?
<\x> it should
<\x> i think next version will have 4.19
<KotCzarny> you can compile kernel yourself
<\x> my current router has 4.14 kernel on it
popolon has joined #linux-sunxi
<\x> thanks for the help. ill tell ya if i get it werking. tho i dont even know if ill do it kek. it does work nicely for now.
apritzel has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
f0xx has quit [Ping timeout: 272 seconds]
reinforce has joined #linux-sunxi
Amit_T has quit [Quit: Leaving]
<karlp> \x it's not jsut newer variants, it's _never_ worked....
<karlp> 8189ftv, hauke has a tree with some attempts at it, but it's ~worthless in openwrt first.
IgorPec has quit [Ping timeout: 244 seconds]
<karlp> xr819 looks to have even less chance of a future IMO, but could change :)
lkcl has quit [Ping timeout: 245 seconds]
typedef_pil has quit [Ping timeout: 245 seconds]
chewitt has quit [Max SendQ exceeded]
chewitt has joined #linux-sunxi
lkcl has joined #linux-sunxi
xerpi has quit [Ping timeout: 246 seconds]
typedef_pil has joined #linux-sunxi
xerpi has joined #linux-sunxi
vagrantc has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 246 seconds]
Putti has quit [Ping timeout: 258 seconds]
typedef_pil has quit [Ping timeout: 245 seconds]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 258 seconds]
xerpi has quit [Ping timeout: 246 seconds]
NeuroScr has joined #linux-sunxi
Rafael1980 has quit [Quit: Konversation terminated!]
jbrown has joined #linux-sunxi
<vagrantc> any relatively simple suggestions for the pinebook to backport to 4.19.x kernel in Debian? I'm working on the battery support ... not sure how complicated sound or HDMI support would be to backport
<vagrantc> i saw some fix for the RTC clock ... is that related to the bug on a64 causing the clock to leap into the future?
<vagrantc> how significant are the .dts changes: add SID node/efuse, cd-inverted, L2 cache nodes, data strobe pin from mmc2 ...
<vagrantc> backlight regulator...
jbrown has quit [Ping timeout: 252 seconds]
<apritzel> vagrantc: RTC clock is not related to the timer, that's two different things
<vagrantc> debian will be shipping 4.19.x in the next stable release, but there seem to be many improvements in 4.20/4.21
<vagrantc> so trying to pull in at least the low-hanging fruit
<vagrantc> the timer issue is really weird ... i can run for a week or two without it getting triggered, and then sometimes it gets triggered several times in a single day
<catphish> this bare metal thing is hard work, no matter what i do, i can't seem to get my USB PHYs working, root hub just won't detect anything connected to the port, it's definitely my code to blame because u-boot works fine, learned so much about usb, but ever so frustrated
<vagrantc> but been using the pinebook for my primary computer since early december without too many other issues ... the timer seems to be the biggest frustration
<apritzel> vagrantc: well, the timer fix will still take more time, I guess it won't even land in 4.21
Mr__Anderson has quit [Remote host closed the connection]
<apritzel> but you can use the FSL workaround meanwhile
<vagrantc> apritzel: tell me more! :)
xerpi has joined #linux-sunxi
<apritzel> vagrantc: just add fsl,erratum-a008585 to the arch timer node in the DT
<apritzel> it's frowned upon by the maintainers, we should have at least a separate property for that
<vagrantc> e.g. the same erratta fixes it, but it's just "named wrong" ?
<apritzel> vagrantc: somewhat, it's a bit more complex
<vagrantc> fair enough
<apritzel> the erratum is probably not the same, but related
<apritzel> and the FSL workaround is more expensive than we probably need for Allwinner
<vagrantc> ah. so something to document as a workaround, but probably not good to enable out of the box
<apritzel> the neat thing about the FSL property is that's in the kernel for ages
<apritzel> so just adding it to the DT makes the problem go away on older kernels as well
<vagrantc> i don't forsee using on anything older than 4.19.x at this point
jbrown has joined #linux-sunxi
<apritzel> we should probably do that: add a new allwinner,timer-erratum property to the bindings and the DT
<apritzel> and wire it up to the FSL workaround, for now
<apritzel> then we can later refine this
<apritzel> that should simplify your backport
<vagrantc> yeah, if you can land it even in linux-next *soon* and it's not a huge linecount, i can probably get it into debian's next stable release
<apritzel> and we solve the problem, although not in the most efficient way
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-sunxi
hlauer has quit [Ping timeout: 250 seconds]
HeavyMetal has quit [Ping timeout: 252 seconds]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 246 seconds]
HeavyMetal has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
jstein has quit [Quit: quit]