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
Da_Coynul has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.4]
[Awaxx] has joined #linux-sunxi
<igraltist> montjoie: i try the sunxi-ss from 4.9 but the same: sun4i-ss 1c15000.crypto-engine: ERROR: Empty IV
Andy-D has joined #linux-sunxi
<KotCzarny> he asked for commands you are using to create test case
scream has quit [Remote host closed the connection]
bugzc has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Da_Coynul has joined #linux-sunxi
ninolein has quit [Ping timeout: 245 seconds]
ninolein has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
uwe_ has quit [Ping timeout: 256 seconds]
uwe_ has joined #linux-sunxi
apritzel has quit [Ping timeout: 250 seconds]
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chomwitt2 has joined #linux-sunxi
chomwitt1 has quit [Ping timeout: 248 seconds]
lkcl has quit [Read error: Connection reset by peer]
chomwitt3 has joined #linux-sunxi
orly_owl has quit [Quit: leaving]
chomwitt2 has quit [Ping timeout: 248 seconds]
pg12 has quit [Ping timeout: 245 seconds]
pg12 has joined #linux-sunxi
<igraltist> KotCzarny: already typed, while using ext4 encrypted
<igraltist> simple e4crypt set_policy my_policy my_path
arossdotme has quit [Read error: Connection reset by peer]
netlynx has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
leviathanch has joined #linux-sunxi
IgorPec has joined #linux-sunxi
TheSeven has quit [Ping timeout: 258 seconds]
TheSeven has joined #linux-sunxi
terra854 has joined #linux-sunxi
lkcl has joined #linux-sunxi
lkcl has quit [Read error: Connection reset by peer]
Andy-D has quit [Ping timeout: 246 seconds]
lkcl has joined #linux-sunxi
chomwitt3 has quit [Ping timeout: 260 seconds]
Gerwin_J has joined #linux-sunxi
<willmore> That is the quietest that I have ever seen it when I was trying to catch up.
f0xx has joined #linux-sunxi
jernej has joined #linux-sunxi
f0xx has quit [Ping timeout: 268 seconds]
BenG83 has joined #linux-sunxi
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
whaf has quit [Ping timeout: 246 seconds]
scream has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
whaf has joined #linux-sunxi
mzki has joined #linux-sunxi
sunxi_fan1 has joined #linux-sunxi
f0xx has joined #linux-sunxi
Macer has quit [Ping timeout: 244 seconds]
Macer has joined #linux-sunxi
f0xx has quit [Ping timeout: 248 seconds]
iamfrankenstein has joined #linux-sunxi
bugzc has quit [Ping timeout: 260 seconds]
Christos has joined #linux-sunxi
avph has quit [Ping timeout: 260 seconds]
reinforce has joined #linux-sunxi
avph has joined #linux-sunxi
<Christos> Who is the owner of this mega downloads account? -> https://mega.nz/#F!m40jgBYQ!-uNiWmKhGoQUAqnWQvlr-w Is it Xunlong?
<Christos> Does anyone know if Xunlong provide this or is it from from someone of the community?
kaspter has quit [Ping timeout: 246 seconds]
Nyuutwo has joined #linux-sunxi
LargePrime has quit [Ping timeout: 258 seconds]
leviathanch has quit [Read error: Connection reset by peer]
leviathanch has joined #linux-sunxi
LargePrime has joined #linux-sunxi
mzki has quit [Ping timeout: 252 seconds]
mzki has joined #linux-sunxi
f0xx has joined #linux-sunxi
gzamboni has quit [Read error: No route to host]
f0xx has quit [Ping timeout: 260 seconds]
jernej has quit [Ping timeout: 260 seconds]
mzki has quit [Quit: leaving]
Mr__Anderson has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
apritzel has quit [Client Quit]
iamfrankenstein1 has joined #linux-sunxi
jernej has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 250 seconds]
iamfrankenstein1 is now known as iamfrankenstein
ninolein has joined #linux-sunxi
tkaiser has joined #linux-sunxi
Putti has joined #linux-sunxi
hojnikb has joined #linux-sunxi
<hojnikb> this must be from xunlong, because images are on their website too
hojnikb has quit [Client Quit]
Dodger78_ has joined #linux-sunxi
<Dodger78_> anyone ever faced problems on ARM + QEMU , qemu kvm doesnt start saying it cant find reset-cbar property
leviathanch has quit [Read error: Connection reset by peer]
apritzel has joined #linux-sunxi
<apritzel> Dodger78_: what's your QEMU command line? On what machine are you running?
gzamboni has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
scelestic has quit [Remote host closed the connection]
<montjoie> igraltist: what is "my_policy" ?
<Dodger78_> im running on a cubietruck ( allwinner a20 )
<Dodger78_> i got a hypervisor enabled mainline kernel, cpu reports HYP support
<tkaiser> First impression of SATA 'performance' with R40 / BPi M2 Ultra: https://frank-mankel.de/kategorien/bananapi-m2-ultra/215-bpi-m2-ultra-sata-schnittstelle-hdd?showall=&start=5 (be aware that this is not a real test since based on crappy Sinovoip OS image)
<KotCzarny> lol
jstein_ has joined #linux-sunxi
<KotCzarny> seriously?
<KotCzarny> did they just put usb bridge inside the chip, or wtf?
jstein_ is now known as jstein
<Wizzup> There are already R40 boards out there?
<KotCzarny> yeah, but crappy one
<tkaiser> KotCzarny: You already forgot A20 SATA write performance, right? With SinoVoip OS images sometimes A20 only exceeds 30 MB/s writing.
<KotCzarny> tkaiser, but its sad things didnt improve
<tkaiser> KotCzarny: What are you talking about? No one knows since no one did a real test.
<KotCzarny> i wonder why allwinner didnt implement minipcie, is it too expensive? power hungry? complicated?
Dodger78_ has quit [Remote host closed the connection]
<tkaiser> KotCzarny: Which tablet or OTT Box needs PCIe?
<KotCzarny> well, they've tried to invent some more categories than those two, haven't they?
<KotCzarny> all those t/r/whatever series
<tkaiser> KotCzarny: Yes, 'categories' but no products.
Dodger78_ has joined #linux-sunxi
<KotCzarny> maybe they will make N(as) serie one day
Da_Coynul has joined #linux-sunxi
<terra854> Anyone planning to buy the SoPine or the Pinebook when it is released?
yann-kaelig has quit [Quit: Leaving]
<apritzel> Dodger78_: that's not gonna fly this way
<Wizzup> I'm waiting for the olimex laptop
<apritzel> Dodger78_: try -M virt -cpu host
<apritzel> Dodger78_: which means you need a virt-enabled kernel
<apritzel> Dodger78_: for instance a multi_v7_defconfig kernel
<apritzel> Dodger78_: and you can pass a normal zImage kernel file
_whitelogger has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Da_Coynul has joined #linux-sunxi
<Dodger78_> ok ....
<Dodger78_> so -M virt is the trick ?
<Dodger78_> i want to use a prepared openwrt qemu image ...
<Dodger78_> "realview" , is this working with -M virt and cpu host ?
<apritzel> Dodger78_: that's a good question ;-)
<apritzel> technically "virt" is something like a bard
<apritzel> board
<apritzel> which is different from realview, of course
<apritzel> but if your kernel supports virt and DT, it should work
<Dodger78_> DT is dts ? and virt support ?
<apritzel> is that a precompiled kernel?
<apritzel> if you compile yourself, just add ARCH_VIRT and virtio support
<apritzel> or simply use multi_v7_defconfig
<apritzel> (because this is not 2011 anymore, you know ;-)
<Dodger78_> i think i got virtio support i will check
<Dodger78_> do you know this page ? on arm ( non64bit ) it instructs to use realview
<Dodger78_> i got some virtio support in kernel, not everything but some options
<apritzel> but is TCG QEMU (emulation), not KVM
<apritzel> this is a different thing on ARM
<Dodger78_> which is slow ....
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Dodger78_> do i need to use a different kernel / my host kernel when i rung virtio ?
<Dodger78_> OpenWrt instructs to use the realview / TCG kernel ?
<apritzel> because the OpenWRT instructions are probably for x86 running ARM qemu
<Dodger78_> no this is a different instruction section at bottom
<apritzel> Dodger78_: no: none of those instruction include _KVM_, AFAICS
<Dodger78_> shit :-)
<apritzel> but it should work
<Dodger78_> ok i try to pass my host kernel and host dtb
<apritzel> and yes: using the host kernel for the guest as well is a common thing
<apritzel> Dodger78_: host kernel: yes
<apritzel> dtb: no
<apritzel> QEMU generates a DTB
<apritzel> for -M virt
<apritzel> don't need to care about this one
<apritzel> Dodger78_: google for instruction about running KVM on ARM
<apritzel> once you got this running (with some kernel output, no userland required yet), tried to throw OpenWRT into the mix
<Dodger78_> yes, ok. so -M virt --enable-kvm and host kernel + some magic
<Dodger78_> so no passing of the sd card image , only kernel
<apritzel> for a start: yet
<apritzel> for mach-virt you can't (or don't need to?) use SD card
<apritzel> not sure if OpenWRT cares too much about where its rootfs is
<Dodger78_> hmm i get no output, but the qemu command doesnt quit either , no kernel messages, no CPU consumption
<apritzel> earlycon=pl011,0x90000000
<apritzel> console=ttyAMA0,115200
<apritzel> for the guest command line
<Dodger78_> qemu-system-arm -kernel /mnt/test/zImage -enable-kvm -M virt -cpu host --append "earlycon=pl011,0x90000000 console=ttyAMA0 verbose debug "
<apritzel> mmh, looks about right
<Dodger78_> damn i get no output at all
<apritzel> let me dig out some 32-bit board here ...
<Dodger78_> thx
Da_Coynul has joined #linux-sunxi
<apritzel> argh, that QEMU is old on that Bananian userland ...
scelestic has joined #linux-sunxi
<apritzel> the PL011 address is only six zeroes, not seven
teo__ has joined #linux-sunxi
Ntemis has joined #linux-sunxi
<Dodger78_> ok
<apritzel> mmh, still no output on QEMU, but works with kvmtool
<apritzel> ah
<apritzel> -serial stdio
<apritzel> depends on your QEMU, normally I use a self-compiled one without any graphics support
<Dodger78_> hmm i get a could not connect serial device to character backend 'stdio'
<apritzel> loose -nographic
<Dodger78_> oohhh this will not work i guess
<Dodger78_> Could not initialize SDL(No available video device) - exiting
<apritzel> qemu-system-arm -enable-kvm -M virt -cpu host -append "earlycon=pl011,0x9000000 console=ttyAMA0 verbose debug"-kernel /boot/zImage-4.9-rc1 -m 1024M -serial stdio
<apritzel> works for me now
<apritzel> BPi-M1
<apritzel> maybe the default memory is too small?
<Dodger78_> i cant omit the -nographic ....
<Dodger78_> hmmm is 1G enough ?
<apritzel> sure, even 256 MB should work
<apritzel> especially for OpenWRT
<apritzel> my router has only 128MB, you know ;-)
<Dodger78_> (qemu) qemu-system-arm: -serial stdio: cannot use stdio by multiple character devices
<Dodger78_> qemu-system-arm: -serial stdio: could not connect serial device to character backend 'stdio'
<Dodger78_> and nographic complains due to SDL
<apritzel> that is really weird
<apritzel> because you tell it to _not_ use graphics
<apritzel> qemu-system-arm --version ?
<Dodger78_> QEMU emulator version 2.7.0(Debian 1:2.7+dfsg-3~bpo8+2), Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers
arossdotme has joined #linux-sunxi
<Dodger78_> im on debian jessie , running a headless cubietruck
<apritzel> do you have any aliases set?
<Dodger78_> eh sorry no idea what you mean
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apritzel> checking whether something gets appended to your qemu command
<Dodger78_> i have no idea on how to check this
<apritzel> start with an absolute path to the qemu binary
<apritzel> /usr/bin/qemu-system-arm or so
<Dodger78_> no ... hey i could start it using a tcp console , is this usable ? it prompts me for qemu monitor
<Dodger78_> qemu-system-arm -kernel /mnt/test/zImage -enable-kvm -M virt -cpu host -nographic -m 512M -serial tcp:127.0.0.1:9999 --append "verbose debug"
<Dodger78_> but boot.log is empty
<apritzel> try: telnet localhost 9999
<apritzel> sorry, but have to leave now
<Dodger78_> ok thx for helping
<apritzel> write something, I'll read the backlog later
<Dodger78_> i will be off some hours also have a badminton match
<teo__> Hi! I just booted a mainline kernel (a64-v5, thanks apritzel!) on my pine64.
<teo__> I'm using the Arch Linux arm64 rootfs. Looks almost good so far!
<teo__> (just had to add SECCOMP to the kernel config) ... but it seems I dont have ethernet
<teo__> dmesg tells me: [ 0.760140] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.3.0-k [ 0.767118] igb: Copyright (c) 2007-2014 Intel Corporation. [ 0.772826] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.0.2-k [ 0.780673] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. (which I find hard to belive)
apritzel has quit [Ping timeout: 252 seconds]
<teo__> ip link show only shows me a loopback device
<teo__> Any tips how to find/load ethernet device?
<tkaiser> teo__: Are you sure montjoie's driver is included in your kernel? I used MoeIcenowy's latest branch with USB and Ethernet working: https://github.com/Icenowy/linux/commits/ice-a64-v6.1 (only tx-delay/rx-delay is missing, I would suggest to use 2/0 on production Pine64+)
orly_owl has joined #linux-sunxi
<tkaiser> teo__: to get the upper USB port working too please see https://irclog.whitequark.org/linux-sunxi/2016-11-24#18257143
leviathanch has joined #linux-sunxi
hojnikb has joined #linux-sunxi
hojnikb has quit [Client Quit]
hojnikb has joined #linux-sunxi
<hojnikb> gave the new xunlong debian image a try
<hojnikb> still no way of changing hdmi resolution
<hojnikb> firefox still segfaults
<hojnikb> also date seems to set itself to january 2016 everytime you reboot
<hojnikb> installing openntpd doesn't help
<hojnikb> so its still pretty much a slapped together image
tlwoerner has quit [Ping timeout: 244 seconds]
tlwoerner has joined #linux-sunxi
<teo__> tkaiser: are you simply using that kenrel branch? Or did you merge toward apritzel branch?
<teo__> tkaiser: s/toward/ontop/
cnxsoft has quit [Quit: cnxsoft]
tlwoerner_ has joined #linux-sunxi
hojnikb has quit [Quit: Page closed]
tlwoerner has quit [Ping timeout: 250 seconds]
fl_0 has quit [Ping timeout: 245 seconds]
<Christos> hojnikb: tested the new pc2 debian & ubuntu desktop images, in both you need this initially to start working ok -> http://pastebin.com/wueSkh9N ubuntu works just fine with browser, debian segfaults
fl_0 has joined #linux-sunxi
tlwoerner__ has joined #linux-sunxi
tlwoerner_ has quit [Ping timeout: 260 seconds]
<jelle> hmm orange pi pc get's less hot then the nanopi while compiling =)
<tkaiser> jelle: Are you talking about NanoPi NEO, M1, Air? In case of NEO PCB revision 1.0?
<jelle> tkaiser: NEO
<jelle> never crashed though
phipli has joined #linux-sunxi
<tkaiser> hojnikb: Why not using armhf firefox version, the one for arm64 is known to be broken. Read the threads in Armbian forum you post to.
<tkaiser> jelle: NEO PCB rev 1.0 was overheating due to a cheap voltage regulator. Has been fixed with later revisions
<jelle> nice
<tkaiser> jelle: But since PCB is so tiny it will always run hotter. Xunlong uses the groundplane as huge heatsink
<jelle> yup
<jelle> well and it turned out I need 1 GB for some rust compilation
Pepe has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
<teo__> tkaiser: that kernel dosn't boot for me: [ 1.115631] sunxi-mmc 1c0f000.mmc: could not find pctldev for node /soc/pinctrl@1c20800/mmc0@0, deferring probe [ 1.126952] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:04 UTC (4)
f0xx has joined #linux-sunxi
<teo__> tkaiser: maybe need different uboot / device trees... I'll see what I can reverse ingeneer from https://github.com/igorpecovnik/lib
<tkaiser> teo__: Most probably, yes. I've to admit that I'm really lazy here and using the Armbian build system it's really just issueing compile.sh and a few minutes later a whole OS image ready to boot is created: https://github.com/igorpecovnik/lib/commit/61f5dc4b4144f4a82c9b87b0eb9ea19971c6d025#commitcomment-19945561
jernej has quit [Ping timeout: 258 seconds]
ninolein has joined #linux-sunxi
phipli has quit [Quit: Leaving]
<tkaiser> KotCzarny: I asked Frank to repeat SATA test with R40 with enabled performance governor and iozone with large test file sizes: As slow as A20 now: https://frank-mankel.de/kategorien/bananapi-m2-ultra/218-bpi-m2-ultra-performance-test#section-kmt
<wens> so much for hoping for an improvement
<tkaiser> wens: True ;)
<tkaiser> wens: Did you ask Nora to send you a BPi M2 Ultra already?
<KotCzarny> tkaiser: better. is it rust drive or ssd?
grgsaliba has joined #linux-sunxi
<tkaiser> KotCzarny: Slow HDD, that explains the 106 MB/s reading. But 36 MB/s write speed is as low as with A20 now.
<KotCzarny> so probably the same block, or even whole cpu is a20 with updates parts here and there
<wens> tkaiser: not yet, been busy this week with work and pushing what patches i could
<KotCzarny> s/cpu/soc/
jemk has quit [Remote host closed the connection]
<dgp> teo__: deffered probe shouldn't be an issue
<dgp> s/deffered/deferred/
<tkaiser> KotCzarny: Or just the SATA IP block implanted in a H3 + a few changes here and there or something like that. At least R40 is rather boring from now on ;)
<KotCzarny> yup.
grgsaliba has quit []
grgsaliba has joined #linux-sunxi
grgsaliba has quit [Client Quit]
saurus has joined #linux-sunxi
jemk has joined #linux-sunxi
tlwoerner__ has quit [Ping timeout: 240 seconds]
<teo__> tkaiser: I don't yet have my desired setup -- but making progress.... Thanks!
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
<wens> tkaiser: also got my opi's running the latest kernel with emac and audio patches
<tkaiser> wens: Great, am currently preparing the same UAS test done with A64 with H3/4.9 again to get a comparison.
Mr__Anderson has quit [Ping timeout: 260 seconds]
pekka10 has quit [Quit: WeeChat 1.5]
f0xx has quit [Ping timeout: 258 seconds]
Mr__Anderson has joined #linux-sunxi
teo__ has quit [Ping timeout: 260 seconds]
jernej has joined #linux-sunxi
orly_owl has quit [Quit: Lost terminal]
Da_Coynul has joined #linux-sunxi
orly_owl has joined #linux-sunxi
pekka10 has joined #linux-sunxi
pekka10 has quit [Client Quit]
IgorPec has joined #linux-sunxi
pekka10 has joined #linux-sunxi
dfaught has joined #linux-sunxi
jernej has quit [Ping timeout: 260 seconds]
<tkaiser> Regarding R40 seems to have new GMAC implementation. Frank Mantel tested in both directions and got ~750/920 MBits/sec (not possible with A20). So that's good news and means we will most probably be able to exceed 900 Mbits/sec in both directions with correct settings :)
<wens> tkaiser: r40 has DE2.0, so seems to be a hybrid of a20 and h3? it also has mipi dsi
<wens> tkaiser: anyone recently done a gmac test on a20 lately? iirc there was a performance improvement patchset in mainline a few months back
<tkaiser> wens: Good point, will do that later
<tkaiser> wens: Seems like R40 is a bit H3 (GMAC), a bit A33 + one bit from A20 (SATA)?
<tkaiser> Hmm... A33 uses AXP223, R40 uses AXP221s, AXP221 was/is used with A31. Confusing.
ericxdu has quit [Ping timeout: 268 seconds]
<KotCzarny> but will it blend?
<wens> KotCzarny: it most definitely will!
<wens> using the axp221s is weird...
<wens> tkaiser: i really hope we get the non-obfuscated version of GMAC
<tkaiser> wens: I missed that a bit. What's now in H3, A83T and A64 is what exactly? Speaking about GMAC...
scream has quit [Remote host closed the connection]
The_Loko has joined #linux-sunxi
Andy-D has joined #linux-sunxi
<wens> tkaiser: according people from theobroma, the "new" EMAC in H3/A83T/A64 is either a reimplementation of DWMAC, or an obfuscated synthesis
maz has quit [Ping timeout: 244 seconds]
<wens> either way the DMA description handling structure is the same, and same goes for the register bits
<wens> just that the registers were moved around
jernej has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
<montjoie> I need to do an offcial communication about emac mainlining
<apritzel> Dodger78_: I was wondering if you might miss PL011 support in your kernel?
<wens> montjoie: you could ask mripard for an introduction to a contact at allwinner
<apritzel> Dodger78_: I you have virtio console compiled in, you might want to try "console=hvc0" and drop the earlycon
<montjoie> wens: i have already a contact for CE, but past first question, another void
teo__ has joined #linux-sunxi
<apritzel> Dodger78_: or you add SERIAL_AMBA_PL011 and the *_CONSOLE to your .config and recompile
<apritzel> montjoie: why do you need official acknowledgement?
<apritzel> montjoie: I guess they won't tell you what IP they used
<apritzel> IIRC DW has a clause in some contracts which does not allow licensees to reveal the origin of the IP
Putti has quit [Ping timeout: 265 seconds]
maz has joined #linux-sunxi
<wens> apritzel: wonder why that makes sense :/
<apritzel> wens: dunno either, but I know of at least one case
Putti has joined #linux-sunxi
<montjoie> apritzel: official comm to users:)
<apritzel> montjoie: well, a working DW based driver would be proof enough, I guess
<apritzel> montjoie: have you started looking at this already?
<montjoie> yes
<apritzel> or are you still in grief?
<montjoie> :)
<wens> apritzel: seems like good publicity, unless the integrator botched it :|
<apritzel> wens: maybe that's the reason ;-)
<apritzel> if people just mess it up, DW doesn't want to be linked to it
<apritzel> montjoie: that's great!
<wens> apritzel: it'd be kind of serious if people botch it up that often
Putti has quit [Ping timeout: 252 seconds]
jstein_ has joined #linux-sunxi
jstein is now known as Guest10166
f0xx has joined #linux-sunxi
jstein_ is now known as jstein
Guest10166 has quit [Ping timeout: 268 seconds]
uwe_ has quit [Ping timeout: 248 seconds]
Putti has joined #linux-sunxi
uwe_ has joined #linux-sunxi
topi` has quit [Ping timeout: 245 seconds]
topi` has joined #linux-sunxi
dfaught has quit [Quit: WeeChat 1.6]
ssvb has quit [Read error: Connection timed out]
HeavyMetal has quit [Ping timeout: 240 seconds]
HeavyMetal has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Changing host]
scream has joined #linux-sunxi
orly_owl_ has joined #linux-sunxi
lamer14801827354 has joined #linux-sunxi
tkaiser has quit [Ping timeout: 260 seconds]
sunxi_fan1 has quit [Ping timeout: 260 seconds]
orly_owl has quit [Ping timeout: 260 seconds]
sunxi_fan1 has joined #linux-sunxi
cptG_ has joined #linux-sunxi
uwe_ has quit [Ping timeout: 240 seconds]
cptG has quit [Ping timeout: 260 seconds]
avph has quit [Ping timeout: 246 seconds]
ninolein has quit [Remote host closed the connection]
ssvb has joined #linux-sunxi
IgorPec has quit [Ping timeout: 244 seconds]
avph has joined #linux-sunxi
f0xx has quit [Ping timeout: 244 seconds]
lamer14801827354 has quit [Quit: jIRCii - http://www.oldschoolirc.com]
<KotCzarny> what the heck is limadriver-ng o.O
<jelle> o.O
<jelle> KotCzarny: well next generation?
<KotCzarny> most likely just a fork
sunxi_fan1 has quit [Ping timeout: 250 seconds]
IgorPec has joined #linux-sunxi
ninolein has joined #linux-sunxi
tkaiser has joined #linux-sunxi
<jelly> should have called it limahl
sunxi_fan1 has joined #linux-sunxi
ericxdu_ has joined #linux-sunxi
apritzel has quit [Ping timeout: 256 seconds]
yann-kaelig has joined #linux-sunxi
cuco has joined #linux-sunxi
<cuco> hi all, I have an mele a1000 which i want to make into a linux tv ... or something. does anyone kjnows somethig about those old machines?
<cuco> I have read all the wikis, and I do have a SDCARD with some linux that boots, but displays no graphics at all (VGA nor HDMI), but statts an SSHD. (which I don't remember the password for)
yann-kaelig has quit [Client Quit]
<cuco> the stock android does boot with graphics, so no cable/monitor issues.
f0xx has joined #linux-sunxi
<tkaiser> cuco: http://linux-sunxi.org/Mele_A1000 mentions that there are (at least) 8 different variants of this device. I for example bought an A1000G by accident 2 years ago (I wanted A20 since SATA and got A31 with shitty GL830 USB-to-SATA bridge)
<cuco> tkaiser: I have A1000, I know for sure.
<cuco> tkaiser: wait... before beging to stupid: how can I tell for sure?
<tkaiser> cuco: No idea, opening the device and having a look? No idea whether Android can tell SoC being used.
<cuco> tkaiser: ok, lets assue I am not a complete tool, and I am right. Do you konw why the kernel does not show anything on screen?
cuco has quit [Quit: Konversation terminated!]
elcuco_ has joined #linux-sunxi
<willmore> Guess they left. I was going to say that cpu-z or sensor multitool are both good android programs that will tell you about the SoC they're running on.
ninolein has quit [Remote host closed the connection]
leviathanch has quit [Read error: No route to host]
leviathanch has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Cubietruck_noob has joined #linux-sunxi
HeavyMetal has quit [Ping timeout: 245 seconds]
<Cubietruck_noob> Hai Guise! I finally pulled the trigger on Cubietruck today, just ordered nice power supply, now looking at SD cards. I wasn't sure how big of one I needed, to run say Armbian headless, along with a few other light services?
<tkaiser> elcuco_: No idea
<tkaiser> Cubietruck_noob: I would recommend using 32GB since normal Samsung EVO with 32 or 64 GB show superiour random IO performance: https://forum.armbian.com/index.php/topic/954-sd-card-performance/
<Cubietruck_noob> Cool, I will go read that, thanks for link! Plan is to attach maybe 3-4 TB 3.5 HDD for media storage / self hosted cloud / contact / calendar sync. Should I run OS from HDD or SD card?
Ntemis has joined #linux-sunxi
f0xx has quit [Ping timeout: 250 seconds]
terra854 has quit [Quit: Connection closed for inactivity]
<Dodger78_> apritzel im recompiling with virtio console support
Putti has quit [Ping timeout: 260 seconds]
teo__ has quit [Ping timeout: 260 seconds]
<Dodger78_> apritzel , i have no PL011 support , i try to turn on
saurus has quit []
ninolein has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Dodger78_ has quit [Remote host closed the connection]
IgorPec has quit [Ping timeout: 246 seconds]
Dodger78 has joined #linux-sunxi
Andy-D has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
<tkaiser> Cubietruck_noob: I prefer to keep the rootfs on SD card if the card is fast (random IO -- speed class is close to irrelevant) and if spinning rust is connected to the SATA port. But that's just since I want HDDs entering spin-down state most of the times which becomes challenging if you put the rootfs there.
<Cubietruck_noob> Yes plan is to purchase whatever will give best result, hence my research today. Does spin down state = parking heads? Because I've been reading and if I understand correctly, aren't we talking about power savings (spin down) vs longevity/wear? Or am I confused?
<Cubietruck_noob> Thought I had read somewhere that HDDs only had a certain # of head parks in their lifetime, in fact for servers / NAS using wrong drives (or settings) could cause them to fail prematurely. But that may not apply to Armbian? Maybe only a function of the NAS software / firmware?
<tkaiser> Cubietruck_noob: Two different issues. Spinning-down means exactly that: the drive enters standby/sleeping state, becomes silent and consumes almost nothing. Head parking is something different, do a google search for 'WD LCC' for example. Some desktop HDD park the heads after 8 seconds of inactivity, a Linux rootfs on this disk will wake up the disk a few seconds/minutes later and your disk has been 'parked to death' after
<tkaiser> a short period of time.
<tkaiser> Cubietruck_noob: You can adjust spin-down settings with hdparm for example. And the 'load cycle count' issue many WD (and some Seagate/Samsung) HDDs suffer from can be fought with various tools (do a search for wdidle3 for example). But both issues are the reason why I prefer to never have the rootfs on spinning rust. Better choose a good SD card, do backups and let the HDD sleep when not needed
<Cubietruck_noob> Thanks for clarification. Yes spin down is what I am looking for. Of course power savings are why I am using CT for NAS / media server / self hosted "cloud." And also why I spent a little extra on nice Mean Well Level VI power supply from Mouser (http://www.mouser.com/Search/ProductDetail.aspx?R=GST40A12-P1Jvirtualkey63430000virtualkey709-GST40A12-P1J), instead of just whatever I had "lying around!" :)
<tkaiser> R40 iperf3 performance with Sinovoip/Allwinner default settings: https://frank-mankel.de/kategorien/bananapi-m2-ultra/219-bpi-m2-ultra-iperf3-test#kmt-118
<Cubietruck_noob> Thinking to go with Hitachi large bulk storage drive.
<tkaiser> Sorry, meant default settings regarding TX/RX delay. Maybe with some tweaks performance in both directions can exceed 900 Mbits/sec.
<Cubietruck_noob> Cool, thanks for info, exactly what I needed to know. Still reading but thinking maybe 32gb Samsung Evo or Evo+ from reputable source. Will that be enough? Or should I use 64gb? I was trying to see if there was limit to sd card size, but couldn't find such info.
<tkaiser> Cubietruck_noob: Always check SD cards you're buying. Counterfeit cards do exist so first step is always to test the card you buy: https://docs.armbian.com/User-Guide_Getting-Started/#how-to-prepare-a-sd-card
<Cubietruck_noob> yes had planned on that
silviop has joined #linux-sunxi
<tkaiser> Regarding size I've no idea. But on A20 devices like CT we always use mainline kernel with btrfs + lzo compression. Works well, speed up access to data and depending on the type of data you can store a lot more on the card than it's physical size. Just an example: https://github.com/igorpecovnik/lib/commit/b14da27a4181e8e232bd8f526e71d2a931a8252f#commitcomment-19484855
<miasma> tkaiser: so how many load cycles do those mobile drives handle without failing? i noticed that my seagate mobile 1TB parks the head every few minutes
<miasma> probably the laptop-mode tool would help
<silviop> Hi, u-boot recognize only 512Mb on my A33 1Gb tablet (and kernel too) , what does i need to change in .config or dts ?
<tkaiser> miasma: Use smartmontools and check the LCC parameter. Unfortunately it depends on the drive in question how to disable excessive head parking. For WD drives wdidle3 is the best choice and with most Samsung/Seagate you can achieve that with special hdparm settings. Just a moment...
<tkaiser> miasma: With most Seagate this should work: 'hdparm -B 254 /dev/sda' + 'hdparm -S 60 /dev/sda'. One to disable head-parking, the other to spin-down when inactive.
<miasma> it's weird that the default settings are so aggressive
<tkaiser> miasma: Works fine with Windows so why should the vendor care? It's only this silly Linux (OS X too) that does harm ;)
<miasma> right. i just tested. it does the load cycle 2 seconds after I run hdparm/smartctl
<miasma> so you get 30 more cycles in a minute if you want
<tkaiser> miasma: That sounds weird. The 'best' value I got was parking heads every 11 seconds on average (with WD default '8 seconds inactivity')
f2zubac has quit [Ping timeout: 268 seconds]
sunxi_fan1 has quit [Ping timeout: 260 seconds]
<miasma> tkaiser: smartctl -a seems to trigger the parking somehow]
<Cubietruck_noob> Curious, what would be the limiting factor as to SD card size? Kernel? Chipset? I've only scratched the surface on both, but couldn't come up with anything.
<miasma> at least the hardware can be a limiting factor if its really old. sdhc/sdxc need a more recent hardware
<Cubietruck_noob> hw is a20 in my case
<miasma> on my systems the sdhc readers have supported all new cards
<miasma> but some cameras etc. can be firmware limited -> e.g. 32GB max although a custom os would probably support up to 1 TB
<miasma> i've used a 64GB samsung evo with a20
mzki has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
<tkaiser> Cubietruck_noob: I'm playing around with rootfs with btrfs for a while and always use only 1 GB size (since burning the image is faster than -- btrfs does not allows to expand the filesystem later unlike ext4). Works. But you can't buy 1 GB SD cards. Or you shouldn't since this is 'class 4' crap or below. True for everything below 8 GB these days. I would use either 32 or 64 GB simply because you get those EVO with best
<tkaiser> performance/price ratio (the 128 GB EVO is a lot slower regarding random IO for example).
<miasma> nowadays you can use distros that don't write any logs to disk so any sd card should work quite well. startup can be accelerated with lz4
tlwoerner has joined #linux-sunxi
<Cubietruck_noob> Yes I realized that when buying an SD card for phone a while back. That's where the market is, and costs have come down a lot. I ended up getting a 64gb just because they were so reasonably priced. And it seems 32/64 are alike in random IO, so I'm thinking I will get the 64 gb.
<Cubietruck_noob> Better to have it and not need it, then the other way around, I always say!
<miasma> you should always consider the larger ones because they have more blocks -> better wear leveling
<Cubietruck_noob> that too
Ntemis has quit [Remote host closed the connection]
<Cubietruck_noob> I'm excited to be leaving the Google reservation once I get this thing set up to self host my own cloud services! :D
<Cubietruck_noob> Oh, can anyone recommend a good (=stable, reliable, well supported) SD card reader / writer? Hardware I mean.
<tkaiser> Cubietruck_noob: Only the other way around. In case you find one, do a google search for 'card reader corruption site:amazon.com' -- cheap ones that claim to be USB3 capable are known to overheat and then start to either throttle or corrupt data (or both) :)
<Cubietruck_noob> I thought I remembered reading on some sd card testing some hardware that was considered the gold standard for testing purposes, but I could be wrong
<Cubietruck_noob> Lexar maybe?
<Wizzup> MoeIcenowy: this is the a33 tablet I have, that is like the inet, but you said is like the q8 https://wizzup.org/tablet.jpg
<tkaiser> Cubietruck_noob: Don't choose 'brands', better choose manufacturers. Those that produce flash dies, controllers and retail products. There are exactly 4 of them.
<miasma> Cubietruck_noob: i have a transcend usb3 sd reader. it's quite nice and also supports flashing odroid emmc via an adapter (unlike my kingston readers)
<Cubietruck_noob> yes early reasearch sort of pointing to transcend already
<miasma> it's quite cheap too
<Cubietruck_noob> yes, we are living in wonderful times :)
<Cubietruck_noob> only $6.27, if you buy it in pink! XD
<silviop> wizzup: extract script.bin , it's classical q8 type
<tkaiser> ssvb: Thank you for pushing the idea of 'SPI NOR flash on every board by default'.
<miasma> next step, gigabit phy by default :)
<miasma> with WoL
<tkaiser> ssvb: I hope Armbian project can also put some pressure on ignorant vendors: https://forum.armbian.com/index.php/topic/1917-armbian-running-on-pine64-and-other-a64h5-devices/?p=20447
<tkaiser> miasma: You never dealt with Pine64+? ;)
<miasma> tkaiser: not sure how it's relevant. imo the cheaper boards could cost 1-2 usd more in exchange for a gbe
reinforce has quit [Quit: Leaving.]
<tkaiser> miasma: Pine64+ suffers from GbE PHY problems on many boards. And the 'solution' is to simply downgrade to Fast Ethernet instead ;) So it's not always desirable -- only when done right
<miasma> i can see that not all boards reach up to gigabit, only maybe 300-400 mbps, but it's still a lot better
sunxi_fan1 has joined #linux-sunxi
<Wizzup> silviop: alright, presumbly I can do that with adb
<Wizzup> will readwiki
<silviop> no with A33 you need firmware_extractor
Andy-D has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Changing host]
HeavyMetal has joined #linux-sunxi
uwe_ has joined #linux-sunxi
<silviop> for u-boot you don't need to know about firmware , do you compile u-boot?
<Wizzup> silviop: I just compiled u-boot, but right now I am trying to get script.bin using adb
<Wizzup> ah, ok
<Wizzup> (just read your other message)
<silviop> U-boot is quite easy , build a working well kernel is quite complex you nedd to mix informations from different sources
<Wizzup> silviop: I think some people have done it recently, so I'm somewhat hopeful
<Wizzup> I just don't want to nuke any extra info, so I'll just boot from sd card and use FEL boot
elcuco_ has quit [Quit: Konversation terminated!]
<silviop> Build sdcard is well documented in wiki
<Wizzup> ack
<Wizzup> yeah, I've dealt with some allwinners before
sunxi_fan1 has quit [Ping timeout: 246 seconds]
sunxi_fan1 has joined #linux-sunxi
tlwoerner_ has joined #linux-sunxi
tlwoerner has quit [Ping timeout: 268 seconds]
jernej has quit [Ping timeout: 256 seconds]
mzki has quit [Ping timeout: 244 seconds]
apritzel has joined #linux-sunxi
sunxi_fan1 has quit [Ping timeout: 248 seconds]
mzki has joined #linux-sunxi
sunxi_fan1 has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
<tkaiser> Wizzup: Doing currently storage benchmarks with aging Banana Pi (A20).
<Wizzup> cool :) let me know of the results
<Wizzup> how is that usb mode you mentioned (not mass storage) wrt stability of devices
<Wizzup> what if you briefly disconnect the usb?
<tkaiser> Wizzup: No idea, I do this sort of test with gear that is supposed to cope with this (RAID arrays, start to pull out drives until you've to leave the room since controller beeps too annoying ;) )
yann-kaelig has joined #linux-sunxi
<Wizzup> tkaiser: I've working on a decentralised system where everyone has some arm/allwinner device with some storage attached, and found that sata was a bit more sturdy in that regard
<tkaiser> Wizzup: Well, without at least 100 nodes I wouldn't trust into numbers. Statistics is a beach :)
<tkaiser> Wizzup: Test on A20 shows way higher random IO numbers when accessing the same SSD. But sequential write with SATA is a little bit slower. So performance wise it really depends on the use case and further optimizations (like modern FS that implement transparent file compression)
f2zubac has joined #linux-sunxi
<Wizzup> Cool, thanks!
silviop has quit [Read error: Connection reset by peer]
silviop has joined #linux-sunxi
<tkaiser> Wizzup: In case you missed it, today we did also some performance measurements on BPi M2 Ultra (R40, the A20 successor)
<Wizzup> I'm hoping for R40 boards from olimex ... :)
silviop has quit [Client Quit]
Christos has quit [Ping timeout: 260 seconds]
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 248 seconds]
iamfrankenstein1 is now known as iamfrankenstein
<tkaiser> Wizzup: Me as well but I'm also hoping for some cheap R40 stuff from Xunlong or FriendlyARM. R40 has SATA and GbE. Why increasing costs with eMMC, WiFi/BT and other crap? Focus on the use case and deliver R40 devices that are worth a buy
<Wizzup> tkaiser: yes, olimex has devices without nand and without emmc
<Wizzup> and they're very friendly :)
iamfrankenstein has quit [Quit: iamfrankenstein]
sunxi_fan1 has quit [Ping timeout: 260 seconds]
corecode has left #linux-sunxi ["ERC (IRC client for Emacs 24.5.1)"]
vagrantc has joined #linux-sunxi
sunxi_fan1 has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
sunxi_fan1 has quit [Ping timeout: 256 seconds]
scream has quit [Remote host closed the connection]
yann-kaelig has quit [Quit: Leaving]
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
Cubietruck_noob has quit [Ping timeout: 260 seconds]
Da_Coynul has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
The_Loko has quit [Quit: Leaving]
Putti has quit [Ping timeout: 265 seconds]