OPUser

Members
  • Content Count

    9
  • Joined

  • Last visited

About OPUser

  • Rank
    Newbie

Recent Profile Visitors

492 profile views
  1. I compiled jessie desktop image without use of FORCE_CHECKOUT but u-boot can't load kernel - it stops at "Starting Kernel..." message. kernel only compilation gave the same result. I decided to check if Ubuntu image from site works - it works but average load is too high, over 1.2. armbianmonitor -m shows 70% CPU load. But htop shows /sbin/init at 6% as a heaviest task. How can I check the rootcause?
  2. Hello I have built Armbian new desktop image and SATA PMP patched kernel debs for OrangePi from the master branch on Ubuntu Xenial VBox host ./compile.sh PROGRESS_DISPLAY=plain FORCE_CHECKOUT="no" CREATE_PATCHES=yes\ BRANCH=default BOARD=orangepi KERNEL_ONLY=no RELEASE=jessie\ USE_GITHUB_UBOOT_MIRROR="yes" BUILD_DESKTOP=yes EXTERNAL_NEW=prebuilt and got this messages during kernel compilation HEAD detached at FETCH_HEAD nothing to commit, working directory clean [ warn ] Make your changes in this directory: [ /root/my_orangepi_kernel/sources/linux-sunxi/sunxi-3.4 ] [ warn ] Press <Enter> after you are done [ waiting ] [ warn ] No changes found, skipping patch creation fatal: ambiguous argument 'HEAD~': unknown revision or path not in the working tree. and include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc5.h: No such file or directory I fixed the second one adding KERNEL_NEEDS_GCC='< 5.0' to /root/my_orangepi_kernel/lib/config/sources/sun7i.conf And at the end I got linux-image-3.4.104-sun7i_5.27_armhf.deb Few month ago I did same and I got 3.4.112 during the build. Is it the numbering issue or an effect of my kernel compilation error workaround? What can be the best way to fix that error? I had same error in the log during usb-redirector compilation: include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc5.h: No such file or directory Thank you.
  3. RagnerBG mpv has sound sync issue on my jessie, I will try to comple mplayer myself. Thanks Is it better to use mplayer2? I have consern that mplayer2 have incomatibility with the latest libavcodec. And that's the root cause. Previous libavcodec versions (e.g. libavcodec53, libavcodec54) worked fine with mplayer2 BTW. This says that udev rules for /dev/ion is only for H3; while A10/A20, A13, requires udev rules for /dev/g2d (it's missing in Armbian now)
  4. mplayer was working with HW acceleration on wheezy and trusty, but today I loaded jessie image and I got that: Cannot find codec 'h264_vdpau' in libavcodec... Video decoder init failed for codecs.conf entry "ffh264vdpau". I'm puzzled, what's wrong with it? Outdated libs in jessie?
  5. tkaiser, Thank you for pointing the direction. Hello Igor. BTW. Is it possible to have different sources for kernel update for those who is using custom kernel? E.g. My system with SATA multiplier will not boot if I will miss kernel update, so I had to disable source in armbian.list. Proposing something like: deb http://apt.armbian.com/all jessie main deb http://apt.armbian.com/sw_only jessie main deb http://apt.armbian.com/kernel jessie main Thank you.
  6. Hello I'm investigating update from wheezy to trusty on my OrangePI (A20) based home media server. I'm using custom kernel 3.4.110 with SATA multiplier support. System is on HDD. I had few remarks and issues (part of them were solved but some are not): - Video acceleration was not working out of the box on trusty desktop image but it was solved it by installing "Desktop-extras for Jessie-desktop (sunxi)" - it looks it could be added as default for trusty. But mvp package can't be installed due to depedencies to libs which I did not found in ubuntu reps?! - compositing if OFF in xfce but when I moving windows on the desktop, CPU load is becoming 100% till I stop moving them, if I enable compositing then windows moves are not loading the CPU but video acceleration doesn't work - What could be a reason of extra CPU loading when I move windows? 2D acceleration issue? udev rules issue for G2D? - ALSA works out of the box. Pulseaudio is installed in trusty image by default but it is not started at system boot and programs (e.g. mplayer) can't init the pulse driver even if I start it manually by service pulseaudio start: AO: [pulse] Init failed: Connection refused - BTW. I did this patch for SATA multiplier (AgeStar DAS). I copy it to /userpatches/kernel/sun7i-default folder - work's good for the legacy kernel --- a/drivers/ata/sw_ahci_platform.c +++ b/drivers/ata/sw_ahci_platform.c @@ -249,7 +249,7 @@ .udma_mask = ATA_UDMA6, .port_ops = &ahci_ops, .private_data = (void*)(AHCI_HFLAG_32BIT_ONLY | AHCI_HFLAG_NO_MSI - | AHCI_HFLAG_NO_PMP | AHCI_HFLAG_YES_NCQ), + | AHCI_HFLAG_YES_NCQ), }; static struct ahci_platform_data sw_ahci_platform_data = {
  7. @Igor Thank you. I have recently upgraded my Debian wheezy v3.5 to the latest Debian wheezy desktop v4.5 following lib scripts. And I have also manage to complile legacy kernel with PMP and all external tools. I have notice the following - apt-get install didn't install all required packages (PAKETKI) from main.sh and from deboostrap.sh and desktop.sh so I had to install them by myself - BOOTLOADER="http://git.denx.de/u-boot.git" works faster then BOOTLOADER="git://git.denx.de/u-boot.git" in Russia. I had no big delay using http. Previously I was pushed by timeout. My Agestar DAS is able to see the HDD now. But what I do not understand now is how the default 3.4.109 kernel from linux-image-sun7i_4.51_armhf.deb sees the HDD in DAS now (I have installed kernel upgrade debs to perform some check on your "golden" kernel). ?! root@orangepi:~# ls /boot/ -l drwxr-xr-x 2 root root 4096 Окт 27 14:29 bin -rw-r--r-- 1 root root 1937 Окт 27 14:31 boot.cmd -rw-r--r-- 1 root root 2009 Окт 27 14:31 boot.scr -rw-r--r-- 1 root root 97046 Окт 14 21:33 config-3.4.109-sun7i -rw-r--r-- 1 root root 2452596 Окт 26 22:03 initrd.img-3.4.109-sun7i lrwxrwxrwx 1 root root 22 Окт 15 22:20 script.bin -> /boot/bin/orangepi.bin -rw-r--r-- 1 root root 2004410 Окт 14 21:33 System.map-3.4.109-sun7i -rwxr-xr-x 1 root root 5605936 Окт 14 21:33 vmlinuz-3.4.109-sun7i -rwxr-xr-x 1 root root 5606464 Окт 22 17:40 ~vmlinuz-3.4.109-sun7i.pmp lrwxrwxrwx 1 root root 27 Окт 26 22:03 zImage -> /boot/vmlinuz-3.4.109-sun7i root@orangepi:~# dpkg -l | grep linux- ii linux-firmware-image-sun7i 4.51 armhf Linux kernel firmware, version 3.4.109-sun7i ii linux-headers-sun7i 4.51 armhf Linux kernel headers for 3.4.109-sun7i on armhf rc linux-image-3.4.107-orangepi 1.2 armhf Linux kernel, version 3.4.107-orangepi ii linux-image-sun7i 4.51 armhf Linux kernel, version 3.4.109-sun7i ii linux-libc-dev:armhf 3.2.68-1+deb7u5 armhf Linux support headers for userspace development ii linux-u-boot-orangepi 4.5 armhf Uboot loader 2015.07. ii linux-wheezy-root-orangepi 4.5 armhf Various root file system tweaks for ARM boards root@orangepi:~# dpkg -L linux-image-3.4.107-orangepi Package `linux-image-3.4.107-orangepi' does not contain any files (!) root@orangepi:~# parted /dev/sdc print Model: ATA WDC WD30EFRX-68E (scsi) Disk /dev/sdc: 3001GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Number Start End Size File system Name Flags 1 4194kB 3001GB 3001GB ext4 primary Model: ATA WDC WD30EFRX-68E (scsi) Disk /dev/sdc: 3001GB Sector size (logical/physical): 512B/4096B Partition Table: gpt
  8. Hello Igor. Thank you implementing repository for system update. It is usful. I was updating my Orange PI from v3.5 to the current kernel, u-boot, etc using wget -q -O - http://upgrade.armbian.com| bash It failed saying W: GPG error: http://apt.armbian.comwheezy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5 Old kernel was removed by the script but the new one was not installed. So that I installed updates manually. Is there a way to update rootfw incrementally from v3.5? E.g. current rootfs update deb does not contain utility like a10disp Another question. Does kernel supports SATA multiport (PMP) out of the box? cat /boot/config-3.4.109-sun7i |grep PMP says CONFIG_SATA_PMP=y Or I stilll need to recompile kernel without AHCI_HFLAG_NO_PMP in sata driver? P.S. I'm trying connect my board to DAS though SATA port (http://agestar.com/en/Products/3-5â€-HDD-Enclosure/USB3-0/1040-35-inch-usb30-4bay-hdd-enclosure.html) but didn't succed yet
  9. Igor. Thank you for the build script. I've got this error when starting the compile.sh script for OrangePI: [ ok ] Downloading u-boot Cloning into '/home/user/output/u-boot'... fatal: unable to connect to git.denx.de: git.denx.de[0: 85.214.87.163]: errno=Connection refused while http://git.denx.de/u-boot.git is seen in the browser git clone git://git.denx.de/u-boot.git doesn't work either What could be wrong here? I was also asked about modified gmac driver for Bananapi (GMAC_FOR_BANANAPI) [N/y/?] (NEW) Preclaim OSS device numbers (SOUND_OSS_CORE_PRECLAIM) [Y/n/?] (NEW) and some other questions related to SOUND, MIDI etc. Shoul I always answer with default values to have same functionality as your OrangePI image have?