ColorfulRhino
3c699bd035
partitioning: Add some comments to improve readbility
2024-09-13 08:58:35 +08:00
schwar3kat
48483780fe
Add Linux Mint Virginia and Wilma to supported hosts
...
Add virginia and wilma in host-release.sh
Add wilma in prepare-host.sh
2024-09-13 08:58:35 +08:00
Igor Pecovnik
20d7e5c417
Packages: move base-files, bsp-desktop and desktop packages to RELEASE specific folders
2024-08-06 17:13:31 +08:00
schwar3kat
bd98f81565
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-08-06 16:51:57 +08:00
Ricardo Pardini
8d845eeddc
utils-dpkgdeb: force rebuild of all artifacts, due to https://github.com/armbian/build/pull/6964 (ORAS change)
2024-08-06 16:51:57 +08:00
Ricardo Pardini
081e2cf552
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-08-06 16:51:57 +08:00
igorpecovnik
6a6814b1b9
tools: Bump BATCAT_VERSION from 0.23.0 to 0.24.0
2024-08-06 16:51:57 +08:00
igorpecovnik
62eb632587
tools: Bump ORAS_VERSION from 0.16.0 to 1.2.0
2024-08-06 16:51:57 +08:00
igorpecovnik
d88ca9e834
tools: Bump SHELLCHECK_VERSION from 0.9.0 to 0.10.0
2024-08-06 16:51:57 +08:00
amazingfate
239df637fa
add customized GHCR_MIRROR_ADDRESS support
2024-08-06 16:51:57 +08:00
ColorfulRhino
47905ccd12
cli: uboot: Move uboot_cflags variable to before its first use
2024-08-06 16:51:57 +08:00
amazingfate
821ab197f5
wifi: rtl8852bs: add driver for family instead of board
2024-08-06 16:51:56 +08:00
JohnTheCoolingFan
514ddcb320
Add MKNOD capability to docker container ( #6927 )
...
* Added MKNOD capability to docker container
* Added comment explaining why MKNOD capability is needed
2024-08-06 16:51:56 +08:00
ColorfulRhino
f0094a2d8c
wifi: rtl8852bs: Add some comments
2024-08-06 16:51:56 +08:00
amazingfate
860f069769
wifi: rtl8852bs: fix build for rockchip
2024-08-06 16:51:56 +08:00
ColorfulRhino
c345ed60cb
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-08-06 16:51:56 +08:00
ColorfulRhino
ff6f7852cc
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-08-06 16:51:56 +08:00
ColorfulRhino
c2b37cd9f9
cli: main-config: Move NETWORKING_STACK config after family config
...
This allows family configs to change the networking stack.
2024-08-06 16:51:56 +08:00
ColorfulRhino
e6f5548197
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-08-06 16:51:56 +08:00
Ricardo Pardini
1cda6cdaf2
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-08-06 16:51:56 +08:00
Viacheslav Bocharov
6550a6efc0
Fix trap-logging to CI ant not GITHUB_ACTIONS
...
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-08-06 16:49:39 +08:00
Viacheslav Bocharov
1027ba4aec
Fix check CI && GITHUB_ACTIONS for GITHUB_OUTPUT to only GITHUB_ACTIONS
...
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-08-06 16:49:39 +08:00
Viacheslav Bocharov
4c22786618
Allow to pass docker login credentials to oras-cli for and CI environment
...
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-08-06 16:49:39 +08:00
Igor Pecovnik
efbd8dd79a
Revert "git: git_ensure_safe_directory(): use env vars instead of changing config"
...
This reverts commit 11245601d095645d2973a0e765ee0f9a01d51cc1.
2024-08-06 16:49:39 +08:00
ColorfulRhino
79b926dfbe
cli: Improve patching logs for U-Boot and kernel
2024-08-06 16:49:39 +08:00
Ricardo Pardini
d189b2dc2a
git: git_ensure_safe_directory(): use env vars instead of changing config
2024-08-06 16:49:39 +08:00
Ricardo Pardini
2714955ea8
u-boot: use pipetty in place of unbuffer
...
- unbuffer never solved anything; pipetty might
2024-08-06 16:49:38 +08:00
ColorfulRhino
f409c0c43e
cli: kernel-patching: Print KERNELBRANCH and KERNELPATCHDIR before patching
2024-08-06 16:47:46 +08:00
ColorfulRhino
ebd6ce54c2
cli: uboot-patching: Print BOOTBRANCH and BOOTPATCHDIR before patching
2024-08-06 16:47:45 +08:00
Ricardo Pardini
bd15b7030f
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-08-06 16:47:45 +08:00
Ricardo Pardini
45545d1859
rootfs: add comment to force rootfs rebuild ( #6864 )
2024-08-06 16:45:09 +08:00
ColorfulRhino
377225e7c2
cli: dt_makefile_patcher: Allow numbers in configopt regex
...
This fixes detection of the config option for SpacemiT K1 which is `CONFIG_SOC_SPACEMIT_K1X`.
Otherwise it would not find it because it includes a '1'.
2024-08-06 16:45:07 +08:00
ColorfulRhino
4c07db5116
wifi: Add new SDIO driver rtl8852bs for BananaPi F3
...
Also add for Armsom Sige5 since it has the same chip built-in.
2024-08-06 16:45:07 +08:00
Patrick Yavitz
dc7e770a94
cli: uboot.sh: Copy over itb from atftempdir
...
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-08-06 16:45:07 +08:00
Ricardo Pardini
22ded1a485
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-07-03 18:43:01 +08:00
ColorfulRhino
28f204a712
cli: Remove hostapd reference
...
The extra package `hostapd` is not used/installed anymore.
2024-07-03 18:42:03 +08:00
ColorfulRhino
0c2b3bdea7
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-07-03 18:35:21 +08:00
Gunjan Gupta
44e5a1198c
Lets not spam users with error message on fresh checkout
2024-07-03 18:35:21 +08:00
Ricardo Pardini
5e7e4910cd
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-07-03 18:35:21 +08:00
ColorfulRhino
c80f9d344e
cli: Improve formatting on dts-check scripts with shellfmt.sh
2024-07-03 18:35:21 +08:00
ColorfulRhino
b9fa28d581
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-07-03 18:35:21 +08:00
ColorfulRhino
d6e9b0dcf9
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-07-03 18:35:21 +08:00
ColorfulRhino
35944acb86
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-07-03 18:35:21 +08:00
ColorfulRhino
321c5aeeaa
cli: python-tools: Add toolchain to PATH to fix building wheels
2024-07-03 18:35:21 +08:00
Igor Pecovnik
4253fdaf56
DTS-check: Python librarires have troubles to build, disabling for now
...
- Add requirements.txt to Dockerfile generation
2024-07-03 18:35:21 +08:00
ColorfulRhino
2dd3fff73d
Fix formatting in scripts by running lib/tools/shellfmt.sh version 3.8.0
2024-07-03 18:35:21 +08:00
ColorfulRhino
f096aabd76
tools: Slightly improve output for shellfmt
2024-07-03 18:35:21 +08:00
ColorfulRhino
23533f8af5
tools: Update shellfmt default version to 3.8.0
2024-07-03 18:35:21 +08:00
ColorfulRhino
b0138e1b02
cli: python-tools: Use requirements.txt file for Pip dependencies
...
This makes dependencies easier to track and opens up the possibility for Dependabot to update them.
2024-07-03 18:35:21 +08:00
ColorfulRhino
f6b4dcfbac
cli: Add command "dts-check"
...
Validates the dts/dtb file for the selected board and outputs the validation logs to the user.
This can be used when adding a new board, developing or improving a dts file. Should lead to higher quality device trees and patches overall, if used.
Will show warnings/errors if patches patch in some functionalities to a devicetree file without patching in the dt-bindings .yaml at the same time.
2024-07-03 18:35:21 +08:00