Moklev

Members
  • Content count

    56
  • Joined

  • Last visited

About Moklev

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. My Orange Pi PC2 work fine with Stretch (mainline, 4.14.48) between 35 and 65 °C. I got only a minor (but annoying) problem: the board start overheating after a shutdown (sudo shutdown -h now) and reach >70 °C after few minutes. Is it a kernel problem? Or a hardware design fault?
  2. They have released the first version (07_2018) https://bootlin.com/blog/allwinner-vpu-main-goals-delivery/ https://linux-sunxi.org/Sunxi-Cedrus#2018.07_Releases
  3. Moklev

    gc2035 & vfe_v4l2 modules not found

    https://forum.armbian.com/topic/7502-ov5640-on-mainline-kernel/
  4. Moklev

    Where to build Armbian in the cloud?

    Me too... with an old HP z400 Workstation (Xeon W3530, 12GB ECC DDR3 and a SSD Crucial MX300) build process is quite fast.
  5. Moklev

    NanoPI M4

    An extrusion process - compared to cnc machining - isn't more cheaper (economically and energetically)? Like new Asus case for Tinker Board: https://www.asus.com/Single-Board-Computer/Tinker-Fanless-Aluminum-Case/
  6. Moklev

    New Mali blobs (Allwinner, mainline)

    Yes... https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/gpu/arm,mali-utgard.txt
  7. Bootlin has released the new blobs (32&64 bit, X11/fbdev/Wayland, r6p2/r8p1). https://bootlin.com/blog/more-opengl-binaries-for-the-mali-support-on-allwinner-platforms-with-mainline-linux/ https://github.com/free-electrons/mali-blobs
  8. Moklev

    OV5640 on mainline kernel

    It looks like Yong Deng's patch for V3s CSI. +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2011-2018 Magewell Electronics Co., Ltd. (Nanjing) + * All rights reserved. + * Author: Yong Deng <yong.deng@magewell.com> + */ Here: https://www.spinics.net/lists/linux-media/msg130006.html http://linux-sunxi.org/Linux_mainlining_effort
  9. Moklev

    OV5640 on mainline kernel

    This sounds very interesting! But ... I can not find the interface driver (sun6i_csi). This is the Maxime Ripard's patch to mailine kernel or another one? For the testing: I've a Orange Pi PC2 H5 and a OV5647 NoIR CSI.
  10. (disclaimer) No itention to make a Frankendebian (https://wiki.debian.org/DontBreakDebian) but ubuntu package "zram-config" works perfectly. I tested it for two weeks in a: Orange PI Zero 512MB Armbian Stretch 5.40 4.14.18, Orange PI PC2 Armbian Stretch 5.40 4.14.18, AMD Sempron microserver Debian Stretch 9.4 4.9.0-6-amd64. A short tutorial: 1. Download zram-config package (it's a universal package, it does not matter the architecture in use) wget http://de.archive.ubuntu.com/ubuntu/pool/universe/z/zram-config/zram-config_0.5_all.deb 2. Install it sudo dpkg -i zram-config_0.5_all.deb 3. Remove the installer rm zram-config_0.5_all.deb 4. Check vm.swappiness cat /proc/sys/vm/swappiness (must be 60, default) 5. If not (i.e. "cat /proc/sys/vm/swappiness" return "1" ) change it to "60" sudo nano /etc/sysctl.conf and add "vm.swappiness=60" at the end of file ... and reboot 6. check zRAM service sudo zramctl NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT /dev/zram0 lzo 437,8M 5,2M 1,4M 1,9M 2 [SWAP] /dev/zram1 lzo 437,8M 5,2M 1,4M 1,9M 2 [SWAP] 7. (optional) change lzo compression to lz4 sudo nano /usr/bin/init-zram-swapping # initialize the devices for i in $(seq ${NRDEVICES}); do DEVNUMBER=$((i - 1)) echo $mem > /sys/block/zram${DEVNUMBER}/disksize mkswap /dev/zram${DEVNUMBER} swapon -p 5 /dev/zram${DEVNUMBER} done to... # initialize the devices for i in $(seq ${NRDEVICES}); do DEVNUMBER=$((i - 1)) echo lz4 > /sys/block/zram${DEVNUMBER}/comp_algorithm echo $mem > /sys/block/zram${DEVNUMBER}/disksize mkswap /dev/zram${DEVNUMBER} swapon -p 5 /dev/zram${DEVNUMBER} done 8. restart the service sudo systemctl restart zram-config.service 9. check new compression algorithm sudo zramctl NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT /dev/zram0 lz4 437,8M 5,2M 1,4M 1,9M 2 [SWAP] /dev/zram1 lz4 437,8M 5,2M 1,4M 1,9M 2 [SWAP] 10. check the zRAM priority over file swap cat /proc/swaps zRAM devices must be at priority "5", swap file at "-1" or "-2" 11. finish :-)
  11. An Asus Tinkerboard (Mali-T764) or a Rock64 (Mali-450MP4)? With a quite good support: http://opensource.rock-chips.com/wiki_Status_Matrix Try to build r6 driver by Free Electrons: https://github.com/mripard/sunxi-mali Kernel module: git clone https://github.com/mripard/sunxi-mali.git cd sunxi-mali export CROSS_COMPILE=$TOOLCHAIN_PREFIX export KDIR=$KERNEL_BUILD_DIR export INSTALL_MOD_PATH=$TARGET_DIR ./build.sh -r r6p2 -b ./build.sh -r r6p2 -i ... and the userspace driver: git clone https://github.com/free-electrons/mali-blobs.git cd mali-blobs cp -a r6p2/fbdev/lib/lib_fb_dev/lib* $TARGET_DIR/usr/lib Pay attention: "In order to build the kernel module, you'll need a functional DRM driver. If you have that already, you'll need the options CONFIG_CMA and CONFIG_DMA_CMA enabled in your kernel configuration."
  12. Moklev

    High temperature Orange Pi Zero Plus2 H3

    Ops... :) Zero plus 2 is the H5 version? CPUFreq is in WIP stage also for the H5... all H boards have problem scaling down in idle with kernel 4.14.
  13. Moklev

    High temperature Orange Pi Zero Plus2 H3

    OPZ H2+ (v1.4) is a hot board. I got 68-72°C running pihole and motioneye, with passive heatsink and plastic case (without stability problems, for 1 year). With mainline kernel 4.14.yy frequency scaling isn't perfect... full cpufreq implementation is espected for 4.18.yy
  14. Moklev

    ARMBIAN for Amlogic S905 and S905X

    Have you tried to build it? git clone https://github.com/xbmc/xbmc.git git clone https://github.com/kodi-pvr/pvr.iptvsimple.git cd pvr.iptvsimple && mkdir build && cd build cmake -DADDONS_TO_BUILD=pvr.iptvsimple -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons make
  15. Same in 5.40 (Orange Pi Zero and Orange Pi PC2, Debian Stretch 9 server): armbian-config stuck changing locale from EN to IT (from en_US.UTF-8 to it_IT-UTF-8. You need to change manually by editing /etc/default/locale.