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.

Armbian build framework

deprecated forums. READ ONLY

Note:

Topics regarding the build framework shall be discussed at Github

  1. Started by s_frit,

    As far as I can tell, many, if not all, targets generate an identical postinst script for the linux-headers package by patching scripts/package/builddeb. A search of the Armbian build repo for "Compiling headers - please wait" produces 33 code results. This means that improving the postinst script (for example, as discussed here) requires updating 33 patch files. I'd be happy to help improve the situation, but I'm unsure how to proceed. Could we have a global postinst script for the linux-headers package, and somehow copy it into place? or must we use a patch file?

  2. I've been using ./compile.sh to play around booting a NanoPi Neo via FEL and come across an issue when using the default branch. When I build using "BRANCH=dev" it boots but when using ./compile.sh KERNEL_ONLY=no BRANCH=default BOARD=nanopineo PROGRESS_DISPLAY=plain RELEASE=jessie BUILD_DESKTOP=no ROOTFS_TYPE=fel The resulting kernel doesn't boot and shows the following error via serial on the Neo. "Error: unrecognized/unsupported machine ID (r1 = 0x00000000)" I found extracting output/cache/sdcard/boot/boot.scr, adding "setenv machid 1029" and generating the boot.scr image again I was able to get it to boot. Have I missed a step in the compile.sh process…

    • Reputation Points

    • 1 reply
    • 2.8k views
  3. Hello, I have got an Orange Pi PC2 but there is no fully working operationg system for it. If someone could make a working build for then that thing will live a long time as an efficient PC. THX

    • Reputation Points

    • 1 reply
    • 5.1k views
  4. I have pushed some changes for XU4 with the help of so many internet sources (thanks!) - uboot 2016.05 - vanilla kernel (4.7.6 as of now) - single partition (using the LABEL=rootfs for booting) - SD & eMMC for eMMC, burn the image on both a SD card & eMMC first, boot with SD card to write files on mmcblk0boot0 partition, then cd /usr/lib/linux-u-boot-next-odroidxu4_5.21-GRO_armhf (probably remove -GRO) -rw-r--r-- 1 root root 15616 oct. 1 01:58 bl1.bin.hardkernel -rw-r--r-- 1 root root 14592 oct. 1 01:58 bl2.bin.hardkernel.1mb_uboot -rw-r--r-- 1 root root 1807 oct. 1 01:58 sd_fusing.sh -rw-r--r-- 1 root root 262144 oct. 1 01:58 tzsw.bin.hard…

    • Reputation Points

    • 1 reply
    • 3.5k views
  5. Hello, not sure if I'm at the right place here, so please let me know if I'm wrong and where I need to be. Thanks in advance and my apologies... My problem is that for some time now does Apt keep deleting custom kernels in /boot and the package appears to delete kernels not only with a rough pattern, but with "-f" as well, ignoring any file permissions. I've been watching this for a while now and it has left me at first with unbootable devices until I've noticed the cause. I would very much appreciate it of the Armbian kernel package wouldn't just delete anything that looks remotely like a kernel from /boot with a "rm -f *", but only removes the fi…

    • Reputation Points

    • 1 reply
    • 2.7k views
  6. hello, I would suggest a quick fix of "compile.sh" to do the "git pull" of "lib" before sudo why? because .git/FETCH_HEAD file turns owned by root.root & zador.blood.stain has tried to limit being "root" all the time in the VM

  7. Started by Memo,

    hi Everyone! I need an image with this Ubuntu server 16.04 no Desktop environment, only console. This is for projects, programming something, like a kiosk, just run an application, the system should be light, and haven't additional applications like browser, LibreOffice, etc. how can I compile this image? Thx From Mx.!

    • Reputation Points

    • 1 reply
    • 2.6k views
  8. Started by martinayotte,

    I've been working on the rtl8189fs patches for Mainline. Althouth the source code change between Legacy and Mainline is pretty trivial, preparing good and nice patches becomes a tedious task : - First, the original patch in Legacy contains tons of DOS file formatted (strange for a Linux driver, shame on Realtek) and even dos2unix failed on some files because of binaries character (probably Chinese), I had to edit many files because I wouldn't "signed-off" such ugly thing. (btw, maybe that dos2unix job should be done one Legacy to make it cleaner) - It is a quick big patch, but about the same size as the one in Legacy, about 10MB of text file. - Even after …

    • Reputation Points

    • 1 reply
    • 3.7k views
  9. Started by Da Alchemist,

    I am trying to build an Image for the Rockpro but i am allways getting an Error when it comes to compile U-boot (did not make any Changes so far): Displaying message: Preparing host info Displaying message: Build host OS release bionic info Displaying message: Syncing clock host info ## BUILD SCRIPT ENVIRONMENT Repository: https://github.com/armbian/build Version: 46340a24 Host OS: bionic Host arch: amd64 Host system: Linux ek-desktop 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Virtualization type: none ## Build script directories Build directory is located on: TARGET SOURCE FSTYPE AVAIL /home /dev/sda1 ext4 …

    • Reputation Points

    • 1 reply
    • 2.7k views
  10. Based on discussions the last days/weeks it seems obvious to me that we should document default Armbian security so that people know what they get and where to tweak if they have specific concerns. I took a few minutes to start with a list of issues that should IMO be addressed (no specific order): Explain where password strength policies originate Restore distro default sshd settings if concerned: sed -i 's/PermitRootLogin yes/PermitRootLogin without-password/' /etc/ssh/sshd_config Use and purpose of haveged: https://github.com/igorpecovnik/lib/issues/503 'Secure delete' on SD card, eMMC or SSD (overwriting contents on the FS layer requires a sync call if followed …

    • Reputation Points

    • 1 reply
    • 3.5k views
  11. Ideally I'd like to get a structure in place that rebuilds armbian with each commit to igorpecovnik/lib. I'd love people's ideas on the best way to go about this. I am pretty good with jenkins and all his pals, so if you have a favorite, please do let me know. Dockerfile Any feedback? It should work even on systems that don't have the needed native ubuntu 14.04 Vagrantfile Just used it to make a build myself, seems to be working fine, though there's some troubleshooting to be done with the build. Unsure what the source of the issue is, and had build mainline for opi, so instead I will now build opi-oldkernel.

    • Reputation Points

    • 1 reply
    • 3.1k views
  12. Started by N4IRS,

    I am attempting to build the following: Full OS image for flashing Do not change the kernel configuration nanopineo2 next or dev kernel same error stretch or xenial same error [ o.k. ] Downloading sources [ o.k. ] Checking git sources [ u-boot v2017.11 ] [ .... ] Up to date [ o.k. ] Checking git sources [ linux-mainline linux-4.14.y ] [ .... ] Up to date [ o.k. ] Checking git sources [ arm-trusted-firmware-sunxi-mainline allwinner-stable ] [ .... ] Fetching updates fatal: Couldn't find remote ref allwinner-stable [ .... ] Checking out error: pathspec 'FETCH_HEAD' did not match any file(s) known to git. [ o.k. ] Chec…

    • Reputation Points

    • 1 reply
    • 2.4k views
  13. I am trying to build 150balbes/Build-Armbian at my Ubuntu18 PC . However , the download process of toolchains are very slow. I had already spent most of the day in it. Unfortunatly , some of the toolchains was downloaded with warnings : [ warn ] Verification failed Could you please tell me the list of all needed toolchains and its source ? I will try to downlaod them in another way. Thanks ! Guofu Han

    • Reputation Points

    • 1 reply
    • 2.3k views
  14. As mentioned above, how can is specify the version of kernel and u-boot when i build the image(in https://github.com/armbian/build) from scratch? Thanks in advance!

    • Reputation Points

    • 1 reply
    • 1.8k views
  15. Hello - I'm requesting that an issue tracker be added to the documentation repository on the Armbian GitHub project. This would allow various documentation improvement requests to be placed and resolution status to be easily located.

    • Reputation Points

    • 1 reply
    • 2.3k views
  16. Started by zador.blood.stained,

    Looking at this: https://github.com/armbian/build/commit/925b8592220a590b09215f08d3f06de6b8fe238d First, I would put most of the dependencies in "Recommends" and "Suggests" sections, otherwise people will be unable to remove non-essential packages they don't want. Second, I would put something like "nodm | lightdm" so you could switch the login manager without breaking things. And third, since we are discussing the desktop packages, personally I think that lightdm login dark theme looks relatively ugly (mostly you can't see element borders for user switcher dropdown menu, it's hard to read a dark font on a dark background, etc.) so mayb…

    • Reputation Points

    • 1 reply
    • 2.4k views
  17. Started by leomecma,

    I'm trying to lock u-boot version and I create the file /userpatches/lib.config with this inside MAINLINE_UBOOT_BRANCH='tag:v2017.01', but script continue updating uboot to v2017.03. What's wrong? In configuration.sh I put echo $MAINLINE_UBOOT_BRANCH just after load lib.config and this show my tag:v2017.01.

    • Reputation Points

    • 1 reply
    • 2.1k views
  18. Started by armremote,

    Hi, I've been building nanopineoplus2 stretch images with armbian build on commit c3f02be362aa216f2d3ee011916f9a18baf58291 (August 4, 2018) and it worked fine until earlier this week. My last successful build was on 10/28/2018. Could this be failing because armbian-firmware 5.55 or some older packages were taken off the apt repo? Here is the log output: [[0;32m o.k. [0m] Installing packages for [[0;33m Armbian [0m] Reading package lists... Building dependency tree... Reading state information... [[0;31m error [0m] ERROR in function create_rootfs_cache [[0;33m debootstrap-ng.sh:213 [0m] [[0;31m error [0m] Installation of Armbian packages failed [[0;32m o.…

    • Reputation Points

    • 1 reply
    • 2.6k views
  19. This is really just a bash-centic question, but I'm baffled an tired of googling. Why does passing KEY=VALUE args to compile.sh work? I don't see bash flags, arg parsing or anything. I'm trying to do something similar in another script I'm just baffled. ex: sudo ./compile.sh EXPERT=yes EXTERNAL_NEW="compile" BOARD=orangepi-r1 BRANCH=next RELEASE="jessie" DESKTOP=no KERNEL_ONLY=yes KERNEL_CONFIGURE=no CLEAN_LEVEL=""

    • Reputation Points

    • 1 reply
    • 2.4k views
  20. Hi, ist it possible to select a specific kernel version in the build tool (not only next, dev ...)? I need kernel 4.17. Thanks. Steffen

  21. Hi there, my odroidc1 somehow died last month after updating to 5.3 test kernel so I decided to build new images from scratch starting from master. I did not touch any configuration and I choose to build the classical server image. Debian Buster boot but I cannot get any network Ubuntu 18.04 does not even boot with a u-boot error (see below) Ubuntu 19.10 does not even boot with a u-boot error (see below) Here it is the u-boot log of Ubuntu images: Does anyone have an idea on what is the problem and how to fix it? Thanks in advance *Ciao Piero

  22. Started by MarekBelisko,

    Hi, I'm trying to build debian kernel but using mainline 5.4.12 + patches from patch/kernel/sunxi-current. I took non disabled patches and apply patch -p1 for all of them and it fails at patch 0010-general-h6-add-dma-i2c-ir-spi-uart.patch in first hunk because opp node in dts doesn't exists. It's not in mainline not in patches. I have no idea how this works though. Is this patch then skipped or? Thanks. Marek

    • Reputation Points

    • 1 reply
    • 2.9k views
  23. Started by Przemysław Sztoch,

    Can we add .editorconfig to https://github.com/armbian/build ?!

    • Reputation Points

    • 1 reply
    • 2.3k views
  24. Started by hanni76,

    Hello guys, is there any reason why you still build the old Kernel 4.11 for h3/sun8i ? Thanks

    • Reputation Points

    • 1 reply
    • 2.2k views
  25. Started by cippo,

    Hello, I try to use the Armbian build framework to generate a debian package with modified kernel, generated packages.deb works fine, but the compiled kernel is everytime the default and not mine. I use: ./compile.sh KERNEL_CONFIGURE=yes KERNEL_KEEP_CONFIG=no and then load my kernel_config but the result is everytime the default kernel, the .config become change then my .config I also try to bypass the problem by adding immutable attribute to my personalized .config (chattr +i ./.config) but the script crash: │ /home/maxi/sources/linux-sun8i/sun8i/scripts/kconfig/Makefile:33: recipe for target 'silentoldconfig' failed …

    • Reputation Points

    • 1 reply
    • 3.1k views
  26. Started by vincele,

    Hello, I want to tackle the TODO item from main.sh:175: # TODO: move to armbian-tools or extras-buildpkgs Which way should I go ?

    • Reputation Points

    • 0 replies
    • 2.1k views
  27. By default when I build armbian on master, it downloads the toolchains from the china mirror for me, but those always fail to verify the gcc-linaro-aarch64-none-elf-4.8-2013.11_linux.tar.xz with gpg BAD SIGNATURE. If I change to ARMBIAN_MIRROR="https://minio.k-space.ee/armbian/dl/" the issue disappears.

    • Reputation Points

    • 0 replies
    • 2.1k views
  28. I tried to compile any distro for the first time, so I'm a total n00b here (used Oracle VirtualBox on a Win x64 machine, Ubuntu 10.04.02 x64)... They seem to be compiled fine. Moved the result images, written to new SD Cards with Etcher... Legacy Ubuntu server did boot. Legacy Ubuntu Desktop did not boot (even red/green lights did not light up). Can you give me some starting points or links about how to deal with this issue? Thank you in advance... BTW: I'm giving a shot to this to get rid of unnecessary SW installed in the desktop version, such as LibreOffice etc... I also don't know if this is possible...

  29. Started by jerryc,

    Hi Wondering if there are instructions on how to use the newer dwmac driver (instead of sun8i-emac.c) on the dev branch 4.10.x ? thanks jerry

    • Reputation Points

    • 0 replies
    • 1.9k views
  30. now I can answer this question: all lima code are removed by: https://github.com/armbian/build/blob/master/lib/compilation.sh#L588 thus lima patches can be applied. thus I create a github issue: https://github.com/armbian/build/issues/1474 @martinayotte @Igor and other maintainers, please help to handle this, because this is huge work.

    • Reputation Points

    • 0 replies
    • 1.5k views
  31. Hi all I am working on having a working cpufreq support for Allwinner H5 SoC According to the mainline plan, it won't happen anytime soon (it is not even scheduled for 4.13) However some (working) patches already exist, there is a quite updated fork at: https://github.com/megous/linux Reading the provided information, there is also an absolutely required patch for u-boot that fix a PLL1 configuration Apparently this patch is already included in Armbian, it is the patch: But for some reason I really don't understand, this is not applied to the u-boot source, the file doesn't contain the patch. Other patches in u-boot-sun50i-dev are applied correct…

  32. Hello, guys, I need your help with building an image with kernel 4.15 ("dev") for bananapi m1+ (can't use "next" because I need the new display engine). First of all, I need to transfer patches from 4.14 so that I can create my own overlays. Can you tell me which patches I need to look at , besides "add-overlay-compilation-support.patch" ? Thank you

    • Reputation Points

    • 0 replies
    • 1.7k views
  33. Hello. I'am try use adv7604 and csi in orangepi zero +2 H5, and i cant understand right way to apply changes in build-framework. After all settings in menuconfig are selected, i save cfg in .config_adv7604, and Exit from menuconfig. Build-fwk continued to buld my img ~1hour, and after that i cannot found the module adv7604.ko. OK I am rebuild img again, in the menuconfig i save settings in .config and again cannot find modules. Оn the third try it finally turned out. I saved the config several times in .config (maybe, rewrite old cfg file) and modules now is available in system. It is possible, add .config-files select mode in build-framework? O…

    • Reputation Points

    • 0 replies
    • 2.3k views
  34. Started by hanni76,

    Hello, guys, I am having some strange boot messages for my bananapi m2 running 4.13.14. They all are more or less device-tree related. May I ask you to look at it and give some comments ? 1) there is always a lot of messages like below, but WiFi is working fine: [ 10.801417] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred [ 10.801434] brcmfmac: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5 ....... [ 26.108251] brcmfmac: brcmf_fweh_call_event_handler: no interface object [ 26.108260] brcmfmac: brcmf_fweh_event_worker: event handler failed (72) 2) [ …

    • Reputation Points

    • 0 replies
    • 2k views
  35. Hello, guys, I recently posted a problem with Banana Pi M2 framebuffer - my Waveshare35a TFT display was not working with "next" mainline image. I had messages in dmesg about an SPI data transfer issue. As a result there was no new framebuffer device created on the device. The question was then moved to Development group. Can you give a comment about SPI driver on BananaPI M2 ? Is SPI communication on BananaPi m2 really supported by mainline kernel ?

    • Reputation Points

    • 0 replies
    • 1.9k views
  36. Started by ottuzzi,

    Hi, while toying around build system for Odroid C1 I saw that toolchains for arm-linux-gnueabihf where "old" as we are at "gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf" since the 7.3.1 looks like it is not available for this platform. So I did some changes in lib/general.sh and added the following as a fast hack: "https://releases.linaro.org/components/toolchain/binaries/7.4-2019.02/arm-linux-gnueabihf/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf.tar.xz" "https://developer.arm.com/-/media/Files/downloads/gnu-a/8.2-2019.01/gcc-arm-8.2-2019.01-x86_64-arm-linux-gnueabihf.tar.xz" Then I modified the configuration files fo…

    • Reputation Points

    • 0 replies
    • 2.9k views
  37. Started by lanefu,

    I've been doing a little housekeeping with github issues and PR's to eliminate noise or bring closure. I've created a STALE label for issues that lack closure or don't have clear actionable items and closing. Hopefully that makes them easy to revisit later if one is interested. I've also posted some follow-ups on a few to try to get things moving and merged a few PRs while applying extreme discretion. Let me know if I do anything you disagree with or want me to back off. I'm trying to be mindful of everyone's work.

    • Reputation Points

    • 0 replies
    • 1.6k views
  38. Started by hanni76,

    Processing file /home/user/Projects/armbian/build/patch/u-boot/u-boot-sunxi/fix-sunxi-gpio-driver.patch patch unexpectedly ends in middle of line

    • Reputation Points

    • 0 replies
    • 1.9k views
  39. Started by TonyMac32,

    Release WIP and CSC images from their own page with very specific limitations, including, but not limited to: no kernel or u-boot updates, ideally with the kernel and u-boot package names modified with -unsupported- Explain these are demo snapshot images, potentially even package a different wallpaper that has -unofficial- or something similar watermarked across it. Maybe even use the default WM theme.

    • Reputation Points

    • 0 replies
    • 2.8k views
  40. Hello everybody, I tried to install drivers for camera the board on karnel 4.* for orange pi lite2 , but it failed. -modprobe vfe_v4l2 -modprobe vfe_v4l2 -and device /dev/video0 no directory i folloved instruction and i installed header file for linux karnel , but this did't solov my problem. I readed a lot of topic on the forums, but this did't solove my problem. I'm willing to spend a small amount for to solov the problem. Please write you thoughts and offer.

  41. Started by TonyMac32,

    Wondering if we should have a release notes/changelog that gets tossed into the image somewhere? Something very simple that we maintain by just updating a text file with a significant commit. (Like changing kernel versions, fixing a known bug from previous release, etc). Maybe toss it up onscreen at first boot. Moving the thermal zones on Tinker made me think that might be a good idea.

    • Reputation Points

    • 0 replies
    • 2.2k views
  42. Started by hanni76,

    Hello guys, There is an issue in build framework that makes impossible building my custom kernel for sun6i without changing your code. In the file sunxi_common.inc the variable LINUXFAMILY is forced to "sunxi" (unless it is sun8i) and my custom file userpatches/sources/sun6i.conf is not included. Of course I can hack sunxi_common.inc but much better if you make sort of correction for this issue. Thanks

    • Reputation Points

    • 0 replies
    • 2.3k views
  43. Started by swissbyte,

    Hi There I'm trying to compile a new image with armbians build environment. Basically the process works as expected, as long as i recompile everything. But i want to make some changes to the KERNEL source before compiling. Therefore i have enabled the following flags: CREATE_PATCHES="yes" KERNEL_ONLY="yes" # build kernel only SOURCE_COMPILE="yes" # force source compilation KERNEL_CLEAN="yes" # MAKE clean before compilation CLEAN_LEVEL="sources" But, it does not clean the Kernel and it does not recompile it. Do you have any…

    • Reputation Points

    • 0 replies
    • 2.1k views
  44. Started by hanni76,

    Hello, guys, I need to set overlay_prefix=sun6i-a31 in armbianEnv.txt automatically. I found that the default sunxi_common.inc behavior does not allow applying my custom file "userpatches/sources/sun6i.conf" where I have OVERLAY_PREFIX variable declared. In the file sunxi_common.inc the variable LINUXFAMILY is reset to "sunxi" for sun6i architecture. My question is: do you have another way to set OVERLAY_PREFIX variable ? Thank you.

    • Reputation Points

    • 0 replies
    • 2.1k views
  45. Started by selfbg,

    I want to override some configurations from $LINUXFAMILY.conf in SOMEBOARD.conf/wip/csc. One way is to provide $SRC/userpatches/sources/$LINUXFAMILY.conf, but I don't like this approach. I want to make these modification permanent. Maybe move the specific configuration from the family file to each board file, but with will not work with big families. Any ideas or comments? Thanks

  46. As many of you know, lots of git repositories are automatically built every time there's a pull request, letting the project community know if that commit will introduce a flaw of some kind. If it's a help to Armbian, I'd like to configure a cloud-based build system that should be able to cut the "build all" time down to about 10% of what it is, and possibly to a number lower than that. Here's what I'd do. I'll use Google cloud's preemptible servers to spawn say 30 machines with the trigger being a pull request. If any of these macines dies during the build, it'll come back red. and otherwise, it will come back green and upload all of the binaries to google clou…

    • Reputation Points

    • 0 replies
    • 2.6k views
  47. Started by borsti67,

    Hi, I noticed that "install.log" was missing the beginning of the process, it starts at building the .deb for u-boot. There is one ">" missing in common.sh: diff --git a/common.sh b/common.sh index 503a3ab..920ba38 100644 --- a/common.sh +++ b/common.sh @@ -90,7 +90,7 @@ compile_uboot (){ cd $DEST/debs display_alert "Target directory" "$DEST/debs/" "info" display_alert "Building deb" "$uboot_name.deb" "info" - dpkg -b $uboot_name > $DEST/debug/install.log 2>&1 + dpkg -b $uboot_name >> $DEST/debug/install.log 2>&1 rm -rf $uboot_name FILESIZE=$(wc -c $DEST/debs/$uboot_name.deb | cut -f 1 …

  48. Hi, attached is a patch for U-Boot (should work on 2016.09-rc1 and 2016-09-rc2-dirty, will probably work on older ones as well) that makes it use the plain text file uEnv.txt instead of boot.scr, which has to be translated to a binary file first. This way changing the environment means only editing a text file, instead of editing a file, converting it to binary, and copying it over to the /boot partition on the SD. This becomes active if the U-Boot config has the option OLD_SUNXI_COMPAT disabled (in the menuconfig this is under ARM architecture -> Enable workarounds for booting old kernels). It also adds a small patch to board/sunxi/board.c to skip the setting …

    • Reputation Points

    • 0 replies
    • 6.6k views
  49. Dear All, I am trying to prepare the rootfs for opi3 board with CRYPTROOT_ENABLE option to yes using below command but getting error as below. ./compile.sh BOARD=orangepi3 BRANCH=current RELEASE=buster BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,gpg,img CLEAN_LEVEL=images OFFLINE_WORK=yes CRYPTROOT_ENABLE=yes CRYPTROOT_PASSPHRASE="MYSECRECTPASS" CRYPTROOT_SSH_UNLOCK=yes CRYPTROOT_SSH_UNLOCK_PORT=2222 CRYPTROOT_PARAMETERS="custom cryptsetup options" invoke-rc.d: policy-rc.d denied execution of start. Processing triggers for systemd (241-7~deb10u4) ... [ o.k. ] Calling image customization script [ c…

    • Reputation Points

    • 0 replies
    • 2.2k views
  50. As per documentation, I'm providing a custom kernel config, and I do get the message during my build: [ o.k. ] Using kernel config provided by user [ userpatches/linux-sunxi64-current.config ] which is great! The problem I face is that although the message is shown, the config that takes place seems to be something different, as can be checked when booting the image and looking up the config file in /boot/config-5.9.8-sunxi64 Digging a little bit in compilation.sh, I can see that cp .config "${DEST}/config/${LINUXCONFIG}.config" will only be run if KERNEL_CONFIGURE=yes As I want a fully automated image…

  51. Started by Heisath,

    Hi, I bought this relatively new WiFi card from sinovoip based on the MT7615. http://forum.banana-pi.org/t/bpi-mt7615-802-11-ac-wifi-4x4-dual-band-pcie-module-mass-production-version/10037 The kernel drivers for this are already in mainline linux (starting from 5.3 I think). I'm trying to use it on the clearfogpro though, which only runs up to kernel 4.19 right now (tried compiling 5.3 but it fails). So I wanted to backport the driver to 4.19. Unfortunately multiple things changed and trying to get the driver to compile broke lots of other stuff. So I came around to backports https://backports.wiki.kernel.org/index.php/Main_Page their documentat…

    • Reputation Points

    • 0 replies
    • 3.7k views
  52. Dear contributors, the Armbian build framework sub-forum is dedicated to collaborate on the tool founded by Igor. The framework itself is opensource/GPL. Please add in the title, if possible: [WiP] = Work in Progress [RFC] = Request for Comment [TEST], [TEST/CPU/Board] = Feed back on tests [Device specific] [Board specific] etc. The framework doc is here [WIP] The tool aims at building {legacy, vanilla} linux kernels as well as (user-)patching/creating complete working images with {trusty,wheezy,jessie} to write on your flash {sdcard/NAND} Long story short... feel free to: Report bugs related to build script itself or patches supplied with it; Suggest new f…

    • Reputation Points

    • 0 replies
    • 8.7k views
  53. Started by mrjpaxton,

    Hi, I'm not exactly sure where this type of thread goes. If it doesn't go here, can someone please politely move it? Thank you very much! There seems to be a rogue file in the "/etc/sysfs.d/" directory with the file "20-gpu-governor.conf" on my system. This file is meant to tune the GPU governor to "performance", instead of the default "simple_ondemand". But I'm confused as to which package supplies this. It is not supplied by sysfsutils, so maybe it's Armbian specific? Not sure. This file is on Armbian for the Helios64. Here are the contents of the file "/etc/sysfs.d/20-gpu-governor.conf": # Set "performance" GPU…

  54. Started by hanni76,

    Hello guys, I need my device to load armbian , autologin and run my application fullscreen. Can you give me a hint, please, what I should add into customization scripts ? Thanks

    • Reputation Points

    • 0 replies
    • 2.2k views
  55. Hey guys. 1. This piece if [[ $(lsb_release -sc) =~ bionic|buster|cosmic|disco ]]; then mkopts[ext4]='-q -m 2 -O ^64bit,^metadata_csum' elif [[ $(lsb_release -sc) == xenial ]]; then mkopts[ext4]='-q -m 2' fi Why disable metadata_csum? Why disable 64bit overall, not just for pure 32 bit boards? Edit on Mar 9 2020 Metadata checksums is a new feature of ext4 since e2fsprogs 1.44 (xenial has 1.42). It makes the fs more robust to data corruption but it requires some extra cpu power to calculate the checksums. It is not a problem for generic cpus with SSE4.2 (= hardware accelerated crc32): intel since …

  56. Started by aokihu,

    I fail build rom when pack [libssl-dev] , my OS is ubuntu 15, anyone can help me ?

    • Reputation Points

    • 0 replies
    • 2.6k views
  57. Started by vincele,

    Hello, I know this will be a controversial subject, but I often like to see what's happening in a devel repository by browsing commits. I start by looking at the commit titles (first commit message line) to approximate the interest that particular entry is to me, then if deemed interesting, I'll read the full commit message to understand what it is about, then if still interested I'll go read the code. I think this is a fairly straightforward approach to digging in a codebase or development stream, avoiding to loose time on things outside of interest scope, and allowing to focus on specific subjects. So, in order for this workflow to be doable, the commit …

  58. manual page: https://www.freedesktop.org/software/systemd/man/systemd-firstboot.html archlinux Wiki: https://wiki.archlinux.org/index.php/systemd-firstboot

    • Reputation Points

    • 0 replies
    • 2.3k views
  59. Started by TonyMac32,

    rc2 breaks the builddeb patch, at least on Rockchip, investigating. [Edit] Fixed Tinker Board and Meson64 Dev

    • Reputation Points

    • 0 replies
    • 1.7k views
  60. Started by borsti67,

    Hello team, I noticed the following lines during script run: Free space: grep: | tee -a $DEST/debug/debootstrap.log: No such file or directory [ o.k. ] Ending debootstrap process and preparing cache [ jessie ] as you can see, free space is neither logged nor displayed. I found 2 occurrences in debootstrap-ng.sh, but I don't get what's wrong there...?

  61. Started by Nick,

    Hi, I've been trying to follow the instructions here https://docs.armbian.com/Developer-Guide_Using-Vagrant/ rather than using my current virtualbox setup however I fall over at the following spot: nick@Nick-desktop:~$ vagrant plugin install vagrant-disksize Installing the 'vagrant-disksize' plugin. This can take a few minutes... Bundler, the underlying system Vagrant uses to install plugins, reported an error. The error is shown below. These errors are usually caused by misconfigured plugin installations or transient network issues. The error from Bundler is: conflicting dependencies nokogiri (= 1.5.10) and nokogiri (= 1.8.1) Activated nokogiri-1.8.1 …

  62. Started by lanefu,

    Now that u-boot UEFI is kind of a thing.... How will that shape armbian and the build process?

    • Reputation Points

    • 0 replies
    • 1.9k views
  63. Started by JMCC,

    A very simple proposal: How about creating a tag in the Github repo with each Armbian release? I think it would be very little hassle, and can be very useful in many ways.

  64. FYI, I need a DKMS module to be reloaded after I upgrade the Armbian kernel files with "dpkg -i *.deb" so the following snippet: - remove /tmp/.reboot_required - compile any header files for scripts - add my favorite frandom-dkms module gr@bpi:/armbian_kernel$ cat mod_noreboot.sh #!/bin/bash #sudo rm /tmp/.reboot_required #pushd . #for f in $(ls -d /usr/src/linux-headers-*-sunxi) #do # cd $f # sudo make scripts #done #popd sudo dpkg -i frandom-dkms_1.1-0centrych4_armhf.deb

    • Reputation Points

    • 0 replies
    • 3k views
  65. My Cubox i4pro is running Armbian. I'm using Apticron to notify me of package updates that are available for my system. Apticron usually tells me a short summary of what has changed with a certain newer version. Somehow, the armbian-firmware never shows this information. Is it available somewhere online? I would like to be able to verify what I'm updating so I can assess if there's a risk that something breaks...

    • Reputation Points

    • 0 replies
    • 2.3k views
  66. Hi, I tried to use the Legacy 3.4.113 but when it loads the kernel the Cubieboard2 shows a weird scrambeled picture on the Monitor and just shuts down. So I decided to build the kernel from source. I'm pretty new to Armbian, and the compile script is a lot of different. I built the kernel using the compile.sh script for Cubieborad2. I installed the Mainline 4.9.7 Armbian on Cubieboard2. My question is how to install the built kernel (3.x) on the existing system, as if I try to install the debs I get that I can't install over existing firmware and u-boot (even with force-install)? Thanks!

    • Reputation Points

    • 0 replies
    • 2.8k views
  67. Hi all, and first of all I want pay many thanks to authors and contributors for a great work on a Armbian itself and it's builder too. You rock, guys But a few days ago I ran into a problem with creating my own image. For these purposes, I use the custom-image.sh script. My goal is to preinstall the cups into my image. So, my modified script now looks like that: Spoiler ... RELEASE=$1 LINUXFAMILY=$2 BOARD=$3 BUILD_DESKTOP=$4 pb_staff_inj() { apt-get --yes --force-yes --allow-unauthenticated --fix-missing install -f cups avahi-daemon avahi-discover } Main() { case $RELEA…

    • Reputation Points

    • 0 replies
    • 2.5k views
  68. Every quarter some one apt updates and breaks something after a release.... This can be prevented. We need to produce a repository per release for our debs just like Debian ubuntu etc aka lane@blipsqueak:~/GIT/lj-tools$ cat /etc/apt/sources.list.d/armbian.list deb http://apt.armbian.com focal main focal-utils focal-desktop becomes lane@blipsqueak:~/GIT/lj-tools$ cat /etc/apt/sources.list.d/armbian.list deb http://apt.armbian.com/chiru focal main focal-utils focal-desktop

  69. Probably the easiest and fastest way to set up an Ubuntu Xenial build environment (needed by the armbian build scripts) is using a chroot jail. This thread should be a quick copy paste "tutorial" to create your own chroot jail and on an Debian based linux installation. 1.) Install debootstrap $ sudo apt install debootstrap 2.) Chreate chroot jail using debootstrap $ sudo debootstrap --variant=buildd --arch=amd64 xenial ./system/ http://archive.ubuntu.com/ubuntu/ 3.) Mount your local system into the chroot $ for f in dev dev/pts proc sys ; do sudo mount -o bind /$f ./system/$f ; done 4.) Mount resolv.conf from host system into…

  70. Started by balbes150,

    When performing a build using this key (last commit, MASTER branch) I get an error. Is this a local error in my build environment, or are others observing similar behavior ? Pre-build without CLEAN_LEVEL="" passes without errors. The error occurs during a subsequent build with saving (using) already buils packages.

    • Reputation Points

    • 0 replies
    • 2.6k views
  71. Hello community, i'm trying to build the image according the instructions _armbian/build_ but my build system is behind a firewall limited to http(80) and https(443). The build scripts are trying to fetch directly from git through different network ports. How can i change the way for cloning the git repositories to https? The same problem appears also for the key server, is there also a way to adapt them to https? There is a workaround by setting in file config-default.conf the options USE_MAINLINE_GOOGLE_MIRROR="yes" USE_GITHUB_UBOOT_MIRROR="yes" They only using implicit https protocol for git. The questions above are still i…

    • Reputation Points

    • 0 replies
    • 2.1k views
  72. Hi - does the kernel 4.16 for Stretch 9 for the Odroid C2 support the cryptographic APIs options: (1) CMAC (2) User-space interface for hash algorithms (3) User-space interface for symmetric key cipher algorithms Thank you. -- Cinaed

  73. Started by hanni76,

    Hello, guys, I got a third-party source code for a GPU kernel module, compatible with mainline. I need to build & install it during the Armbian build procedure. I know what to do when "Full image" is selected in configuration , i.e. I can use customize-image-host.sh. Is there any good way to build it when "Kernel only" mode is selected ? Thanks

    • Reputation Points

    • 0 replies
    • 2.2k 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.