Commit Graph

2640 Commits

Author SHA1 Message Date
SuperKali
fc9ba3ec3d
fix(rtw88): restrict sdio rf-path detection patch to kernel 6.1 only (#8589)
Limit application of 002-rtw88-sdio-rf-path-detection-fix.patch to kernel version 6.1
2025-09-08 08:40:45 +02:00
SuperKali
343bcc6e24
patch: rtw88: sdio: fix incorrect RF path detection when MAC is powered off (#8587) 2025-09-08 07:33:30 +02:00
tabris
b405bc8415 track input nice value, propagate to docker 2025-09-07 10:01:08 +02:00
tabris
3fc39c409e kernel build machinery - allow BTRFS to be built as module 2025-09-04 02:33:03 +08:00
Rolf Leggewie
aec8988419 lib / partitioning.sh: remove some whitespace at end-of-line 2025-09-04 01:59:32 +08:00
Mecid
02fb49bced Make the Partition Type UUID if-chain more readable 2025-09-04 01:59:32 +08:00
Mecid Urganci
61526350f3 Partitioning UFS: Add rockchip support 2025-09-04 01:59:32 +08:00
retro98boy
2b166f37f3 meson64: bump kernel to 6.16 2025-08-31 12:42:15 +02:00
Mecid Urganci
8f977f5b7c Dependency: e2fsprogs for mkfs.ext4 (in trixie) 2025-08-30 01:05:04 +08:00
Rolf Leggewie
034e1e45cd lib / kernel.sh: drop (by now) unused definition of make_filter 2025-08-27 13:46:16 +08:00
Rolf Leggewie
e624fd805f lib / kernel-make.sh: drop undefined make_filter call. Closes #8529 2025-08-27 13:46:16 +08:00
The-going
5fd4306699 main-config: Add gitverse repo for kernel source 2025-08-26 04:56:04 +08:00
The-going
f57e935603 MAINLINE_GOOGLE_MIRROR: fix to https://kernel.googlesource.com/*/linux-stable.git 2025-08-26 04:56:04 +08:00
EvilOlaf
33d4b2c13b add recursion when umounting /sys 2025-08-16 17:44:15 +02:00
igorpecovnik
e6448a22e3 tools: Bump SHELLCHECK_VERSION from 0.10.0 to 0.11.0 2025-08-16 21:15:44 +08:00
igorpecovnik
a1c49e4e5f tools: Bump SHELLCHECK_VERSION from 0.10.0 to 0.11.0 2025-08-16 21:15:24 +08:00
Rolf Leggewie
eda88e848b lib / prepare-host: debian-archive-keyring is not a host-dependency for RISCv64
This was introduced in 2a8cb5793f as a relaxation to the previous
state when RISCv64 was not yet officially supported by Debian and
lived in Debian Ports.
2025-08-13 18:39:59 +08:00
amazingfate
94a72b9993 linux-image: provide wireguard-modules 2025-08-11 17:37:52 +08:00
Igor Pecovnik
750d4eda7d Xradio: adjust to support kernel compilation for 6.16+ 2025-08-07 19:40:40 +02:00
Jianfeng Liu
ca5e61f777 fix build dep gcc-loongarch64-linux-gnu introduced by new arch loong64 2025-08-05 11:33:56 +08:00
Jianfeng Liu
124da14067 kenrel-debs: use dynamic kernel image name installed by installkernel 2025-08-04 17:34:54 +08:00
Jianfeng Liu
0439d3ed70 install pahole before linux-headers for better dkms 2025-08-04 17:34:24 +08:00
Jianfeng Liu
fb363e8829 add initial loong64 support 2025-08-04 17:34:24 +08:00
Jianfeng Liu
b3912bb03a uefi-arm64: bump to 6.16 2025-08-03 09:37:30 +08:00
Rolf Leggewie
bda921595b minor spelling mistakes 2025-08-02 19:23:38 +08:00
Igor Pecovnik
4ae394cc4d Debian oldstable: drop security and backport repository from packages lists
It does not exists for Bullseye nor Buster, which are both anyway deprecated, but we have a user reqests.
2025-07-30 15:49:42 +02:00
Igor Pecovnik
cbeb0992b4 Bullseye: drop backport repository as it doesn't exists anymore 2025-07-28 17:17:58 +02:00
Rolf Leggewie
c2a9fff520 lib / prepare-host: fix quoting inconsistency 2025-07-23 10:53:09 +02:00
Rolf Leggewie
f72bd55b12 lib / prepare-host: make installation of gcc-arm-linux-gnueabi conditional
* do not install gcc-arm-linux-gnueabi unless targetting arm64 arch
  suggested by coderabbitAI (https://github.com/armbian/build/pull/8260#discussion_r2118608963)
  reviewed and implemented by leggewie
2025-07-23 10:53:09 +02:00
Igor Pecovnik
67aa2d55e4 Wireless drivers: bump commit hash, add information about deprecations 2025-07-23 10:52:37 +02:00
Jianfeng Liu
c093f2e581 fix bluetooth hci_dev quirks API change since v6.16-rc7 2025-07-23 16:32:36 +08:00
Igor Pecovnik
fecc8ae217 Plymouth: add most recent Armbian logo 2025-07-18 17:44:07 +02:00
igorpecovnik
5efa4a16df tools: Bump SHELLFMT_VERSION from 3.11.0 to 3.12.0 2025-07-18 17:43:52 +02:00
Andrei Aldea
370bedb42d
Add option for number of threads used by build system (#8346)
* Add option for number of threads used by build system

Attempt to fix https://github.com/armbian/build/issues/6907

* Add CPUTHREADS to replace USEALLTHREADS

Defaults to 150% as was always the case, otherwise allow user to override number of threads.
2025-07-13 09:33:48 +02:00
Jianfeng Liu
3a9babee14 deploy missing qemu binary when adding repo key 2025-07-11 16:59:45 +02:00
Rolf Leggewie
9144aaf91b lib / distro-specific.sh: add --batch and --yes switches to gpg call
suggestion from coderabbit and indeed it sounds like a good, robust idea
2025-07-10 20:40:37 +08:00
Rolf Leggewie
9fe445b44d Revert "rootfs: allow APA to handle GPG keys when it is active during the build"
This reverts commit 034e9253cd.
2025-07-10 20:40:37 +08:00
Rolf Leggewie
e7b21f6d97 lib / main-config.sh: enable APA extension for sid Release builds 2025-07-08 01:42:38 +08:00
amazingfate
ff941a6e2d remove wifi patches for kernel v6.16 merged upstream 2025-06-28 15:20:16 +02:00
Werner
fa9302f162
rockchip64: bump edge to 6.16-rc3 (#8328)
* Fix wifi drivers on kernel v6.16

These patches can get deleted after merged upstream.

* initial commit

* fix header

* remove ssv6051 driver

---------

Co-authored-by: amazingfate <liujianfeng1994@gmail.com>
2025-06-24 15:25:34 +00:00
Rolf Leggewie
034e9253cd rootfs: allow APA to handle GPG keys when it is active during the build
this is a small first step to mainlining APA into core and let it handle
some packaging and distribution logic
2025-06-23 20:36:23 +02:00
Werner
e9b20c3ed5
AE for cloud, add description for vendor (#8299)
* AE for cloud, add description for vendor

* fixes
2025-06-15 04:40:07 +00:00
Werner
15407330c6
Preparation for http proxy caching (#8281)
* always use http for apt repos

* pass possible proxy arguments to docker

* populate lower-case env variables with upper-case ones if not set otherwise
2025-06-13 10:31:24 +02:00
Igor Pecovnik
aa5526a918 Signing key: keep a link to previous location
armbian-config still uses old location and as we don't control keys via package, we need to apply this workaround for newly created images
2025-06-09 09:33:46 +02:00
Ayush Singh
c0da65087a compilation: armbian-kernel: Do not make built-in drivers modules
The current script can overwrite drivers which are set as built-in in
the board-specific config. This is not desirable.

Add a check to ensure we do not convert built-in stuff into modules.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-06-08 18:08:33 +02:00
The-going
b571ceb46f sunxi: xradio: Switching from del_timer_sync to timer_delete_sync
This was introduced in 6.2 but was removed from the kernel code
in 6.15.
We are currently building cores for sunxi starting from 6.6.
Therefore, a simple replacement without conditions.
2025-06-08 18:04:25 +02:00
The-going
8762476502 patch: misc: uwe5622: fix timer api changes for 6.15 (only sunxi) 2025-06-08 18:04:25 +02:00
The-going
699816ddf2 config-prepare: Initialize an empty KERNEL_DRIVERS_SKIP array unless it exists
If the array exists in this location, initializing an empty array
will destroy all the data that was stored in it.
Do not initialize an empty KERNEL_DRIVERS_SKIP array if it exists.

This allows us to create an array anywhere in the script,
including the user configuration, in a secure way.
2025-06-08 18:04:25 +02:00
Ricardo Pardini
c8baf1c888 runners.sh: introduce chroot_sdcard_custom_with_apt_logic() for reuse
- we've too much logic in `chroot_sdcard_apt_get()` we need to re-use
  for eg debfoster or any extensions that need to manipulate the apt
  cache (which is handled via mounts in that function)
- `chroot_sdcard_apt_get()` now accepts a `chroot_command` env var,
  defaulting to `apt-get`
- `chroot_sdcard_custom_with_apt_logic()` splits the params and calls
  `chroot_command=... chroot_sdcard_apt_get ...` allowing for custom
  calls
2025-06-03 09:57:19 +02:00
djurny
0f4303651f Rework after review prepare-host.sh
Use all parameters to display_alert()
```
[🐳|🌱] Running in container [ Adding provisions for container building ]
[🐳|🌱] Adding package to 'host_dependencies' [ python3-setuptools ]
[🐳|🌱] Python2 not available on host release 'noble' [ ancient u-boot versions might/will fail to build ]
```
2025-06-03 09:56:09 +02:00
Tom Urlings
826309f7bc rockchip64/rk3328: U-Boot v2022.04/07 add setexpr
- aimed at nanopi-r2s and nanopineo3
- impacts:
  - boards (re)using 'nanopi-r2s-rk3328_defconfig' (rk3328)
  and:
  - boards using U-Boot v2022.04 or
  - boards using U-Boot v2022.07
- added explicit dependency on python3-setuptools as (at least) U-Boot
  v2022.04 and v2022.07 fail building due to missing 'distutils' for
  boards that use U-Boot v2022.04 or v2022.07
2025-06-03 09:56:09 +02:00
Rolf Leggewie
81d65b09b9 lib distro-specific.sh: move armbian GPG to more common location 2025-05-30 04:06:39 +08:00
Andrei Aldea
557457e4cc Revert Changes to library-functions
Was auto-regenerated
2025-05-29 19:30:15 +02:00
Andrei Aldea
d824a53b58 Add Kernel Version Parsing and Custom Description
Adds ability to set custom descriptions for kernel inside family config and parses for kernel version.
2025-05-29 19:30:15 +02:00
Ricardo Pardini
39fef63e73 kernel-debs: if make clean fails (logs to bitbucket), do it again, but show the logs 2025-05-29 18:32:47 +02:00
Ricardo Pardini
d4945ec071 artifacts-obtain: pack_artifact_to_local_cache: force a fsync() before packing 2025-05-29 18:31:50 +02:00
Ricardo Pardini
03c47689cb docker: 50%+ faster during "enabling all extensions looking for Docker dependencies"
- 7s+ -> 3s
- by using `enable_extensions_with_hostdeps_builtin_and_user "add_host_dependencies" "host_dependencies_known"` instead of `enable_all_extensions_builtin_and_user`
2025-05-29 17:58:28 +02:00
Ricardo Pardini
10570df804 extensions: introduce enable_extensions_with_hostdeps_builtin_and_user()
- this is an alternative to `enable_all_extensions_builtin_and_user()`
- this one greps the files for the hooks we're interested in
2025-05-29 17:58:28 +02:00
Ricardo Pardini
fa0d9ab820 rootfs-to-image: do not use --sparse, it's _very slow_ on certain IO/FS combos
- Revert "rootfs-to-image: preserve sparse files when moving artefacts to final destination with rsync"

This reverts commit 4fd0e0c29d.
2025-05-29 17:55:27 +02:00
Ricardo Pardini
53e72aae25 drivers_network: fix uwe5622 for kernel 6.15
- just a ton of hackfixes ref e4c416533f
2025-05-29 09:33:29 +02:00
Ricardo Pardini
76e3e203a9 drivers_network: driver_rtl8723DS: use armbian/rtl8723ds instead of domin144's fork
- there's a fork under Armbian org now for this driver
2025-05-29 09:33:29 +02:00
Dominik Wójt
96b9fad8c3 drivers_network: fix some wlan drivers compilation 6.15 kernel 2025-05-29 09:33:29 +02:00
Igor Velkov
5815951516 Work if no customize-image.sh file present 2025-05-27 15:43:00 +02:00
alex3d
df6a133a14 partitioning: fix compressed BTRFS creation 2025-05-18 17:43:21 +02:00
Viacheslav Bocharov
9555f7ef62 Update Realtek RTL8822CS external driver 2025-05-16 19:01:14 +02:00
igorpecovnik
384daea694 tools: Bump ORAS_VERSION from 1.2.2 to 1.2.3 2025-05-16 19:00:58 +02:00
Igor Pecovnik
5216e732cd Revert "add in cache to the image, allowing caching in customize image step"
This reverts commit 9eaa276457.
2025-05-15 16:43:51 +02:00
Ben Hoff
9eaa276457 add in cache to the image, allowing caching in customize image step 2025-05-14 17:19:23 +02:00
Igor Pecovnik
4dc9b00fb0 Framework: switch Docker default image to Noble 2025-05-14 11:59:12 +02:00
Ricardo Squassina Lee
c897044aeb Update prepare-host.sh
migrate to ntpsec-ntpdate as a more secure implementation of ntpdate and available in Debian and Ubunbtu
2025-05-12 16:54:24 +02:00
Franklyn Tackitt
4a8199b992 partitioning: Use btrfs set-default MOUNT/subvolume
This simplifies the code, removing the need to grep/cut the output of btrfs subvolume list
2025-05-05 06:15:50 +02:00
Franklyn Tackitt
76470b1dad partitioning: Rely on the btrfs default subvolume for remounting
This allows changes to the default subvolume in `btrfs_root_add_subvolumes`
 to propagate as needed into the final image.
2025-05-05 06:15:50 +02:00
Franklyn Tackitt
9f37e55980 partitioning: Add BTRFS_ROOT_SUBVOLUME switch
This allows changing the default root subvolume from @ to any user
 defined subvolume name
2025-05-05 06:15:50 +02:00
FantasyGmm
76229701ca Adding Variables to Set the Sector Size for UFS Devices 2025-04-19 13:19:13 +02:00
Werner
1c0e3c9b0d Update prepare-host.sh
I don't know. This doesn't feel right. The package exists in Jammy, Noble and Bookworm in both amd64 and arm64 variants so should be good...though it is probably not needed in all constellations. 
Still it is part of the toolchain and not generic packages. If this gets merged as it is this should be revisited.
2025-04-19 13:18:55 +02:00
EvilOlaf
f365339980 add new host build dependency for noble 2025-04-19 13:18:55 +02:00
Werner
204c646cc6 rockchip64: fix atf build, bump ATF to latest tag 2025-04-19 13:18:55 +02:00
Werner
11c285872e
Fix ORAS tooling download due to absense of wget (#8104)
* move `wget` to basic deps
* fix spaces
2025-04-19 13:17:31 +02:00
Franklyn Tackitt
58a3d74eec fix: update jq in apt-utils to use filter arguments
This fixes the issue where jq sometimes fails to compile the filter when parsing
base-files.json
2025-04-19 07:56:05 +02:00
Igor Velkov
ab6587ac05 If rootfs placed on btrfs filesystem, place root on @ subvolume
It makes possible to work with snapshots of a root filesystem
2025-04-16 23:33:07 +02:00
Werner
554580ae34 copy example config at first start 2025-04-16 23:32:14 +02:00
Ricardo Pardini
484aac7df2 lib/tools/info: mapper-oci-uptodate: adapt to oras-py 0.2 api change 2025-04-12 20:06:13 +02:00
Ricardo Pardini
9e5ca480d2 lib/tools: Python CLI for ORAS (add non-existing case) 2025-04-12 20:06:13 +02:00
Ricardo Pardini
5d712c242a lib/tools: Python CLI for ORAS (bump to 0.2.y, api change, not too bad) 2025-04-12 20:06:13 +02:00
Ricardo Pardini
89eae213a7 lib/tools: Python CLI for ORAS (0.1.y) 2025-04-12 20:06:13 +02:00
JohnTheCoolingFan
5795f7202a Fix rtl8189fs driver commit version
Used the commit of the same date which is currently the head of the
`rtl8189fs` branch. The issue was that the rtl8189es `master` branch was
used.
2025-04-12 17:25:21 +03:00
Igor Pecovnik
451547b0d4 Add VENDOR color to BSP and artifacts hashing 2025-03-31 21:37:55 +02:00
Ricardo Pardini
4aa306c740 drivers_network: bump rtl8812au for 6.14.y
- https://github.com/aircrack-ng/rtl8812au/pull/1226 landed
2025-03-31 21:37:24 +02:00
Ricardo Pardini
454c49626d Revert "drivers_network: HACK: bump rtl8812au (forked until PR merged upstream)"
This reverts commit 6b74df6f2c.
2025-03-31 21:37:24 +02:00
Igor Pecovnik
9c206d0175 Drop examples as they are not needed for hooks 2025-03-31 20:50:39 +02:00
coderabbitai[bot]
bd5bf38593 📝 Add docstrings to netkit
Docstrings generation was requested by @igorpecovnik.

* https://github.com/armbian/build/pull/8036#issuecomment-2766658224

The following files were modified:

* `lib/functions/compilation/armbian-kernel.sh`
2025-03-31 20:50:39 +02:00
Igor Pecovnik
f029ab11c4 Enable NETKIT feature for all armbian-kernels => 6.7 2025-03-31 20:50:39 +02:00
Mecid
a322285cfb Replace bsdmainutils with bsdextrautils 2025-03-28 12:38:01 +01:00
Mecid
322f86ff69 Add bsdmainutils to host dependencies in prepare-host.sh
for mac80211 in 6.14 which failed requiring hexdump
2025-03-28 12:38:01 +01:00
Igor Pecovnik
a0c35c73a6 Add support for MOTD logo colors
- we might want to have different welcome colors for stable and nightly images
- this adds another branding option alongside with VENDOR, VENDORURL, VENDORSUPPORT, ...
2025-03-28 12:36:52 +01:00
Igor Pecovnik
c20fba9908 UEFI: add cloud kernel under cloud branch 2025-03-27 19:24:07 +01:00
coderabbitai[bot]
e4c7d24229 📝 Add docstrings to armbiankernel
Docstrings generation was requested by @igorpecovnik.

* https://github.com/armbian/build/pull/8014#issuecomment-2755642576

The following files were modified:

* `lib/functions/compilation/armbian-kernel.sh`
2025-03-27 12:50:03 +01:00
Igor Pecovnik
eb62028fa0 Armbian kernel: add ZRAM and DOCKER configurations
Those two are present in all kernels
2025-03-27 12:50:03 +01:00
Paolo Sabatino
7c55b4fce9 bump rockchip 32bit edge kernel to v6.14 2025-03-26 22:23:29 +01:00
Ricardo Pardini
6b74df6f2c drivers_network: HACK: bump rtl8812au (forked until PR merged upstream)
- revert this and update sha1 after https://github.com/aircrack-ng/rtl8812au/pull/1226 lands
2025-03-26 10:05:36 +01:00
Ricardo Pardini
94bab3bb81 drivers_network: bump rtl88x2cs for 6.14.y
- ref https://github.com/jethome-ru/rtl88x2cs/pull/13 (done, thanks adeepv)
2025-03-26 10:05:36 +01:00
Ricardo Pardini
3777676009 drivers_network: bump rtl8189es/rtl8189fs/rtl8812au/rtl8811cu/rtl88x2bu for 6.14.y 2025-03-26 10:05:36 +01:00
Ian Goodacre
86ea59c378 Fix patching.sh to include untracked (new) files in patch 2025-03-23 20:50:33 +01:00
Rolf Leggewie
5e8ab3ae8b BSP: make -cli packages provide the armbian-bsp-cli virtual package 2025-03-23 20:49:51 +01:00
Rolf Leggewie
09267e3b5d nitpick: spell check s/neeeded/needed/ 2025-03-19 22:24:48 +01:00
Igor Pecovnik
4530b26278 Revert "Stop altering global git config file and set safe per cloned repository"
This reverts commit ccde662ccb.
2025-03-16 17:26:49 +01:00
Igor Pecovnik
ccde662ccb Stop altering global git config file and set safe per cloned repository 2025-03-16 11:53:56 +01:00
igorpecovnik
19b0a062a7 tools: Bump SHELLFMT_VERSION from 3.10.0 to 3.11.0 2025-03-16 11:53:12 +01:00
Igor Pecovnik
3199178c70 Multiple sources fix: after changing to deb822 we forgot on leftovers
- deboostrap still uses old ways and we need to remove this file
- when displaying the content of sources, we need to look correct file
2025-03-05 10:40:48 +01:00
amazingfate
47381df472 wireless: fix build with kernel 6.14 2025-02-26 21:40:01 +08:00
Igor Pecovnik
b47d408ff7 After changing apt lists methodology, we need to rebuild rootfs cache 2025-02-24 12:43:04 +01:00
Blieque Mariguan
8e75c8ebd1 feat: Use deb822 APT sources
- Replace `armbian.list` with `armbian.sources`. This holds the same
  information in a newer format, deb822.
- Replace HTTP with HTTPS for Armbian repositories.
2025-02-24 09:23:11 +01:00
Ricardo Pardini
370f85b067 python3: do not rely on hostdeps python3-pip nor python3-dev; deploy pip via get-pip.py
- python3-pip implies a very old setuptools (which is system-wide and takes precedence)
- python3-dev implies python3-distutils (which is long deprecated)
- get-pip.py allows us to version pip in requirements.txt just like everything else
- in the end this fixes the conundrum with pylibfdt / dtschema on Jammy
- and, finally, the setuptools we specify in requirements.txt will be actually used
2025-02-24 09:21:53 +01:00
Ricardo Pardini
0c7596bd5a export-logs: use multiple paste servers in order until one works
- user can override by setting PASTE_SERVER_HOST=some.paste.server.com
2025-02-22 22:35:45 -03:00
amazingfate
94949aec8a kernel: fix for 6.14 make clean fail at tools dir due to upstream dir change 2025-02-22 23:19:31 +08:00
Igor Pecovnik
ec2544e005 Bugfix: Remove directories from sha files 2025-02-10 20:17:25 +01:00
Ricardo Pardini
51b300ebdf armbian-kernel.sh: introduce KERNEL_BTF=no to opt-out of BTF/CO-RE type-info on low-RAM machines
- turns out `pahole` for `vmlinux` can take multiple gigabytes of RAM to run successfully
- I can't simply decide based on available RAM, as that would make .config hashes mismatch
- thus, introduce:
  - default is to enable BTF; if on low-ram host, error out unless KERNEL_BTF=yes is passed
  - if KERNEL_BTF=no is passed, the BTF debug info is always disabled
  - if KERNEL_BTF=yes is passed, then a warning is produced, but BTF is still enabled
- the magic number "6451 MiB" was determined empirically (and is probably bs)
2025-02-09 15:55:28 +01:00
Blieque Mariguan
3743daffa2 feat: Use deb822 APT source for armbian-config
- Replace creation of `armbian-config.list` with
  `armbian-config.sources`. This holds the same information in a newer
  format, deb822. This does not affect `armbian.list`.

See also: https://github.com/armbian/configng/pull/407
2025-02-04 18:49:52 +01:00
Igor Pecovnik
1477b478c5 Add upstream release as csc target: Ubuntu plucky 25.04 2025-01-23 18:30:49 +01:00
Lane Jennison
de97c74ae5 disable ccache in a friendly way 2025-01-23 15:12:27 +03:00
amazingfate
d4b5c30e09 wifi drivers: update commit id of rtl8811cu and rtl88x2bu 2025-01-22 10:01:37 +01:00
amazingfate
1f92b07c38 wireless: fix build with kernel 6.13 2025-01-21 19:35:49 +01:00
github-actions[bot]
7ea4cb3b8d
tools: Bump BATCAT_VERSION from 0.24.0 to 0.25.0 (#7706) 2025-01-21 13:28:56 +01:00
igorpecovnik
1557c9fcf0 tools: Bump ORAS_VERSION from 1.2.1 to 1.2.2 2025-01-21 13:28:08 +01:00
Ricardo Pardini
f21e700dc6 git: squash spurious warning when checking safe.directory 2025-01-21 13:25:36 +01:00
Ricardo Pardini
2f2c81744a kernel: call oldconfig _after_ kernel config hooks; add hook for CONFIG_CFG80211=m and CONFIG_MAC80211=m on 6.13+
- we need to run the hooks _before_ running oldconfig, otherwise it is too late
- drop `kernel_config_check_and_repair()` since it won't ever detect anything now
2025-01-21 13:25:11 +01:00
amazingfate
611746bfc2 Revert "armbian-kernel: skip enabling BTF for rk35xx vendor kernel"
This reverts commit b17e9e5db1.
2025-01-21 13:24:58 +01:00
Igor
4e33412ec2
Refactor armbian-config into install as external package (#7716)
* Refactor armbian-config into install as external package

- https://github.armbian.com/configng repository is always present
- package can still be removed from the install list

Since this tool will have deeper integration with Armbian, we should probably drop possibility to remove the tool from the list.

* Enable armbian-config as extension
2025-01-20 14:23:28 +01:00
Igor Pecovnik
f8e1b443f1 3rd party wifi: partially revert rtl8811cu driver as it breaks on K6.6 2025-01-19 21:49:41 +01:00
Igor Pecovnik
dc558d7c01 UEFI kernels, legacy = 6.6, current & edge 6.13 2025-01-19 20:21:52 +01:00
Ricardo Pardini
c469eeba7a hooks: introduce post_armbian_repo_customize_image and post_repo_customize_image
- `post_repo_customize_image`: runs after repos have been enabled
- `post_armbian_repo_customize_image`: same, but only if Armbian repo is enabled
- both run after apt update, so packages can be directly installed from repos
2025-01-19 20:21:11 +01:00
amazingfate
09dc5b0d9d dockerproxy: update GHCR_MIRROR_ADDRESS 2025-01-17 16:35:28 +03:00
amazingfate
f4457a3df5 ghproxy: update GHPROXY_ADDRESS to ghfast.top 2025-01-15 11:36:45 +08:00
amazingfate
b17e9e5db1 armbian-kernel: skip enabling BTF for rk35xx vendor kernel
fix minor typo by @EvilOlaf
2025-01-14 19:43:44 +08:00
Viacheslav Bocharov
245c74acbb update rtl8822cs driver link to latest commit (update for kernel 6.13+)
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2025-01-14 12:10:07 +03:00
Igor Pecovnik
5cc3e2e872 Fix handling loop devices 2025-01-08 13:17:47 +01:00
Ricardo Pardini
fdde912ebf uboot: debug u-boot directory contents before/after patching
- with DEBUG=yes, allows us to see what is leftover in directory during builds
- with new cleaning in separate commit, there shouldn't be any leftovers _at all_
2025-01-05 16:38:43 +01:00
Ricardo Pardini
79db9984f1 uboot: completely clean before building each target; slower but correct
- with this, every u-boot build will be a full rebuild.
  - still, building u-boot is pretty fast
  - and it is better to be a bit slower and actually produce correct results
2025-01-05 16:38:43 +01:00
Ricardo Pardini
7aeb48f172 u-boot: add per-target and general metadata files to u-boot package
- incl some indicative fdt/extlinux/gpt info
- include full config and defconfig for each target
- mark the old .config file as legacy (it was always the last-target's config)
- fix: savedefconfig after build, not before (as target_map might change it)
- fix: some very old u-boots (2011, odroidc1) do not have `savedefconfig` at all, so make it optional
- fix: same for `.config` -- very old u-boots worked different (`boards.cfg`?)
2025-01-05 16:38:43 +01:00
Tim Surber
7c5f95ef8c bump arm trusted firmware to 2.12 for rockchip64 2025-01-05 10:29:54 +01:00
Ricardo Pardini
87ceaaf635 kernel-debs: headers: postinst: switch from oldconfig to olddefconfig for less messy output; better logging 2025-01-05 10:24:30 +01:00
marcone
5ccc94dd56 fix typo 2025-01-04 15:36:06 +01:00
Ricardo Pardini
43ee737f30 runners: fix if_error_find_files_sdcard if looking for full paths (shows DKMS log correctly)
- this should make `dmks`'s `make.log` properly show up in error logs now
2025-01-04 15:35:29 +01:00
Ricardo Pardini
a408e0cbdf cli-docker: avoid argument list too long errors when too many git changes present; fixes #6993 2025-01-03 17:18:10 +01:00
Ricardo Pardini
b0303e5edc rootfs: fix: don't try to use chroot binaries after qemu was undeployed
- `"${cache_fname}.list"` and `"${cache_fname}.hash_text"` were very old and unused anyway
2025-01-02 13:46:03 +01:00
Paolo Sabatino
54628d7d3e rockchip: bump edge kernel to 6.13-rc5 2025-01-01 19:38:55 +01:00
Patrick Yavitz
8e621baeb9 RTW88: Add RTL88XXAU support to 6.12.y
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 13:31:22 -05:00
igorpecovnik
b1232edaa2 tools: Bump ORAS_VERSION from 1.2.0 to 1.2.1 2024-12-31 11:52:48 +01:00
Ricardo Pardini
de6b967e47 cli: kernel-dtb: don't output preprocessed dts unless BOOT_FDT_FILE is in <vendor>/<board>.dtb format
- so the .deb can be produced sans-errors for some armhf boards
- some better logging, curb the warnings a bit
2024-12-31 11:52:30 +01:00
Ricardo Pardini
6755e9190a don't ship qemu binary in rootfs cache + armhf image/rootfs building on non-armhf-capable-arm64 hosts (Apple M1+)
- refactor `prepare_host_binfmt_qemu()` out of `prepare_host_noninteractive()` and into `rootfs/qemu-static.sh`
  - further split into more functions and return early to avoid deep nesting
  - implement force import and load of qemu-arm for non-armhf capable arm64 hosts (incl magic numbers)
- enhance `deploy_qemu_binary_to_chroot()` & `undeploy_qemu_binary_from_chroot()`;
  - add 2nd param "caller" for better logging/tracking
  - does sanity-check and preserve existing binary if it exists
- explicitly deploy/undeploy for the 3 cases:
  - image: moved undeploy from `post_debootstrap_tweaks()` into image build proper for consistency
  - rootfs: was leaving trash behind (since post_debootstrap_tweaks never ran for rootfs), now properly undeploys
  - initrd: was already fine, just added caller info
- added `arch-test` host dependency
  - ensure `arch-test ${ARCH}` works during prepare-host
- > tl,dr: "can build 32-bit armv7 armhf using Apple silicon; can use rootfs cache cross-arch reliably"
2024-12-31 11:52:12 +01:00