Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Advanced users - Development

Kernel, patches, hints, image building

Subforums

  1. Discussion regarding Armbian's Mission, Strategy and Project Administration.

    Not a technical forum.

    • 4.9k posts
  2. Hardware hacks: Displays, sensors, GPIOs, IO libraries and overlays

    Tutorials: Document collection of how-to and various experiments

    Reviews: A critical appraisal of device or service

    • 3.3k posts
  1. Hi, in case somebody is looking for working example of USB gadget built for H3 processor (Orange Pi PC) on top of GadgetFS, please look at the link: https://github.com/prife/ptp-gadget The only adaptation required for Orange Pi PC is in autoconfig() function: else if (stat(DEVNAME = "sunxi_usb_udc", &statb) == 0) { HIGHSPEED = 1; fs_source_desc.bEndpointAddress = hs_source_desc.bEndpointAddress = USB_DIR_IN | 1; EP_IN_NAME = "ep1in-bulk"; fs_sink_desc.bEndpointAddress = hs_sink_desc.bEndpointAddress = USB_DIR_OUT | 1; EP_OUT_NAME = "ep1out-bulk"; source_sink_intf.bNum…

  2. Started by dhlii,

    I have worked with a BeagleBone Black which has a very nice feature. Out of the box you can connect it to a laptop via USB and it sets up a network between the BBB and the laptop. Is there some kind of equivalent to allow the USB OTG ports of these boards to be used for a PC to Device network ? I am particularly interested in the H3's

  3. I was using usb otg(microusb) as host mode in kernel 3.x. I was using this port to connect banana pi to touch&PWR in LCD. With kernel 3.x, there was no problem, but in the kernel 4.x the touch did not work. I was searching about the structure of usb port, and found out that to use micro usb as a host mode, the forth pin(sense) and the fifth pin(GND) should be connected. I checked this had been causing a touch problem by trying soldering the forth and the fifth pin of the usb otg port in banana pi, and the touch worked. Isn't there any way I can handle this situation in software-wise, not by soldering? I had also considered buying a microusb wire which has …

    • Reputation Points

    • 0 replies
    • 2.1k views
  4. Started by sv1eed,

    Hello, I see that on both buster and bullseye for orange pi pc2, the usbtmc module is not enabled. This is a heavily used module with embedded systems and can't see any reason for disabling it. thanks

  5. Started by Andrés Rengifo,

    Hi I would like to add usbtv driver (STK1160) to the kernel, but I don't know how to use this information: https://www.olimex.com/wiki/STK1160-howto-linux-sunxi-3_4 Together with the Armbian repo https://github.com/igorpecovnik/lib

  6. Started by oleg_krv,

    There is a problem, can someone tell me the solution. There is a library of video surveillance systems manufacturer Assembly for Windows Linux x86 64 and Android. Is it possible to start the assembly of its application in the ARM Linux using the library for Android if it is assembled with the Bionic. I could not get: > LC_ALL=c g++ test.cpp -L. -lxmnetsdk -Wl,-rpath,. -o testsdk /usr/bin/ld: warning: liblog.so, needed by ./libxmnetsdk.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libstdc++.so, needed by ./libxmnetsdk.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: testsdk: hidden symbol `fstat' in /usr/lib/arm-linux-g…

    • Reputation Points

    • 5 replies
    • 6k views
  7. Started by pkfox,

    I ask this question purely out of curiosity - why is the userpatches folder not in the build folder when it is first cloned

    • Reputation Points

    • 2 replies
    • 2.2k views
  8. Hello all. Trying to get PCIe/NVMe working (even to show on microSD boot, let alone boot NVMe) on a custom compile on my Orange Pi 5 SBC version 1.3.2, because the official images aren't working either for me. No idea where to go from here and need some assistance as NVMe is required for my purpose. Here is what I did during compile.sh > Show kernel config > Board: orangepi5 > Kernel: current > Target: jammy > Image with desktop > Gnome desktop > Base configuration > Tick: Browsers > Device Drivers > PCI support > (default values) > Device Drivers > NVME Support > (default values) I used "SHARE_LO…

  9. Hello, everybody. I managed to succefully pu to work my recently acquired Orange Pi PC, using Ubuntu server. Now, I'm trying to configure my new Orange Pi 2g IOT as well. However, I just found out it doesn't have a monitor out, and I don't know how to access it via USB. So I had an idea: The 2g IOT has TX, RX, GND connections, and so does my Pi PC... Can anybody tell me How I can use the Pi PC to run linux commands on th 2g IOT? I don't have a Usb-ttl-uart connector, and it's veru hard to get one on my region... Thnak you very much.

    • Reputation Points

    • 0 replies
    • 1.7k views
  10. Hi Is there a way to set url for kernel sources for build process of armbian? I want to try this kernel: https://github.com/openedev/linux which has - potentially - fix for my problem described here: and here: https://forum.banana-pi.org/t/lcd-module-dsi-rgb-with-touch-and-s070swv20hg-dc16-lcd-panel-mainline-kernel/11172 But i have no idea how to change default url for kernel sources. Ps. I'm using docker to build and have question: where armbian stores its kernel sources(locally) and how to obtain its urls?

    • Reputation Points

    • 3 replies
    • 2.1k views
  11. Hi All, this is my 1st post here. If I'm mistaken where or what placing here, please pardon me and direct me to the right place. Please illuminate my ignorance, concerning the subject. I think it is implementation dependent, how usleep(3) is treated, when found in an interrupt service call back routine. Is it just ignored?, or are ISRs executed as threads and usleep(3) works?? Moreover, the ISR is called from a Real_Timer int (sigalrm). Thank's and best regards hk

    • Reputation Points

    • 2 replies
    • 2.3k views
  12. Started by perfstr,

    Hello, I was able to complete custom (with USB gadget support) build of current Armbian version (5.17) for desktop using tip about workaround for u-boot compiling problem. But when I run h3disp in order to allow DVI monitor connection (-d), after the restart I still get no output to DVI monitor, while remote Putty connection works. I understand that this is version-in-development, but is there any way to fix (workaround) the problem?

    • Reputation Points

    • 15 replies
    • 7k views
  13. https://dl.armbian.com/orangepipc/archive/ Armbian_20.02.1_Orangepipc_buster_current_5.4.20_desktop.7z Just checked a fresh buster desktop image. And found a tiny issue. If you will try to install linux-headers-current-sunxi using the latest v20.02.1 image (buster, K5.4.20), you will get the v5.3.9 headers It would be nice to get the v5.4.20 headers instead Quick tip for other users - headers package can be found here - https://apt.armbian.com/pool/main/l/linux-5.4.20-sunxi/

  14. i've cross-compiled all possible backported drivers for legacy 3.4.112 kernel could someone who has some usb tuners or video grabbers test it? download and untar http://d-h.st/k4kZ cd there and run sudo make install

  15. Started by Igor,

    Shall we start to finalise and prepare for images rebuild? Some new features were already documented, but there are some ongoing things and we are also preparing new download organisation, which could be included. - it looks like I manage to disable / merge little too much images, which needs to be built. @tkaiser was right I made a mistake, so please check .conf if I forgot something. - beta builds. we can't check all images, but some should be enough to assume everything is o.k. ... Do we have a minimum set yet? - I will try to enable beta testing protocol / call for testing within this build. What else should be included / finished and pushed into this buil…

    • Reputation Points

    • 17 replies
    • 6.8k views
  16. Started by Igor,

    https://github.com/armbian/documentation/commit/9d43fb8b2baf45258b5ef84dafc31585889cfc70 In case you want to squeeze in something. DUE: Sunday.

  17. Started by Igor,

    We would like to thanks all of those who participated in our small contest. Great submission! It was really hard to make a cherry pick, while the winner will be chosen by the vote. Since we only need one default wallpaper and that one must be as generic and clean as possible, this choice is as follows. Few others, which might come into action, had either too small text size, strange colors or were simply too busy. We might will add more than those five wallpapers to our desktop or use them as a boot splash. Vote will be online until 16.12. 1. Dre0x-Minum-dark 2. chzbacon-Micro-SD 3. chzbacon-Linen---Dark 4. 1430-very-dark 5. username-dark

  18. Started by Kimberly,

    Hi, I'm working with bananapi M1+ and downloaded a raw image for banana pi A20 from armbian.com Now I want to work in a root account so that later, I possibly remove the pi account and use only the root account.(for embedded) Is there any way to boot as root? Thanks in advance!

    • Reputation Points

    • 9 replies
    • 8.7k views
  19. Started by e97,

    armbian has XFCE (hw accelerated where possible) desktop images - is there interest in getting Wayland running on as many SBCs as possible so we can have smooth, high quality desktop?

  20. Started by Tido,

    Hi, Thank you for your interest, you won't be disappointed. You have probably read that the developer want to do some changes - and some of this changes are now ready to get tested in the BETA's of armbian. Do not test with your 'production' SDcard unless you have done a backup ;-) Once done that, please go to 'armbian-config' System switch to BETA (Nightly), do an update/upgrade, reboot, check if your system still performs as before. If it does work like before - please let us know and post your 'armbianmonitor -u' link If it doesn't work, please try a reboot, check if the problem is reproduceable and if so explain the s…

  21. Started by phintegrator,

    Hi, I'm using armbian on my Cubieboard running from nand. I'm just curious how do you implement wear-leveling in this armbian on nand implementation on ext4? Thanks in advance. :)

    • Reputation Points

    • 3 replies
    • 3.7k views
  22. Started by Igor,

    Upcoming week I am having an initial meeting with WEB/UX redesigners, which should focus on overall navigation, entry, download ... The quick Armbian intro video is also in the making process by somebody else - to replace those 4 images on the entry page. I know we already talked about those problems, some issues were resolved, some not. Since ideas are scattered around many topics I am opening a new one. Roughly: Navigation: unified on all pages. Entry page: rework + intro video Download selection: search on devices must be somehow implemented Download board page: rethink and rework Documentation under common theme …

  23. Started by Michel Catudal,

    I ran compile.sh and got an error message which looked weird It couldn't find the directory .tmp/work-3efc55a6-9478-4508-91c4-5637c4b1e593 and would stop all work I created the directory and then it worked What the heck is that about? My linux x86 system is gentoo and not debian. I do have debian in vmware fusion on my mac. I use it to chroot my gentoo arm systems since it is much faster than cross compiling. For fun I tried again on a different directory and got a new error message This time it is .tmp/work-032fc96c-9055-4b10-86a8-b46b65980a11 The board I try to work with is YY3568 The problem do…

  24. Hi everyone, I am just looking around for a low cost 64bit processor for a future design with raspbian/ubuntu OS server only. Some few alternatives I saw where..: Amlogic S905X3 Allwinner H6 Any other alternatives? regards,

  25. What kind of work is needed to upgrade Orange Pi 2E+ from legacy to kernel 4.x? Thanks, Kriston

  26. Hello, I know that when a new LTS kernel gets released, that has very considerable impact and importance here at Armbian. Are you stoked about the upcoming 4.19 release? I know I am. No doubt many forum members have their favorite "pet" boards, and will be eager to see some currently-"experimental" features become "stable". Which of these features matter the most to you? Can you give examples of which use cases you'll be most eager to get a 4.19 kernel into? Myself, I'll be excited to see which already-Supported boards get a new Armbian Stretch or Bionic released with 4.19. This will help me get a sense which boards (and SBC makers) have the …

  27. Could someone point me to a guide / how to / existing build script to create a bootloader image for the Radxa Rock-3a? Context... I'm trying to get a Radxa Rock3c to boot with a modern (6x) Linux kernel. This has the Rockchip rx3566 unlike the Radxa Rock3a which has the rx3568 (supported by Armbian). This is my first time working with u-boot, so I'm trying to follow Rockchip's own guide (here). Sadly that guide seems to be a rather cryptic, poorly translated, and file names don't appear to mach anything I can find. Radxa's own binaries (here) don't seem to know about the rk3566 or rk3568: I get errors when I use mkimage. But other distributio…

    • Reputation Points

    • 0 replies
    • 2.7k views
  28. Sorry to ask such a beginner question, but I am still learning about Armbian... When I install debian Kernels from Kernel.org myself, I find this in my source-folder of the distro which I created when unzip/tar the Kernel. But as Armbian does this in the backround for me...where is this folder ? RTLA is a new tool to use osnoise tracer and needs to be compiled from source. https://lwn.net/Articles/869563/ THX

  29. Hi all, I have a Orange Pi Zero Plus H5 board running with Armbinan 5.65 Ubuntu Bionic image downloaded from armbian.com/download. The kernel version is 4.14.78. I want to build a custom kernel module for this kernel but where I can get linux-headers-next-sunxi64_5.65 package? I did with apt-get but the lasted version only 5.60. Please help

  30. Hi, Where should I place a .patch in order to be taken into account on a next custom armbian built? This is for building legacy images. Need to have a modified nanopineo.fex and got a .patch for it, where should I place it in order to be applied on top of the armbian-provided one? P.S. Seen this -> https://docs.armbian.com/Developer-Guide_User-Configurations/ but it only mentions u-boot and kernel.

    • Reputation Points

    • 6 replies
    • 3.6k views
  31. Hello, I want to ask, which Bluetooth driver is used in mainline kernel for AP6210. I know for WiFi is used brcmfmac. Thank you.

    • Reputation Points

    • 0 replies
    • 2.7k views
  32. Why does Armbian include both include ifupdown AND NetworkManager by default? I'm not aware of anything that ifupdown can do that NM cannot and ifupdown doesn't have a TUI/GUI like NM so as far as I'm concerned ifupdown is just clutter that causes config clashes and boot delays. Isn't it time to strip ifupdown from Armbian? On a related note, I've never got any of the (ifupdown) network config options in armbian-config to work.

  33. Started by svkatielee,

    I found an old bug report on the same version of wicd that is delivered with the legacy builds. Try to authenticate WPA for wifi, get bad password error. Repeated attempts to authenticate as many as 10 times before it is successful. It will finally succeed, therefore; the password is not bad. https://bugs.launchpad.net/wicd/+bug/1084380 A short summary includes, there seems to be a problem in the wpa_supplicant that causes it to occasionally take too long to return from an authentication request. wicd rev 1.7.2 is set to wait 35 seconds then times out and reports BAD PASSWORD, when it should have reported a timeout. The suggested fix was to allow user config for …

  34. Has anyone had the following error when using kernel 4.18 and 19? 1. Start hostapd (with or without dhcpd) 2. Try connecting via WiFi 3. Result... ---------------------------------------------- Aug 01 15:06:24 P2E vmunix: [ 5553.586947] ------------[ cut here ]------------ Aug 01 15:06:24 P2E vmunix: [ 5553.591573] kernel BUG at mm/slub.c:3902! Aug 01 15:06:24 P2E vmunix: [ 5553.595577] Internal error: Oops - BUG: 0 [#1] SMP ARM Aug 01 15:06:24 P2E vmunix: [ 5553.600707] Modules linked in: cpufreq_userspace realtek sy8106a_regulator evdev dwmac_sun8i mdio_mux stmmac_platform stmmac i2c_mv64xxx sun8i_ths ptp 8189fs sunxi_wdt cfg80211…

  35. Hellow, I would like to report an issue with Orange Pi PC+ I tried to run the board with a manually built image (with kernel version 'next' and 5.71). While in the past I was able to create Wifi hotspots without any issues, with a new image I encountered weird issues where the hotspot was listed from Wifi clients, but trying to connect triggered some scarry traceback such as this one : Spoiler Jan 21 00:09:50 hostname kernel: [ 99.828931] ------------[ cut here ]------------ Jan 21 00:09:50 hostname kernel: [ 99.833571] kernel BUG at mm/slub.c:3901! Jan 21 00:09:50 hostname kernel: [ 99.837580] Internal error: Oops - BUG: 0 [#1] …

    • Reputation Points

    • 3 replies
    • 2.6k views
  36. Started by martinayotte,

    Just to let people know that since I'm running kernel 5.0.y, I found that most of the WiFi firmware is now trying to load their NVRAM using a new file naming scheme, for example : On my OrangePi3, it try to load "brcmfmac43455-sdio.xunlong,orangepi-3.txt" instead of the normal "brcmfmac43455-sdio.txt", until I copied the file, no WiFi available. On my OPiZeroPlus2, it try to load "brcm/brcmfmac43430-sdio.xunlong,orangepi-zero-plus2.txt", but on this one it seems to fall back using the normal file and WiFi is working. On my OPiLite2, it try to load "brcm/brcmfmac43455-sdio.pine64,pine-h64.txt", revealing a mistake in the DT compatible ... ... I will …

    • Reputation Points

    • 4 replies
    • 4.1k views
  37. Started by WarHawk_AVG,

    Just thought you developers might enjoy this... It uses a CRAZY cheap module, becomes a serial to wifi bridge, outputs on the module can then be connected to a standard serial tx/rx, 5v/gnd, and not only does it have a webgui, but also a web console https://github.com/jeelabs/esp-link The esp-link firmware connects a micro-controller to the internet using an ESP8266 Wifi module. It implements a number of features: transparent bridge between Wifi and serial, useful for debugging or inputting into a uC flash-programming attached Arduino/AVR microcontrollers and LPC800-series and other ARM microcontrollers via Wifi built-in stk500v1 p…

    • Reputation Points

    • 0 replies
    • 2k views
  38. Just curious, it has exists as patches for years, is there anything prevent it from being merged into mainline? This chip is quite widely used in TV boxes.

    • Reputation Points

    • 1 reply
    • 2.5k views
  39. Started by zador.blood.stained,

    Current situation with WIP/EOS boards: ➜ armbian % find lib/config/boards -name '*.wip' -o -name '*.eos' | xargs grep BETA_TARGET | grep -v '\"\"' lib/config/boards/orangepiprime.wip:CLI_BETA_TARGET="xenial:dev" lib/config/boards/orangepiprime.wip:DESKTOP_BETA_TARGET="xenial:dev" lib/config/boards/orangepipc2.wip:CLI_BETA_TARGET="xenial:dev" lib/config/boards/orangepipc2.wip:DESKTOP_BETA_TARGET="xenial:dev" lib/config/boards/lamobo-r1.eos:CLI_BETA_TARGET="xenial:next" lib/config/boards/nanopineo2.wip:CLI_BETA_TARGET="xenial:dev" lib/config/boards/orangepizeroplus2-h5.wip:CLI_BETA_TARGET="xenial:dev" lib/config/boards/orangepiwin.wip:CLI_BETA_TARGET="xenial:dev" lib/…

    • Reputation Points

    • 1 reply
    • 2.7k views
  40. In kernel 6.1.24 default configuration for orangepione and orangepiplus2e is not checked module wireguard, which was previously checked. Is it paraticular reason for this or it's jus mistake. Please can devs make it checked in furure, this saves time when building. Thanks in advance.

    • Reputation Points

    • 2 replies
    • 2.3k views
  41. Started by hegge,

    Hi, I just installed ambian 5.0 legacy wheezy on my bpi-r1 but wondershaper wont run: RTNETLINK answers: No such file or directory RTNETLINK answers: Invalid argument We have an error talking to the kernel It seems a module is missing. Can someone help me pls? Thanks in advance, hegge

    • Reputation Points

    • 5 replies
    • 3.9k views
  42. Dear all, I occasionally have a full /var/log at startup on various boards, probably because the logs are not rotated /vaccuumd at boot (we had a thread about this in the old opi1 forum). The rotating /vaccuum is currently done every 15 minutes, so I figured why not do it directly at boot as well? For this purpose I updated /etc/cron.d/armbian-truncate-logs with an extra @reboot line: PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin */15 * …

  43. I tried to run the image build process using Docker. At one point it tries to download the Linux tree and due to my slow Internet connection (max 3MB/s) there seems to be a connection reset from Github due to a too long download time (after 9 minutes, simillar times in 2 attempts). ✗ [ ...........](2.57 MB/s) Downloading linux-complete.git.tar 1.68/3.55 GB 47.34% 9m27s └─ sha256:dd18f1227c9bcf8d3a1c1ecd55721323639550c2845750f59168e17a0d0483bd Error: failed to copy content to /armbian/cache/git-bundles/kernel/linux-complete.git.tar.oras.pull.tmp/linux-complet…

    • Reputation Points

    • 8 replies
    • 1.2k views
  44. I am trying to convert my recent experience into something more generalized, in order to improve documentation. I already split off into a new page of docs Recovery, now I would like to add a new section to that page about manually replacing u-boot. In my case, sunxi was pretty easy, but trying to generalize this it gets more complex. I am not too familiar, so I researched for a while today and I think I have some idea, but before I start writing I want to make sure I am recommending the right approach. Basically I think I will recommend in 2 parts: 1. Explain how to extract u-boot from deb package after downloading from e.…

  45. Hi there! I am new to this forum, so hopefully I am at the right place to open my discussion. We use our own made iMX6DL based board to run a semi-professional amateur radio. We choose armbian as it worked almost out of the box, but we use a kernel 4.11+ probably 4.12+ next week with some small extra drivers for an SPI OLED and some special keyboard drivers. However these modifications are not relevant for the issue I have, but I should mention, that I added the etnaviv kernel drivers and all related things to activate HDMI. We have not fully encountered the way to merge in our BSP to armbian, however I found the very instructional vide…

  46. Started by Olej,

    I would like to build a hard realtime Linux kernel for Orange Pi SoC. Using Xenomai technologies (Installing Xenomai 3.x , Xenomai Documentation). This would be a great extension of the SoC application area. I did this for the x86 architecture. And I've already assembled the core using your Arabian technology. But building the realtime Xenomai kernel requires pre-patching from a third-party project Adeos (Adaptive Domain Environment for Operating Systems). Patch files for different architectures can be found here: Index of /downloads/ipipe/v4.x Is it possible to build a realtime kernel using Arabian? P.S. I apologize for my poor …

  47. Started by Giuseppe,

    Did anyone try to support a Xilinx Zynq (ARM A9 + FPGA) or ZynqMP (ARM A53 + FPGA) board? https://www.xilinx.com/products/silicon-devices/soc/zynq-ultrascale-mpsoc.html Xilinx provides Petalinux (https://www.xilinx.com/products/design-tools/embedded-software/petalinux-sdk.html), but I like the flexibility of Armbian. If I had to try to support one of those boards, what should I look at? Thank you

  48. I'm struggling with XU4/HC1 and the try to have the rootfs on a connected USB disk. All attempts end up with: Gave up waiting for root file system device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/sda1 does not exist. Dropping to a shell! Rebooting automatically due to panic= boot argument I tried USB disks on USB3 and USB2 ports, according to leds and spin-up sound the SSDs/HDDs get power but device doesn't show up. I remember vaguely that we had such issues on other platforms where it was just a small missing bit in kernel config. But I …

    • Reputation Points

    • 14 replies
    • 8.5k views
  49. Started by yacc,

    Hi! Just wondered, if it would make more sense to use zram instead of a SD-card based swapfile by default? Andreas

    • Reputation Points

    • 2 replies
    • 3.4k views
  50. Started by zyga,

    Hi. I trying to build image for orange pi3. I have fresh Ubuntu, "19.10 (Eoan Ermine)" sources 20.05.0-trunk and I got error: ... [ o.k. ] Extracting focal-desktop-arm64.f64...4db.tar.lz4 [ 0 days old ] [ .... ] focal-desktop-arm64.f64...4db.tar.lz4: 932MiB [44.8MiB/s] [======================================================================================================>] 100% [ o.k. ] Adding Armbian repository and authentication key [ /etc/apt/sources.list.d/armbian.list ] chroot: failed to run command ‘/bin/bash’: No such file or directory [ o.k. ] Applying distribution specific tweaks for [ focal ] chroot: failed to run command ‘/bi…

    • Reputation Points

    • 4 replies
    • 3.5k views

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.