Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

1604 profile views
  1. So, was it a bad idea to decompile "sun7i-a20-orangepi.dtb" into "sun7i-a20-orangepi.dts", then edit and compile back to "sun7i-a20-orangepi.dtb"? Would it be more correct to edit/patch the kernel sources instead?
  2. Ok, thank you. My understanding was there are more changes required than just phy-mode = "rgmii"; -> phy-mode = "rgmii-id"; (for HDMI and USB)
  3. I tried to merge with bananapi dts, but something still wrong. Could you please share you new sun7i-a20-orangepi.dts file?
  4. Is it more correct to build Armbian from the official branch v21.02 (if talking about the self build). Does a particular kernel and u-boot snapshots are linked to the official releases? I tried to merge dtb of BananaPi and OrangePi, enabled some devices, but, unfortunately, I didn't get the desired result yet - not enough knowledge on this subject. Perhaps, v5.4 will be a good choice for now
  5. I enabled OrangePi config and built two focal desktop images. Image with kernel v5.10 has the same problem with dtb config (no USB, no HDMI) while image with v5.4 works good. WiFi is connected to USB so that explains issue with WiFi on kernel v5.10 The only confusing thing is the mismatch between web site and Armbian console Got it! However, both BananaPi and OrangePi have few changes per year. But, perhaps, something was broken between v5.4 and later version like v5.10 Will try to check this, thank you. But it is not working on v5.4 out-of-the-box armbian-config for OrangePi doesn't allow to enable it - USB is missing there (due to missing overlays in dtb/overlay folder?) Here are some notes of possible improvements - it will be good to put "boot.cmd", "boot.scr", ArmbianEnv.txt and ".next" inside some Armbian debs, if lost they can be taken only from Armbian image (if I'm not mistaken) - linux-u-boot-legacy-orangepi_21.05.0-trunk_armhf.deb and linux-u-boot-current-orangepi_21.05.0-trunk_armhf.deb are in conflict?! I had to install u-boot manually - A minor cosmetic thing. Adding fdtfile=sun7i-a20-orangepi.dtb to ArmbianEnv.txt of BananaPi image doesn't make a "full" conversion to OrangePi, how to proper set new BOARD_NAME to correct name on welcome screen?
  6. I have compared dts files and found that some devices were disabled I switched them to "okay" but it didn't help to enable HDMI monitor output with OrangePi dtb file zador.blood.stained, I saw you had a great contribution to Armbian on such subjects, can you comment please what could be wrong with stock OrangePi dtb file?
  7. Hello After a couple of years, I took my "ancient" OrangePi board and found it working well with Ubuntu 18.04 (kernel 3.14.113). And I even did distr update to 20.04. So HW is ok. I found that Armibian support status of OrangiPi is changed to "Supported" and decided to try the latest image with modern kernel "Armbian_21.02.1_Bananapi_focal_current_5.10.12_desktop.img.xz" (shared image between OrangePi and BananaPi). XFCE desktop was loaded but USB was not working. And that was the known mismatch between OrangePi and BananaPi HW conguration. So I updated "/boot/armbianEnv.txt" with "fdtfile=sun7i-a20-orangepi.dtb". But after that video became OFF and board is working only as network remote station. That makes me think that supplied "sun7i-a20-orangepi.dtb" is incorrect. Does it make sense? (if I remove "fdtfile=sun7i-a20-orangepi.dtb" video is working again but USB is not) Where can I get an older version of "sun7i-a20-orangepi.dtb"? (old bin/fex file in old OragnePi images was ok) P.S. Does Armbian_21.02.1 supports HW video acceleration with 5.10 kernel? And how to make WiFi working? (ifconfig do not show WiFi interface) Thank you
  8. 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?
  9. 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.
  10. 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)
  11. 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?
  12. 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.
  13. 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 = {
  14. @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
  • Create New...