vlad59

Members
  • Content Count

    177
  • Joined

  • Last visited

About vlad59

  • Rank
    Elite member

Recent Profile Visitors

1349 profile views
  1. I've successfully used BMP180 (Igor gave you a link), BME280, SI7021 based devices (search on aliexpress, you'll find plenty).
  2. Can you link a git repo with your changes ?
  3. I use Armbian (of course) with debian or ubuntu (lately I've been using ubuntu but debian also work). I followed this documentation : https://docs.docker.com/install/linux/docker-ce/ubuntu/ you just have to use the armhf repository (there's 5 tabs with different arch). I never have tested kubernetes on Arm devices even though I really want to test k3s but time is a limited resource :(.
  4. I use docker 24/7 for my home automation for at least 2 years (almost 3). First on a banana pi and since 3 months on a Orange Pi +2E (I switched for the 2Gb of RAM). I have a dozen of small containers (many small home made python script, mqtt server, nzbget, home assistant, traefik, ...) running all the time and it works great. I don't know what to say specifically as it's been working mostly good. The only caveat I have is that sometimes docker bridge network get stucked and I have to reboot to get it back but it happened 3 times over 2 years.
  5. I also did the test with wget (on a SSD) : wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.4.5.tar.xz --2019-12-19 09:17:14-- https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.4.5.tar.xz Resolving cdn.kernel.org (cdn.kernel.org)... 2a04:4e42:1d::432, 151.101.121.176 Connecting to cdn.kernel.org (cdn.kernel.org)|2a04:4e42:1d::432|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 109435988 (104M) [application/x-xz] Saving to: ‘linux-5.4.5.tar.xz’ linux-5.4.5.tar.xz 100%[=========================================================================>] 104,37M 15,1MB/s in 6,9s 2019-12-19 09:17:21 (15,1 MB/s) - ‘linux-5.4.5.tar.xz’ saved [109435988/109435988]
  6. Nope the Bpi M1 can do much more, see here : Your test file is not so quick to download : root@minus:~# curl -o /dev/null https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.4.5.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 104M 100 104M 0 0 13.0M 0 0:00:07 0:00:07 --:--:-- 13.4M root@minus:~# curl -o /dev/null http://test-debit.free.fr/1048576.rnd % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 32 1024M 32 332M 0 0 93.6M 0 0:00:10 0:00:03 0:00:07 93.6M^C The slowing factor is often the disk.
  7. Hi, I just had a huge boost on my Internet speed (1Gbs down / 600Mbps up), it's a good thing but it showed that many of my SBC that are running 24/7 are not ready to handle such high bandwidth. In each case running a curl outputting to /dev/null -> I almost top out the Gigabit interface -> 99Mo/s. When I test download speed (while saving on disk) : * Old Banana pi running kernel 4.14.18-sunxi (armbian of course but not updated with stretch) with an Kingston SSD on the SATA port -> cannot go over 12~14Mo/s (Mo/s not Mb/s) * Orange Pi +2E running 4.19.62-sunxi (armbian with ubuntu Bionic) with a Sandisk SSD on usb2 with a UAS adaptor -> cannot go over 35~37Mo/s. I have updated another Banana pi with latest Armbian (Bionic / kernel 5.3.X), it includes the patch to fix SATA write speed still with a SSD -> 37Mo/s using wget and 44Mo/s using aria2c (with a single connection) Each test was done with HTTP download from a VPS I own with 1Gb/s interface and plenty of bandwidth. I'll make other test with NFS later. So far the lesson I learned -> update Armbian more often ! I'll debug more to see if I can tweak some interrupts / mtu / disk parameter to get a few % more. If you have some idea please share !
  8. @megi Forgot to tell if you want more Tanix TX6 report, go to librelec forum or ask Jernej, he is the one who made the librelec image.
  9. @megi Yeah I won the allwinner lottery (or at least the interesting stuff lottery), tell me if you need anything else
  10. Tanix TX6 : LibreELEC:~ # ./regtool h6-soc-bin SoC bin: invalid (bin=0) (raw=2)
  11. Last time I checked LZ4 kernel algo was not properly optimized for ARM (with NEON) so I don't think you can directly apply this blog results to ARM. The same "problem" happen with zram which is slower than in x86 world.
  12. Hi all, I have a Tanix TX6 4Gb/32Gb on the way. I hope to use it with armbian (if that does not work, I'll use libreelec but I'd prefer having a generic linux). Is there a step by step guide on how to build an armbian image. I read the whole thread and saw that megous tree is almost good to go especially with 5.4 that got a lot of patch included. It's less clear for uboot, is latest uboot good to use or is there some patch to use. Is there a fork of armbian/build with everything included maybe ? Thanks in advance for any help
  13. A little late but it's working fine : root@pine64:~# uname -a Linux pine64 5.3.1-sunxi64 #5.97 SMP Mon Sep 23 18:28:48 CEST 2019 aarch64 aarch64 aarch64 GNU/Linux root@pine64:~# ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supported pause frame use: Symmetric Receive-only Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised pause frame use: Symmetric Receive-only Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Link partner advertised pause frame use: Symmetric Receive-only Link partner advertised auto-negotiation: Yes Link partner advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 1 Transceiver: internal Auto-negotiation: on Supports Wake-on: d Wake-on: d Current message level: 0x0000003f (63) drv probe link timer ifdown ifup Link detected: yes root@pine64:~# for now my patch is in `userpatches/kernel/sunxi-dev/`. If I understand correctly I just have to move the patch to `patch/kernel/sunxi-dev/` and make a PR, right ?
  14. @martinayotte@Igor I finally found where I read about problem on some pine64+ for ethernet, it was in Librelec forums and Jernej added a patch fixing that a few weeks ago : https://github.com/LibreELEC/LibreELEC.tv/blob/9d68e4ba191d7b0bd319e1e254610917e69526e0/projects/Allwinner/devices/A64/patches/linux/03_pine64_plus_ethernet_fixes.patch The last part of the patch is interesting (= could fix my problem) and was queued for kernel 5.4 : https://lkml.org/lkml/2019/9/18/714 Grepping for `config-magic-for-pine64` or `regulator-enable-ramp-delay = <100000>` inside armbian build source return nothing so I guess that can be it. I'll try a dev build with this patch tomorrow and report here either way.