Commit Graph

12687 Commits

Author SHA1 Message Date
Gunjan Gupta
7c90deff63 Fix patch application failure due to upstreamed code 2023-11-28 20:53:51 +01:00
Igor Pecovnik
c1014af98d Bump Allwinner kernels to latest version 2023-11-28 20:53:51 +01:00
Igor Pecovnik
014eb55b5b Switch media legacy kernel to last known working commit id 2023-11-27 16:45:56 +01:00
igorpecovnik
b761870769 Automatic board configs status synchronise 2023-11-27 13:27:45 +01:00
雷耀
11379ef9b7
rockchip-rk3566:add new board JP-TVbox-3566 (#5904) 2023-11-27 13:02:06 +01:00
Igor
e95fbdcfad
Add simple patch system as a standalone service (#5935)
Sometimes we need to fix minor issues like changing the key or fixing other small problem on live OS. We can ship this as a part of BSP package, but its handling should be made easy.

This downloads script from CDN, verify its signature and executes after apt upgrade starts installing packages.

* Record patch output to syslog
* Enable armbian-live-patch as additional service and run patch mechanism at startup
* Additional security check
2023-11-27 13:01:20 +01:00
Igor
be3a656ec0
Update kernel configs for Waydroid and Redroid support (#5976)
Co-authored-by: bigboo3000 <bigboo3000@hotmail.com>
2023-11-27 11:26:53 +01:00
brentr
7651c02626
Moved fixEtherAddr script where it belongs under /lib/udev (#5981) 2023-11-27 11:26:24 +01:00
Ricardo Pardini
91a3607c0f wsl2: detect Armbian-built wsl2 kernel as well as Microsoft's default kernel
- previous commit introduces Armbian wsl2 kernels, might as well detect them
2023-11-27 11:14:01 +01:00
Ricardo Pardini
204d2e79b9 WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches
> tl,dr: add 4 small-ish UEFI-like kernels, with Microsoft patches & fixes, for use with Microsoft WSL2 on x86/arm64 and 6.1.y/6.6.y

- the boards are UEFI derivatives, using a common `microsoft` vendor include to modify
  - `KERNELPATCHDIR`/`LINUXFAMILY` (for now, we don't want those patches in regular UEFI builds / .debs)
  - disable `EXTRAWIFI` (kernel is for a VM, will never have wifi so doesn't need any drivers)
  - `LINUXCONFIG`, so we can use Microsoft's own monolithic kernel, required for WSL2 (their initrd is a mistery)
- really, what we're mostly interested right now are the kernels (in the future we might have an "Armbian" WSL2 app in the Microsoft Store)
  - `current` `6.1.y`:
    - rebased from https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-6.1.y onto real 6.1.y
    - using Microsoft's `.config` exactly (monolithic, there are no `=m`'s)
  - `edge` `6.6.y`:
    - also from https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-6.1.y but rebased onto 6.6.y
    - using updated Microsoft's `.config` (monolithic, there are no `=m`'s)
    - dropped 2 of 6.1.y's patches that were actually upstreamed in the meantime:
      - `mm-page_reporting-Add-checks-for-page_reporting_order-param` - mainlined in https://lore.kernel.org/all/1664517699-1085-2-git-send-email-shradhagupta@linux.microsoft.com/
      - `hv_balloon-Add-support-for-configurable-order-free-page-reporting` - mainlined in https://lore.kernel.org/all/1664517699-1085-3-git-send-email-shradhagupta@linux.microsoft.com/
    - drop the `arm64: hyperv: Enable Hyper-V synthetic clocks/timers` patch, since it causes asm breakage on 6.6.y
      - a shame, but I tried and can't fix it myself - @kelleymh ?
    - add my own patch to fix:
      - `1709-drivers-hv-dxgkrnl-restore-uuid_le_cmp-removed-from-upstream-in-f5b3c341a.patch` due to https://lore.kernel.org/all/20230202145412.87569-1-andriy.shevchenko@linux.intel.com/ landing in 6.6
      - `1710-drivers-hv-dxgkrnl-adapt-dxg_remove_vmbus-to-96ec29396-s-reality-void-return.patch` to adapt to
        https://lore.kernel.org/all/TYCP286MB2323A93C55526E4DF239D3ACCAFA9@TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM/
2023-11-27 11:14:01 +01:00
amazingfate
e6ee3e7de0 xiaomi-elish: add typec pd support 2023-11-27 10:01:12 +01:00
amazingfate
66bc89b3a3 xiaomi-elish: bump to kernel 6.7-rc2 2023-11-26 23:20:57 +01:00
Igor
1f1d77cff3
Move netplan renderer selection to distro common selection (#5971) 2023-11-26 23:18:40 +01:00
msdos03
004d5190ef
rockchip64: enable ARM_PSCI_CPUIDLE for current and edge branch (#5594)
* rockchip64: refresh kernel config of current and edge branch
* rockchip64: enable ARM_PSCI_CPUIDLE for current and edge branch
---------

Co-authored-by: Igor <igor@armbian.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2023-11-26 19:14:52 +01:00
Gunjan Gupta
b4d5e2bbeb vim1s: fix armbian-bsp-cli package upgrade causes boot failure 2023-11-26 22:30:27 +05:30
Sander de Leeuw
3bec9536d0
fix: meson-g12b: blacklist simpledrm kernel module, as it conflicts with panfrost (#5908)
* fix: vim3: blacklist simpledrm kernel module, as it conflicts with panfrost
* fix: meson-g12b: blacklist simpledrm kernel module, as it conflicts with panfrost
* fix: meson-g12a/meson-sm1: blacklist simpledrm kernel module, as it conflicts with panfrost
---------

Co-authored-by: Igor <igor@armbian.com>
2023-11-26 16:35:00 +01:00
igorpecovnik
33f9ee4f9c Automatic board configs status synchronise 2023-11-26 16:27:40 +01:00
Alex Shumsky
4707e71e35 rk3318-box: Enable uboot BTRFS support 2023-11-26 13:58:04 +01:00
Gunjan Gupta
4702c9f772 Fix pr-size-labeler again as its still not working 2023-11-25 20:19:29 +01:00
Igor Pecovnik
437a32e78e Update several test targets to optimise testing process 2023-11-25 20:19:16 +01:00
Igor Pecovnik
ffd73422a1 We will be testing EDGE kernel on Opi5 plus 2023-11-25 18:00:30 +01:00
Ricardo Pardini
4e37b276d1 bash: run shellfmt, no changes 2023-11-25 13:38:30 +01:00
Ricardo Pardini
99d4abf7a1 drivers_network: replace all "branch:xxx" references with sha1; add notice about it 2023-11-25 13:38:10 +01:00
Ricardo Pardini
1dd4a95a77 drivers-harness: hash the whole of patch/misc; throw error if driver does fetch_from_repo with mutable ref
- this should make drivers hash consistent, at the expense of being moar tiresome
- _any_ changes at _any_ patches or drivers-related bash code will cause _all_ kernels to be rebuilt
  - opposed to "some changes caused all kernels to be rebuilt"
2023-11-25 13:38:10 +01:00
Ricardo Pardini
67b3e0dd07 git: fetch_from_repo(): introduce FETCH_FROM_REPO_CALLBACK_IF_REF_MUTABLE
- function defined in FETCH_FROM_REPO_CALLBACK_IF_REF_MUTABLE is called if reference is mutable
  - which is anything that's not `commit:` or `tag:`
    - and really there's no guarantee that `tag:` is immutable, but lets assume
2023-11-25 13:38:10 +01:00
Ricardo Pardini
2a9ec6d844 stacktraces: introduce get_stacktrace_element_by_index() to get a specific stracktrace element 2023-11-25 13:38:10 +01:00
Ricardo Pardini
7e2e557532 armbian-kernel: enforce CONFIG_LOCALVERSION in .config as empty 2023-11-25 13:38:01 +01:00
Ricardo Pardini
77e428a87c artifact-uboot: fix hashing for uboot_custom_postprocess old-timey non-hook
- also, for extension style hook `post_uboot_custom_postprocess`, don't do it 3 times, just once
- this commit will cause rebuild of all u-boots
  - and that's a good thing, many custom changes in family code (eg ddr change in rk322x) were being ignored
  - thanks @paolosabatino
2023-11-25 13:37:49 +01:00
Ricardo Pardini
ba75f12fdd rk322x family: use run_host_command_logged() for u-boot postprocessing (so DDR blob used shows in debug logs)
- cosmetical change for future clarity
2023-11-25 13:37:32 +01:00
Julian Sikorski
cbb77faca7 Update odroidxu4-current to 6.1.63 2023-11-25 08:27:58 +01:00
Igor Pecovnik
64037fb9ba On Mantic this would throw out an error
Failed to restart sshd.service: Unit sshd.service not found
2023-11-25 08:27:41 +01:00
chainsx
0e0abae78e board: licheepi-4a: disable audio auto buffer 2023-11-24 13:56:03 +01:00
Igor Pecovnik
db26e454da Fix links to download images / supported & community maintained 2023-11-23 18:59:48 +01:00
Igor
ddf9e6329c
Proposed board status change (#5658)
* Change conf to csc
* Bring back to stable
* Remove BPI Pro
* Move media kernel to csc
* Move Opi prime back as its used as a test subject
* Retire Clearfog pro
* Remove Rock64
* Retire Helios4 too
* Move nanopi r5c from csc to wip as we have a volonteer
* Promote recent Khadas boards.
* Change status of Opi one as maintainer responded
2023-11-22 22:36:39 +01:00
Gunjan Gupta
931831622e pr-size-labeler: add permissions to fix failure 2023-11-22 22:27:24 +01:00
schwar3kat
10b552937d
Update labels.yml - seasons to quarters (#5956)
Winter, Spring, Summer, Autumn.
This can only apply in northern hemisphere countries.  Southern hemisphere is the opposite months.

First quarter, second quarter, third quarter, fourth quarter are universal options.
2023-11-22 22:27:01 +01:00
Gunjan Gupta
c51f412df8 Flash-kernel: Add workaround for broken upgrade 2023-11-22 21:31:07 +05:30
Igor
23b94a05aa
Fix Rockchip current and edge kernel from compile breaking (#5950)
* Fix rockchip current and edge kernel from compile breaking
* Fix media and rockchip64 kernel patches
* Fix remaining rockchip kernel patches
2023-11-21 20:43:50 +01:00
Igor Pecovnik
ff198109e0 We don't need to restart kernel recompilation upon PR text changes 2023-11-21 20:22:39 +01:00
amazingfate
aff6915fba use mirror.ghproxy.com as default url of ghproxy 2023-11-21 17:06:14 +01:00
amazingfate
81c460e3bf use GHPROXY_ADDRESS to customize ghproxy url 2023-11-21 17:06:14 +01:00
Gunjan Gupta
875d4f7450 VIM1S/VIM4: Add bluetooth support 2023-11-21 20:30:09 +05:30
Gunjan Gupta
c45a63e63b Add option to include home directory in the final image 2023-11-21 20:29:37 +05:30
dependabot[bot]
5e1643220b build(deps): bump pascalgn/size-label-action from 0.4.3 to 0.5.0
Bumps [pascalgn/size-label-action](https://github.com/pascalgn/size-label-action) from 0.4.3 to 0.5.0.
- [Release notes](https://github.com/pascalgn/size-label-action/releases)
- [Commits](https://github.com/pascalgn/size-label-action/compare/v0.4.3...v0.5.0)

---
updated-dependencies:
- dependency-name: pascalgn/size-label-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 14:33:43 +05:30
Gunjan Gupta
fdf1a7af7f Allwinner: bump legacy, current and edge kernels
legacy - 5.15.137 -> 5.15.139
current - 6.1.62 -> 6.1.63
edge - 6.6.1 -> 6.6.2

Updated patches to fix patch application failure. Also rebased the config files
2023-11-21 11:21:03 +05:30
chainsx
ae80eb7fb5 thead: update kernel to 6.7-rc.1 2023-11-20 18:15:16 +01:00
Igor
12b87bb9ca
Fix links to download pages (#5929) 2023-11-20 16:38:50 +01:00
Muhammed Efe Cetin
a406e8323a Update VOP2 & HDMI QP patches from Andy's kernel tree 2023-11-20 16:31:58 +01:00
Patrick Yavitz
e43a03811f patch: misc: rtw88: 6.1: 6.1.63 fixups
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/drivers/net/wireless/realtek/rtw88/debug.c?id=v6.1.63&id2=v6.1.62

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-11-20 17:41:19 +05:30
Igor
70832ae5a1
Improve labeling system - refactor labeling logic (#5916)
* Add label table
* Add PR size labelling
* Implement suggestings from meeting
* Add proper GitHub labeller
---------

Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
2023-11-19 22:36:06 +01:00