Evgenii Zheltonozhskii
0aa2371db5
Support kernel compilation with Clang/LLVM
2024-08-15 13:20:01 +02:00
Kevin Schmidt
08ef1a960f
Fix armbian-firmware-full package build.
...
Include symlinks from linux-firmware.
2024-08-12 10:45:27 +02:00
ColorfulRhino
b8dbe607e5
partitioning: Declare rootpart as local variable
...
The others like `uefipart` and `bootpart` are also defined as local var. Establish consistency.
2024-08-05 20:39:57 +02:00
ColorfulRhino
1092d60d3e
partitioning: Set correct partition type UUID for root filesystem
...
Previously, only the type "Generic Linux filesystem" was used.
Use the correct type "Linux root ($ARCHITECTURE)" for the root filesystem.
2024-08-05 20:39:57 +02:00
ColorfulRhino
a027c4be37
partitioning: Add check to use legacy BIOS boot partition with GPT only, not MBR
...
Exit with an error message if trying to add this partition to an MBR disk.
2024-08-05 20:39:57 +02:00
ColorfulRhino
01d8716bf9
partitioning: Output the partitioning options to the debug log
2024-08-05 20:39:57 +02:00
ColorfulRhino
0b6d61f4c4
partitioning: Add some comments to improve readbility
2024-08-05 20:39:57 +02:00
schwar3kat
58b0a55351
Add Linux Mint Virginia and Wilma to supported hosts
...
Add virginia and wilma in host-release.sh
Add wilma in prepare-host.sh
2024-08-05 09:39:01 +02:00
Igor Pecovnik
264852642d
Packages: move base-files, bsp-desktop and desktop packages to RELEASE specific folders
2024-08-03 16:09:15 +02:00
schwar3kat
129dd4c3aa
Fix_rtl8189fs_WiFi_driver ( #6984 )
...
Fix wrong commit being pulled for rtl8189fs WiFi driver.
Add CONFIG_RTL8189FS=m to linux-sunxi-current.config and linux-sunxi64-current.config.
2024-07-23 17:16:54 +12:00
Ricardo Pardini
f3f89a78ec
utils-dpkgdeb: force rebuild of all artifacts, due to https://github.com/armbian/build/pull/6964 (ORAS change)
2024-07-21 10:25:10 +02:00
Ricardo Pardini
e4032228dd
oci-oras: fix for ORAS > 1.x, as it now requires HOME to be set (fixes download-artifact)
...
- it hasn't HOME when run under the matrix-prepare multiprocess launcher, so use TMPDIR
- fixes https://github.com/armbian/build/pull/6964
2024-07-21 10:24:23 +02:00
igorpecovnik
e5fe080b0a
tools: Bump BATCAT_VERSION from 0.23.0 to 0.24.0
2024-07-20 09:15:13 +02:00
igorpecovnik
f1e63eb8df
tools: Bump ORAS_VERSION from 0.16.0 to 1.2.0
2024-07-20 09:14:56 +02:00
igorpecovnik
984050a2df
tools: Bump SHELLCHECK_VERSION from 0.9.0 to 0.10.0
2024-07-20 09:14:06 +02:00
amazingfate
5bd400a726
add customized GHCR_MIRROR_ADDRESS support
2024-07-18 11:50:42 +02:00
ColorfulRhino
7e9adb3811
cli: uboot: Move uboot_cflags variable to before its first use
2024-07-18 11:42:16 +02:00
amazingfate
ee145942fe
wifi: rtl8852bs: add driver for family instead of board
2024-07-13 17:50:20 +08:00
JohnTheCoolingFan
8162899d3d
Add MKNOD capability to docker container ( #6927 )
...
* Added MKNOD capability to docker container
* Added comment explaining why MKNOD capability is needed
2024-07-11 16:09:43 +03:00
ColorfulRhino
f25fc42e1e
wifi: rtl8852bs: Add some comments
2024-07-11 09:55:16 +08:00
amazingfate
9381edb69d
wifi: rtl8852bs: fix build for rockchip
2024-07-11 09:55:16 +08:00
ColorfulRhino
d638276fcc
partitioning: Reduce commit mount option for btrfs and ext4 to 120
...
Mount option `commit=600` (=10 minutes) seems pretty high.
Reduce it to 120 for ext4 (default for ext4 is `commit=5`)
and 120 for btrfs (default for btrfs is `commit=30`) to reduce
risk of losing data on power loss.
Sources:
- https://www.kernel.org/doc/html/latest/admin-guide/ext4.html
- https://wiki.archlinux.org/title/Btrfs#Commit_interval
- https://btrfs.readthedocs.io/en/latest/Administration.html
2024-07-09 11:31:51 +02:00
ColorfulRhino
39fdf21b98
Beautify shellfmt and add board configs to formatting list ( #6910 )
...
* tools: shellfmt: Beautify and add board configs to formatting list
* Format the whole code using `lib/tools/shellfmt.sh`
---------
Co-authored-by: Igor <igor@armbian.com >
2024-07-08 17:00:38 +02:00
ColorfulRhino
8056532684
cli: main-config: Move NETWORKING_STACK config after family config
...
This allows family configs to change the networking stack.
2024-07-08 16:54:36 +02:00
ColorfulRhino
5bb665f965
cli: uboot: Remove HOME workaround for old tinkerboard/xt-q8l-v10 U-Boot
...
This temporary workaround was only needed for tinkerboard and xt-q8l-v10 version 2022.04 U-Boot. The version has since bumped to 2024.07 and builds fine without this.
2024-07-08 13:02:15 +02:00
Ricardo Pardini
4232661c37
u-boot: embed armbian artifact version in CONFIG_LOCALVERSION
...
- we're hacking at it anyway, so why not use it to uniquely identify the exact build
2024-07-07 13:06:56 +02:00
Viacheslav Bocharov
c27c55b0bc
Fix trap-logging to CI ant not GITHUB_ACTIONS
...
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in >
2024-07-04 21:35:26 +02:00
Viacheslav Bocharov
d73c4cefab
Fix check CI && GITHUB_ACTIONS for GITHUB_OUTPUT to only GITHUB_ACTIONS
...
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in >
2024-07-04 21:35:26 +02:00
Viacheslav Bocharov
7875fce1e9
Allow to pass docker login credentials to oras-cli for and CI environment
...
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in >
2024-07-04 21:35:26 +02:00
Igor Pecovnik
f4555df0ba
Revert "git: git_ensure_safe_directory(): use env vars instead of changing config"
...
This reverts commit 11245601d0 .
2024-07-03 17:31:05 +02:00
ColorfulRhino
63ad4d935e
cli: Improve patching logs for U-Boot and kernel
2024-07-03 14:02:29 +02:00
Ricardo Pardini
11245601d0
git: git_ensure_safe_directory(): use env vars instead of changing config
2024-07-03 06:49:56 +02:00
Ricardo Pardini
d9b67b37d5
u-boot: use pipetty in place of unbuffer
...
- unbuffer never solved anything; pipetty might
2024-07-03 06:44:16 +02:00
ColorfulRhino
e29b960649
cli: kernel-patching: Print KERNELBRANCH and KERNELPATCHDIR before patching
2024-07-02 23:08:41 +02:00
ColorfulRhino
3831a72e97
cli: uboot-patching: Print BOOTBRANCH and BOOTPATCHDIR before patching
2024-07-02 23:08:41 +02:00
Ricardo Pardini
c5697cf62a
bsp-cli/bsp-desktop: hashing fixes
...
- both artifacts use functions in the bsp/utils-bsp.sh file, which wasn't being hashed
- bsp-cli hashed non-existent 'packages/bsp-cli' directory, remove
- bsp-cli: be verbose when rsync'ing `packages/bsp/common`
- force sync in a few strategic spots
- utils-bsp.sh: be verbose when copying files (incl `config/optional` stuff)
2024-07-02 23:06:42 +02:00
Ricardo Pardini
a02a6ca680
rootfs: add comment to force rootfs rebuild ( #6864 )
2024-07-02 12:14:22 +02:00
ColorfulRhino
b572f30472
wifi: Add new SDIO driver rtl8852bs for BananaPi F3
...
Also add for Armsom Sige5 since it has the same chip built-in.
2024-07-01 19:15:00 +02:00
Patrick Yavitz
e81998fa81
cli: uboot.sh: Copy over itb from atftempdir
...
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com >
2024-07-01 19:15:00 +02:00
Ricardo Pardini
21a6b2cab3
u-boot: add HOME env for make invocations to avoid binman/Python problems with older u-boot versions
...
- this avoids trouble building certain older versions with binman
- as it tries to `os.path.join(os.getenv('HOME'), 'bin')` and gets a `None` and dies
- naming names: `tinkerboard` & `xt-q8l-v10` (BOARDFAMILY=rockchip), which _actually use_ binman & 22.04 combo
2024-06-30 21:23:04 +02:00
ColorfulRhino
1a3ca2735b
cli: Remove hostapd reference
...
The extra package `hostapd` is not used/installed anymore.
2024-06-30 12:27:41 +00:00
ColorfulRhino
0441d2ee1f
Remove old torrents which aren't referenced anywhere
...
- Also remove 10+ years old compilers from `external_toolchains.sh`
2024-06-30 10:12:04 +00:00
ColorfulRhino
792d9d9dc3
cli: uboot: Include PYTHONPATH in env for compiling U-Boot
...
- Also group all u-boot make environment variables together for easier maintainability
- Fixes u-boot requiring `pyelftools`
- Fixes commit 04f619dc06
2024-06-30 09:22:17 +02:00
Gunjan Gupta
cea2fc5b46
Lets not spam users with error message on fresh checkout
2024-06-27 23:14:15 +02:00
Ricardo Pardini
1ff783d867
fix: partitioning: disable orphan_file (FEATURE_C12) for ext4 filesystems on 1.47+ e2fsprogs host
...
- otherwise:
```
fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1 has unsupported feature(s): FEATURE_C12
e2fsck: Get a newer version of e2fsck!
```
- `orphan_file` can only be disabled on recent-enough e2fsprogs, thus check version and compare
2024-06-27 14:25:20 +02:00
ColorfulRhino
d75b1816ff
cli: Improve formatting on dts-check scripts with shellfmt.sh
2024-06-25 18:11:43 +02:00
ColorfulRhino
24816c1831
cli: prepare-host: Invert host-release checking for python2
...
Instead of having to add every new release to the list that does not support python2, inverse this if statement and only check if the build host is Debian bullseye or ubuntu jammy. Every release newer than those do not have python2. Older build hosts are unsupported.
2024-06-25 18:11:43 +02:00
ColorfulRhino
04f619dc06
python: Move python3-setuptools and python3-pyelftools to requirements.txt
...
Different build hosts have vastly different versions of setuptools and pyelftools depending on the host OS, e.g. Ubuntu 22.04 has setuptools v59 while the latest version at the time of this commit is setuptools v71.
Using Pip instead of APT to download these packages assures that all build hosts use the same version, removing some points of failures and inconsistencies.
2024-06-25 18:11:43 +02:00
ColorfulRhino
5ec9564a0b
cli: commands: Ignore cache for dts-check command
...
This way the dts-check command works even when no changes to the kernel were made.
2024-06-25 18:11:43 +02:00
ColorfulRhino
9ff35b77b9
cli: python-tools: Add toolchain to PATH to fix building wheels
2024-06-25 18:11:43 +02:00