Commit Graph

4762 Commits

Author SHA1 Message Date
amazingfate
e474a71b5d toggle rk35xx legacy kernel to sdk rkr5.1 2023-08-14 09:20:49 +02:00
lanefu
48a788c762
move to csc and standard rockchip64 kernel (#5587) 2023-08-13 15:35:01 -04:00
Joshua-Riek
8dbe1d7ab6 add nvme boot support for the nanopc t6 2023-08-12 10:05:20 +02:00
Muhammed Efe Cetin
c6ba2283a7 rk3588: edge: update kernel to 6.5-rc5 and fix its timeout issue 2023-08-12 10:04:30 +02:00
Muhammed Efe Cetin
c268d2f916 opi5-plus: add initial support for edge kernel 2023-08-12 10:04:30 +02:00
Gunjan Gupta
c9997723b4 Allwiner: bump legacy, current and edge kernel
legacy - 5.15.124 -> 5.15.126
current - 6.1.43 -> 6.1.45
edge - 6.4.8 -> 6.4.10
2023-08-12 10:00:10 +02:00
Igor Pecovnik
41a88f6f5c Disable external wireless drivers on mt7623 legacy 2023-08-12 09:59:26 +02:00
Gunjan Gupta
35feddc350 meson-s4t7: Use partitiontype=generic instead of initrd hack
Also added viraniac as maintainer for vim1s
2023-08-09 11:20:28 +02:00
Ricardo Pardini
eb9dc7ea5c khadas-vim4/khadas-vim1s: some fixes; VIM4/VIM4N now boots; workaround eMMC/oowow partition trouble for now
- vim1s/vim4: remove uEnv.txt and default extlinux args, use simple arguments instead
- meson-s4t7.conf: hack: rereadpt (re-read partition table) in initrd local-top (for eMMC boot of oowow'ed image)
- meson-s4t7.conf: include both `u-boot.bin.sd.bin.signed` and `u-boot.bin.signed` in uboot package
- meson-s4t7: patch kernel for different dt "model" across VIM4 and "New VIM4"
- meson-s4t7.conf: set `EXTLINUX_SPECIFIC_FDT=no`, so u-boot auto-determines which DTB to use
    - don't specify DTB; this way both the "original VIM4" and the "new VIM4" can boot with the same image
2023-08-09 11:20:28 +02:00
Ricardo Pardini
7a61093df4 khadas-vim4/khadas-vim1s: very early wip; meson-s4t7/legacy 5.4 Amlogic kernel
- only "boot from SD" supported right now
- building uboot with xPack riscv-none-embed-gcc **external** toolchain setup in hooks
- kvim4: very high kernel logging + systemd debug logging to console
- kvim4/kvim1s: add uEnv.txt and ROOT_FS_LABEL="ROOTFS" and Khadas-esque extlinux
- meson-s4t7: unify khadas-vim1s and khadas-vim4 u-boot building
- kernel .config:
  - s4t7: original Khadas vendor config
  - s4t7: CONFIG_BINFMT_MISC=y
  - s4t7: make NFS/sunrpc stuff =y
  - s4t7: enable USB wifi drivers from Armbian network_drivers
- firmware: at https://github.com/armbian/firmware/pull/56
- extlinux tricks require https://github.com/armbian/build/pull/5462
- status:
  - kvim1s: boots from SD and works as server/CLI
  - kvim4: kernel panic during systemd-udevd
2023-08-09 11:20:28 +02:00
Igor
b0669d19e0 internal Changing test targets for various boards 2023-08-09 08:40:17 +02:00
Patrick Yavitz
d668e4a43e u-boot: v2023.07.02: meson-sm1-bananapi: m2pro and m5
Move the BPI-M2PRO off the BPI-M5 U-Boot.

The BananaPi M5 supports the RTL8822CS Mezzanine, so let us
provide the proper bluetooth firmware.

NOTE: Boot needs verifying.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-07 17:13:03 +02:00
Ricardo Pardini
4901193774 thinkpad-x13s: use steev's 6.3.y for working audio; fix Bluetooth; fix core temperature sensors; add modules & fw to initrd; pin & keep x13s PPA (fixes #5550)
- x13s: initialize bluetooth's public-addr, thus allowing BT to work
- linux-arm64-sc8280xp.config: enable per-core temperature sensors
- x13s: disable snapd.seeded service so boot won't hang if clock's < 2017
- x13s: back to steev's 6.3.y, since 6.4.y's audio drivers don't match alsa-ucm-conf
2023-08-07 12:22:41 +02:00
Igor
856ec9dcd0 Change test targets on Rockpi S and BTT Cb1 2023-08-05 19:02:53 +02:00
Igor
955e8705bc
Change test targets on Rockpi4b (#5560) 2023-08-05 11:29:39 +02:00
Andrew F. Davis
a190d11d7b
K3: Make FAT filesystem fill whole partition (#5543)
The default will align the data structures with the cluster size,
which causes the size to not be set to the full partition size. This
causes issues with some board ROMs. Use the -a flag to ignore the
alignment and fill the available space.

Co-authored-by: Igor <igor@armbian.com>
2023-08-04 12:24:04 +02:00
Igor
9ca8f9c403 Revert "config: rockchip64_common: fix wrong M0 toolchain prefix"
This reverts commit 78aa57982e.
2023-08-04 11:46:41 +02:00
Paolo
c27739943d
rockchip64: bump rockchip64-edge kernel to 6.4 (#5552)
undefined
2023-08-04 10:39:13 +02:00
Igor
933c1c6526 Revert speed
Signed-off-by: Igor <igor@armbian.com>
2023-08-04 10:35:41 +02:00
Igor
98f1d660bc Adjust test targets 2023-08-04 10:35:41 +02:00
Igor
e42b7b9355 Remove rockchip legacy targets 2023-08-04 10:35:41 +02:00
Igor
fcbb99c7ed Introduce new varible used for testings
Signed-off-by: Igor <igor@armbian.com>
2023-08-04 10:35:41 +02:00
Igor
3088229352 rock disable legacy 2023-08-04 10:35:41 +02:00
Igor
6b6645b55a Upoda 2023-08-04 10:35:41 +02:00
Igor
498da81e20 Optimisations 2023-08-04 10:35:41 +02:00
Igor
7952921ab8 Disable legacy for OPIz2 as we can't switch on automated testing 2023-08-04 10:35:41 +02:00
Igor
a8802bb08c Lower CPU speed for boards that are unstable in automated kernel switching
Signed-off-by: Igor <igor@armbian.com>
2023-08-04 10:35:41 +02:00
Gunjan Gupta
9ae926fe17 Allwinner: bump legacy, current and edge kernels
Legacy - 5.15.123 -> 5.15.124
Current - 6.1.42 -> 6.1.43
Edge - 6.4.7 -> 6.4.8

Toggled CONFIG_RCU_TRACE in linux-sunxi-current.config to fix booting
on 32-bit kernel
2023-08-04 09:53:45 +02:00
Lu jicong
2c723a725d media: enable ARM_PSCI_CPUIDLE for current and edge branch
This option can lower CPU power at light load.
2023-08-04 09:53:31 +02:00
Lu jicong
290d268719 media: refresh kernel config of current and edge branch
Just refresh, no changes.
2023-08-04 09:53:31 +02:00
Andrew Davis
34f459158e Add initial support for TI SK-AM62B board 2023-08-04 09:52:55 +02:00
Andrew Davis
e58215203e Allow K3 family devices to select R5 U-Boot defconfig
This was hardcoded to am64x_evm_r5_defconfig before, but as we
want to add more K3 family devices we need this to be configurable.
2023-08-04 09:52:55 +02:00
c0rnelius
9b04e0faf6
Improve bananapi-sm1 support (#5553)
Linux 6.1 (current) / 6.4 (edge)

Add "current" to: config/boards/bananapim2pro.csc
Add uart_AO_B and uart_B to: meson-sm1-bananapi.dtsi
Add related pins to: meson-g12-common.dtsi
add wif/bt support to: meson-sm1-bananapi-m5.dts (BT = uart_A)
Add the ability to enable via overlays

NOTE: The overlay to enable the wifi on the BPI-M5 will be added
at a later date.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-03 14:01:15 -04:00
Lu jicong
78aa57982e config: rockchip64_common: fix wrong M0 toolchain prefix
rockchip ATF M0 code should use "arm-none-eabi-" toolchain to compile.
"arm-linux-gnueabi-" toolchain causes LD error.
2023-08-02 08:29:19 +02:00
Andrew Davis
b6eb2bcc14 Update edge kernel on K3 family to v6.4 2023-08-02 08:27:28 +02:00
igorpecovnik
a392a2a381 Update report 2023-07-31 05:17:08 +02:00
Gunjan Gupta
9ae14ad851 sunxi: bump current kernel to 6.1.42 2023-07-30 02:27:20 +05:30
mahdichi
36d415756e add fxblox-rk1 rk3588 board 2023-07-29 15:47:12 +02:00
Gunjan Gupta
08816900a2 Allwinner: bump kernel versions
Bumped kernel versions as follows
sunxi & sunxi64:
legacy - 5.15.121 -> 5.15.123
edge - 6.4.5 -> 6.4.7

sunxi64 only:
current - 6.1.40 -> 6.1.42
2023-07-28 21:13:41 +05:30
Ricardo Pardini
1bb53f1f9c linux-meson64-current.config / linux-meson64-edge.config: enable CONFIG_NVME_HWMON=y for NVMe temperature monitoring 2023-07-27 22:00:27 +02:00
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
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
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