Commit Graph

12145 Commits

Author SHA1 Message Date
Ricardo Pardini
2fceb7ee42 linux-meson64-current.config / linux-meson64-edge.config: update config, no changes 2023-07-27 22:00:27 +02:00
Ricardo Pardini
bff0d6fe28 linux-rockchip64-current.config / linux-rockchip64-edge.config: enable CONFIG_NVME_HWMON=y for NVMe temperature monitoring 2023-07-27 22:00:27 +02:00
Ricardo Pardini
d617181546 linux-rockchip64-current.config / linux-rockchip64-edge.config: update config, no changes 2023-07-27 22:00:27 +02:00
Ricardo Pardini
5db0066650 kernel / drivers-harness: use the kernel git SHA1 ($KERNEL_GIT_SHA1) instead of $KERNEL_MAJOR_MINOR for drivers cache key
- this should avoid (late) patching errors that might happen during a point release bump like `6.4.5` -> `6.4.6` cos we'd be using the wrong cached drivers patch
- using the SHA1 will instead (possibly) trigger the "real patching failure", during drivers-harness when building a new driver patch cache
- also try to cleanup old caches in the old format so we've not many leftovers -- each patch is ~150mb
2023-07-27 21:32:42 +02:00
Ricardo Pardini
953b9eb823 display-alert: strip newlines as well as ANSI colors if ANSI_COLOR=none
- `ANSI_COLOR=none` is used when we're driving compile.sh from Python
- some debugging messages had newlines in them, thus making Python mark those as `[LEAKED]`
2023-07-27 21:32:30 +02:00
Ricardo Pardini
ee3059eb2f pipeline: debs-to-repo-download is now done in parallel; default cores*2 limited to 16 or PARALLEL_DOWNLOADS_WORKERS
- also avoid log archiving during individual download jobs via SKIP_LOG_ARCHIVE=yes
- I've tested with PARALLEL_DOWNLOADS_WORKERS=16 and it saturates my gigabit link, ghcr.io is great at reads
- more than ~16-ish might be too much though
2023-07-27 21:32:19 +02:00
c0rnelius
46666e1ecb
arm64: dts: amlogic: add missing cache properties (#5523)
As all level 2 and level 3 caches are unified, add required
cache-unified properties to fix warnings like:

meson-a1-ad401.dtb: l2-cache0: 'cache-unified' is a required property

https://lore.kernel.org/lkml/20230421223211.115612-1-krzysztof.kozlowski@linaro.org/T/

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-27 12:26:06 -04:00
Tony
6accbcf281
rk3588 collabora: dts: update nanoPC-T6 (#5518)
* rk3588 collabora: dts: update nanoPC-T6

* rk3588 collabora: dts: add gpio nanoPC-T6
2023-07-27 09:46:25 -04:00
c0rnelius
3c1e44291e
rtw88: 6.4.7: drivers/net/wireless/realtek/rtw88/sdio.c (#5521)
The following patch has landed in linux-6.4.7 and can be removed.
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/drivers/net/wireless/realtek/rtw88/sdio.c?id=v6.4.7&id2=v6.4.6

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-27 06:18:49 -04:00
Gunjan Gupta
1dfdff3e31 kernel:sunxi: Add tve encoder for H5 boards as well
Also as the patch was missing in edge kernel, added the same
2023-07-26 19:46:21 +02:00
Ricardo Pardini
3f35d5ef0c linux-rk35xx-legacy.config: CONFIG_NVME_HWMON=y for NVMe temperature monitoring
- useful for `sensors` (from `lm-sensors` package), Prometheus `node-exporter`, etc

```
# sensors
nvme-pci-0100
Adapter: PCI adapter
Composite:    +47.9°C  (low  =  -5.2°C, high = +79.8°C)
                       (crit = +84.8°C)
```
2023-07-26 19:44:17 +02:00
Ricardo Pardini
b92575381a pipeline: inventory all board vars; add not-eos-with-video; introduce TARGETS_FILTER_INCLUDE
> How to use:
>
> `./compile.sh inventory` - does just the board inventory; look for output in `output/info`
>
> `./compile.sh targets-dashboard` - does inventory, targets compositing, and images info; look for output in `output/info`, read the instructions output by the command if you want to load the OpenSearch dashboards.
>
> `./compile.sh targets` - does the full targets compositing and artifacts, look for output in `output/info`
>
> If you don't have a `userpatches/targets.yaml`, _one will be provided for you_ defaulting to Jammy minimal CLI
> and Jammy xfce desktop, for all boards in all branches. You can pass filters via `TARGETS_FILTER_INCLUDE=...` to narrow.
>

- board JSON inventory:
  - more generic regex parsing of variables from board files:
    - all top-level (non-indented) variables are parsed and included in the JSON board inventory
    - this allows us to add new variables to the board files without having to update the parser
    - variables can be bare, `export` or `declare -g`, but **_must_ be quoted** (single or double) and UPPER_CASE
  - some special treatment for certain variables:
    - `KERNEL_TARGET` is parsed as a _comma-separated_ list of valid BRANCH'es
    - `BOARD_MAINTAINER` is parsed as _space-separated_ list of valid maintainer GH usernames as `BOARD_MAINTAINERS: [...]` in the JSON
      - script complains if `BOARD_MAINTAINER` is not set in core boards. Empty is still allowed.
    - `HAS_VIDEO_OUTPUT="no"` causes `BOARD_HAS_VIDEO: false` in the JSON (for desktop-only inventorying, see below)
- introduce `not-eos-with-video` in `items-from-inventory` at the targets compositor
  - the same as `not-eos`, but with added `BOARD_HAS_VIDEO: true` filter, see above
- introduce `TARGETS_FILTER_INCLUDE` for targets compositor
  - this filters the targets _after_ compositing (but before getting image info), based on the board inventory data
  - it's a comma-separated list of `key:value` pairs, which are OR-ed together
  - new virtual info `BOARD_SLASH_BRANCH` post-compositing inventory for filtering of a specific BOARD/BRANCH combo (e.g. `odroidhc4/edge`)
  - some interesting possible filters:
    - `TARGETS_FILTER_INCLUDE="BOARD:odroidhc4"`: _only_ build a single board, all branches. JIRA [AR-1806]
    - `TARGETS_FILTER_INCLUDE="BOARD_SLASH_BRANCH:odroidhc4/current"`: _only_ build a single board/branch combo
    - `TARGETS_FILTER_INCLUDE="BOARD:odroidhc4,BOARD:odroidn2"`: _only_ build _two_ boards, all branches.
    - `TARGETS_FILTER_INCLUDE="BOARD_MAINTAINERS:rpardini"`: build all boards and branches where rpardini is a maintainer
    - `TARGETS_FILTER_INCLUDE="BOARDFAMILY:rockchip64"`: build all boards and branches in the rockchip64 family
  - image-info-only variables like `LINUXFAMILY` is **not** available for filtering at this stage
- rename `config/templates` `targets-all-cli.yaml` to `targets-default.yaml`
    - this is used when no `userpatches/targets.yaml` is found
    - new default includes all boards vs branches for non-EOS boards
        - also desktop for all boards that _don't_ have `HAS_VIDEO_OUTPUT='no``
- introduce simplified `targets-dashboard` CLI:
  - does only inventory, compositing, and image info, but not artifact reducing, etc.
  - ignore desktop builds in the OpenSearch indexer
  - update the OpenSearch Dashboards, including new information now available
- invert the logic used for `CLEAN_INFO` and `CLEAN_MATRIX`
    - defaults to `yes` now, so new users/CI don't get hit by stale caches by default
    - repo pipeline CLI stuff is usually run on saved/restored artifacts for `output/info`, so don't clean by default via the CLI
2023-07-26 15:15:02 +02:00
igorpecovnik
c525e1bb00 Update report 2023-07-26 13:52:33 +02:00
Ricardo Pardini
f4f3409a67 media: Oleg dropped his kernel-4.19 branch, so drop legacy from bananapir2pro, station-m2, station-p2 2023-07-26 13:28:43 +02:00
Ricardo Pardini
5cdc019a24 mekotronics rk3588: rebase & unify u-boot patches; restore attribution for one patch
- no functional changes, only a double patch I'd rather not have
2023-07-26 13:28:30 +02:00
Ricardo Pardini
62c0052af8 mixtile-blade3: bump uboot, rebase uboot patches, add mac-from-serial# patch; enable OTP in defconfig; restore attribution for one patch
- this sets serial#-based MAC address in uboot env and Rockchip Vendor Partition, but that is not picked up by the default kernel driver yet
2023-07-26 13:27:28 +02:00
Ricardo Pardini
148510f405 rk3399: legacy .config for rk3399 was removed long ago; completely drop rk3399 family, move boards to rockchip64 and remove their legacy KERNEL_TARGET
- also drop hooks referring to `legacy`
2023-07-26 13:27:13 +02:00
Ricardo Pardini
a6f1ca06f5 config/boards: fix some missing quotes / maintainers 2023-07-26 13:27:02 +02:00
Ricardo Pardini
3cb43f9ed9 linux-rk35xx-legacy.config: enable VHOST_NET and others for hosting VM's 2023-07-26 08:23:14 +02:00
Ricardo Pardini
47334e4d5e sun50iw9-btt: keep using linux-sunxi64-edge.config for LINUXFAMILY=sun50iw9-btt 2023-07-26 00:20:17 +05:30
Gunjan Gupta
896178c58f BigTreeTech: Use different family for edge kernel to avoid artifact conflict 2023-07-25 17:10:49 +05:30
Ricardo Pardini
eab306b279 tmpfs: introduce USE_TMPFS=no to disable tmpfs usage for WORKDIR and package-specific working dirs; actually use $temp_dir_id for mktemp; see #5502
- `USE_TMPFS=no` disables usage of generic tmpfs mechanism (still possibly used for rootfs/image building, which is unrelated), for last-resort cases
- use better/more descriptive `temp_dir_id`'s for kernel build than `k` (now `kernel_dest_install_dir`) and `kd` (now `kernel_debs_temp_dir`)
  - specific image/dtb/headers packaging already had decent names, same for other .deb's
- replace `mktemp -d` with `mktemp -d --tmpdir "${temp_dir_id}-XXXXX"` in `prepare_temp_dir_in_workdir_and_schedule_cleanup()`, so we know what's using what in tmpfs
2023-07-24 23:19:15 +02:00
Gunjan Gupta
8195919d44 Kernel: Allwinner: Bump legacy, current and edge kernel
Legacy: 5.15.120 -> 5.15.121
Current: 6.1.39 -> 6.1.40
Edge: 6.4.4 -> 6.4.5
2023-07-24 17:03:30 +05:30
Gunjan Gupta
da6c238f79
armbianmonitor: update cpuminer and remove arm only limit (#5503) 2023-07-23 20:23:36 +02:00
Gunjan Gupta
f0109f79bf Orange Pi: Allwinner: remove rk3399 bluetooth service 2023-07-23 20:11:07 +02:00
Patrick Yavitz
88a19f5d82 drivers: net: wireless: realtek: rtw88: upstream-wireless
This commit is cosmetic; git format-patch

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 17:00:03 +02:00
Vyacheslav Bocharov
4d5edf5eda JetHome: Add RS485 ports aliases in /dev/serial/rs485 for JetHub D1/D1+ 2023-07-23 14:42:37 +02:00
Vyacheslav Bocharov
22ed391b16 JetHome: Update jethub-init service 2023-07-23 14:42:37 +02:00
Vyacheslav Bocharov
d53af75de9 JetHome: enable CPUFREQUTILS_ENABLE to apply CPUMIN/CPUMAX values at runtime 2023-07-23 14:42:37 +02:00
Patrick Yavitz
e22fa3aa35 board: bananapim2s: git format-patch remove builder warnings
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 14:40:52 +02:00
Patrick Yavitz
effbb4c900 Board: Bananapi M2S additional support
Removed WIP status
Added CONFIG_R8169=m to defconfig(s) (eth support)
Modified and added additional patches (linux 6.1 / 6.4)
U-Boot v2023.07.2 (dropped v2022.10)
Upstream BT FW (rtl8822cs) is now shared between CM4IO and M2s

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 14:40:52 +02:00
Gunjan Gupta
bc0e131747 Enforce use of bind mount for /dev within chroot
The /dev/mapper directory created by devtmpfs lacked entry for
armbian-root thereby breaking the cryptsetup configuration generated
within initrd file. Use bind mount as that doesn't seem to suffer from
that issue.
2023-07-22 02:18:49 +05:30
Gunjan Gupta
37d79f1ee2 Fix cache miss detection for initrd
We were not monitoring /usr/share/initramfs-tools before where most
of extra hooks gets installed. While testing builds with CRYPTROOT
I created build with dropbear ssh key unlock support first and then
went for password only, but it still used initrd image with dropbear
files and older keys. Including /usr/share/initramfs-tools fixes the
same. Also as dropbear keys were autogenerated, they needed to be
monitored as well.
2023-07-22 02:18:49 +05:30
Gunjan Gupta
2bf0ddc034 Fix intermitent loop device not available error when CRYPTROOT_ENABLE is enabled 2023-07-22 02:18:49 +05:30
Gunjan Gupta
909fa47b7e Fix caching of cryptroot packages. Also moved the crypt code to extension 2023-07-22 02:18:49 +05:30
Tony
400da79efd
NanoPC-T6 Collabora: add PCIe 3 (#5497) 2023-07-21 16:33:06 -04:00
lanefu
0e55fc8a83
Fixups/indiedroid nova (#5495)
* disable SPI flag because TPL

* better blobs for indiedroid

* config file hygeine
2023-07-20 21:20:43 +02:00
Gunjan Gupta
173bacd0ac kernel: sunxi: Fix patch failures for 6.1.39 and 6.4.4 kernel
Disabled broken patches that are upstream or not needed due to
upstream changes. Modified thermal-sun8i-Be-loud-when-probe-fails.patch
to fix patch application
2023-07-20 16:49:29 +02:00
Gunjan Gupta
edc0a5bdfc Allwinner bump u-boot, current and edge kernels
U-boot bump is trivial. only removes the rc6 extra version from Makefile

Current kernel - 6.1.38 -> 6.1.39
Edge kernel - 6.4.2 -> 6.4.4
2023-07-20 16:49:29 +02:00
Lane Jennison
ae2e28d23b re-add extra wifi modules to rk3588 legacy config 2023-07-20 16:49:12 +02:00
Lane Jennison
a51149ee27 add indiedroid nova board config. update rk3588 BSP kernel to enable r8169 driver for ethernets and RTL8821CS for wifi 2023-07-20 16:49:12 +02:00
Gunjan Gupta
84e4a26bb0 Update wireless-rtl88x2bu-wireless-ignore-stale-kickoff-removal.patch
Modified final value to be less than 6.4.4 rather than 6.5.0
2023-07-20 01:04:32 +02:00
Gunjan Gupta
b7c422ee51 Update wireless-rtl88x2bu-wireless-ignore-stale-kickoff-removal.patch
Fix missing parenthesis
2023-07-20 01:04:32 +02:00
Gunjan Gupta
4ac9ca966f Modify condition to include 6.2.0 to 6.3.13 kernel range 2023-07-20 01:04:32 +02:00
Igor Pecovnik
64d7b46421 Extending https://github.com/armbian/build/pull/5484 to K6.1.y 2023-07-20 01:04:32 +02:00
Ricardo Pardini
6b853e155c config/kernel: add .gitignore for *.config.defconfig 2023-07-20 01:04:19 +02:00
Ricardo Pardini
9b70101d07 artifact: kernel: force D0000 drivers hash for artifact_version if EXTRAWIFI=no 2023-07-20 01:03:43 +02:00
Jacob Hrbek
6556a3a77e Add compatibility for non-FHS 3.0 systems
* Added `shell.nix` definition for temporary development environment for Nix(OS)
* Set uuidgen and other binaries check to not rely on hard-codded paths
2023-07-19 23:16:22 +02:00
Gunjan Gupta
8a13dae89d kernel: sun50i: h5: current: add missing gpu trips section 2023-07-19 23:15:37 +02:00
Gunjan Gupta
cb4944929b kernel: sunxi: Add resume, reboot support by pressing power button on orangepi prime 2023-07-19 23:15:37 +02:00