Commit Graph

13708 Commits

Author SHA1 Message Date
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
Igor Pecovnik
9d187dffeb Deboostrap: switch to last known working tag 2024-06-21 11:14:29 +02:00
chainsx
5d934c53e4 add community support for lckfb taishanpi 2024-06-20 20:00:55 +02:00
Alessandro Lannocca
5711d09775 comment network link-state saving prevention 2024-06-20 20:00:33 +02:00
Alessandro Lannocca
7653def211 fix armbian-leds-state-save.sh:
don't  store parameters for networking link establishment (avoid ghost wan/lan/eth link led up on bootup)
2024-06-20 20:00:33 +02:00
Igor Pecovnik
692574592b Add support for displaying multiple IP addresses at first login
If we have more ethernet devices, we want to list them one after another

Before:
IP address: 1.1.1.1
2.2.2.2

After
IP address: 1.1.1.1,2.2.2.2
2024-06-20 19:59:52 +02:00
Igor Pecovnik
942bd4188d Replace Network manager nmtui-connect with own method 2024-06-20 19:59:52 +02:00
Igor Pecovnik
ce16e75642 We can only set fixed map for ethernet devices as netplan wants to have defined AP for wifi. Which we don't have yet. 2024-06-20 19:59:52 +02:00
ColorfulRhino
ed45c8bfee cli: firstlogin: Fix and improve IP address retrieval
This should also include the case if zero retries are left, but the IP address has been found on this last retry.
2024-06-20 19:59:52 +02:00
ColorfulRhino
b6f018a2b1 net: Use resolved for DNS resolution
- Use resolved no matter what manages the network (networkd or NetworkManager)
- Use resolved.conf.d/ directory to set DNS as recommended by resolved itself
- In armbian-firstrun, remove config specific to mvebu64|mt7623 since this is now done by default
2024-06-20 19:59:52 +02:00
ColorfulRhino
6b7284be3e bsp: firstrun: Use Netplan for setting fixed MACs
Also remove `$BRANCH == dev` line since dev branch does not exist anymore
2024-06-20 19:59:52 +02:00
Igor Pecovnik
a65cf4d9bb Remove ifupdown leftovers in the code 2024-06-20 19:59:52 +02:00
ColorfulRhino
56267aa0ad cli: firstlogin: Move IP address retrieval into function and don't run in bg
Trying to run this in the background does not work correctly in its current iteration, setting the correct place on the screen for displaying did not work out.
Includes minor fixes and wording improvements.
2024-06-20 19:59:52 +02:00
Igor Pecovnik
a95bdd920f Refactor automatic configuration at first run 2024-06-20 19:59:52 +02:00