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
MXfive has joined #linux-sunxi
Nyuutwo has joined #linux-sunxi
tkaiser has joined #linux-sunxi
pstef has joined #linux-sunxi
tkaiser has quit [Ping timeout: 265 seconds]
vagrantc has quit [Quit: leaving]
MXfive has quit [Read error: Connection reset by peer]
apritzel has quit [Ping timeout: 244 seconds]
MXfive has joined #linux-sunxi
orly_owl_ has quit [Quit: leaving]
sarietta has joined #linux-sunxi
florianH has quit [Quit: Connection closed for inactivity]
MXfive has quit [Read error: Connection reset by peer]
popolon has quit [Quit: WeeChat 1.4]
Axl_ has quit [Ping timeout: 265 seconds]
souther has quit [Ping timeout: 248 seconds]
souther has joined #linux-sunxi
avph has quit [Ping timeout: 265 seconds]
PG5 has quit [Quit: WeeChat 0.4.2]
tkaiser has joined #linux-sunxi
souther has quit [Ping timeout: 265 seconds]
tkaiser has quit [Ping timeout: 272 seconds]
souther has joined #linux-sunxi
<miasma> the wiki says "It should be noted that unlike some of the more expensive Orange Pi models the 'PC' does not use an internal USB hub therefore the 4 available USB ports don't have to share bandwidth"
<miasma> so what kind of bus there is between the usb hub and the SoC
<miasma> or is there any hub at all?
<miasma> each usb port directly connected to SoC maybe?
avph has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
ninolein has quit [Ping timeout: 250 seconds]
ninolein has joined #linux-sunxi
tkaiser has joined #linux-sunxi
Axl_ has joined #linux-sunxi
Axl_ has quit [Client Quit]
Axl_ has joined #linux-sunxi
Axl_ has quit [Remote host closed the connection]
tkaiser has quit [Ping timeout: 240 seconds]
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<miasma> oh damn, i missed the orange pi sales. is it still the cheapest from gearbest?
<miasma> 16.59 + 0.37 shipping for me. => $16.96. from aliexpress $18.69
sarietta has quit [Remote host closed the connection]
sarietta has joined #linux-sunxi
<willmore> miasma, maybe lvrp16 has a deal. Where about in the world are you?
<miasma> fi/europe
<miasma> seems to be 14,83 from taobao
<willmore> miasma, ahh, then I'd stick with the Chinese suppliers.
sarietta has quit [Ping timeout: 260 seconds]
<miasma> of course the price is pretty affordable from any store
<willmore> :)
<miasma> is it somehow possible to donate money to the sunxi project for the great work with drivers? free moneys. or is it just easier to buy the devs some new hardware
<miasma> i've advertised allwinner boards a bit and many friends bought them. i suppose that mainly helps sinovoip/xunlong/allwinner
orly_owl has joined #linux-sunxi
<miasma> my own goal is to publish some builds scripts for building your own embedded stuff. e.g. for home automation / music jukebox with readonly media. sunxi boards seem to provide the best price point for building such systems
buZz has quit [Ping timeout: 250 seconds]
_mamalala_ has joined #linux-sunxi
_mamalala has quit [Ping timeout: 265 seconds]
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 265 seconds]
pg12 has quit [Ping timeout: 265 seconds]
pg12 has joined #linux-sunxi
smooker has joined #linux-sunxi
<MoeIcenowy> jmcneill: ping
<MoeIcenowy> I think the USB PHY0 support for H3 is not even ready on Linux
<MoeIcenowy> mripard, apritzel: I want to implement it in the FreeBSD-like way, but it will break the backward compatibility of DTs...
fire219 has quit [Read error: Connection reset by peer]
<MoeIcenowy> (I mean, phy0 is the phy of USB OTG, and phy1 is the phy of USB OTG in host-only HCI mode, and phy2 is the ordinary USB host port
tkaiser has joined #linux-sunxi
<MoeIcenowy> mripard: and, when will A64 clock-ng get merged?
tkaiser has quit [Ping timeout: 265 seconds]
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
IgorPec has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
jernej has joined #linux-sunxi
smooker has quit [Ping timeout: 255 seconds]
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 240 seconds]
jernej has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-sunxi
petr has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-sunxi
petr has joined #linux-sunxi
tkaiser has joined #linux-sunxi
IgorPec has quit [Ping timeout: 272 seconds]
<KotCzarny> oh, nice. full refund landed
smooker has joined #linux-sunxi
ssvb has quit [Remote host closed the connection]
IgorPec117 has joined #linux-sunxi
sarietta has joined #linux-sunxi
IgorPec117 has quit [Ping timeout: 244 seconds]
IgorPec117 has joined #linux-sunxi
IgorPec has joined #linux-sunxi
Putti has quit [Ping timeout: 244 seconds]
<MoeIcenowy> jmcneill: I have both USB ports running on Pine64 on Linux 4.7!
IgorPec117 has quit [Ping timeout: 265 seconds]
BenG83 has quit [Quit: Leaving]
leviathanch has joined #linux-sunxi
sW` has joined #linux-sunxi
sarietta has quit [Remote host closed the connection]
sarietta has joined #linux-sunxi
sarietta_ has joined #linux-sunxi
sarietta has quit [Read error: Connection reset by peer]
sarietta_ has quit [Client Quit]
leviathanch has quit [Remote host closed the connection]
<rellla> Raku: posting the same three times does not make it to be answered earlier... i suppose too few (no) people are interested in or use livesuit here in this channel. so check our wiki for alternatives.
<KotCzarny> ..or write to the vendor for help?
<rellla> sure :p
dev1990 has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
<mripard> MoeIcenowy: then don't break it :)
<mripard> why do you want to change it ?
IgorPec has quit [Read error: Connection reset by peer]
IgorPec has joined #linux-sunxi
florianH has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 276 seconds]
cnxsoft1 is now known as cnxsoft
premoboss has joined #linux-sunxi
Putti has joined #linux-sunxi
Mark____ has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
<Mark____> Hello, I sent a mail on the group but it seems that it is a moderated list. Could an admin accept my question? Thanks a lot!
<rellla> Mark____: imho it's not moderated.
apritzel has joined #linux-sunxi
Putti has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
Putti has joined #linux-sunxi
Jacmet has joined #linux-sunxi
apritzel has quit [Read error: Connection reset by peer]
<jemk> tkaiser: That was my fault now, missed some early return...
<jemk> tkaiser: I tried to answer in forum, but I can't find how to attach a fixed version (12Kb), is this somehow blocked for new users?
as0d70apf has joined #linux-sunxi
apritzel has joined #linux-sunxi
tkaiser has quit [Ping timeout: 265 seconds]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
tkaiser has joined #linux-sunxi
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 265 seconds]
iamfrankenstein1 is now known as iamfrankenstein
premoboss has quit [Ping timeout: 276 seconds]
iamfrankenstein has quit [Ping timeout: 240 seconds]
iamfrankenstein has joined #linux-sunxi
Putti has quit [Ping timeout: 244 seconds]
iamfrankenstein has quit [Ping timeout: 240 seconds]
mzki has joined #linux-sunxi
enrico_ has joined #linux-sunxi
IgorPec has joined #linux-sunxi
<tkaiser> jemk: Thanks for providing a whole new image. And I've not that much knowledge about forum interna (IgorPec might be able to answer) but we have a lot of spammers over there and I believe Igor restricted new posts/posters just recently (necessary IMO)
<IgorPec> yes, it's disabled because of spam
mnemoc has quit [Remote host closed the connection]
<IgorPec> next post it should work fine
<tkaiser> MoeIcenowy: Nice! Any chance that you merge your pine64-usb-v3 in a branch with MMC soon? :)
keh has joined #linux-sunxi
apritzel1 has joined #linux-sunxi
Axl_ has joined #linux-sunxi
<tkaiser> jemk: Output from the 'broken' Beelink X2 is available: http://pastebin.com/HZ1QgkzZ :)
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
Axl_ has quit [Ping timeout: 255 seconds]
IgorPec has quit [Ping timeout: 248 seconds]
popolon has joined #linux-sunxi
Mark____ has quit [Quit: Page closed]
kaspter has quit [Ping timeout: 265 seconds]
paulk-collins has joined #linux-sunxi
premoboss has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
alexxy has quit [Quit: No Ping reply in 180 seconds.]
alexxy has joined #linux-sunxi
Da_Coynul has joined #linux-sunxi
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 240 seconds]
iamfrankenstein1 is now known as iamfrankenstein
iamfrankenstein has quit [Read error: Connection reset by peer]
<as0d70apf> hi
iamfrankenstein has joined #linux-sunxi
<MoeIcenowy> tkaiser: my a64/test/pine64-usb-v3 branch
iamfrankenstein has quit [Read error: Connection reset by peer]
arete74__ has joined #linux-sunxi
arete74_ has quit [Read error: Connection reset by peer]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 265 seconds]
Putti has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
doppo has quit [Quit: leaving]
doppo has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Uninstall has quit [Ping timeout: 250 seconds]
Uninstall has joined #linux-sunxi
Uninstall has joined #linux-sunxi
Uninstall has quit [Changing host]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Gerwin_J has joined #linux-sunxi
premoboss has quit [Ping timeout: 255 seconds]
apritzel1 has quit [Ping timeout: 244 seconds]
paulk-collins has quit [Remote host closed the connection]
tkaiser has joined #linux-sunxi
<tkaiser> MoeIcenowy: Thanks, will try it out when/if new Pine64+ arrive here (all gone now)
<jelle> hmm still wondering which a64 board I should buy :-)
<as0d70apf> im eagerly awaiting my orange pi plus 2 and start hacking on mainline kernel :)
<jelle> I think it should mostly work already
Axl_ has joined #linux-sunxi
<as0d70apf> mh, maybe i should order something else as well then
<jelle> not sure about the usb->sata chip
<as0d70apf> gonna need some work i guess, i'm going to run headless anyway so serial is fine but i need emmc and ethernet at least :)
Axl_ has quit [Ping timeout: 265 seconds]
Axl_ has joined #linux-sunxi
premoboss has joined #linux-sunxi
<as0d70apf> oh nice btw, didnt even know that pine64 existed, also a nice board
iamfrankenstein has joined #linux-sunxi
fire219 has joined #linux-sunxi
fire219 has quit [Remote host closed the connection]
iamfrankenstein has quit [Ping timeout: 244 seconds]
iamfrankenstein has joined #linux-sunxi
Axl__ has joined #linux-sunxi
Axl_ has quit [Ping timeout: 250 seconds]
iamfrankenstein has quit [Ping timeout: 250 seconds]
iamfrankenstein has joined #linux-sunxi
<tkaiser> jelle: OPi Plus 2 is not a good buy, less IO bandwidth compared to Plus 2E (some USB ports behind USB hub) and the USB to SATA bridge is the slowest in the world.
<jelle> tkaiser: I didn't buy it, that was as0d70apf
<tkaiser> jelle: Just realized it :\
<jelle> tkaiser: np :)
apritzel1 has joined #linux-sunxi
<tkaiser> as0d70apf: At least both eMMC and GbE are pretty fast on the Plus 2 as well
<as0d70apf> really looking forward to it, it will replace a aging sheevaplug
<as0d70apf> (before the internal flash really dies)
<jonkerj> don't expect too much from the usb-sata bridge
bfree has joined #linux-sunxi
<tkaiser> GL830 is horrible crap, 15/30 MB write/read (compared to ~40MB/s in both directions with UASP capable bridges). And 'of course' not UASP capable. And wastes one USB host port. Avoid if possible.
Axl_ has joined #linux-sunxi
<jmcneill> GL830 also mis-reports drive size
<jonkerj> luckily, I don't need sata on my allwinner boards, so I just ignore it
Axl__ has quit [Ping timeout: 244 seconds]
<tkaiser> as0d70apf: In Armbian forum this week two persons reported 'gone' eMMC on their Orange Pi boards. Still no idea what's going on since both gave up pretty early ('hey, don't waste time with this, use an SD card an continue')
<as0d70apf> mh, i'm not going to mess with sd cards if i have onboard stroage
<tkaiser> Hmm... eMMC is soldered SD card with better performance, isn't it?
apritzel1 has quit [Ping timeout: 244 seconds]
<MoeIcenowy> they're more complex than SDs
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 265 seconds]
iamfrankenstein1 is now known as iamfrankenstein
<tkaiser> MoeIcenomy: Sure, but basically it's NAND with an own FTL (controller) you can treat like a SD card. And it can fail like an SD card.
DullTube has joined #linux-sunxi
<tkaiser> But of course I would use the eMMC as long as possible. Performance of the 16GB eMMC used by Xunlong on Plus 2 and 2E is pretty good
<as0d70apf> but since the orange pi comes from china i'll have to wait a little bit :)
<tkaiser> When did you order? My last order shipped within 8 days to Germany.
iamfrankenstein1 has joined #linux-sunxi
<as0d70apf> oh nice, this weekend, also ordered a rc2014 that i hope to get this week but that's not really relevant to this channel
<as0d70apf> 8 days, my fastest aliexpress order to the netherlands was around that, i guess it is possible
iamfrankenstein has quit [Ping timeout: 272 seconds]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein1 has quit [Ping timeout: 250 seconds]
<tkaiser> The other time it was ~2 weeks, they really ship fast.
<as0d70apf> cool, really looking forward to it
<tkaiser> Did you order a heatsink as well? With mainline kernel there currently is no throttling out of the box
iamfrankenstein1 has joined #linux-sunxi
<as0d70apf> i couldnt find matching ones but i have a few laying around here
<KotCzarny> werent there ths patches already?
<as0d70apf> yeah i saw them
<jonkerj> megi has patches which work on his boards
<tkaiser> KotCzarny: Sure and those for SY8106 work pretty well (those for the smaller H3 boards not). But you need to add patches and DT nodes to get it working
iamfrankenstein has quit [Ping timeout: 244 seconds]
iamfrankenstein1 is now known as iamfrankenstein
<KotCzarny> he is going to hack the mainline, so he should be able to do it himself
<tkaiser> Sure, I could do it also myself. But too lazy, currently I use montjoie's branch without ths and enjoy fastest GbE ever on H3 :)
<KotCzarny> hehe
<KotCzarny> what are the temps?
<tkaiser> And on the largest Xunlong boards s small heatsink should be enough. Not true for NanoPis or BPi M2+
* jonkerj uses https://github.com/megous/linux/commits/orange-pi-4.8, but with some additional patches to make it work on Opi+
<jonkerj> should not be too hard to get it working on opi+2
iamfrankenstein1 has joined #linux-sunxi
<tkaiser> KotCzarny: With cpuburn-a7 and throttling at 1008 MHz: https://github.com/igorpecovnik/lib/issues/298#issuecomment-223659625
<tkaiser> So even with heavy 'normal' workloads and heatsink no problem without throttling. I run OPi Plus 2E with 1296 MHz all the time
<tkaiser> jonkerj: Plus and Plus 2 are the same except of DRAM and eMMC size (and totally different SBC of course ;) )
iamfrankenstein has quit [Ping timeout: 265 seconds]
iamfrankenstein1 is now known as iamfrankenstein
DullTube has quit [Quit: Leaving]
<jonkerj> when megi's THS/sy8106a patches hit mainline I'll add plus
<jonkerj> since I don't own a plus2, I'll leave that to someone who can actually verify that it's working
<jonkerj> strange thing is that -PC and -Plus are very similar THS/voltage/cpu wise, but megi's operating points for -PC are just wrong for my -Plus
<tkaiser> jonkerj: fex/DT are fully interchangeable. Otherwise a lot of Armbian users would be crying. ;)
<jonkerj> if I run my Plus with his operating points, I get lots of early random crashes due to undervolting
iamfrankenstein1 has joined #linux-sunxi
<jonkerj> the FEX for Plus has totally different operating points (ie: a lot less points) than PC, which puzzles me
<jonkerj> I mean, both have H3 and sy8106a
<tkaiser> jonkerj: Which fex are you referring too?
<jonkerj> let me find themn
iamfrankenstein has quit [Ping timeout: 265 seconds]
iamfrankenstein1 is now known as iamfrankenstein
nikre has joined #linux-sunxi
<jonkerj> if you compare the THS section of _pc and _pc_plus..
<jonkerj> but wait, _pc_plus != _plus, and there is no FEX for _plus there
<tkaiser> jonkerj: Exactly. And manufacturer fex files are BS anyway (in this regard)
<tkaiser> (how/why the values have been adjusted)
<jonkerj> but still, ISTR that megi's patch has slightly undervolted operating points than the FEX file for _pc specifies
<tkaiser> At Armbian we use the same settings for all SY8106A boards but chose for whatever reasons lower voltages than ssvb's
<jonkerj> if I 'correct' them to the FEX values, my _plus runs fine
<tkaiser> And I think megi took them from Armbian.
<jonkerj> well, a bit too low for _plus
<tkaiser> jonkerj: So you now use those from ssvb's adoptions for OPi PC? Or different ones?
<jonkerj> I use megi's for PC, ssvb for Plus
<KotCzarny> jonkerj, you can define fewer/more operating points, its up to you
buZz has joined #linux-sunxi
<jonkerj> KotCzarny: I know
buZz is now known as Guest64598
<KotCzarny> thats why it doesnt matter that they are differ, its more important to have known-good-sets for particular boards
<tkaiser> jonkerj: Just to be sure: You now use these operting points in your DT for the Plus: https://github.com/linux-sunxi/sunxi-boards/blob/1c1a29ea472b9f64d36a6136e7dd43c21f60ee45/sys_config/h3/xunlong_orange_pi_pc.fex#L745-L760
<KotCzarny> because thermal specifics differ (bigger/small board, more/less copper, heatsinks or not, etc)
<wens> mripard: i assumes it's because the a64, and also h3, have a dedicated usb host for otg, so we need to renumber the usb_phy indices if they aren't correct?
<tkaiser> KotCzarny: Nope, it's about dvfs at the moment
<wens> MoeIcenowy: ^
keh has quit [Ping timeout: 264 seconds]
<wens> miasma: buying hardware is probably easier
<KotCzarny> tkaiser: i think about the whole setup
<jonkerj> KotCzarny: yeah, but I would assume that any of the operating points would not be undervolted
<MoeIcenowy> wens: In my driver submitted to LKML, I used a special flag
<jonkerj> board specific thermals should not be of influence there
<KotCzarny> hrm, 80C at 1ghz isnt THAT bad, those were with heatsinks, right?
<tkaiser> jonkerj: Thanks. We had another report regarding undervolting in the meantime. Increasing voltages by 40mV helped there. Will investigate this further
<MoeIcenowy> which makes phy0 a not-special phy if a property is set in dt
<MoeIcenowy> cc mripard and apritzel
<jonkerj> tkaiser: could be that I bumped the voltage more than necesarry
<KotCzarny> ahm, no heatsink, even better
<jonkerj> happy to test different settings, ping me if you want to try something out
<mripard> wens: yes, but the older SoCs also had a dedicated EHCI and OHCI
<apritzel> MoeIcenowy: I was wondering if that's necessary
<mripard> didn't they?
<MoeIcenowy> mripard: older SoCs seems to have no EHCI/OHCI pair for PHY0
<apritzel> MoeIcenowy: can't you just describe this special configuration by the lack of the ID pin?
<MoeIcenowy> apritzel: it's not necessary, but very useful
<apritzel> MoeIcenowy: that's not an argument for DT changes
<MoeIcenowy> apritzel: I may want still to use the usb port in dual role mode if ID is lack
<MoeIcenowy> Hans de Goede wrote a series of patches of "fake" ID pin
<MoeIcenowy> which is a sysfs attrib
<apritzel> MoeIcenowy: sure, so the idea is: if you have an ID pin (uUSB receptable), you specify it via pinctrl-0 in the usbphy DT node
<apritzel> MoeIcenowy: and if you don't, you don't ;-)
<apritzel> that gives you your bit that you wanted to have, right?
<mripard> apritzel: not really, you set it through a gpio property
<mripard> that's way easier to parse
<KotCzarny> hmm, someone changed [[Cedar Engine]] to [[CedarX]] on R8 page, isnt it wrong to point to allwinner proprietary stack?
<jonkerj> tkaiser: I've updated the gist (https://gist.github.com/jonkerj/94012b6e216cc8ce65d0ad988620c397) with points for both PC and Plus
<apritzel> mripard: really? I am looking at sun7i-a20-bananapi.dts
<jonkerj> the latter is verbatim megi's patch, the former my adaptation for _plus, running fine for some weeks now
<jonkerj> think I should make an more or less automated test setup to determine minimum voltages for each frequency
<mripard> apritzel: if you have a gpio property, you should have a pinctrl property
<mripard> but since pinctrl-0 is just an array of pins
<mripard> you have no way to differentiate which is which
<mripard> while you can definitely do that through the gpio property
<apritzel> mripard: you mean this usb0_id_det-gpio?
paulk-veyron-min has joined #linux-sunxi
<mripard> yes
<apritzel> mripard: Oh, I think I got it now
iamfrankenstein has quit [Read error: Connection reset by peer]
<apritzel> but anyway: isn't the lack of this property signalling the lack of an ID pin and thus is the bit of information that MoeIcenowy is after?
iamfrankenstein has joined #linux-sunxi
<mripard> yes and no
<mripard> the lack of an ID pin means that you'll default to host
<mripard> since you have no way to tell
<mripard> but you could still switch to the peripheral mode using the sysfs file
<apritzel> which sounds completely reasonable given the board has an A host receptable
<apritzel> yes, but that has nothing to do with DT then, right?
Mr__Anderson has joined #linux-sunxi
<apritzel> so by not describing an ID pin we tell the usbphy driver to implement the behavior that you just described
Mr__Anderson has quit [Client Quit]
<apritzel> and thus don't need a separate property
<mripard> yes, that has nothing to do with DT
<mripard> and I agree that the lack of an ID pin should be enough
Guest64598 is now known as buZz
<tkaiser> jonkerj: Thanks
<jonkerj> I just extracted the 'official' FEX for plus, it contains the same operating points as _pc_plus
<jonkerj> well, s/the official/some/
<tkaiser> as0d70apf: Found it: heatsink recommendation for H3: http://forum.armbian.com/index.php/topic/1580-nanopi-neo/?p=14430 (ordered, tried it once, used not enough thermal glue)
<jonkerj> it's the one I found on the board when I bought it
<tkaiser> jonkerj: But these dvfs operating points are useless since they're meant for the Android kernel killing CPU cores instead of implementing sane throttling
<as0d70apf> tkaiser: thanks, i think i have a few that should fit, just not the glue for it but maybe thermal paste will hold it if i dont put the case on its side
<jonkerj> I use them with thermal cooling, seems to work
<jonkerj> when I run cpuburn, the max freq of cpufreq is reduced by ths
<jonkerj> and when the CPU is cool again, freq increases
<tkaiser> jonkerj: Yeah, I was confused and referred to ths / cooler_table and not dvfs :\ (too much in parallel right now)
<jonkerj> :-)
paulk-veyron-min has quit [Quit: Leaving]
<wens> mripard: afaik, no they didn't
<wens> mripard: the older SoCs used musb's host mode, which everyone agrees sucks
premoboss has quit [Ping timeout: 264 seconds]
<wens> mripard: i guess allwinner realized that, and stuck an ehci/ohci pair behind a mux with musb
<apritzel> has anyone ever tried the PS/2 interface on the A20?
<wens> presumably the driver author has?
<apritzel> the Wiki is quite pessimistic on this one, but if I got this correctly, the pins _are_ exposed as UART7 on the BPi-R1, for instance
Putti has quit [Ping timeout: 240 seconds]
<KotCzarny> https://www.aliexpress.com/item/Free-Shipping-8pcs-lot-15mm-15mm-8mm-Aluminium-shim-pad-Thermal-VGA-RAM-Heat-Sinks/32606966050.html?spm=2114.01010108.3.158.OP3Mmm&ws_ab_test=searchweb201556_10,searchweb201602_1_10065_10068_112_10069_110_111_418_10017_109_108_10060_10061_10062_10057_10056_10055_10054_10059_10058_10073_10070_10052_10053_10050_10051,searchweb201603_4&btsid=2cf5dd00-1f16-4153-a844-dab7072cc5cb
<KotCzarny> hmm, long link, but nice price
mzki has quit [Quit: leaving]
buZz has quit [Read error: Connection reset by peer]
buZz has joined #linux-sunxi
buZz is now known as Guest5097
nove has joined #linux-sunxi
Guest5097 is now known as buZz
Axl_ has quit [Remote host closed the connection]
cnxsoft has quit [Quit: cnxsoft]
Guest4668 has quit [Remote host closed the connection]
Guest4668 has joined #linux-sunxi
vishnup has joined #linux-sunxi
Putti has joined #linux-sunxi
smookie has joined #linux-sunxi
smooker has quit [Read error: Connection reset by peer]
apritzel1 has joined #linux-sunxi
jernej has joined #linux-sunxi
lemonzest has joined #linux-sunxi
<tkaiser> jemk: Thank you :)
<tkaiser> jemk: Is it safe to apply https://github.com/jemk/u-boot/commit/f0b3ecefb7241c565b6400d2da11fc5c49b570ff.patch to our u-boot sources and create new image for other H3 devices as well?
<jemk> tkaiser: no problem, and yes, it should be safe, i'll send this to u-boot list this evening
<tkaiser> jemk: great, thx
lamer14744723156 has joined #linux-sunxi
tkaiser has quit [Ping timeout: 265 seconds]
<jemk> tkaiser: it won't change anything on most devices, it only does something if some bit in the sysctrl registers isn't set, which indicates revision A according to https://github.com/igorpecovnik/linux/blob/sun8i/arch/arm/mach-sunxi/sunxi-chip.c#L341
lamer14744723156 has quit [Quit: jIRCii - http://www.oldschoolirc.com]
<apritzel> jemk: btw: seems that your A64 DRAM code is innocent, as I see the Pine64 failure with boot0 as well
IgorPec has joined #linux-sunxi
arete74__ has quit [Read error: Connection reset by peer]
arete74_ has joined #linux-sunxi
<jemk> apritzel: thats not good nonetheless ;)
<apritzel> jemk: yeah, and now I have to debug this :-(
MiLeon has joined #linux-sunxi
<apritzel> works on the BananaPi-M64, interestingly
tkaiser has joined #linux-sunxi
vishnup has quit [Quit: Leaving]
lemonzest has quit [Ping timeout: 250 seconds]
lemonzest has joined #linux-sunxi
apritzel1 has quit [Ping timeout: 244 seconds]
<tkaiser> apritzel: Just switched from ondemand to schedutil with your A64 kernel: https://github.com/igorpecovnik/lib/commit/b62ed03b96c3fe56282feebf5de7a73ada2014e2
<tkaiser> apritzel: ... by accident: When is cpufreq scaling ready? ;)
lemonzest has quit [Ping timeout: 250 seconds]
<apritzel> tkaiser: as soon as all the other, more high-priority issues are solved ;-)
kaspter has joined #linux-sunxi
<apritzel> SCPI offers this, so it shouldn't be too hard to implement in ATF
<tkaiser> apritzel: Ok, waiting ;)
smookie has quit [Read error: Connection reset by peer]
smookie has joined #linux-sunxi
smookie has quit [Remote host closed the connection]
paulk-collins has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
IgorPec has quit [Ping timeout: 244 seconds]
<nove> KotCzarny: proprietary blobs is not the problem, but are *with* "license issues"
cptG has joined #linux-sunxi
<nove> that has to be changed back, as "cedarx" is software and not hardware, as can be seen in all datasheets or in the allwinner website, the word "cedarx" is nowhere
<KotCzarny> nove: that's why i asked the question
cptG_ has quit [Ping timeout: 264 seconds]
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 260 seconds]
iamfrankenstein1 is now known as iamfrankenstein
enrico_ has quit [Quit: Bye]
vagrantc has joined #linux-sunxi
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
MiLeon has quit [Read error: Connection reset by peer]
MiLeon has joined #linux-sunxi
IgorPec has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
iamfrankenstein1 has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
iamfrankenstein has quit [Ping timeout: 265 seconds]
matthias_bgg has quit [Quit: Leaving]
leviathanch has joined #linux-sunxi
iamfrankenstein1 has quit [Ping timeout: 244 seconds]
iamfrankenstein has joined #linux-sunxi
my123 has quit [Read error: Connection reset by peer]
my123 has joined #linux-sunxi
my123 has joined #linux-sunxi
my123 has quit [Changing host]
nemunaire has quit [Quit: quit]
MXfive has joined #linux-sunxi
nemunaire has joined #linux-sunxi
nemunaire has quit [Remote host closed the connection]
MXfive has quit [Read error: Connection reset by peer]
MiLeon has quit [Quit: Leaving]
<miasma> jelle: http://vdwaa.nl/nanopi/allwinner/friendlyarm/nanopi-neo-review/ -- Running the nanopi NEO a year will costs 0.0005 * 24 * 365 = 4.38. <- will consume 4.38 kWh, not cost
<KotCzarny> depends on usage
<miasma> um, depends on usage if the unit is kWh or no unit at all? :D
<KotCzarny> also on usb addons
nemunaire has joined #linux-sunxi
<KotCzarny> no, with higher load it consumes more, with light load less
<KotCzarny> obviously
<KotCzarny> also, you can turn down the clocks, turn off unused cores etc
<miasma> i didn't discuss that. only the lack of the proper unit in the text
<KotCzarny> ahm, k
<KotCzarny> my banana audio box uses ~0.3A @5V
<KotCzarny> load upps it to ~0.4-0.5A
<miasma> but it's surprising that nanopi neo (h3 based) needs 0.5W according to that. this forum post claims h3 based orange pi requires 3.3W when idle http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=39
<miasma> is it possible that the bigger board uses over 6 times as much energy
<KotCzarny> orangepi.org / banana.org / pine64.org arent good source of information
<KotCzarny> if at all use armbian forums
premoboss has joined #linux-sunxi
<KotCzarny> nope. soc is the same. it might additional usb devices as wifi/hub etc though
<KotCzarny> also! .fex settings matter greatly
<KotCzarny> orangepi/banana/pine64 folks are usually clueless, so dont take their words for granted.
<KotCzarny> also, if one uses external powermeter, keep in mind that not all power bricks are made the same, some are efficient, some are not
<KotCzarny> whole topic is so prone to measuring error when user compares different setups
<KotCzarny> even different distros might affect result greatly
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 244 seconds]
iamfrankenstein1 is now known as iamfrankenstein
<miasma> KotCzarny: i'm planning to get something like this for measuring :) https://www.tindie.com/products/mux/instrument-grade-usbbattery-power-sensor/
<KotCzarny> tkaiser had one nice idea for measuring setup, he used sunxi board as a power source, which allowed to compare different loads easily and reliably
<miasma> i have few usb dongles that measure current/energy, but they're a bit useless since there's no clock. you don't know how long it has been running
<miasma> sure but e.g. that tindie product is better by few orders of magnitude
<KotCzarny> does it allow easy logging of the data?
<miasma> yes
<miasma> 1.8-5.5V, 0-2.5A (high range)/0-82mA (low range) sensing at up to 2.5µA/LSB resolution, 0.75% +/-4mA basic accuracy, 0.05% +/- 28µA after calibration (1-day at 23C), 125kS/s sampling rate
<KotCzarny> nice
<KotCzarny> the 'setup differences' argument still holds, for funsies try measuring different distros on the same board
<KotCzarny> in idle/under load
JohnDoe_71Rus has joined #linux-sunxi
<miasma> it's probably mostly related to kernel configuration?
<KotCzarny> yup
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 276 seconds]
iamfrankenstein1 is now known as iamfrankenstein
MXfive has joined #linux-sunxi
<miasma> the sunxi wiki mentions only xunlong orange pi pc 1.2. the new boards i got are version 1.3
<miasma> i only noticed that the ddr memory is different. i bit smaller chips, not samsung anymore
<miasma> * a bit
Mr__Anderson has joined #linux-sunxi
<KotCzarny> miasma: thats actually wiki worthy
<KotCzarny> run ssvb's limamemtester if you can
iamfrankenstein1 has joined #linux-sunxi
<KotCzarny> (requires hdmi connected for proper feedback)
premoboss has quit [Ping timeout: 276 seconds]
MXfive has quit [Read error: Connection reset by peer]
iamfrankenstein has quit [Ping timeout: 276 seconds]
iamfrankenstein1 is now known as iamfrankenstein
<jelle> miasma: I wonder what power the orange pi one draws though
<KotCzarny> hmm, more fins or thicker fins or longer fins? which design works better for heatsink?
<miasma> jelle: i have two board here without sd cards. the opi pc 1.2 draws 5.01V 0.103A 0.519W, pc 1.3 version 5.01V 0.098A 0.492W
<miasma> *boards
<jelle> miasma: nice
<miasma> but it's a lot more when the uboot/kernel launches
<jelle> sure
<jelle> time to build a board to monitor my arm board :D
<KotCzarny> miasma: run limamemtester on both and compare?
<miasma> does it work with mainline 4.8 kernel?
<KotCzarny> i guess there is no hdmi on mainline for h3 yet
<KotCzarny> so while it could run, you might not notice errors
<KotCzarny> but its runnable via fel and standalone, so you shouldnt care that much
florianH has quit [Quit: Connection closed for inactivity]
ricardocrudo has joined #linux-sunxi
apritzel has joined #linux-sunxi
MXfive has joined #linux-sunxi
leviathanch has quit [Ping timeout: 244 seconds]
MXfive has quit [Client Quit]
<miasma> jelle: ok i have the board running now with default uboot settings 2016.09 and kernel 4.8-rc7. opi pc uses around 5.01V 0.165A 0.832W when idle. it runs arch linux with systemd
IgorPec has quit [Ping timeout: 265 seconds]
<jelle> miasma: interesting
<jelle> yeah I have a cheap china thing which I don't fully trust
<miasma> totally different results than the ones listen on the orange pi forums, though :P
<miasma> *listed
<jelle> haha
<KotCzarny> seriously? :P
<jelle> miasma: but hmm maybe they did tweak the fex file
<miasma> i don't use the hdmi/gpu thing at all. maybe it affects the result
<KotCzarny> yes, hdmi draw quite a bit of power
<KotCzarny> *draws
<jelle> not sure how you disable hdmi from mainline though
<miasma> i didn't compile any gpu/framebuffer drivers
<miasma> it might still consume some power
<miasma> jelle: i'm still surprised why my numbers are so much lower than those in the post
<miasma> some rpi folks combined the 3.3V and 5V lines -> 3.3V. it helped a bit with the power consumption
<miasma> but it means the usb/eth won't work
<jelle> meh
<jelle> I'm not looking for superlow power
<miasma> but if you only need gpio and i2c, maybe some other boards (small MCUs) are better.
<KotCzarny> how low is considered low?
<miasma> this is a rather popular board http://bbs.espressif.com/viewtopic.php?t=133
camh has quit [Ping timeout: 272 seconds]
<miasma> 3.3V 50mA when receiving stuff via wifi
<miasma> but it's only 160 MHz, few megs of flash
<KotCzarny> 15mA is nice, mobile class
<jelle> miasma: only one ADC though
<miasma> yep
<miasma> my plant watering system uses arduino nano + esp8266. there's plenty of gpios and adcs
<KotCzarny> you might even get away with solar power
<miasma> i tried that with a smallish panel, but it doesn't generate much power here. wrong location on the globe for that
<KotCzarny> solarpanel + akku backup?
<miasma> my alarm clock has a 6W panel, esp8266, li-ion battery and 20x4 LCD screen. the screen backlight is tuned at around 50%. the panel generates enough power now for 10-12 hours of backlight at 50%
<miasma> the esp8266 is sleeping 99% of the time
<miasma> updates the screen, goes to sleep for one minute :)
<miasma> it's ok during the summer time, but during the winter there might only be 1-3 hours of light outside
<KotCzarny> wind power? some heat charger?
<miasma> i'm planning to buy bigger panels when I get a new apartment :)
<KotCzarny> i know! girlfriend power.
<KotCzarny> make her workout and charge battery at the same time ;)
camh has joined #linux-sunxi
MXfive has joined #linux-sunxi
pg12 has quit [Ping timeout: 248 seconds]
MXfive has quit [Read error: Connection reset by peer]
pg12 has joined #linux-sunxi
premoboss has joined #linux-sunxi
<miasma> apparently one of the opi pcs i just bought is dead on arrival. the ethernet leds work, but it won't boot. the other board boots nicely and the green led is lit. oh well, doesn't seem like the build quality is that good overall
<KotCzarny> check if it responds to usb/fel mode?
<miasma> yes
tsuggs has joined #linux-sunxi
<miasma> KotCzarny: yes that works. but it shows 'MMC: SUNXI SD/MMC: 0'. apparently it can't see the sd card ?
<KotCzarny> check different card?
<miasma> i also got 'Card did not respond to voltage select!' now
[Awaxx] has quit [Quit: "paradox, my friend"]
Mr__Anderson has quit [Quit: Leaving.]
Mr__Anderson has joined #linux-sunxi
MXfive has joined #linux-sunxi
<miasma> doesn't matter. i can probably make it boot via usb and then use usb mass storage as root
MXfive has quit [Read error: Connection reset by peer]
<KotCzarny> try different card
<KotCzarny> might work
<miasma> nope, tried with 4 cards. didn't work
<KotCzarny> maybe its as trivial as bad slot solder
<miasma> i had a similar issue with the old opi pc, that's why I ordered 2 more
<KotCzarny> did you buy from xunlong's store on aliexpress or some reseller?
apritzel has quit [Ping timeout: 244 seconds]
<miasma> didn't check. it was the cheapest opi pc board there
<miasma> yes, xunlong
<KotCzarny> write to them, get some refund maybe?
<miasma> let's see if they'll refund
<KotCzarny> you must be extremely unlucky to get 2 broken boards. i got 3 and all of them work
<miasma> i broke one of them myself
<miasma> pushed the card in and the two solder points near the board border got loose
<KotCzarny> o.o
<Raku> Whenever I try to flash my tablet(CT802) with livesuit I get the error 'GetFelPrivateData Failed id = 0' or it segfaults, I can't find anything on google, any ideas?
apritzel has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
camh has quit [Ping timeout: 265 seconds]
Gerwin_J_ has joined #linux-sunxi
Mr__Anderson has quit [Quit: Leaving.]
atsampson has quit [Quit: new irssi time]
atsampson has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 244 seconds]
Gerwin_J_ is now known as Gerwin_J
camh has joined #linux-sunxi
fire219 has joined #linux-sunxi
fire219 has joined #linux-sunxi
fire219 has quit [Changing host]
premoboss has quit [Ping timeout: 240 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
iamfrankenstein has quit [Quit: iamfrankenstein]
iamfrankenstein has joined #linux-sunxi
mosterta has joined #linux-sunxi
slapin has quit [Ping timeout: 276 seconds]
slapin has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
nikre has quit [Remote host closed the connection]
[Awaxx] has joined #linux-sunxi
igraltis1 has quit [Quit: leaving]
iamfrankenstein has joined #linux-sunxi
igraltist has joined #linux-sunxi
Jacmet has quit [Quit: leaving]
ssvb has joined #linux-sunxi
nove has quit [Quit: nove]
paulk-collins has quit [Quit: Leaving]
akaizen has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
mozzwald has quit [Ping timeout: 250 seconds]
mozzwald has joined #linux-sunxi
<apritzel> Raku: as rellla said this morning (https://irclog.whitequark.org/linux-sunxi/2016-09-21#17624499), try something else ;-)
<Raku> A response!
<Raku> Sorry, I didn't see that one in my highlight buffer
<Raku> I don't know if I can can try something else... really only that tool for linux
<Raku> I've kinda given up on the tab at this point though
<apritzel> Livesuit isn't overly popular here, you know ;-)
<apritzel> Raku: are you on Linux?
<Raku> Well it was on the wiki, so :P
<Raku> Ya
<Raku> Arch
<vagrantc> apritzel: i've been trying to shoehorn your a64-v5 and icenowy's usb patches together quite unsuccessfully ... any idea if there are any merged trees floating around out there?
<apritzel> vagrantc: is there something that you miss from Icenowy's branch?
<vagrantc> apritzel: hmmm.. i guess i didn't think of it that way
<vagrantc> i guess the patches are based on some old linux-next branch from july, which made it hard to cherry-pick to apply on a stable kernel version
<apritzel> I think these days Icenowys surpassed me in terms of features ;-) (unless she dropped the Ethernet, I didn't check)
<vagrantc> i saw some recent mainline submissions, but still nothing in linux-next
<apritzel> sorry, I am too busy with U-Boot these days, and since others do quite a good jobs with mainlining ...
<apritzel> yeah, I was hoping for mripard to merge something for 4.9 ...
<vagrantc> i vaguely recall you getting SPL support working properly?
<apritzel> yeah, but now the U-Boot proper hangs on the Pine64
<apritzel> but also with boot0 and 2016.09, which is weird
<apritzel> works on the BananaPi-M64, though
<vagrantc> i'm fairly certain i got it working with 2016.09 and the old non-SPL method
<apritzel> Oh, OK, I was wondering about that already
<vagrantc> 2016.09~rc* wasn't working ... but my last attempt worked ... i think
* vagrantc considers diggout out the board to check
<apritzel> yeah, I got some fixes in just before the release
<apritzel> but apparently I tested this only on the BPi
mosterta has quit [Ping timeout: 240 seconds]
<apritzel> maybe I should switch back from gcc 6.2.0 to 5.3.0
<vagrantc> hm, apparently was 2016.09-rc2
<apritzel> Aargh! I shouldn't combine u-boot._img_ with boot0
<apritzel> was so spoilt with my SPL experiments
* apritzel really needs a terminal server, I should sacrifice the BPi-M1 for that ...
<apritzel> alright, boot0 works with 2016.09 on both BPi-M64 and Pine64
jernej has quit [Ping timeout: 276 seconds]
alexxy has quit [Ping timeout: 272 seconds]
alexxy has joined #linux-sunxi
<apritzel> and now suddenly the minimal fully-FOSS SPL(32) works as well, both via FEL and via SD card, on both Pine64 and BPi-M64
arossdotme-planb has quit [Ping timeout: 265 seconds]
p_rossak has quit [Ping timeout: 248 seconds]
<apritzel> with TFTP-ing the kernel in a blink of an eye, nice
p_rossak has joined #linux-sunxi
* vagrantc cheers!
Da_Coynul has joined #linux-sunxi
<apritzel> only caveat of this minimal version is that via SD card ATF cannot be loaded (only one image, either U-Boot or ATF)
<apritzel> and my FIT SPL patches need some serious cleanup
jernej has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]