Commit Graph

13721 Commits

Author SHA1 Message Date
ColorfulRhino
1e0e72d58f github: Rename issue templates for ordering
See https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#changing-the-order-of-templates
2024-06-27 23:12:33 +02:00
Barry Lind (SteeManMI)
87f37f6a3d aml-s9xx-box: Remove u-boot and update generated extlinux.conf
Changes to be committed:
	modified:   config/boards/aml-s9xx-box.tvb
	modified:   packages/bsp/aml-s9xx-box/boot/extlinux/extlinux.conf.template

The aml-s9xx-box builds use the native TV Box u-boot.  I've had as a
todo item to figure out how to not build and include an unused u-boot.
In a recent PR for a different board the opposite was being done
(adding a u-boot where a board didn't previously ship one), thus
I then had the info to remove it here.
This also changes the generated extlinux.conf to include a fdt line
by adding the boot_fdt_file to the board config file.  This reduces
the effort needed to manually modify the extlinux.conf.
2024-06-27 16:05:14 -04: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
Ricardo Pardini
b52b08ffdf rk3588: bump default blobs (DDR:1.16, BL31:1.45); remove board-specific blobs from boards that used those versions
- in practice:
  - boards that didn't specify their own blobs: bump DDR 1.08->1.16 ; BL31 1.28 -> 1.45 (example: rock-5b!)
  - boards that specified 1.16/1.45 individually now follow the defaults (no change)
  - boards that specified a different version: no change; just a TODO suggesting review/removal/go-with-the-defaults
  - Mekotronics boards: bump from 1.11/1.38 to defaults (1.16 / 1.45)
2024-06-27 14:24:00 +02:00
ColorfulRhino
6371e92919 actions: labeler: Add new "GitHub" label for auto-labeling 2024-06-26 18:07:18 +02:00
ColorfulRhino
4c70b0ac9d actions: labeler: Add new "BSP" label for auto-labeling 2024-06-26 18:07:18 +02:00
ColorfulRhino
2daf262ce0 actions: labeler: Add new label "Documentation finished"
Description: "New feature was properly added to docs"
2024-06-26 18:07:18 +02:00
Igor Pecovnik
2a2e609e3c Odroid M1: add a network rule to rename default name 2024-06-25 21:19:36 +02:00
ColorfulRhino
2937ceb6de bootscript: Remove deprecated bootarg "swapaccount=1"
The "swapaccount=" option has been deprecated in 6.1. Disable it in almost all boot scripts except "boot-sun50iw9.cmd" since that one is used in sun50iw9 legacy kernel, which is version 4.9.

Link to kernel commit:
b25806dcd3
2024-06-25 18:11:55 +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
235a3b5dd8 python: Re-enable dtschema and yamllint in requirements.txt 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
Igor Pecovnik
024c0866ad DTS-check: Python librarires have troubles to build, disabling for now
- Add requirements.txt to Dockerfile generation
2024-06-25 08:53:22 +02:00
Barry Lind (SteeManMI)
2ffbb3bca8 Fix aml-s9xx-box bsp-cli package upgrade
Changes to be committed:
	modified:   aml-s9xx-box.tvb

PR #6659 broke upgrades for the aml-s9xx-box package.  That PR introduced
two new files in /boot which is a fat filesystem on this box.  The
standard package upgrade fails on a fat filesystem when files already
exist. PR #6659 failed to add the files to the remove list.  This
PR does that.
2024-06-25 07:06:57 +02:00
ColorfulRhino
c3756dae68 actions: Use "all-globs" instead of "any-glob" for negated checks
If we want to check if a file is not from one of the listed folders, it needs to be check that
"NOT x AND NOT y AND NOT z" is true, instead of
"NOT x OR NOT y OR NOT z"
2024-06-25 07:06:47 +02:00
ColorfulRhino
3cca9dcaed Fix formatting in scripts by running lib/tools/shellfmt.sh version 3.8.0 2024-06-25 07:06:34 +02:00
ColorfulRhino
7f8576f378 tools: Slightly improve output for shellfmt 2024-06-25 07:06:34 +02:00
ColorfulRhino
a46481c96a tools: Update shellfmt default version to 3.8.0 2024-06-25 07:06:34 +02:00
ColorfulRhino
cade8cf4ab dependabot: Add weekly update check for Pip requirements.txt packages 2024-06-25 07:06:21 +02:00
ColorfulRhino
7aadb808e1 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-06-25 07:06:21 +02:00
ColorfulRhino
de81f10b0d 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-06-25 07:06:21 +02:00
ColorfulRhino
663530dcf6 python-tools: Bump pip dependencies to their latest versions
No new major versions
2024-06-25 07:06:21 +02:00
ColorfulRhino
fc30cbe938 kernel: mainline: Bump 6.10-rc4 to 6.10-rc5 2024-06-24 17:03:05 +00:00
ColorfulRhino
dac7d138c1 Revert "distro: trixie: Add riscv64 to supported architectures"
Some packages in the Debian Trixie repo aren't available for the riscv64 architecture yet,
e.g. libgcc-s1 (see https://packages.debian.org/trixie/libgcc-s1)
2024-06-24 18:46:19 +02:00
ColorfulRhino
622170c108 distro: trixie: Add riscv64 to supported architectures 2024-06-24 17:34:45 +02:00
Igor Pecovnik
8618c4bcd5 Rockcchip RK3588: Rename overlay suffix to match reality 2024-06-24 14:54:21 +02:00
Igor Pecovnik
d317e5418e Remove random-mac workaround for rockchip64 family 2024-06-24 12:31:11 +02:00
Igor Pecovnik
7b33243c27 Use netplan mac setting only with systemd-networkd 2024-06-24 12:31:11 +02:00
chainsx
b41d055e96 phytium-embedded: add bpf_syscall support 2024-06-24 12:30:57 +02:00
Igor Pecovnik
0cb5eac44f Helios64: move to supported section 2024-06-24 12:25:28 +02:00
Ricardo Pardini
8bc4335584 networking: main-config: introduce NETWORKING_STACK to control network exts; allow "none"; fix typo
- `NETWORKING_STACK` can be set to `none` (in config phase, pre-extensions) to not-add any networking extensions
- keep defaulting to systemd-networkd if BUILD_MINIMAL and NetworkManager otherwise
- fix typo in extension name
- add `NETWORKING_STACK` to change-tracking
2024-06-24 12:24:15 +02:00
Ricardo Pardini
71d5e192c6 networking: exts: introduce sanity checks, debug info
- protect against enabling networking exts directly
- debug logging
- fix typo in ext name
2024-06-24 12:24:15 +02:00
Alessandro Lannocca
22b894536e Add orangepi5-plus UART overlays - rockchip-rk3588-6.10 2024-06-24 12:23:58 +02:00
Alessandro Lannocca
131eba487e Add orangepi5-plus UART overlays 2024-06-24 12:23:58 +02:00
ColorfulRhino
f94a04e0cf rk3588: Enable current kernel branch for CM3588 NAS and NanoPC T6 2024-06-24 12:22:47 +02:00
Ricardo Pardini
1bedcec012 rockchip-rk3588 6.8/610: add i2c8-m2 overlay
- from vendor kernel
- `i2c8m2`: 40-pin pins 3 & 5 of cm3588-nas & nanopct6
2024-06-23 11:49:22 +02:00
Ricardo Pardini
ee37a0c19a ext: fs-cryptroot-support: don't abuse add_host_dependencies
- use correct hook to make config changes
2024-06-23 11:49:12 +02:00
Igor Pecovnik
e797126638 Networking: set proper hook location for extensions 2024-06-23 09:19:32 +02:00
Igor Pecovnik
75ce67f329 Run shellfmt to complete code 2024-06-22 19:22:24 +02:00
Alex
1341c19ef4
add device-tree-overlay to bsp-cli debian dependencies (#6779)
Fixes issue: [AR-2381](https://armbian.atlassian.net/browse/AR-2381)
2024-06-22 15:32:54 +02:00
Igor Pecovnik
8ccec185be Replace add_packages_to_rootfs with add_packages_to_image as we don't want to make caches for each variant
- also fixes a problem of generating caches all over again
- change cache date scheme name to force rebuild them all
2024-06-22 13:30:28 +02:00
ColorfulRhino
7f111510b4 rockchip-rk3588: edge: Rename rkvdec2 patch for improved clarity 2024-06-22 15:06:10 +08:00
amazingfate
cff6675517 Add chromium v4l2 decoder udev rule for rkvdec2 2024-06-22 15:06:10 +08:00
amazingfate
28193c630a rockchip-rk3588: edge: rewrite patches, no change 2024-06-22 15:06:10 +08:00
amazingfate
f790473789 rockchip-rk3588: edge: add rkvdec2 support 2024-06-22 15:06:10 +08:00
Alex Shumsky
bbd5699e13 partitioning: fix race condition on loop device allocation 2024-06-21 22:14:01 -04:00
Igor Pecovnik
db187a8a0f i3-wm: remove conflicting userspace packages 2024-06-21 11:56:32 +02:00