Advanced users - Development
Kernel, patches, hints, image building
Subforums
-
Discussion regarding Armbian's Mission, Strategy and Project Administration.
Not a technical forum.
- 4.9k posts
-
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
850 topics in this forum
-
We are opening public testing for upcoming Armbian images. The goal is to verify that the right images are built and that basic functionality works before boards are moved to the main download pages. You don’t need to be a developer. Simple testing and short reports are enough. 1. Download testing images Testing images are available here: https://fi.mirror.armbian.de/incoming/igorpecovnik/ Pick the image matching your board and choose desktop if applicable. Once image is confirmed working, the board will be: Moved to the main download pages Added to Armbian Imager 2. Check that expected images exist Before testing, please ver…
-
Valve published native ARM64 Steam in roughly April 2026. The Steam Frame launched September 14th. I built a client that installs the Steam Frame ARM64 Steam client on my RK3588 board. It launches Big Picture mode and firstboot makes you get past the VR Joystick screen. You can run it as desktop mode thereafter. The CLIENT and GAME run natively, naturally on ARM*. No box64 etc workarounds. Why not try to share if I can? *panvk and vulkan are required. This Contains: Vulkan feature layer for Direct3D translation layer Remote Play decode settings for GPU with no Vulkan Video, Privat…
-
Reputation Points
- 17 replies
- 3.3k views
- 1 follower
-
-
Hello, I am testing vendor kernel + Ubuntu 24.04 on my board and found an issue with the Bluetooth desktop application. The Bluetooth adapter itself works normally. After enabling Bluetooth from the desktop UI, hciconfig -a shows the Bluetooth device correctly. However, when I click the Bluetooth device in the Blueman interface to open the device window, the Blueman window becomes stuck and stops responding. The strange thing is that if I restart Blueman manually using: killall blueman-manager export DISPLAY=:0 blueman-manager the Bluetooth manager window opens normally, and device scannin…
-
Reputation Points
- 1 reply
- 585 views
- 1 follower
-
-
# Noble GNOME images ship PulseAudio and PipeWire both enabled — audio deadlocks silently **Board:** Radxa ROCK 5B+ (`rock-5b-plus`, rockchip-rk3588) **Image:** Armbian 26.2.1 stable, Ubuntu 24.04 Noble, **GNOME desktop** (prebuilt release image, not built locally — so there are no build logs) **Now running:** Armbian 26.8.3, kernel 7.1.8-edge-rockchip64 > All outputs below were captured **before** I fixed this machine. It now runs PipeWire only, so it no longer reproduces — a fresh Noble GNOME image should. The attached `armbianmonitor -u` log is a kernel/hardware inventory and does not collect userspace service state, so it won't show the c…
-
Reputation Points
- 1 reply
- 629 views
- 1 follower
-
-
The network connection is confirmed to be normal. I can successfully download the kernel source using git clone, with a download speed of around 3–5 MB/s. However, during the Armbian build process, the kernel source fetching stage always fails. I have tried both full git mode and shallow clone mode, but neither can complete successfully. Is there any recommended solution for this issue? Is it possible to configure Armbian to reuse an existing local kernel source tree or adjust the kernel git download process? Thanks.
-
Reputation Points
- 0 replies
- 280 views
-
-
Hello Armbian community, I am working on adding support for a new RK3568 board to Armbian. Besides the board support, there are some hardware-specific kernel driver patches, for example: - RS485 driver modifications - TP2815 related driver changes - GT9xx touchscreen driver changes - Other hardware-specific drivers These drivers are only required for this hardware platform. What is the recommended way to maintain these driver patches in Armbian? Should they be submitted together with the board support? Or should they be maintained separately and applied through: userpatches/kern…
-
Reputation Points
- 2 replies
- 507 views
-
-
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…
-
Hi. I need help from someone with RK3568 SBC. My Rock 3A packed up few weeks ago and I'm unable to test v3 of the driver on that SOC. It will require to build new kernel with updated patch. Link to v2 patch: https://patchew.org/linux/20260708175837.1718437-1-dawidro@gmail.com/ Cheers Dawid
-
Reputation Points
- 1 reply
- 448 views
- 1 follower
-
-
Apologies this seems to have posted twice could admin please delete one of them Hi all, I built an image for my new Odroid M2 16 GB board using the parameters in my config-odroid.conf BOARD=odroidm2 RELEASE=trixie BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=no Issued compile.sh odroid It built and booted first time I configured it using armbian-install to boot from the emmc and use a 1tb Samsung nvme as the system disk Rebooted after removing the sdcard Everything seemed to work until I tried to flash another image to the sdcard with dd The flash immediately stalled and killed my windows Putty session …
-
Hi all, I built an image for my new Odroid M2 16 GB board using the parameters in my config-odroid.conf ``` BOARD=odroidm2 RELEASE=trixie BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=no ``` And issued compile.sh odroid It built and booted first time I configured it using armbian-install to boot from the emmc and use the 1tb Samsung nvme as the system disk Rebooted after removing the sdcard Everything seemed to work until I tried to flash an image to the sdcard with dd The flash immediately stalled and killed my Putty session Some of the errors from dmesg ``` mmc1: Card stuck being busy! …
-
I want to compile a matching build for: https://armbian.com/boards/odroidhc4 Debian 13trixie Minimal (CLI)—current6.18.33 https://dl.armbian.com/odroidhc4/Trixie_current_minimal Matching the img is fine (rather than the img.xz). I haven't compiled a matching build yet. I am doing this to debug my issue with the stock builds. Running: ./compile.sh BOARD=odroidhc4 BRANCH=current RELEASE=trixie BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_CONFIGURE=no Logs forthcoming.
-
Reputation Points
- 0 replies
- 420 views
-
-
Hi. I'm not sure if this is the right place to ask. I was basically running my Radxa Rock 5 ITX home server on Armbian, on the edge upstream kernel for a long time. Somewhere during the 6.19 release candidate kernel series an instability arised, where the machine would hard lock "at random", so I switched to the current kernel since, which to this day remains on unaffected 6.18. But from time to time I try with edge again, and the instability is still present with the 7.1 upstream kernels. Moreover, with the load the machine has I can consistently trigger the lock up just by ssh-ing into the machine once it's been up for 10 minutes or …
-
I am coming from a yocto build for a dev board. I had to make u-boot patches, kernel config changes, and custom DTS tree. I'm trying to adapt this to Armbian, one step at a time. I started with building am image for sk-am62b.conf. I did not expect u-boot to boot from correctly. I was glad to see console messages, but expectedly, u-boot didn't continue. I made a new board config for this, duplicating sk-am62b.conf, but changing a critical line I made to get this to work previously. TIBOOT3_FILE="tiboot3-am62x-gp-evm.bin" Now, the boot process gets through u-boot and loads the Linux kernel. However, the kernel halts because it cannot find…
-
Reputation Points
- 0 replies
- 966 views
- 1 follower
-
-
Hi. According to this patch Orange pi 5 Pro DTS (which BTW i use for my successful Orange Pi 5 Pro edge build) there will be a split of DTSI files. Most of the code in rk3588s-orangepi-5.dtsi will be transferred to new rk3588s-orangepi-5-5b.dtsi. In my current build for Orange Pi 5 and 5 Pro I have: rk3588s-orangepi-5-5b.dtsi rk3588s-orangepi-5b.dts rk3588s-orangepi-5.dts rk3588s-orangepi-5.dtsi rk3588s-orangepi-5-pro.dts. Please note I have Orange Pi 5 Pro with SPI chip soldered on so for Orange Pi 5 Pro build with EMMC (99.99% of cases) in rk3588s-orangepi-5-pro.dts set: /* SFC */ &sfc { status = "disabled"; }; and &sdhci { …
-
Hello. For the past month, I have been working on fixing, updating, and rewriting the hardware crypto patch for RK3588. I've done so much work on it that I'm considering submitting it for review to be added to mainline kernel. I needed hardware cryptographic acceleration for a small project running on my Kubernetes ARM cluster. I noticed that Armbian is still using rk35xx-montjoie-crypto-v2-rk35xx.patch, so I decided to give it a try, but unfortunately the results were quite buggy. I took a closer look at rk35xx-montjoie-crypto-v2-rk35xx.patch and discovered a fairly large number of bugs and potential improvements. I then spent the past month rewriting and updating th…
-
On my Debian13 VM that I use to build images for my boards, I have started to notice new errors that I have not seen before after this part of the logs... [🐳|🌱] After updating and cleaning image apt list cache [ 30 files ] [🐳|🌱] Image installed package hash [ ✅ base-files = 1-trixie-1armbian1-Bb095-U13.8--deb13u4-R55fa ] [🐳|🌱] Image installed package hash [ ✅ linux-image-current-rockchip64 = 6.18.26-S1fe0-Dedd0-P1f35-Cc077-H8200-HK01ba-Vc222-Bed86-R448a ] [🐳|🌱] Image installed package hash [ ✅ armbian-firmware = 1-SAa38b-B96c8-R448a ] [🐳|🌱] Image installed package hash [ ✅ armbian-bsp-cli-rockpro64-current = 1-PC1e15-V9ab0-H3400-Bd2e9-Rf36a ] [🐳|🌱] Image install…
-
Reputation Points
- 0 replies
- 880 views
- 1 follower
-
-
I am not sure if it is a configuration error on my side or intended behaviour, but I am getting apticron emails about armbian-config almost daily due to releases being made by CI/CD. Is there a "release" branch I could switch to to make it stop? Or do I need to blacklist armbian-config from apticron reports? Thanks!
-
Reputation Points
- 0 replies
- 1.1k views
- 1 follower
-
-
The Rock-s0 has the same rk3308b processor and the build uses a BL31binary, with u-boot. The SV06Ace has the same cpu and BL31/u-boot. I reviewed this thread and was trying to follow the example commit provided. It is a little difficult to work through a commit as not all of the paths to the files are present in my depth=1 git clone. Is it possible to download the commit for the Rock-s0 and use it to patch the build directory? If I could run the patch, then I would have some actual files to copy and edit. The maintainer of the Rock-s0, linked on the Armbian Info page for the s0 has not made any recent commits. The last Rock-s0 commit was where it was …
-
I'm trying to get a clock signal of 32768 from the GPIO1 D4 pin of the rk3328 CPU, but I haven't been able to. I've tried everything, from `overlay dts` to `armbian-add-overlay`, but I can't get any output. I can set the value to 1 or 0 using the `echo 1 > /sys/class/gpio/gpio60/value` command, but the system doesn't give a clock output. Please help. Thank you in advance.
-
My recent RK3588 kernel adventure: - dual-core H.265 (HEVC) encoding working live at full 4K@60 on armbian-build edge kernel (6.19-rc8) for Rock 5B[+] and Orange Pi 5 Ultra. - fix for setting HDMIRX EDID (this didn't work in mainline on any of my tested hardware) This is out-of-tree (practical focus over upstream goals), but it's stable and producing clean bitstreams. Repo: https://github.com/rcawston/rockchip-rk3588-mainline-patches Feedback welcome.
-
Reputation Points
- 1 reply
- 5.4k views
-
-
Sorry in advance, but this is a bit of a dive. But, I haven't seen this fully captured and explained anywhere, and think this would be a useful thing to know for anyone who's doing arm64 development on a PC, which seems very relevant here ... I started pulling this thread when moving some software from Ubuntu Jammy to Noble, where the arm64 build process went from 20 mins to 50 mins. When I was done, it below to 15 min, and all I did was poke some flags for qemu's emulated CPU. The TL;DR version is that setting the environment variable QEMU_CPU to something like "cortex-a53" or "max,pauth-impdef=on" or even what I settled on, "max,pauth=off" saves …
-
Good morning I have a BPI M1 and M1+ currently running an image from https://banana-pi.org/. Everything works, except it's Ubuntu 16.04. Since yesterday, I've been testing the Armbian images, which are great and up-to-date, but none of them recognize the SATA connection on my SSD. ` fdisk -l ` shows no SATA SSD. Since I absolutely need this connection, I'm stuck. What am I doing wrong, or where do I need to activate the SATA connection? The SATA connection is what makes the BPI M1+ unique. With Ubuntu 16.04, the SATA connection is recognized with both SSD and HDD on the BPI M3. Can someone please help me? I'm completely lost. Regar…
-
Two Questions: How do I force Armbian/build to rebuild the kernel ? - Is there a `./compiler.sh` flag ? And where does the kernel get cached ? - Is it cached online ? - is it cached on kernel, kernel version, and kernel config hash ? I am trying to get a proper handle on Armbian/build. BTW: There really needs to be a `kernel` tag on Armbian Forum's - `Create New Topic`.
-
Reputation Points
- 1 reply
- 1.5k views
- 1 follower
-
-
hello! I need to create my own initial ramdisk during the armbian build process by supplying a value to this kernel tag:- grep CONFIG_INITRAMFS_SOURCE /home/andrew/armbian/build/cache/sources/linux-kernel-worktree/6.18__sunxi__armhf/.config CONFIG_INITRAMFS_SOURCE="usr/sideinitrd.cpio" my build runs under docker, and no matter where i place the CPIO file, i get this error: [🐳|🔨] make[3]: *** No rule to make target 'usr/sideinitrd.cpio', needed by 'usr/initramfs_inc_data'. Stop. [🐳|🔨] make[2]: *** [scripts/Makefile.build:556: usr] Error 2 [🐳|🔨] make[2]: *** Waiting for unfinished jobs.... just specula…
-
Reputation Points
- 11 replies
- 3.1k views
- 1 follower
-
-
I want to add a private package with C source code in custom image. Extensions maybe are one approach— are there any other more standard practices?
-
clone the latest armbian/build repo, run ./compile.sh but fail. I try native or docker build, all fail.
-
Hi, I'am Patrick from France, it is my first post on the forum. I am porting the Zortrax m200 plus 3D printer to Armbian and my last important step would be to have the LCD screen working. I cross compiled my module but I have this message when installing it: # insmod panel-himax-hx8394.ko [ 1760.189919] BPF: [120533] Invalid name_offset:2238391 [ 1760.195183] failed to validate module [panel_himax_hx8394] BTF: -22 insmod: ERROR: could not insert module panel-himax-hx8394.ko: Invalid parameters Then I added the module source code to the sources, but calling ./compile.sh seems to update the repo and revert my changes such as I do not see my m…
-
Reputation Points
- 10 replies
- 3.3k views
-
-
I’m currently using the Armbian build system to generate images for the Orange Pi 5 Plus. To use the PREEMPT_RT kernel, I set the BRANCH to current, and with the PREEMPT_RT configuration on the 6.12 kernel I was able to successfully build the image and boot it. However, in this kernel version there are no dtbo files for peripherals like can0, i2c, etc., so I’m unable to use those interfaces. If I set the BRANCH to vendor, I can use the 6.1 kernel, but in order to use a PREEMPT_RT kernel I need to apply the RT patch. The RT patch currently provided is not compatible with the current BRANCH, so kernel build and image creation fail. My question is: wh…
-
Hi. I recently installed an Armbian 25.8.1 noble to an ODROID XU4 with CLOUDSHELL2. All is wonderful, except one thing. I can't make the small TFT work. I enabled the cs2 option in boot.ini, but did not solve the issue. Then it turned out the module loader in modproebe.d lokks as follows: options fbtft_device name=hktft9340 busnum=1 rotate=270 speed=35000000 force32b=1 bgr=1 but actually there is no such module (only hktft32 or hktft35, or ili9340 - none of these worked): /lib/modules/6.6.113-current-odroidxu4/kernel/drivers/staging/fbtft# ls -1 fb_agm1264k-fl.ko fb_bd663474.ko fb_hktft32.ko fb_hktft35.ko fb_hx8340bn.ko …
-
I'm looking for Orange Pi RV2 RISC-V support. This board is gaining popularity due to the Orange Pi manufacturer's good reputation with Arm. I have successfully built both Orange Pi and Raspberry Pi aarch64 builds on Debian from source so I'd like to know how to build Armbian for Orange Pi RV2 riscv64. What would I need to modify in the build process? Thanks!!
-
Not sure if I posted this in the right location, kindly move the thread as necessary. Or please let me know where.
-
Hi, I have attempted to boot with edge and current branches with no success. I am now trying vendor since its what its running. My process is: ./compile.sh BOARD=orangepi5pro BRANCH=current kernel-config I enable tunneling GRE and some broadcom wifi drivers. ./compile.sh BOARD=orangepi5pro BRANCH=current kernel sudo dpkg -i output/debs/linux-image-*.deb sudo dpkg -i output/debs/linux-headers-*.deb sudo dpkg -i output/debs/linux-dtb-*.deb sudo reboot and after this the system does not boot or post through HDMI. I have to go back and erase /boot and restore a bac…
-
I've downloaded the latest stable Release of the source code: https://github.com/armbian/build/releases/tag/v25.8.1 When doing a Build, when it allows you to select the kernel branch: [vendor, mainline, edge], the only edge available for selection is the bleeding edge (i.e. latest trunk version). I've downloaded the 25.8.1 source code, and that's the edge version I want to compile. How do you build an image with the latest (relatively) stable edge kernel, as available in Armbian-Config? (i.e. currently v6.16.1-edge at Armbian 25.8.1)? Update #1 When compiling the image with the edge kernel, it downloaded it from the internet and i…
-
Reputation Points
- 5 replies
- 7.5k views
- 1 follower
-
-
Starting kernel ... [ 11.131621] Kernel panic - not syncing: panic_on_set_idle set ... [ 11.132177] CPU: 1 PID: 47 Comm: kworker/u8:3 Not tainted 6.1.115-vendor-rk35xx #1 [ 11.132851] Hardware name: PinusCore RK3562 (DT) [ 11.133272] Workqueue: events_unbound async_run_entry_fn [ 11.133760] Call trace: [ 11.133986] dump_backtrace+0xe8/0x124 [ 11.134332] show_stack+0x20/0x30 [ 11.134641] dump_stack_lvl+0x6c/0x88 [ 11.134975] dump_stack+0x18/0x34 [ 11.135283] panic+0x138/0x310 [ 11.135573] rockchip_pmu_set_idle_request+0x114/0x1d8 [ 11.136043] rockchip_pd_power+0x424/0x480 [ 11.136419] rockchip_pd_power_on+0x24/0x38 [ 11.136798] _genpd_…
-
Reputation Points
- 1 reply
- 2.2k views
- 1 follower
-
-
Regardless of whether I use the main or v25.08 branch, set REGIONAL_IMAGE to china or not, or switch between noble and trixie base images, I consistently encounter a 403 Forbidden error right after the customization step. I've tried various configurations, but the issue persists. Any help?🤔
-
Reputation Points
- 2 replies
- 2k views
-
-
Hello, Im trying to compile armbian without internet connection in local. For first time, I connected to internet and compiled a minimal image for Orange pi 5 plus successfully. cache folder is 14 GB now. When I cut off internet connection and start ./compile.sh, compile process stucks. See log below. [🌱] artifact [ firmware :: firmware() ] [🌱] Using cached [ GIT_INFO_ARMBIAN_FIRMWARE ] [🌱] Reversioning package [ re-version 'armbian-firmware(deb)::1-SAfc30-B6c7f-R448a' to '25.5.1' ] [🌱] artifact [ armbian-base-files :: armbian-base-files() ] curl: (7) Couldn't connect to server [🚸] Could not find package filename for 'base-files' in distro repo [ loo…
-
Since about four weeks we encounter out of memory issues when building an Armbian image on GitHub with a customize-image.sh script. We had no big modifications on the build system since then, we have to rebuild from time to time to get the latest version of our application into the image. We already use a more powerful runner (32GB RAM, 8 cores). Our compile call: ./compile.sh \ BOARD=rockpi-4b \ BRANCH=edge \ RELEASE=bookworm \ KERNEL_CONFIGURE=no \ BUILD_MINIMAL=yes \ NETWORKING_STACK="network-manager" \ COMPRESS_OUTPUTIMAGE=xz \ KERNEL_BTF=no \ SHARE_LOG=yes Our build is based on the tag v25.8.0-trunk.260 Any ideas for this? Thank…
-
Reputation Points
- 8 replies
- 3.8k views
- 2 followers
-
-
I am using my orange pi zero 3 with an SPI 4.0" LCD, with driver panel-mipi-dbi-spi. It works great with Linux 6.13.7 (started with a self built image with edge, minimal, Bookworm) and older, but I am having troubles with 6.14.8. Result from armbianmonitor -u after upgrading to linux 6.14.8: sudo apt install linux-image-edge-sunxi64=25.5.1 I reboot and the SPI LCD starts the text mode console, then turns black instead of starting lightdm https://paste.armbian.com/ucoxuwetiq Also xorg log after "sudo startx" fails to start. Spoiler roberto@orangepizero3:~$ tail -n300 /var/log/Xorg.0.log [ 234.918] X.Org X Server …
-
I am having trouble with my SPI LCD, which uses driver panel-mipi-dbi It works great when I use a minimal Armbian image, but with a desktop image it doesn't work. This is because package "plymouth" does something in the ko loading order: it loads panel-mipi-dbi too early. Plymouth provides a graphical boot animation. The driver depends on a binary file /lib/firmware/panel-mipi-dbi-spi.bin (but the file name could change depending on the DTS) At boot time, I saw that the panel-mipi-dbi.ko is loaded BEFORE the EXT4 in the microSD is mounted... and the binary file is not in the initrd.img-version (checked with lsinitramfs) …
-
Hi all, I am new to kernel development, and I found an old ASUS tinkerboard. I want to give it a second life with some fun projects. The project I am building is another IP KVM, so I bought an HDMI to CSI module. After tinkering around for a while, I found I supplied the wrong clock for that module: [ 8.469299] tc358743 2-000f: unsupported refclk rate: 50000000 Hz [ 8.483069] kernel BUG at drivers/media/i2c/tc358743.c:593! I have no idea about the clock value to put in the dts file, so I just copied some values from the ASUS kernel source. From the driver code drivers/media/i2c/tc358743.c, it shows that there are only…
-
Reputation Points
- 1 reply
- 1.9k views
- 1 follower
-
-
i.e. git clone -b main --depth 1 https://github.com/armbian/build.git cd build # I want to find out what kernel my board is building befor here. ./compile.sh kernel BOARD=orangepi5b BRANCH=vendor EXPERT=yes PREFER_DOCKER=yes KERNEL_GIT=shallow I need to do this so I can apply patches based on the selected kernel verison (e.g. 5.10, 6.1, 6.12) as they are all different patches due to Makefile changes. I don't see a clean way to do this with the builder unless I build the kernel first, search the kernel sources and then determine the kernel that way.
-
Reputation Points
- 3 replies
- 3.7k views
- 2 followers
-
-
rpi4b8gb device. I am trying to disable wifi, bluetooth and ipv6 like I do on raspberry pi OS, but it won't play nice with me. Bluetooth & wifi I read https://docs.armbian.com/User-Guide_Armbian_overlays/ (it says it's WIP so that might be why?) and looked for the dtolverlays I use on rpiOS: $ ls -1 /boot/dtb/overlays/disable* | cut -d / -f 5 disable-bt.dtbo disable-bt-pi5.dtbo disable-emmc2.dtbo disable-wifi.dtbo disable-wifi-pi5.dtbo $ ls -1 /boot/dtb-6.12.31-current-bcm2711/overlays/disable* | cut -d / -f 5 disable-bt.dtbo disable-bt-pi5.dtbo disable-emmc2.dtbo disable-wifi.dtbo disable-wifi-pi5.dtbo They are there, ie disable-bt…
-
Reputation Points
- 4 replies
- 7.3k views
- 1 follower
-
-
I have having the same issue as discussed here & it also provided solution for it https://github.com/IceWhaleTech/CasaOS/issues/1136 I have added cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 to armbianEnv.txt The dmesg logs indicate that these arguments are failing [ 15.630904] Kernel command line: root=UUID=eb6a27ef-3932-431f-92fd-e61fea75356c rootwait rootfstype=ext4 splash=verbose console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=f3aeb909-d11b-ec42-a52c-4507e474335c usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u,0x1058:0x25a2:u cma=256M cgroup_enable=cpuset cgroup_enable=memory cgroup_mem…
-
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…
-
Reputation Points
- 1 reply
- 1.7k views
- 1 follower
-
-
I'm on the most recent Armbian 25.2.3 Noble version. When I try the command $ yes | sudo apt dist-upgrade I get the following error: Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done Get more security updates through Ubuntu Pro with 'esm-apps' enabled: ... Learn more about Ubuntu Pro at https://ubuntu.com/pro The following upgrades have been deferred due to phasing: gnome-shell gnome-shell-common ubuntu-drivers-common The following packages will be upgraded: thunderbird 1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Need to get 68.6 MB of archives. After…
-
Hello I am using a Debian 12 VM on Qubes OS 4.2 to attempt to build an Armbian image for a Rockpro64. As you can see by the build logs, these 3 commands are failing: update-binfmts --enable qemu-arm update-binfmts --enable qemu-aarch64 update-binfmts --enable qemu-riscv64 Then arch-test command output causes script to error out with: arm64: not supported on this machine/kernel So far I have attempted to enter the docker container and manually run the command but I get this error: root@1631353b980f:/armbian# update-binfmts --enable qemu-arm update-binfmts: warning: qemu-arm not in database of installed binary formats. upd…
-
Armbian is written to a µSD card as a small file (a gig or two if I recall). If the card is 64gigs, the image is still just a few gigs written to that card. When booted on the device, though, it automatically expands the file system to the full size of the card. How exactly does it do that? And... How do I do the reverse? Take the file system from a working armbian install and create a small image that when written to a µSD card, will stay small, but then auto-expand when booted on a device?
-
Reputation Points
- 2 replies
- 2.7k views
- 1 follower
-
-
Does anyone know if it's possible to use the docker-shell to patch linux and compile, but NOT make the .img file? Maybe something like ./compile.sh unpack-linux ./compile.sh apply-patches ALL=THE_SETTINGS ./compile.sh build-kernel but not make .img I'm trying to change some network driver settings and want to just copy the new kernel module to my target board instead of flashing the entire SD card.
-
I apologize if this is a basic question. I'm trying to make a minimal Orange Pi Zero 3 Trixie image with a btrfs file system and NetworkManager for the networking stack using Docker without having to compile a new kernel (i.e., I just want to use the precompiled kernel found in the CSC version). I created a `config-myimage.conf` file under `build/userpatches`: BOARD=orangepizero3 BRANCH=current RELEASE=trixie CLEAN_LEVEL=cache KERNEL_CONFIGURE=no BUILD_KSRC=no BUILD_MINIMAL=yes NETWORKING_STACK=network-manager DOCKER_ARMBIAN_BASE_IMAGE=ubuntu:jammy ROOTFS_TYPE=btrfs BTRFS_COMPRESSION=zlib CONSOLE_AUTOLOGIN=yes #BOOTSIZE=96 # need larger boot size to…
-
Reputation Points
- 4 replies
- 3.3k views
- 1 follower
-
-
I'm using this community maintained Bookworm image published for OrangePi Zero . I cannot unload this minimal kernel module for some reason. Some information that could be useful: `uname -a` output: Linux orangepizero 6.12.23-current-sunxi #2 SMP Thu Apr 10 12:39:41 UTC 2025 armv7l GNU/Linux `zcat /proc/config.gz | grep UNLOAD` output CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y # CONFIG_MODULE_UNLOAD_TAINT_TRACKING is not set Some information to replicate the issue: install required packages: sudo apt update && sudo apt upgrade # reboot sudo apt install build-essential linux-headers-current-sunxi -y Source code…
-
Please take a look on CPU usage precision on the new kernel for x64 and arm64. It is 1 milliseconds. But kernel 6.13 on armv7 still provides 4 milliseconds of precision. How do I tune CPU usage precision on image build?
-
Reputation Points
- 6 replies
- 4k views
-
-
I have have armbian V25.2.3 installed on a radxa Zero 2w linux kernel 6.12.17-current-meson64. The radxa uses i2c to talk to a PCA9685 which in turn drives three servos in a robot. The issue is that the PCA9685 has two i2c busses, 0 and 1. But the radxa zero has only two i2c busses that can be enabled using armbian-config and they are i2c-3 and - ic2-5. It seems I need to install a new overlay to describe the i2c busses in the device tree. But how do I do that?
-
We developed so called Cloud images, which are a combination of minimal images + kernel with minimal set of drivers. Images also doesn't have any firmware packages, so bare OS comes down to 700Mb. Build from sources: ./compile.sh \ BETA=no \ BOARD=uefi-x86 \ BRANCH=cloud \ BUILD_DESKTOP=no \ BUILD_MINIMAL=yes \ ENABLE_EXTENSIONS=image-output-qcow2 \ IMAGE_VERSION=25.2.3 \ RELEASE=noble \ VENDOR="Company" \ VENDORCOLOR="5;100;115" \ KERNEL_CONFIGURE=no \ KERNEL_BTF=yes Customization: https://docs.armbian.com/Developer-Guide_Overview/ Details in promo style: Spoiler Very Fast Boot Time: Optimi…
-
Reputation Points
- 4 replies
- 4.1k views
- 1 follower
-
-
Linux 6.12 mainlined PREEMPT_RT, real-time preemption. As far as I understand, one no longer needs to muck about with patches, the kernel can simply be compiled for real-time use with normal compiler flags on any common architecture. This makes Linux suitable for tasks with precise latency requirements, of which there is a lot of in the embedded space. Has anyone tried this on Armbian 25.2 now that it uses the 6.12 kernel? Does it work? How would one compile Armbian with it?
-
Reputation Points
- 4 replies
- 5k views
- 1 follower
-
-
Hello everyone, I am an old-timer in Debian and Ubuntu and have uploaded and maintained packages there. I've come across an issue in a package that I use that affects 32-bit platforms such as armv7 but not 64-bit platforms. I've already analysed the problem and applied a fix, compiled the package locally and I'm happy. But I'd like to get the fix into armbian as well so others will not run into this fairly serious problem (for the package in question, it is essentially useless at the moment in noble). I looked through the various github repositories but was unable to see how to apply a patch to a userland package and have it published. Given that armbian s…
-
Reputation Points
- 2 replies
- 3.7k views
- 1 follower
-
-
Hi guys, Since I'm out of GPIOs I would like to reuse the Debug UART0 RX/TX in "release" if no serial module is attached. I'm using a nanopi Duo2 but that question applies to the general strategy. The NanoPi UART0 RX can be used as PA5, PWM output. I did already play successfully with overlay files for other purposes so I know a little how that works. Can I create a overlay with shared usage, and depending on the loaded module (tty*) the RS232 is operating, or when this is stopped i can use the PWM out? Is this "Shared overlay" in general the right approach? If yes could someone point me to some hints ho…
-
Hi guys I cloned the build earlier with a view to building an image for a rpi5b git clone --depth 1 --branch main https://github.com/armbian/build and build/config/boards/rpi5b.csc was present. I've just refreshed the clone and it's not there - has it been removed for some reason ? Edit It's not on github either - am I going mad ? 🙂
-
Hi, I attempted to build armbian for orange pi 5 with these steps (I'm on macos): multipass delete armbian-build multipass purge multipass launch -n armbian-build --disk 50G --mem 8G --cpus 4 multipass shell armbian-build sudo apt install curl build-essential bc bison flex libssl-dev chrpath cmake cpio wget xz-utils curl -LO https://github.com/armbian/build/archive/refs/tags/v25.5.0-trunk.67.tar.gz curl -LO https://github.com/armbian/build/archive/refs/tags/v25.5.0-trunk.32.tar.gz tar -xzvf v25.5.0-trunk.67.tar.gz cd build-25.5.0-trunk.67 ./compile.sh (select edge version for orange pi 5 in the cli) CTRL+D multipass transfer armbian-build:/home/ubuntu/build…
-
Reputation Points
- 6 replies
- 3.8k views
- 1 follower
-
-
hello, i try to update my armbian and i got this E: Release file for http://security.debian.org/dists/bookworm-security/InRelease is not valid yet (invalid for another 2d 3h 4min 26s). Updates for this repository will not be applied. E: Release file for http://deb.debian.org/debian/dists/bookworm-updates/InRelease is not valid yet (invalid for another 2d 2h 59min 29s). Updates for this repository will not be applied. E: Release file for http://deb.debian.org/debian/dists/bookworm-backports/InRelease is not valid yet (invalid for another 2d 2h 59min 29s). Updates for this repository will not be applied. E: Release file for http://apt.armbian.com/dists/bookworm/InRe…
-
Hello, I'm trying to make a change for kernel panel driver for custom mipi dsi panel and orangepi-4-lts dts file. I could successfully flashed my armbian and bringed on our orangepi-4-lts board. I have configured to. debian minimal server rootfs and current linux kernel git tree in menuconfig with that command. sudo apt-get -y install git git clone --depth=1 --branch=v24.11 https://github.com/armbian/build cd build/ ./compile.sh ./compile.sh KERNEL_GIT=shallow After bring up, i tried to change existing linux kernel driver to our customized one using userpatches and that worked well. But i forgot the change dts file of orangepi4-lts and i have changed …
-
Reputation Points
- 3 replies
- 5.4k views
- 1 follower
-
-
I would like to change the image types at https://www.armbian.com/mks-klipad50/ so that Debian Server images ("full-cli-stable-debian") for current and edge kernels are built for this board. Optimal would be, if the "Desktop" and "Minimal/IOT" were omitted, so that only the Server images appear. Something similar is done for "aml-s9xx-box" here: https://github.com/armbian/os/blob/main/userpatches/targets-release-community-maintained.template#L57 So my approach for enabling Server images would be https://github.com/armbian/os/compare/main...torte71:armbian-os:main as PR. But I am not sure a) if adding boards directly to the "items:" proper…
-
Reputation Points
- 3 replies
- 2.5k views
- 1 follower
-
-
The "Edit Device" wordpress template ("https://www.armbian.com/wp-admin/...") has some input fields that I would like to understand. I am trying to complete it for the MKS-Klipad50 (https://www.armbian.com/mks-klipad50). (It's a CSC board, not standard support - if that matters.) Following fields are unclear to me: "Compatible" What is the meaning and expected syntax? Is that something like devices using the same kernel, but different setup/devicetree files? "Expose kernels" / "How many kernels to expose?" Is this related to the "Kernels" table (see below), like how many rows to use? …
-
Reputation Points
- 1 reply
- 2.6k views
- 1 follower
-
-
Hello I'm trying to netboot a Rock 5C lite SBC via U-boot and a TFTP + NFS server. U-boot is working fine and is able to fetch the armbian.Image and fdt file (rk3588s-rock-5c.dtb) I provide through pxelinux.cfg/{device_mac_addr} file: LABEL Armbian MENU LABEL Armbian KERNEL /srv/tftp/armbian.Image FDT /srv/tftp/rk3588s-rock-5c.dtb APPEND root=/dev/nfs nfsroot=192.168.1.46:/srv/nfs/armbian,vers=3 rw ip=dhcp rootwait (To be complete I have U-boot installed on a SPI flash module configured to fetch the files with pxe commands: pxe get; pxe boot). To create the armbian.Image (kernel) I used the build repository and edited the kernel confi…
-
Reputation Points
- 1 reply
- 2.6k views
- 1 follower
-
-
Hi all, I'm building a rpi5b image with some success. My build machine is a x86_64 GNU/Linux with a 1gb ssd and 32gb of ram . The image builds and boots fine but there is no wlan0 device available in the booted image. I can get it by installing the armbian-firmware-full package and rebooting apt install -y armbian-firmware-full reboot I thought I could include the install in the customize-image.sh script but I get an error E: Unable to locate package armbian-firmware-full ( line 515 in the log ) - any ideas guys
-
Hi there, I have this device left over from a previous project, and now I want to repurpose it for a forked version of PiKVM that is meant for alternate SBC such as the OrangePi. I spent the last 2 days adjusting various build settings and compiling. After installing, the kvmd service would complain about the UDC driver missing. Also executing ls /sys/class/udc/ would return nothing, seemingly indicating that OTG is not possible. Just last night I came across the file "sun50i-h6-orangepi-3-lts.dts" in which there is a comment containing the following: /* * This board doesn't have a controllable VBUS even though it * does hav…
-
Reputation Points
- 2 replies
- 4.4k views
- 1 follower
-
-
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…
-
Reputation Points
- 7 replies
- 7.5k views
- 1 follower
-
-
Hello everyone, I’ve been working with 25-30 USB 3G/4G dongles successfully on Debian and Ubuntu, where all connections work without issues. However, on Armbian, I can only establish around 10 PPPoE connections. Here are the details of my setup: OS: Armbian based on Debian 10 (I also tried updating to Debian 11) - IMG: Sunvell rkship and Kernel Version: linux-image-current-sunxi 24.11.1 Packages Used: ppp, eject, and usb-modeswitch (tested with the latest versions) Logs: /var/log/ppp.log doesn’t show any errors. Isos: Armbian 21.05.1 stable, kernel 4.4 (SoC Rockchip rk322x) Armbian 20 - Debian 10 ARM (SoC Al…
-
Certainly not a new item but havn't found an Armbian how-to. Hardware: Rockchip rk3588 based hardware with both SDcard slot and eMMC memory. Wish: make a SD card image that, when inserted in the SDcard slot, causes a bootable Armbian OS image to be written to eMMC from that SDcard, followed by boot from eMMC. The bootable image should remain in its most compact form, to limit copy time, and only upon first boot from eMMC be made to use the entire eMMC. Has this been explored already? Ideas on how-to?
-
Dear Community, I'll build a Developer Team specially for Banana Pi Boards!" GPIO Libarys I started updating/modifing the old GPIO-Libarys, so they can be used on the latest builds! I want to build a Team, for GPIO-Libary Development, for porting these Libarys: WiringPi-Node WiringPi-PHP WiringPi-Perl WirinigPi-Ruby gpiozero rpi-gpio Updating and modifying these: RPi.GPIO BPI-WiringPi2-Python BPI-WiringPi2 At the end, all currently working GPIO Libarys are: luma.oled RPi.GPIO BPI-WiringPi BPI-WiringPi2 B…
-
Reputation Points
- 6 replies
- 5.6k views
- 1 follower
-
-
Dear Community, Everytime I build a new Armbian OS, it comes with "configng" which dosent support the Feature to enable I2C, SPI & UART, the category "Hardware" isnt available in my build. How can I add the armbian-config to my automated build-system which adds the armbian-config with support of enabling this? I add a picture of the armbian-config, which comes with the currently build. At "system" is an entry with "armv7l" , but I build the OS for sunxi8. What I need to do, to support the Hardware entry in my armbian-config?
-
I am trying to work out how to add a 2560x1400 mode to the ViewSonic 32" 2560x1440 (16:9) display configuration that is not listed on the display settings configuration and should be there. Any tips on updating the configuration file, locally and then as a patch to Armbian please ?
-
Built an Edge/Jammy firmware for a rk3588s2 based system(Radxa CM5). Panthor firmware for GPU G610 is not the right version though in this image. So after boot changed the firmware file, in the /lib/firmware/arm/mali/arch10.8/ folder, to the right version. Reboot produces the same problem though. It does not see the modified file, but still the original, wrong, one. With boot complete and going to the firmware folder the changed firmware is there. I presume that the changes I make end up in an overlay that only is mounted after the boot process. Rewriting the whole 6 GB image, just to change one file, is a bit cumbersome. Is there a way to chan…
-
Hi, I'm working with an armbian installed on a Banana Pi M2S and I'm having problems using GPIOX_12, GPIOX_13 and GPIOX_4, because the Wifi/Bluetooth drivers are introducing garbage data by default into them and making it difficult to use them for communication in my project. I need to know how to disable these drivers from the kernel so that they don't interfere with the UART communication that I'm creating on those pins, since they are enabled by default and take control of the port automatically (even without having any module connected). Question: Is there any way to disable them in the kernel during the image building process? Fo…
-
Hi all, has anyone ever tried to use an atomic firmware upgrade system like rauc or swupdate? https://rauc.readthedocs.io/en/latest/ https://sbabic.github.io/swupdate/swupdate.html I am playing with rauc, in order to do that I have to customize the partitioning of the SD/eMMC: - root1 (4GB) - root2 (4GB) - data (8GB, or remaining space) Can someone suggest how to customize partitioning in such way? I played around setting USE_HOOK_FOR_PARTITION=yes, and hooking the create_partition_table but had no luck. Any hint? Thanks in advance! Andrea
-
Reputation Points
- 3 replies
- 4.3k views
- 1 follower
-
-
How does compile.sh display the nice little icons like 🔨 when building an image
-
Reputation Points
- 3 replies
- 2.3k views
- 1 follower
-
-
Hello. I'm building an armbian image and want to add some partitions to the result disk. I use the post_create_partitions hook to do that. The documentation doesn't show how to use it, so I looked at the armbian's sources: https://github.com/armbian/build/blob/99815c0a8880d4e04fc64742412632e1d41c1334/lib/functions/image/partitioning.sh#L206 Here they create a string and pass it to sfdisk. In my hook I do a similar row to add two partitions: echo -ne "label:dos\nsize=1G\nsize=1G\n+\n" | sfdisk -a "${SDCARD}".raw --no-reread || exit_with_error "Partition fail." But building of the image fails with message: No free sectors available. Failed to add #3 partition…
-
Reputation Points
- 4 replies
- 6k views
- 2 followers
-
-
Hello, I work on a gateway built around an orange PI 2. The orange PI has to manage 3 spi devices (an RTC, a flash and a radio). So I have enabled the spidev module on the orange PI and I use two overlay to get 3 /dev/spidev1.x (x=/dev/spidev1.,1 and2) devices with 3 distinct CS. See my the armbianEnv.txt file: # cat /boot/armbianEnv.txt verbosity=1 logo=disabled console=both disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 overlays=i2c0 pwm spi-spidev usbhost2 usbhost3 rootdev=UUID=64a7c5d3-32a7-4eaf-9e69-a0dd046580ae rootfstype=ext4 param_spidev_spi_bus=1 param_spidev_max_freq=100000000 user_overlays= spi1-triple-spidev-cs sun8i-h3-spi1-add-cs1-cs…
-
Reputation Points
- 2 replies
- 2.8k views
- 1 follower
-
-
I recently installed Armbian Jammy on my Hardkernel Odroid-HC1. By monitoring the storage usage through SNMP, I quickly realised that something was filling up the /var/log mountpoint at an alarming rate (40 % usage after three weeks). At a closer inspection, it turned out to be the sysstat logs. Even though sysstat was set (out of the box) to only keep 7 days of history, I could see files that were several weeks old. Having looked into the way that logs are synced to disc (or to the SD card rather), then rotated and synced back every night, it seems that the armbian-ramlog script is rather broken. It will move all of the sysstat logs, then expect the logrotati…
-
Reputation Points
- 1 reply
- 2.4k views
- 1 follower
-
-
I ask this question purely out of curiosity - why is the userpatches folder not in the build folder when it is first cloned
-
Hi all, I've been building armbian images for my nanopim4 boards for some time with great success, however I refreshed the build scripts today and I'm seeing LOADS of errors flashing by and then It crashes - my build machine is an intel nuc I5 with 16gb RAM running Debian bookworm - I hope I've got the log url correct
-
Reputation Points
- 18 replies
- 6.3k views
- 1 follower
-
-
Hi, I managed to make w1-GPIO work in Orange Pi Zero v3 for, for example, the DS18B20 sensor. However, I have some doubts about setting the GPIO flags for w1-gpio. Many examples provide flags in the form gpios = <&pio 0 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; but in the dts file when I use this form it does not work (syntax error) so I have to provide the flags in digital form. A description of flags and bits is here https://elixir.bootlin.com/linux/v6.6.30/source/include/dt-bindings/gpio/gpio.h If I would like to set GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN then the digital value for…
-
Dear Community, Currently Im playin with my Banana Pi M2 Berry and therefore I need a fusion of the LATEST Armbian -System with the compilers needed by the Boards Offical "GPIO-Libarys", which are outdated 7years ago. The most important libary would be the RPi.GPIO. RPi.GPIO The problem is, that this libary was using python2 and python3, python2 isnt my future i think, but for compiling the lib with python3 I need some pip-packages and the right arm-gcc compiler = 4.8 i think. DO i may need a cross-compile libary or whats are the requirements to build the lib on the latest system? To avoid hardware-d…
-
Hello, I have a bunch of boards (rpi4b, rpi5, orangepi5, orangepi5-plus, nanopct6, rock3a, rock5b, vim4) in a Kubernetes cluster using Cilium. Cilium requires CONF_SCHEDSTATS=y in the kernel, which is dependent on CONFIG_DEBUG_KERNEL=y but... in build/lib/functions/compilation/armbian-kernel.sh we have # DONE: Disable: debug option kernel_config_set_n DEBUG_KERNEL # Armbian doesn't know how to package a debug kernel. Which invalidates the option I enabled during ./compile.sh BOARD=... BRANCH=... kernel-config Except for the VIM4, with DEBUG_KERNEL enabled in build/config/sources/families/meson-s4t7.conf …
-
Reputation Points
- 5 replies
- 3.2k views
- 1 follower
-
-
Was trying to follow the https://www.armbian.com/participate/ page instructions to get access to Jira, but the link just takes me to Jira and tells me that I don't have access. No option to request access on that page, just "[username] doesn't have access to Jira on armbian.atlassian.net." Does the participate page need updates? Or should I just try to work off of github issues only? Feel free to direct me to the right place if it matters, I would potentially be helping with some nanopi devices, have several r2s and r2s plus - the r2s plus needs some work i think.
-
Hi, I recently noticed that after updating to 24.02 the package "linux-libc-dev" did not receive a update. I have checked the current armbian archives and couldn't find anything for any arch. Just to be sure i've also built armbian 24.5 images for bananapi (noticed this on a bananapi board) and rpi4b (as a well supported board) and no linux-libc-dev[...].deb was built. It seems that with the buildsystem change the files packages/armbian/mkdebian and packages/armbian/builddeb were retired (commit e98c66b, v23.11.1) which previously handled building the kernel packages and included linux-libc-dev. Unfortunately linux-libc-dev is a dependency for libc6-dev a…
-
Reputation Points
- 1 reply
- 3.1k views
- 1 follower
-
-
The versioning within Armbian seems to be inconsistent. On a up to date RPi4 The login message states that it is running Armbian 23.11.1: Welcome to Armbian 23.11.1 Jammy with Linux 6.6.18-current-bcm2711 /etc/os-release is listing both 22.04 and 24.2.1: PRETTY_NAME="Armbian 24.2.1 jammy" VERSION_ID="22.04" VERSION="22.04.4 LTS (Jammy Jellyfish)" ARMBIAN_PRETTY_NAME="Armbian 24.2.1 jammy" /etc/armbian-release says it is 23.11.1: VERSION=23.11.1 REVISION=23.11.1 So these are three different versions, making it confusing. Any idea what is going on here?
-
Reputation Points
- 0 replies
- 2k views
- 1 follower
-
-
How to I generate `.img` files? When I run `.compile` I end up with `.deb` files. I've been looking through the scripts but there are so many of them and I want to get to how to do this without having to use commands like: find . -name '*.sh' -print0 | xargs -0 grep compile_uboot | less for a long time. Thank you
-
Hi all, Armbian v23.11 build fails while compiling ATF, reporting weird "cannot find cr" message: https://paste.next.armbian.com/evewilodap Can you please help? Thanks in advance!
-
Reputation Points
- 4 replies
- 2.7k views
- 1 follower
-
-
I believe this question goes to @rpardini as maintainer of patches for Rockchip series in the `build` repo: I'm trying connect camera to Orange Pi 3B (yes, it boots from community support on edge kernels), but spent 2h digging to find no drivers for CSI2 from Rockchip's fork are ported to patches for recent kernels (for example: https://github.com/armbian/linux-rockchip/blob/rk-5.10-rkr6/drivers/phy/rockchip/phy-rockchip-csi2-dphy.c and corresponding device trees to instantiate these drivers). This is a little chicken egg problem as I need recent kernels to have access to open source GPU drivers - they're not present on 5.10 based original system i…
-
Reputation Points
- 9 replies
- 9.9k views
- 2 followers
-
-
Hi, I have been recently working on a couple of extensions: lvm and cloud-init I forked off "v23.11.2" tag when creating my branches, since they are extensions, and wont alter the framework much. Today I noticed that OdroidUX4 is not building, but it was building last week. A patch seems to be failing. I guess it is a kernel/driver patch. Then my question is: is it possible that, on the same tag (v23.11.2), builds break? I am starting to think that the tag is only for the build process/patch set, but excludes, for example a reference to kernel code. I suppose then the situation is that a kernel update…
-
I got an issue from a user on a bash script I am sharing on github. The script is to make shrunk img backups on a running system on a lot of different sbc:s. After some testing on the users side (I did not have access to hardware to test) it turned out the script fails because of the partition table, it is GPT while in the past they have always been MBR (msdos). I downloaded the latest opi5 gnome desktop image and looped it and parted shows it is in GPT. We figured out a way to solve it but my question is: is this because rpi5 uses gpt partition table (I do not own a rpi5 either)? Will this be the future of most armbian builds? …
-
I found it very confusing that Armbian doesn't seem to follow the Ubuntu/Debian traditional scheme for naming kernel modules: linux-image-*, linux-modules-* and linux-headers-*. I need them to cross compile out-of-tree kernel module in `schroot`. Armbian seem to have only `linux-image-edge-rockchip64` and `linux-headers-edge-rockchip64`. What's the reasoning behind such design decision? Moreover, I've noticed kernel packages incorporate all the logic that make the board bootable, instead having more generic kernel binaries and relying on `flash-kernel` tool that both Ubuntu and Debian widely use. I wonder why not? What are chances in future `linux-im…
-
Reputation Points
- 2 replies
- 5.2k views
-
-
hi I've been using the flag compile.sh PREFER_DOCKER=no while building in a systemd-nspawn container: Building Armbian using Ubuntu (jammy) in a systemd-nspawn container This time I managed to make a complete successful build with my work arounds for loop devices in systemd nspawn. However, the flag PREFER_DOCKER=no Didn't seem to be documented in the build options https://docs.armbian.com/Developer-Guide_Build-Options/ can the documentation be updated to add PREFER_DOCKER=no flag (at least under 'advanced users') ? note that it isn't possible to run docker normally within systemd-nspawn o…
-
Hi, after update to stable v23.11 branch i cannot build anymore under WSL2 i get the following error when the process starts to create the image: "Error: Partition(s) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64 on /dev/loop0 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes." …
-
Reputation Points
- 1 reply
- 6.4k views
- 1 follower
-
-
I am working on support for the ClockworkPi Gameshell main board. I have patches for the kernel, but it seems that the build system applies kernel patches on a "per family" basis. Indeed, looking at the 'kernel-patch.sh' script it seems the BOARD and TARGET variables that would let board specific patches work are commented out. I've read through the example PR's in the docs, but don't see an example of how applying board specific patches should work. I fear that if I put the patches into the normal flow, it will get applied to other boards within the sunxi family and things may break for other boards. Should kernel patches be crafted in a way that they SHOULD …
-
Reputation Points
- 3 replies
- 3.7k views
- 1 follower
-
-
Please move this message to correct folder, if I used the wrong one. There is a grave bug in the ext4 FS, which was introduced in kernel around 6.1.55 and is fixed in kernel 6.1.66. The bug is causing data coruption and data loss, like new packages aren't installed properly. A fix was introduced today into kernel, in version 6.1.66 Armbian Bookworm 23.11.1 (Debian) comes with 6.1.63 and, according to my knowledge, is affected. When will new kernel packages from armbian be available? References: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057843 https://fulda.social/@Ganneff/111551628003050712
-
Hi there, I am trying to build the image using docker, but I get several "Segmentation fault (core dumped)" error messages and as result the build gets interrupted. Would like to stick to docker build (I am running of fedora 39, and it automatically selects docker), as it looks to be far more efficient rather than running it into a VM. Any idea on how could I get rid of this issue? Thanks is advance! Andrea
-
Reputation Points
- 6 replies
- 7.9k views
- 1 follower
-
-
Hello Armbian Community, I am running Armbian on a Raspberry Pi 4 with a RAID 1 setup for my root filesystem. I've come across a warning in a guide for RaspiOS (link below) suggesting that firmware upgrades could disrupt the RAID setup. Robert Alexa's Guide on GitHub Given this, I have a few questions about handling Armbian kernel updates in a similar RAID configuration: How are kernel updates managed in Armbian when using RAID for the root filesystem, and are there any known issues similar to the one described in the guide? What precautions should I take when applying apt upgrade to ensure that my RAID remains bootable? Is…
-
Reputation Points
- 0 replies
- 1.3k views
- 1 follower
-
-
While doing the build, I initially ran into various NO_PUBKEY ... error messages accessing security.ubuntu.com, archive.ubuntu.com repositories. e.g. [🔨] 3.570 W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key. [🔨] 3.570 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu jammy-backports InRelease: The following signatures couldn't be verified because the public key is not ava…
-
after quite a few frustrating attempts to setup a built environment, fixing some issues, jumping over some hoops for the build, I managed to get to the 'starting point' of a build ./compile.sh [🌱] uuidgen not found [ uuidgen not installed yet ] [🌱] Using prebuilt Armbian image as base for 'ubuntu-jammy' [ DOCKER_ARMBIAN_BASE_IMAGE: ghcr.io/armbian/docker-armbian-build:armbian-ubuntu-jammy-latest ] [🌿] Docker info [ Docker 19.03.11 Kernel:4.12.14-lp151.28.91-default RAM:31.28GiB CPUs:8 OS:'openSUSE Leap 15.1' hostname 'snoopy1.internal' under 'Linux' - buildx:yes - loop-hacks:yes static-loops:no ] [🌱] Creating [ .dockerignore ] [🌱] Docker launcher [ enabling all …