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
bugzc has joined #linux-sunxi
jernej has quit [Ping timeout: 260 seconds]
jstein has quit [Remote host closed the connection]
mzki has quit [Ping timeout: 250 seconds]
Pepe has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<wens> ssvb: not yet
<ssvb> wens: in fact it should work just fine, PRCM seems to be identical but just the default reset value is different
terra854 has joined #linux-sunxi
<wens> MoeIcenowy: jean francois made a new driver anyway :|
<ssvb> 0x00028007 for PLL_CTRL_REG1 on A31 and 0x00070007 on everything else
<apritzel> ssvb: is the PRCM actually documented for anything but the A83T?
<ssvb> the U-Boot clock code is currently setting this register to 0x00070007 on A31 too
<apritzel> ssvb: do you want to fix this? I'd drop my version of the patch then ...
<ssvb> apparently it was just a bad default PRCM setup on A31, which needed software changes
<ssvb> apritzel: A31 and A23 manuals have PRCM documentation
<apritzel> ah, OK
<apritzel> I think I checked some, but apparently not all
<ssvb> I tried to read PLL_CTRL_REG1 (via "sunxi-fel readl 0x1f01444") and it reports 0x00070007 on H3 and A64 too
<wens> it's just the docs are not complete
<wens> :/
popolon has quit [Quit: WeeChat 1.4]
matthias_bgg has quit [Ping timeout: 265 seconds]
<FergusL> Shhhhh I still cannot get the microphone input of Pine64 to work :/
florianH has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #linux-sunxi
dr1337 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apritzel has quit [Ping timeout: 260 seconds]
Da_Coynul has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
<terra854> FergusL: I don't think that is a microphone jack.
cnxsoft has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
dr1337 has joined #linux-sunxi
ninolein_ has quit [Ping timeout: 260 seconds]
ninolein has joined #linux-sunxi
camh has quit [Ping timeout: 268 seconds]
dr1337 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
camh has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
uwe_ has quit [Ping timeout: 244 seconds]
uwe_ has joined #linux-sunxi
valkyrie has joined #linux-sunxi
valkyrie has quit [K-Lined]
valkyr1e has quit [K-Lined]
silviop has quit [Ping timeout: 256 seconds]
libv_ has joined #linux-sunxi
dr1337 has joined #linux-sunxi
dr1337 has quit [Client Quit]
libv has quit [Ping timeout: 248 seconds]
matthias_bgg_ has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 260 seconds]
_jl_ has joined #linux-sunxi
IgorPec has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
chomwitt1 has quit [Ping timeout: 248 seconds]
orly_owl has joined #linux-sunxi
Andy-D has quit [Ping timeout: 244 seconds]
ganbold has quit [Quit: This computer has gone to sleep]
pg12 has quit [Ping timeout: 258 seconds]
pg12 has joined #linux-sunxi
_jl_ has quit [Quit: Page closed]
Putti has quit [Ping timeout: 260 seconds]
IgorPec has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
jernej has joined #linux-sunxi
terra854 has quit [Quit: Connection closed for inactivity]
Gerwin_J has quit [Quit: Gerwin_J]
muvlon has joined #linux-sunxi
TheSeven has quit [Ping timeout: 245 seconds]
TheSeven has joined #linux-sunxi
tsuggs has joined #linux-sunxi
reinforce has joined #linux-sunxi
Putti has joined #linux-sunxi
Putti has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
Putti has joined #linux-sunxi
jernej has quit [Ping timeout: 258 seconds]
Putti has quit [Ping timeout: 260 seconds]
iamfrankenstein has joined #linux-sunxi
muvlon has quit [Ping timeout: 260 seconds]
f0xx has joined #linux-sunxi
kaspter has joined #linux-sunxi
muvlon has joined #linux-sunxi
lkcl has quit [Ping timeout: 260 seconds]
terra854 has joined #linux-sunxi
lkcl has joined #linux-sunxi
ErwinH has joined #linux-sunxi
Andy-D has joined #linux-sunxi
lkcl has quit [Ping timeout: 268 seconds]
ganbold has joined #linux-sunxi
DullTube has joined #linux-sunxi
muvlon has quit [Remote host closed the connection]
lkcl has joined #linux-sunxi
<ErwinH> Had some help from megous, and his branch seems stable now.
Putti has joined #linux-sunxi
Andy-D has quit [Ping timeout: 260 seconds]
repka has joined #linux-sunxi
ganbold has quit [Quit: This computer has gone to sleep]
yann has quit [Ping timeout: 248 seconds]
paulk-collins has joined #linux-sunxi
Putti has quit [Ping timeout: 252 seconds]
scream has joined #linux-sunxi
muvlon has joined #linux-sunxi
<ErwinH> Running cpuburn-a7: http://pastebin.com/8duEbLGz
<dgp> ErwinH: I think running a kernel build on all the cores is better test of stability
<dgp> It'll make the cores get hot, thrash the memory and disk
<scelestic> i thought so as well but if you really want to test thermal you need something specific for the cpu
<scelestic> (on my test case with an i5 it made 20C difference between building and prime95)
bugzc has quit [Ping timeout: 260 seconds]
<ErwinH> cpuburn-a7 quickly reaches high temperatures and shows throttling really well. Therefor a nice tool in this case.
<ErwinH> Running sys bench: http://pastebin.com/z9LSbxr1 first trip point is 65C.
repka has quit [Quit: Leaving]
<scelestic> i cannot get thermal working on my pi plus 2
florianH has joined #linux-sunxi
matthias_bgg_ has quit [Quit: Leaving]
matthias_bgg has joined #linux-sunxi
<scelestic> since it has the same SoC as an orange pi pc shouldnt those dts settings apply for the plus 2 as well?
yann has joined #linux-sunxi
<ErwinH> What kernel do you use?
<jonkerj> ErwinH: are you using megi's 4.9 branch?
<ErwinH> Jup
<jonkerj> and are you able to test if NFS mounts work?
<jonkerj> I am using megi's 4.8 branch, since 4.9 cause oopses when mounting NFS :-(
<scelestic> ErwinH: using megi's 4.9 branch as wel
<ErwinH> Think I left NFS out of my images, but I'll recompile in a bit, currently working on a OPi Zero image.
<jonkerj> I am not really sure if I am undervolting (which makes things wonky) or hitting a bug
<jonkerj> but the former is of course easy to check
camh has quit [Ping timeout: 246 seconds]
<ErwinH> jonkerj: after installing nfs-common nfs is running perfectly :)
<ErwinH> scelestic: what part of the thermal part isn't working? can you read the temp of the cpu?
camh has joined #linux-sunxi
<scelestic> ErwinH: no, it errors on boot about missing something
<scelestic> ErwinH: i just compared the dts files (orange pi pc and plus) and it seems it's missing some parts
<scelestic> when comparing the fex files it seems everything is at the same values the only thing i was not able to find yet is what i2c address the regulator should be
muvlon has quit [Ping timeout: 260 seconds]
<scelestic> my assumption would be at the same adderss, 0x65
<scelestic> so i prepared a new dts but i dont have the machine near me so i rather not try it yet :)
ganbold has joined #linux-sunxi
paulk-collins has quit [Quit: Leaving]
<ErwinH> I'd say, step by step, start with the ths patches and see if you can get a thermal readout. You don't need the i2c address to get the temperature of the cpu.
<jonkerj> ErwinH: ok, let me check again, since megi had updated his repo today
<jonkerj> which board are you using btw?
<ErwinH> That update was just for the cpufreq-dt.
<ErwinH> One & Zero
<ErwinH> Just these 2 patches are enough to get a thermal readout on the H3 boards: https://github.com/megous/linux/commit/3df4f5100da8d93b54e2f372f8108ea11f88ba87 & https://github.com/megous/linux/commit/6875fd897e344fd54a7bcdfa34ccbff04fcb8d03 (even on montjoie's branch)
<scelestic> ErwinH: i have those applied but while booting i see "thermal thermal_zone0: failed to read out thermal zone (-16)"
* ErwinH too :)
<jonkerj> hmm, NFS works for me too
<ErwinH> But what does : cat /sys/class/thermal/thermal_zone0/temp say?
<jonkerj> I'd swear that it oopsed a week ago
<ErwinH> Or, what does armbianmonitor -m say?
<scelestic> ErwinH: oh wow, i looked around for temperatures but obviously i missed them , that one reports 13680
<ErwinH> 13 degrees?
<scelestic> that's what it said :)
muvlon has joined #linux-sunxi
<scelestic> environment temperature should be around 17 so that value is too low
<ErwinH> The -16 error code is Device or resource busy.
<ErwinH> And if you stress it a little?
<scelestic> oh right, 4 cores burning and it's over 21 now
<scelestic> 23737
<scelestic> and quickly back to 16 after killing burncpu
fkluknav has joined #linux-sunxi
<ErwinH> Next thing is the thumb check :)
<scelestic> i forgot to bring my pi to work today :(
<scelestic> but i think i have to testing to do, the dts of orange pi plus seems rather empty and if most things are in the same place (as the fex files seem to confirm) all those things should be rather easy to add to the plus as well?
muvlon has quit [Ping timeout: 246 seconds]
<ErwinH> That's correct. Megi's branch only "supports" the pc and one, the rest is up to the users.
<jonkerj> I've got three patches to make megi's branch working on orange pi plus
<jonkerj> I will mail him right away, maybe he wants to include them
muvlon has joined #linux-sunxi
<scelestic> cool
<scelestic> jonkerj: mind putting them on pastebin as well? i have some spare time at work :)
<jonkerj> no problem
paulk-minnie has joined #linux-sunxi
mzki has joined #linux-sunxi
<scelestic> thanks!
<jonkerj> I have not checked if OTG actually works on this board, but since the DT work is awefully similar, my guess is it should
<scelestic> i dont have much hooked up to it anyway right now only power and ethernet but i could test those things this weekend
Putti has joined #linux-sunxi
popolon has joined #linux-sunxi
Worf has joined #linux-sunxi
orly_owl has quit [Quit: leaving]
<scelestic> kernel up and running but i still read around 10C from /sys/class/thermal/thermal_zone0/temp
muvlon has quit [Ping timeout: 260 seconds]
<ErwinH> And do cpufreq readouts work?
<ErwinH> cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
<scelestic> oh yeah that seems to be working as well
<scelestic> 120000 12mhz?
<ErwinH> 120mhz
<scelestic> oh 120
<scelestic> cool
<ErwinH> Or just use armbianmonitor -m
<scelestic> yeah i was looking for that but i'm running stock debian for the moment
<KotCzarny> armbian is almost stock debian
<ErwinH> You could recompile using very low trip points :) That way you can test if throttling works as well :)
<scelestic> good point but i'm kinda curious why the readout is this low
<KotCzarny> would be nice to be able to edit trip points from userland
<ErwinH> Nah, kind of useless...
<KotCzarny> one kernel for all boards
<KotCzarny> :)
<jonkerj> trip points are described in DT, so you can have one kernel for all boards
* jonkerj uses 1 kernel for several H3-based boards, with different DT's
tkaiser has joined #linux-sunxi
muvlon has joined #linux-sunxi
<tkaiser> KotCzarny: You can simply use dtc tool to adjust individual trip points.
<KotCzarny> i was thinking about having it autodetected on boot (in linux, not uboot)
<KotCzarny> frigging arm complicating things more than necessary
<tkaiser> For anyone playing around with optimizing these settings (they need some attention/love at least on the boards that switch only between 1.1V/1.3V): I added support to display VDD_CPUX voltage to RPi-Monitor some months ago.
<tkaiser> But I fear that will only work without hassles within Armbian. There it's simply an 'armbianmonitor -r', wait up to 5 minutes and then visit the URL that will be displayed (rpimonitord will then run on port 8888)
akaWolf has quit [Ping timeout: 268 seconds]
<tkaiser> Provides nice graphs like these https://github.com/igorpecovnik/lib/issues/298#issuecomment-219501299 -- I find it pretty hard to finetune settings without stuff like that.
yann has quit [Read error: Connection reset by peer]
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
tkaiser has joined #linux-sunxi
<tkaiser> Ah, with non-Armbian Debian derivates it's also easy. Eg. with Xenial, add 'deb http://apt.armbian.com xenial main' to /etc/apt/sources.list.d/armbian.list, do an 'apt-get update', then grab https://raw.githubusercontent.com/igorpecovnik/lib/master/scripts/armbianmonitor/armbianmonitor and call it with -r. Immediately remove Armbian repo from sources list afterwards. The armbianmonitor script then does all the work (also
<tkaiser> installing a helper script that parses DT settings since on H3 boards voltage can not be read out)
tkaiser has quit [Client Quit]
Worf has quit [Quit: Konversation terminated!]
yann-kaelig has joined #linux-sunxi
Da_Coynul has joined #linux-sunxi
<jonkerj> I'm not very fond of the way 'armbianmonitor' messes around with my system
<jonkerj> it contains a base64 blob which is extracted on my system
<jonkerj> 'jay'
<dgp> jay is European for yay?
<jonkerj> something like that (:
<KotCzarny> naaah :P
Pepe has joined #linux-sunxi
paulk-minnie has quit [Quit: Leaving]
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<scelestic> jonkerj: that's the reason i didnt want to install it myself
<scelestic> probably a dutch thing?
<scelestic> (the jay part)
tkaiser has joined #linux-sunxi
Da_Coynul has joined #linux-sunxi
<tkaiser> jonkerj: Yes, the base64 stuff is the more interesting part (and adding Armbian repo is 'necessary' since there we have a armhf rpimonitor .deb lying around since original source isn't available any more)
<tkaiser> jonkerj: You can pipe the base64 stuff into a .tgz and have a look what's inside. It is on my TODO to improve this though (since ages ;) )
<jonkerj> so armbian ships rpimonitor and a tool that "fixes" rpimonitor?
<jonkerj> why not ship two versions of rpimonitor or only ship the fixed one?
bmeneg has quit [Ping timeout: 260 seconds]
<jonkerj> ahwell, it's not very sunxi-kernel related, so let's not go into details too much here
<tkaiser> We installed it from Xavier Berger's repo but that's not available any more. And the base64 stuff contains basically two sets of templates and a helper daemon to either parse fex or DT settings on sun8i
<tkaiser> To provide VDD_CPUX monitoring. Without this I find it pretty hard to develop good settings.
<tkaiser> IMO we need a few different DT settings for different boards: All the larger Oranges can share one, OPi One/Lite and most probably Zero another (the NanoPis might fit here too). And then there's overheating Banana Pi M2+ that maybe needs own settings.
<tkaiser> But since we can now rely on schedutil cpufreq governor one set of cpufreq settings for almost all boards might be sufficient. But the problem with different thermal/dvfs settings remains
<tkaiser> And currently megi's settings show a pretty low performance compared to legacy kernel as soon as throttling starts.
<scelestic> if i calculate the temperature according the H3 datasheet i end up around 182.somethign, assuming that means 18.2C, sounds like a better value (my home is at about 16/17C right now)
<tkaiser> On those boards that switch between 1.1V and 1.3V only
<tkaiser> scelestic: There's something wrong. But your thumb on H3 and confirm ;)
<tkaiser> s/But/Put/
<scelestic> it felt fairly cool, dont think 18C but also not 10C
<scelestic> last i used my IR thingy it measured around 30C but that was running 3.4 sunxi
raknaz has joined #linux-sunxi
<scelestic> currently reading 10894 from /sys/class/thermal/thermal_zone0/temp
<tkaiser> scelestic: Below ambient temperature?
<scelestic> yes
<tkaiser> scelestic: Then it's wrong anyway.
<scelestic> it does react to the cpu warming up
raknaz has quit [Client Quit]
<scelestic> seen it around 23000 with 4 cores loaded
<dgp> scelestic: Mine is like that too. Temp seems off and the curve doesn't seem to be right. Like it starts to go up when it is getting hot but nowhere as far as I think it should
<KotCzarny> measure with ir and fix the formula?
<KotCzarny> then let someone else test it too
<dgp> Waiting for the ir thermometer to come from banggood :D
<KotCzarny> borrow from cute neighbour? :P
<dgp> all my neighbours are country bumpkins I don't think they'll have anything like that
tkaiser has quit [Ping timeout: 265 seconds]
<KotCzarny> what's a bumpkin?
<dgp> simple people
<dgp> most of them don't have computers or smart phones
<KotCzarny> they get sick, and nowadays most thermometers are those ir things
<scelestic> i can do some measurements this weekend, for now i'm digging in the 3.4 sources, there seems to be a few calculations that can be done but i have not found anything that seems 'right'
<dgp> KotCzarny: we still use the contact ones you stick under your arm
* dgp gets given one each time a kid happens...
alexxy has quit [Quit: No Ping reply in 180 seconds.]
alexxy has joined #linux-sunxi
muvlon has quit [Quit: Leaving]
dizz74 has quit [Quit: Page closed]
scream has quit [Remote host closed the connection]
* scelestic is trying to figure out how to get the raw value somewhere in /sys
<jonkerj> scelestic: my patches are included in megi's branch as of now
afaerber has quit [Quit: Ex-Chat]
avph has quit [Ping timeout: 260 seconds]
<scelestic> jonkerj: thanks!
silviop has joined #linux-sunxi
avph has joined #linux-sunxi
lkcl has quit [Read error: Connection reset by peer]
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
afaerber has joined #linux-sunxi
<jonkerj> but I agree with KotCzarny that userspace/runtime altering of operating points has its uses
<jonkerj> ie, tuning the voltages without going through many reboots
afaerber has quit [Ping timeout: 258 seconds]
afaerber has joined #linux-sunxi
Putti has quit [Ping timeout: 250 seconds]
Gerwin_J has joined #linux-sunxi
tkaiser has joined #linux-sunxi
<tkaiser> Regarding SoC temperatures with H3 now: https://github.com/igorpecovnik/lib/issues/508#issuecomment-262952069
<scelestic> tkaiser: cheers
<scelestic> on that same regard i noticed that dmesg mentions "Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)" lpj was 10 times higher as was the bogomips before i switched to mainline uboot/kernel
<scelestic> 3.4 dmesg "[ 0.000821] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)"
<ErwinH> tkwiser: My SoC temperatures seem quite accurate... 37C while my IR meter says 42C, but when I increase the load and the temperature goes up, the difference becomes smaller.
<ErwinH> On the One and the Zero.
<miasma> tkaiser: thanks for the comments. i'll update the power article later this weekend
<tkaiser> ErwinH: Those numbers look reasonable, but below ambient temperature is simply not possible. BTW: It gets a lot easier when running continuous monitoring since then stuff like the 'thumb test' make things immediately visible :)
lkcl has joined #linux-sunxi
<tkaiser> miasma: Thank you :) I already linked to the new page :)
<miasma> i noticed :)
<ErwinH> I noticed the temperature drop, once I put my finger on the chip and apply some force.
<ErwinH> But at least throttling is working again :)
<longsleep> That pinebook think is actually interesting, assuming it has a reasonable display, keyboard and battery - anyone found some detail tech specs?
<ErwinH> Small thing btw: I didn't notice a temperature difference in the readout before the last commit and after, to be more precise, when applying only the 2 commits for the THS, the temperature was the same as well.
<scelestic> i'd be interesting in that pinebook as well but it has to have mainline support though
<jelle> it won't have that from the launch
<scelestic> yeah i read that as well
<scelestic> lets hope everything will eventually get there
<dgp> near mainline won't happen until the kernel patches for android $newest - 3 require it
tkaiser has quit [Ping timeout: 250 seconds]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
tkaiser has joined #linux-sunxi
lamer14800799490 has joined #linux-sunxi
lamer14800799490 has quit [Client Quit]
<silviop> PB06 is < 2 6 ...> in device tree syntax or 1 6 ?
<mripard> 1
tkaiser has quit [Ping timeout: 248 seconds]
<dgp> I think it's bank number and then pin, with A being bank 0 .. you can check the names in the pinctrl nodes of debugfs though to make sure
tkaiser has joined #linux-sunxi
<tkaiser> jelle: What's missing?
<jelle> there is some information on the wiki I think
<tkaiser> jelle: For an A64 laptop HDMI and PMIC is missing but what else?
<jelle> tkaiser: huh?
<tkaiser> jelle: I thought you were talking about Pinebook and mainline kernel?
<jelle> is there mainline boot with the pine now?
<silviop> thank
<tkaiser> jelle: Sure, since a long time. I think mainline booted prior to BSP kernel there ;)
bmeneg has joined #linux-sunxi
<silviop> there is a mir3da 3axis sensor mainline kernel driver ?
Ntemis has joined #linux-sunxi
<jemk> tb
<jelle> silviop: look into the iio tree I'd say
chomwitt1 has joined #linux-sunxi
DullTube has quit [Quit: Leaving]
<longsleep> tkaiser: A64 mainline u-boot still requires to be built with the dram blob no?
<zoobab> last time I checked it was
luis_ has joined #linux-sunxi
scream has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
<longsleep> zoobab: no - i mean https://github.com/apritzel/u-boot/commit/d398e04ffb54949792e695a88a7dcc92fb8f4058 - i did not follow close enough to know if that changed
<luis_> Guys, just wanted to drop a line to thank you for the superb work at linux-sunxi.org. I have to deal with Allwinner tablets at my job these weeks, and your site has been an invaluable resource
ErwinH has quit [Ping timeout: 260 seconds]
lkcl has quit [Ping timeout: 250 seconds]
<tkaiser> longsleep: I thought not any more but maybe I confuse this with H5, there jemk resolved that already if I understood correctly: https://github.com/jemk/u-boot/commit/b080bbefb881eb6071533abf1e04fc88f8e0d902
<longsleep> tkaiser: might be, i am not paying attention - i thought one needs https://github.com/apritzel/u-boot/commit/9a9abaa3bac80a6f5cd0cadaa7d65740396e47af for the H5 too :)
libv has joined #linux-sunxi
luis_ has quit [Quit: Leaving]
libv_ has quit [Ping timeout: 260 seconds]
<silviop> jelle: not in mainline
lkcl has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
iamfrankenstein has quit [Quit: iamfrankenstein]
iamfrankenstein has joined #linux-sunxi
deskwizard has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 260 seconds]
paulk-minnie has joined #linux-sunxi
leviathanch has joined #linux-sunxi
IgorPec has quit [Ping timeout: 240 seconds]
hojnikb has joined #linux-sunxi
<hojnikb> guys
<hojnikb> any way to read h5 temps yet ?
<hojnikb> via software
tlwoerner has joined #linux-sunxi
LargePrime has joined #linux-sunxi
<zoobab> tkaiser should know, he is the temperature expert
<tkaiser> hojnikb: find /sys -iname "*temp*"
<hojnikb> tkaiser: will try, hopefully xunlong image support this
<hojnikb> i'm really interested in seeing how h5 performs thermally
<hojnikb> although without working dvfs,....
tkaiser has quit [Ping timeout: 268 seconds]
tkaiser has joined #linux-sunxi
Putti has joined #linux-sunxi
reinforce has joined #linux-sunxi
|Jeroen| has joined #linux-sunxi
paulk-minnie has quit [Quit: Leaving]
IgorPec has joined #linux-sunxi
hojnikb has quit [Quit: Page closed]
apritzel has joined #linux-sunxi
apritzel has left #linux-sunxi [#linux-sunxi]
apritzel has joined #linux-sunxi
<apritzel> longsleep: the SPL DRAM code for the A64 is on the list: http://lists.denx.de/pipermail/u-boot/2016-November/273344.html
bmeneg has quit [Remote host closed the connection]
<apritzel> longsleep: but it's not ready yet and you miss ATF at the moment
<apritzel> it works for me under "lab conditions", though
<longsleep> apritzel: ah cool, thanks for the update
<apritzel> longsleep: I put something here: http://andrep.de/a64/pine64_firmware-20161102.img
<longsleep> apritzel: so what needs to be done to get it ready?
<apritzel> longsleep: the H5 DRAM controller isn't compatible, though jemk did already some work on it
f0xx has quit [Read error: No route to host]
f0xx has joined #linux-sunxi
<apritzel> longsleep: I need to send out a v2 (on the weekend?)
<apritzel> and
<apritzel> I need to fixup that FIT code the get the ATF loaded as well
<apritzel> fixup as in clean up (the code works)
<apritzel> longsleep: this branch has all the glory, but is slightly outdated and ugly: https://github.com/apritzel/u-boot/commits/pine64-spl-wip
<longsleep> sounds good - i really want to get rid of the BSP stuff sooner than later
IgorPec has quit [Ping timeout: 265 seconds]
<apritzel> but the original issue still stands: you can't boot a BSP kernel with this
<apritzel> and probably never will
<longsleep> yes thats fine - i want mainline kernel too
<apritzel> the top commit in that U-Boot branch updated the README to explain the new building process
Nacho_ has quit [Ping timeout: 260 seconds]
<apritzel> and if you want to spare you the tedious building, you can just use the image from above, which is fully Open Source
<longsleep> apritzel: awesome - so regarding mainline Kernel, what is the state of the SoC CPU speed and voltage control?
<longsleep> i remember this as one of the main blocking issues right?
<apritzel> fixed at 1.1V (?) and 816 MHz at the moment
<apritzel> those are supposed to be safe values I agreed with tkaiser on a while ago
<apritzel> you can hack this up in ATF if you like
<apritzel> I have a plan for DVFS, but no time at the moment
<longsleep> ok, so once boot support is there and complete, thats the essentially the last thing so the thing is faster than with BSP
<apritzel> well, you can hack it up to any value you like at the moment if you just want that one benchmark value ;-)
<longsleep> apritzel: you know, there are holidays soon :P
<apritzel> ATF has all the bits already to set voltage and program frequencies
<longsleep> apritzel: no i am not interested in benchmarks, i want to use it in production with docker, lxd and zfs :)
<apritzel> and I posted an RFC on how to let the kernel talk to ATF via SCPI
<apritzel> which offers DVFS as well
<longsleep> and maybe use btrfs as rootfs and thats just not possible with Kernel 3.10
<miasma> hm zfs on a arm board?
<longsleep> miasma: sure it works just fine on Pine64 with Kernel 3.10 on Ubuntu 16.04
<miasma> doesn't run out of memory?
<miasma> i think zfs on linux reserves the memory for its own use and won't share like btrfs
<longsleep> miasma: well it works fine on the 2GB pines i use with it
<tkaiser> longsleep: I measured USB/UAS performance with 4.9 yesterday. Fastest USB2 equipped board around :)
<longsleep> tkaiser: which board?
matthias_bgg has quit [Quit: Leaving]
<miasma> tkaiser: how do i know if my sata bridge supports uas
<tkaiser> longsleep: Pine64: https://github.com/igorpecovnik/lib/commit/61f5dc4b4144f4a82c9b87b0eb9ea19971c6d025#commitcomment-19945561 -- But am failing getting ZFS to work on it with BSP kernel :(
<tkaiser> miasma: Connect it and do a dmesg | egrep -i "uas|usb"
<tkaiser> miasma: Unfortunately there are a few UAS capable ASMedia chips around that are blacklisted since ASMedia re-used device-ids for different chips
<longsleep> tkaiser: whats the problem with ZFS? the dkms module should build just fine on xenial
<tkaiser> longsleep: Yeah, but that's failing in my setup (Armbian, also Xenial)
<miasma> tkaiser: so if uas loads, it's enabled?
<miasma> the module is there
<longsleep> tkaiser: for your 4.9 performance test, did you run Pine64 at 816MHz?
<tkaiser> miasma: Yes but of course you need support for it in kernel or as a module. Whether it's used or not depends on the module, see footnotes in USB/UAS wiki page
<apritzel> tkaiser is a dirty overclocker, I think he used 864 MHz
<apritzel> longsleep: ^^^
<longsleep> tkaiser: mhm maybe i broke something in the latest Kernels, havent rebuilt/updated the zfs cluster since a while
<tkaiser> longsleep: No, am an overclocker: 864 MHz
<apritzel> I can give the THS based emergency shutdown in ATF a shot (turn off the board if temp > 110C)
<longsleep> well, thats still way below the max speed - so it might even be faster once it learns to not fry itself
<miasma> tkaiser: i read the page but thought that there might be some flag set somewhere. it definitely loads the module, but i wasn't sure if it's in use
<apritzel> this should give people more freedom to boost frequencies
<tkaiser> miasma: You really need to connect the enclosure to be sure since (check dmesg afterwards).
<KotCzarny> miasma: lsusb -t, it will show which driver is in use (massstorage or uasp)
<KotCzarny> but usually you can just check the chip model
<KotCzarny> there are only few that do
<KotCzarny> notably ns1066 doesnt, ns1068 does. similarly jmp567 and 578 do
<miasma> ok, thanks. so Class=Mass Storage, Driver=usb-storage, 480M
<KotCzarny> as for asmedia chips, they are buggy and firmware upgradeable
<miasma> too bad the aliexpress sellers don't list the usb id or vendor
<KotCzarny> they do sometimes
<KotCzarny> search for chip model
<miasma> but it might increate the price :)
<KotCzarny> anyway, i bought me jmp578 based one and waiting for arrival, (under 5usd)
<KotCzarny> (no one tested it here, yet, so its a bit of experiment)
<KotCzarny> another thing to watch for is trim support, not all do
tkaiser has quit [Ping timeout: 250 seconds]
tkaiser has joined #linux-sunxi
apritzel has left #linux-sunxi [#linux-sunxi]
Mr__Anderson has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
<igraltist> hi
<tuxillo> hi
<igraltist> on my cubietruck i try to add ext4 fs encryption
<igraltist> but when i do e4encrypt set_policy xxx my_path i get permission denied
<igraltist> i log file i see: sun4i-ss 1c15000.crypto-engine: ERROR: Empty IV
IgorPec has joined #linux-sunxi
silviop has quit [Ping timeout: 265 seconds]
<KotCzarny> montjoie: ^
IgorPec has quit [Ping timeout: 246 seconds]
<igraltist> yes :D
|Jeroen| has quit [Quit: dada]
<montjoie> someone reported some month ago, cannot reproduce it for the moment
<montjoie> igraltist: which kernel ?
<montjoie> igraltist: could you share full command list to error
jernej has joined #linux-sunxi
lennyraposo has quit [Remote host closed the connection]
Andy-D has joined #linux-sunxi
diego_r has quit [Quit: Konversation terminated!]
lennyraposo has joined #linux-sunxi
Leepty has quit [Remote host closed the connection]
<igraltist> montjoie: Linux jaschtschik 4.4.34-rsbac-2+ #2 SMP PREEMPT Thu Nov 24 04:21:51 CET 2016 armv7l Allwinner sun7i (A20) Family GNU/Linux
<igraltist> montjoie: and just e4encrypt set_policy
<tuxillo> hmm orange pi PC H3 for 16eur
<tuxillo> it has a H3 SoC
<tuxillo> ah, 32bit
<montjoie> igraltist: do you have tried with 4.9 ?
IgorPec has joined #linux-sunxi
Andy-D has quit [Ping timeout: 244 seconds]
tkaiser has quit [Ping timeout: 258 seconds]
<igraltist> montjoie: i stuck on lt
deskwizard has quit [Read error: Connection reset by peer]
<igraltist> montjoie: would be enough just replace the drivers/crypto/sunxi-ss with 4.9 files
cptG has joined #linux-sunxi
<igraltist> i will see
cptG_ has quit [Ping timeout: 260 seconds]
paulk-collins has joined #linux-sunxi
my123_ has joined #linux-sunxi
my123_ has joined #linux-sunxi
my123_ has quit [Changing host]
pg12 has quit [Quit: ZNC - http://znc.in]
whaf has quit [Quit: Leaving.]
whaf has joined #linux-sunxi
Mr__Anderson has quit [Quit: Leaving.]
|Jeroen| has joined #linux-sunxi
fkluknav has quit [Remote host closed the connection]
tsuggs has quit [Read error: Connection reset by peer]
tsuggs has joined #linux-sunxi
pg12 has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
libv has joined #linux-sunxi
BenG83 has joined #linux-sunxi
jstein_ has joined #linux-sunxi
libv_ has quit [Ping timeout: 258 seconds]
jstein_ is now known as jstein
afaerber has quit [Quit: Ex-Chat]
tkaiser has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
jernej has quit [Ping timeout: 252 seconds]
mzki has quit [Ping timeout: 256 seconds]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
florianH has quit [Quit: Connection closed for inactivity]
terra854 has quit [Quit: Connection closed for inactivity]
iamfrankenstein has joined #linux-sunxi
orly_owl has joined #linux-sunxi
<willmore> My Opi PC 2 and zero came today. And I've been gone for two days whereupon lots of conversation happened, so now I am massively lagged. :)
Gerwin_J has quit [Quit: Gerwin_J]
f0xx has quit [Ping timeout: 258 seconds]
IgorPec has joined #linux-sunxi
yann-kaelig has quit [Quit: Leaving]
reinforce has quit [Quit: Leaving.]
jernej has joined #linux-sunxi
Nyuutwo has quit [Ping timeout: 268 seconds]
tsuggs has quit [Ping timeout: 240 seconds]
pekka_afk is now known as pekka10
freemangordon1 has joined #linux-sunxi
freemangordon has quit [Read error: Connection reset by peer]
tsuggs has joined #linux-sunxi
avph has quit [Ping timeout: 260 seconds]
avph has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
libv_ has joined #linux-sunxi
Ntemis has joined #linux-sunxi
libv has quit [Ping timeout: 250 seconds]
libv has joined #linux-sunxi
fkluknav has joined #linux-sunxi
libv_ has quit [Ping timeout: 248 seconds]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 250 seconds]
libv has joined #linux-sunxi
libv_ has quit [Ping timeout: 245 seconds]
Mr__Anderson has joined #linux-sunxi
dfaught has joined #linux-sunxi
afaerber has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-sunxi
dfaught has quit [Quit: WeeChat 1.6]
libv_ has quit [Ping timeout: 245 seconds]
libv_ has joined #linux-sunxi
freemangordon1 has quit [Quit: Leaving.]
freemangordon has joined #linux-sunxi
libv has quit [Ping timeout: 246 seconds]
libv_ has quit [Ping timeout: 250 seconds]
libv has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 246 seconds]
libv has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
libv_ has quit [Ping timeout: 260 seconds]
|Jeroen| has quit [Quit: dada]
apritzel has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 240 seconds]
libv has joined #linux-sunxi
libv_ has quit [Ping timeout: 252 seconds]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 256 seconds]
libv has joined #linux-sunxi
libv_ has quit [Ping timeout: 252 seconds]
fkluknav has quit [Remote host closed the connection]
Mr__Anderson has quit [Remote host closed the connection]
Pepe has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jernej has quit [Ping timeout: 240 seconds]
paulk-collins has quit [Ping timeout: 260 seconds]
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
orly_owl has quit [Quit: leaving]
Ntemis has quit [Ping timeout: 258 seconds]
BenG83 has quit [Ping timeout: 260 seconds]
orly_owl has joined #linux-sunxi
Ntemis has joined #linux-sunxi
Putti has quit [Ping timeout: 258 seconds]