Compare commits

...

481 Commits

Author SHA1 Message Date
coderabbitai[bot]
2529a8662e 📝 Add docstrings to rgblogo
Docstrings generation was requested by @igorpecovnik.

* https://github.com/armbian/build/pull/8018#issuecomment-2761030989

The following files were modified:

* `lib/functions/configuration/main-config.sh`
2025-03-28 11:36:20 +00:00
Igor Pecovnik
429e384137 Add support for MOTD logo colors
- we might want to have different welcome colors for stable and nightly images
- this adds another branding option alongside with VENDOR, VENDORURL, VENDORSUPPORT, ...
2025-03-28 12:27:06 +01:00
Igor Pecovnik
49714857c6 Add AWS & Azure support, disable DRM, disable services that makes no point here 2025-03-27 19:24:07 +01:00
Igor Pecovnik
e8e47f9f5d Cloud kernel config: drop various debug options and weird NIC adaptors 2025-03-27 19:24:07 +01:00
Igor
9cb56ff599 Remove x86-specific CPU frequency driver from ARM64 config
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-27 19:24:07 +01:00
Igor
9b1771a428 Remove x86-specific options from ARM64 config
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-27 19:24:07 +01:00
Igor Pecovnik
c20fba9908 UEFI: add cloud kernel under cloud branch 2025-03-27 19:24:07 +01:00
Werner
5a86eede01 switch current u-boot to v2025.01 2025-03-27 14:43:54 +01:00
Milivoje Legenovic
8f1b441dfc Fixed errors and warnings found in journald 2025-03-27 14:43:40 +01:00
Alexander Stein
885fb7f49f MBa8MPxL-RAS314: Add Raspberry Pi Camera V2 support
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2025-03-27 14:43:17 +01:00
Martin Schmiedel
33db940373 MBa8MPxL: update linux-tqma-current config
add some missing configs and fix update-initramfs
problems by switching to build-in for some modules

- USB_ONBOARD_DEV now build-in
- ARM_IMX_BUS_DEVFREQ now build-in

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2025-03-27 14:43:17 +01:00
Martin Schmiedel
d19cc80175 armbian-firstlogin: remove superfluous break
fix: /usr/lib/armbian/armbian-firstlogin: line 406:
break: only meaningful in a `for', `while', or `until' loop

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2025-03-27 14:43:17 +01:00
Igor Pecovnik
56b773cf8a ZRAM config: suppress errors when kernel support is not there 2025-03-27 12:50:03 +01:00
coderabbitai[bot]
e4c7d24229 📝 Add docstrings to armbiankernel
Docstrings generation was requested by @igorpecovnik.

* https://github.com/armbian/build/pull/8014#issuecomment-2755642576

The following files were modified:

* `lib/functions/compilation/armbian-kernel.sh`
2025-03-27 12:50:03 +01:00
Igor Pecovnik
eb62028fa0 Armbian kernel: add ZRAM and DOCKER configurations
Those two are present in all kernels
2025-03-27 12:50:03 +01:00
SuperKali
b9d3931dd5 Refactor patches for NanoPC T6 & LTS (#7980) 2025-03-27 11:28:09 +01:00
Paolo Sabatino
7c55b4fce9 bump rockchip 32bit edge kernel to v6.14 2025-03-26 22:23:29 +01:00
Werner
e6856186cb bump version in README.md (#8011) 2025-03-26 13:55:32 +01:00
Igor Pecovnik
62ffa66cc8 qemu arm64: bump u-boot and fix wrong boot script parameter
Now it boots OOB: https://paste.armbian.com/ololipacam
2025-03-26 10:07:20 +01:00
dependabot[bot]
12f6e7c2d1 build(deps): bump actions/upload-artifact from 4.6.1 to 4.6.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](4cec3d8aa0...ea165f8d65)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-26 10:07:09 +01:00
Werner
eec8d3c92f Opi5max - remove current builds
reduce annoyance for ourselves.
2025-03-26 10:06:56 +01:00
dependabot[bot]
c71d75d48d build(deps): bump setuptools from 76.0.0 to 78.0.1
Bumps [setuptools](https://github.com/pypa/setuptools) from 76.0.0 to 78.0.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v76.0.0...v78.0.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-26 10:06:45 +01:00
dependabot[bot]
bf6c48acda build(deps): bump yamllint from 1.36.2 to 1.37.0
Bumps [yamllint](https://github.com/adrienverge/yamllint) from 1.36.2 to 1.37.0.
- [Release notes](https://github.com/adrienverge/yamllint/releases)
- [Changelog](https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/adrienverge/yamllint/compare/v1.36.2...v1.37.0)

---
updated-dependencies:
- dependency-name: yamllint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-26 10:06:29 +01:00
juanesf
7df7e12d96 Enable thermal support for sun55i-a523
Add patch for enable thermal in Allwinner A523 (taken from: ff1c05c893)
- tested on Cubie A5E.
2025-03-26 10:06:16 +01:00
retro98boy
b169370888 add SMART AM40 support 2025-03-26 10:06:03 +01:00
Ricardo Pardini
6b74df6f2c drivers_network: HACK: bump rtl8812au (forked until PR merged upstream)
- revert this and update sha1 after https://github.com/aircrack-ng/rtl8812au/pull/1226 lands
2025-03-26 10:05:36 +01:00
Ricardo Pardini
94bab3bb81 drivers_network: bump rtl88x2cs for 6.14.y
- ref https://github.com/jethome-ru/rtl88x2cs/pull/13 (done, thanks adeepv)
2025-03-26 10:05:36 +01:00
Ricardo Pardini
3777676009 drivers_network: bump rtl8189es/rtl8189fs/rtl8812au/rtl8811cu/rtl88x2bu for 6.14.y 2025-03-26 10:05:36 +01:00
Ricardo Pardini
4b3d168dbf uefi-arm64-6.14: bump 6.13 -> 6.14 via rename
- patches rewritten but no changes needed
2025-03-26 10:05:36 +01:00
Ricardo Pardini
abb682b95a uefi-arm64-6.14: bump edge 6.13 -> 6.14 2025-03-26 10:05:36 +01:00
Ricardo Pardini
fbf5e9f23b thinkpad-x13s: bump 6.13 -> 6.14 (jhovold) 2025-03-26 10:05:36 +01:00
Ricardo Pardini
cd6f7087cf meson64-6.14: rewrite/rebase patches against 6.14 (final) 2025-03-26 10:05:36 +01:00
Ricardo Pardini
5e44aa9b04 meson64-6.14: borrow drv-spi-spidev-remove-warnings.patch from rk64-6.14 2025-03-26 10:05:36 +01:00
Ricardo Pardini
835ecdbcaf meson64-6.14: bump 6.13 -> 6.14 via rename 2025-03-26 10:05:36 +01:00
Ricardo Pardini
5bc21fccae meson64-6.14: bump edge 6.13 -> 6.14 2025-03-26 10:05:36 +01:00
Ricardo Pardini
4c65fbfb6b rockchip64-6.14: rebase/rewrite patches against 6.14 final 2025-03-26 10:05:36 +01:00
Ricardo Pardini
ff5470d6d8 rockchip64-6.14: drop upstreamed patch rk3588-1013-arm64-dts-rockchip-disable-emmc-hs400-for-rock-5-itx.patch 2025-03-26 10:05:36 +01:00
Ricardo Pardini
e9db9581c6 mainline-kernel: bump 6.14 to final 2025-03-26 10:05:36 +01:00
Arend-Jan van Hilten
19a6e2a08a Accept improvement from @coderabbitai 2025-03-26 10:05:22 +01:00
Arend-Jan van Hilten
deb0c7d5e2 dont fail on no custom/userpatches folder 2025-03-26 10:05:22 +01:00
Igor Pecovnik
dea159a596 Introduce HIDE_LOCAL_IPV6 which removes all local ipv6 addressed from display 2025-03-23 20:54:12 +01:00
Igor Pecovnik
1ee5216a69 Remove duplication of IP addresses and fix display style 2025-03-23 20:54:12 +01:00
userful64
1aca28571b Fix IPv4 and IPv6 output in Armbian welcome MOTD 2025-03-23 20:54:12 +01:00
Ian Goodacre
86ea59c378 Fix patching.sh to include untracked (new) files in patch 2025-03-23 20:50:33 +01:00
Rolf Leggewie
5e8ab3ae8b BSP: make -cli packages provide the armbian-bsp-cli virtual package 2025-03-23 20:49:51 +01:00
Igor Pecovnik
838ac68460 Meson64: adjust patch to match upstram changes 2025-03-23 08:56:51 +01:00
igorpecovnik
437aee59ff Automatic board configs status synchronise 2025-03-22 14:52:48 +01:00
Milivoje Legenovic
896a8090c1 Fix for ethernet warnings in dmesg output 2025-03-22 13:46:35 +01:00
Thorsten Maerz
40bb8a22af mksklipad50: add DT overlays for edge kernel 2025-03-22 13:46:21 +01:00
The-going
809a289c25 sunxi-6.13: Switching to v6.13.7
soc: Fix error: incompatible pointer type
soc: Fix warning: no previous prototype
2025-03-21 10:24:35 +01:00
The-going
dfb816077a Revert "Fix error incompatible pointer type, warning: no previous prototype"
This reverts commit 096fbca29c1d654204c7b744c642377f3c6da93a.
2025-03-21 10:24:35 +01:00
The-going
9cab6163f1 sunxi-6.13: CONFIG_SUN50I_H6_PRCM_PPU=m 2025-03-21 10:24:35 +01:00
The-going
24f1135961 sunxi-6.13: re-export armbian patches 2025-03-21 10:24:35 +01:00
The-going
ed87b1d3f1 sunxi-6.13: H6/H616: Add a power domain driver for the Mali GPU 2025-03-21 10:24:35 +01:00
The-going
89e66f4606 sunxi-6.13: BUGFIX: Remove the incomplete patch.
When starting a GPU with a power domain, it is necessary
to additionally control the switching on and off of the clock
in the GPU driver.
2025-03-21 10:24:35 +01:00
The-going
7d1fb049d5 sunxi-6.13: disable clk-sunxi-ng-h6-r-add-GPU-power-domain
Disable the patch that negatively affects the h616 platform.
Turn on the GPU for bananapi-m4-berry at the same time.
2025-03-21 10:24:35 +01:00
The-going
bb6c41e221 Fix error incompatible pointer type, warning: no previous prototype 2025-03-21 10:24:35 +01:00
The-going
7553fdae73 sunxi-6.13: Add armbian patches 2025-03-21 10:24:35 +01:00
The-going
eb14fbdc83 sunxi-6.13: Switching to v6.13.6 2025-03-21 10:24:35 +01:00
The-going
b7f8bf1ee2 sunxi-6.13: Add a series of drm patches; DE33 hdmi support 2025-03-21 10:24:35 +01:00
The-going
00f2587858 sunxi-6.13: Switching EDGE to v6.13.5 2025-03-21 10:24:35 +01:00
The-going
ad9c7c9d43 sunxi-6.13: re-export megous patches to v6.13.5 2025-03-21 10:24:35 +01:00
The-going
f86ebbf8a8 sunxi-6.13: Add megous patches 2025-03-21 10:24:35 +01:00
Ricardo Pardini
01d98b3a42 mainline-kernel: bump 6.14 to -rc7 2025-03-20 09:44:19 +01:00
Ricardo Pardini
577c460017 rockchip64-6.14: rebase/rewrite patches against -rc4 2025-03-20 09:44:19 +01:00
Rolf Leggewie
0b56b29317 github: update URL for armbian-config issue tracker. #7976 2025-03-19 22:24:48 +01:00
Rolf Leggewie
09267e3b5d nitpick: spell check s/neeeded/needed/ 2025-03-19 22:24:48 +01:00
Vasily Khoruzhick
d8ac1f21af rockchip64-6.12: fix compatible for CPU regulator on BTT PI2/CB2
fan53555 driver doesn't accept "tcs,tcs452x" as a compatible, it should
be "tcs,tcs4525" instead.

This change fixes CPUFREQ on CB2 on 6.12

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
2025-03-19 21:43:02 +03:00
igorpecovnik
11407a68a7 Automatic board configs status synchronise 2025-03-19 11:46:28 +01:00
Ian Goodacre
f2378ad85e Add support for NanoPi R2S Plus 2025-03-19 10:20:50 +01:00
Paolo
96defadfd0 rockchip: bump tinkerboard and xt-q8l-v10 u-boot to v2025.01 (#7967) 2025-03-19 10:20:22 +01:00
Vasily Khoruzhick
49e7d58ecf rockchip64: rk3568: add PLL rate for 33.3MHz
Add PLL rate for 33.3 MHz to allow BTT HDMI5 screen to run at its native
mode of 800x480

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
2025-03-19 10:15:13 +03:00
Ricardo Pardini
e9708b8c33 mekotronics-rk3588: u-boot: back to radxa's v2024.03, as .10 breaks GMAC stable MAC patch
- this reverts d048673c00 just for the Meko's
- there is little to be gained from .10 anyway on those machines (IMHO)
- it is still vendor 2017.09 after all, dunno why Radxa calls them "2024.x"
2025-03-19 06:53:08 +01:00
Ricardo Pardini
15cc3d3f1e grub-with-dtb: accept GRUB_FDT_FILE if BOOT_FDT_FILE is unset
- some boards have u-boot auto-detect the board variant, and thus we unset `BOOT_FDT_FILE`
- but grub needs to know...
- so introduce a `GRUB_FDT_FILE` that is checked in case `BOOT_FDT_FILE` is not set
- this way we can keep u-boot autodetecting and grub happy
- preserve BOOT_FDT_FILE into GRUB_FDT_FILE for `nanopct6`/`nanopct6-lts`
2025-03-19 06:52:59 +01:00
Ian Goodacre
288e5216bc Allow NetworkManager and systemd-networkd
While it is unusual to run both NetworkManager and systemd-networkd
simultaneiously and doing so can cause startup problems, there is
nothing inherently wrong with doing so: the services are not
incompatible and some people run both, each managing different
interfaces.

The Armbian build framework enables one or the other but not both.
Therefore, if both are enabled at first login, it is probably because
the user has manually modified the image. In this case, trust that the
user knows what they are doing and don't disable one of them.
2025-03-18 13:20:26 +01:00
SuperKali
5a4e9bac66 rockchip64-6.14: Add patch to fix usb 3.0 A on nanopc t6 2025-03-18 13:19:35 +01:00
igorpecovnik
6246fc4911 Automatic board configs status synchronise 2025-03-17 21:16:09 +01:00
dependabot[bot]
d9d363d549 build(deps): bump yamllint from 1.35.1 to 1.36.2
Bumps [yamllint](https://github.com/adrienverge/yamllint) from 1.35.1 to 1.36.2.
- [Release notes](https://github.com/adrienverge/yamllint/releases)
- [Changelog](https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/adrienverge/yamllint/compare/v1.35.1...v1.36.2)

---
updated-dependencies:
- dependency-name: yamllint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 20:53:00 +01:00
Paolo Sabatino
15b33de5b6 rockchip64: bump orangepi4 lts uboot to v2025.01 2025-03-17 20:48:00 +01:00
Paolo Sabatino
152cf012b8 rockchip64: bump rockpi-e to u-boot v2025.01 2025-03-17 20:47:32 +01:00
Igor Pecovnik
a3dd3f97f8 Drop fastfetch alias - it only make troubles 2025-03-17 18:36:11 +01:00
Patrick Yavitz
2ccb87d387 sunxi: mmc: Improve reset procedure
Cards should always be reset and threshold set. This fixes eMMC on H616.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-03-17 13:25:18 -04:00
Paolo Sabatino
14492c84db rockchip64: rk3318-box: fix wifi with alternate sdio bus 2025-03-16 23:09:26 +01:00
Juan Esf91
843315ccb4 delete no working path 2025-03-16 23:09:17 +01:00
Juan Esf91
485a6d62cc Enable/Add gmac0/1 wifi to Radxa Cubie A5E sun55i-a527 2025-03-16 23:09:17 +01:00
Igor Pecovnik
4530b26278 Revert "Stop altering global git config file and set safe per cloned repository"
This reverts commit ccde662ccb.
2025-03-16 17:26:49 +01:00
SuperKali
a9ff12533e rockchip64-6.14: Enabled HDMI1 video and audio on NanoPC T6/LTS 2025-03-16 11:54:08 +01:00
Igor Pecovnik
ccde662ccb Stop altering global git config file and set safe per cloned repository 2025-03-16 11:53:56 +01:00
SuperKali
b796985c3e rockchip64-6.14: Add HDMI audio support and missing stuff on Youyeetoo R1 v3 2025-03-16 11:53:42 +01:00
Ian Goodacre
36c4b913e3 Always disable systemd-networkd if both managers enabled
NetworkManager and systemd-networkd should never both be enabled
at the same time. In this case, disable systemd-networkd, with
message to the user that this is being done.
2025-03-16 11:53:30 +01:00
Ian Goodacre
28df43da15 Improve armbian-firstlogin script
Avoid waiting for the NetworkManager-wait-online or
systemd-networkd-wait-online service to complete in the midst of
prompting for root account password.
2025-03-16 11:53:30 +01:00
igorpecovnik
19b0a062a7 tools: Bump SHELLFMT_VERSION from 3.10.0 to 3.11.0 2025-03-16 11:53:12 +01:00
Rolf Leggewie
84f391b99a drop software-properties-common from CLI builds
software-properties-common was dropped from Debian Unstable
and may or may not come back according to its maintainer.
It provides the add-apt-repository binary. 

c.f. https://github.com/wimpysworld/deb-get/issues/1215
2025-03-16 11:52:59 +01:00
Rolf Leggewie
112d83f6a1 drop policykit-1 from common DE builds
drop obsolete policykit-1 package and replace with polkitd and
pkexec from common includes for a variety of DE builds
2025-03-16 11:52:59 +01:00
Rolf Leggewie
4b39475cb5 drop policykit-1 from plucky i3-wm builds
drop obsolete policykit-1 package and replace with polkitd and
pkexec from i3-wm builds for plucky
2025-03-16 11:52:59 +01:00
Rolf Leggewie
11d0e436aa update dependency for KDE environment
replace plasma-workspace-wayland with plasma-workspace package
2025-03-16 11:52:59 +01:00
Rolf Leggewie
ef6ab71734 drop gnome-bluetooth and libgnome-bluetooth13 from various DE builds
The packages have been dropped from Debian and in turn Ubuntu in their
latest releases. c.f. https://bugs.debian.org/1088796
2025-03-16 11:52:59 +01:00
Rolf Leggewie
f2c6f77747 drop pavumeter from packages commonly included in various DE builds
The package has been dropped from Debian Unstable and thus Testing/Trixie
and in turn Ubuntu Plucky. c.f. https://bugs.debian.org/1088796
2025-03-16 11:52:59 +01:00
Rolf Leggewie
6f86cf2fb2 continue to package gnome-bluetooth and pavumeter for bookworm
this partially reverts commit a35a012001
2025-03-16 11:52:59 +01:00
Rolf Leggewie
7766fec523 drop policykit-1 from common packages
Drop policykit-1 from common packages to include, it is only a
transitional package to pkexec and polkitd and has been dropped from
Debian Testing/Unstable and Ubuntu Plucky.  Add pkexec and polkitd as
replacement.
2025-03-16 11:52:59 +01:00
Rolf Leggewie
babd7f50a2 drop kerneloops package from all build definitions
it was dropped from debian unstable and hence trixie and ubuntu plucky. The
kerneloops.org website has been gone for about 5 years already so while the
package is still available for example in jammy, it is completely useless
in 2025.

- https://bugs.debian.org/953172
- https://bugs.launchpad.net/ubuntu/+bug/1930877
2025-03-15 19:57:09 +01:00
Rolf Leggewie
a35a012001 drop gnome-bluetooth and pavumeter from packages built for i3-wm
Both have been dropped from debian unstable and thus testing/trixie and
in turn ubuntu plucky.

- https://bugs.debian.org/1088796 pavumeter
- https://bugs.debian.org/1093420 gnome-bluetooth
2025-03-15 19:57:09 +01:00
igorpecovnik
104fa6da22 Automatic board configs status synchronise 2025-03-15 18:17:56 +01:00
Andrew Davis
6bc96d54c6 Add initial support for BeagleBoard BeagleY-AI 2025-03-15 16:37:40 +01:00
Andrew Davis
3029fbf0aa K3: Install kernel headers for out-of-tree module support 2025-03-15 16:37:40 +01:00
Andrew Davis
b7cdaa9da6 K3: Update edge kernel v6.12 config
Some updates to add a few extra drivers that might be useful
on the supported K3 boards.
2025-03-15 16:37:40 +01:00
Andrew Davis
ee65ea2323 K3: Update current kernel v6.6 config
Some updates to add a few extra drivers that might be useful
on the supported K3 boards.
2025-03-15 16:37:40 +01:00
Patrick Yavitz
e261f8da85 SpacemiT: Defconfig: Add CONFIG_NFT_FLOW_OFFLOAD=m
Request: https://forum.armbian.com/topic/50513-feature-request-enable-flow-offload-in-build/

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-03-15 16:35:23 +01:00
Andrei Aldea
ae08107ee7 Update K3 to use Github Mirror over TI Cgit 2025-03-15 16:34:18 +01:00
Igor Pecovnik
d4022fbbbb Change to different method of getting changed files
Addressing security issue: https://semgrep.dev/blog/2025/popular-github-action-tj-actionschanged-files-is-compromised/
2025-03-15 16:25:27 +01:00
FantasyGmm
0ccbe8bcc7 Update Odin2 Config 2025-03-15 10:29:56 +01:00
The-going
d9a3a3a137 sunxi-6.12: BUGFIX: Remove the incomplete patch.
When starting a GPU with a power domain, it is necessary
to additionally control the switching on and off of the clock
in the GPU driver.
The driver is currently waiting for a response when it is
turned on, but it is not there, and this causes the OS to freeze.

The complete set will be added later after testing.
2025-03-15 10:24:57 +01:00
juanesf
d9842bb5e8 Add Radxa Cubie A5E (sun55i-a527) (#7852)
* Add Radxa Cubie A5E (sun55i-a527)
* Add Ethernet BSP to sun55i-dev, restore patch deleted
* Update sunxi64_common.inc
* Update from mainstream
* Update sun55iw3.conf
* Clean and switch partition table format
* Update and rename radxa-cubie-a5e.conf to radxa-cubie-a5e.csc
* fix gpt partition boot
* Cleanup and update (6.12>6.14)
2025-03-12 15:40:16 +01:00
igorpecovnik
821eeea2e2 Automatic board configs status synchronise 2025-03-12 15:38:19 +01:00
Thorsten Maerz
0400ff9def mksklipad50: uboot2025: add boot delay (for uart to come up) 2025-03-12 15:37:37 +01:00
Thorsten Maerz
3b99e385f2 mksklipad50: uboot2025: enable usb for serial access 2025-03-12 15:37:37 +01:00
Thorsten Maerz
e6b034384c mksklipad50: uboot2025: fix usb dwc2-otg/dwc3-host compile
RK3328 board with dwc2-otg and dwc3-host run into
"multiple definition of 'dm_usb_gadget_handle_interrupts'"

See https://lore.kernel.org/u-boot/7805b8d0-fb7c-41d5-8d74-f85dfd40233a@kwiboo.se/
2025-03-12 15:37:37 +01:00
Thorsten Maerz
d34d7bf412 mksklipad50: uboot2025: generate trust.ini (bl31.elf) 2025-03-12 15:37:37 +01:00
Thorsten Maerz
9e3c0d4e0c mksklipad50: switch to uboot v2025.01
Fixes loading initramfs into EFI memory region, leading to
errors "efi_free_pool: illegal free".
Which may be the cause for these bootloops:
  https://github.com/armbian/build/pull/7883#issuecomment-2694110296
See also:
  https://lore.kernel.org/all/d3f3fc7f-b29a-4503-9fe0-97468bbe1f71@gmx.de/
2025-03-12 15:37:37 +01:00
Thorsten Maerz
e6ed66f1da mksklipad50: devicetree cleanups 2025-03-12 15:37:37 +01:00
dependabot[bot]
9c66d75028 build(deps): bump setuptools from 75.8.2 to 76.0.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 75.8.2 to 76.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v75.8.2...v76.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-12 15:35:06 +01:00
dependabot[bot]
60fbdf9f4b build(deps): bump jinja2 from 3.1.5 to 3.1.6
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-12 15:34:49 +01:00
plumbeo
dd8d9710f7 linux-bcm2711: enable CONFIG_CRYPTO_NHPOLY1305_NEON 2025-03-12 15:34:08 +01:00
FantasyGmm
5bf962afa0 Remove Xiaomi umi Support 2025-03-10 16:50:49 +08:00
amazingfate
df09d86cfc rockchip64-6.14: rock-5-itx: slow down emmc freq 2025-03-09 10:48:15 +01:00
amazingfate
9529d1aecb rockchip64-6.12: rock-5-itx: slow down emmc freq 2025-03-09 10:48:15 +01:00
amazingfate
d2c7cf7fec rockchip64-6.14: slow down emmc freq instead of toggling to HS200 for rock5b 2025-03-09 10:48:15 +01:00
amazingfate
e30786930e rockchip64-6.12: slow down emmc freq instead of toggling to HS200 for rock5b 2025-03-09 10:48:15 +01:00
igorpecovnik
88e05e8832 Automatic board configs status synchronise 2025-03-09 10:48:05 +01:00
Julian Sikorski
2b8a418a54 Update odroidxu4-current to 6.6.81 2025-03-09 10:47:53 +01:00
Paolo Sabatino
fad71e1962 fix stable mac address for rk3318-box 2025-03-09 09:31:23 +01:00
SuperKali
93e5224a9a rockchip64-6.14: rewrite rock5 hdmi audio patch (#7929) 2025-03-09 08:23:12 +01:00
Werner
ffc25bbea4 unfreeze vendor upgrades 2025-03-08 20:11:56 +01:00
Werner
4c377b660b Unfix BL31 and DDR versions 2025-03-08 20:11:56 +01:00
Werner
cdf8364937 bump uboot to v2025.01 2025-03-08 20:11:56 +01:00
Werner
fe49bf5e94 RESEND - Add initial support for Orangepi 5 Ultra (#7902)
* Create rk3588-orangepi-5-ultra.dts

* Create orangepi5-ultra.csc

* fixups

* add notes

* fix u-boot compilation

* Update to v7 patch series

https://patchwork.kernel.org/project/linux-arm-kernel/cover/20250222193332.1761-1-honyuenkwun@gmail.com/

* Update rk3588-orangepi-5-ultra.dts

While I don't fully understand either the `kernel-dtb` command nor the dt syntax itself for some reason the `nophandles` version stripped more than actually phandles. Lets see what happens this way.

* Delete patch/kernel/integrate-6.15/0001-tools-Makefile-remove-pci-target.patch

* disable OPTEE

c81f89ca90
2025-03-08 20:10:34 +01:00
Andrei Aldea
f64b9f15d3 Fix Kernel to K3-Beagle for non-upstream boards 2025-03-08 20:10:18 +01:00
Andrei Aldea
df4d22c3d3 Update config/boards/pocketbeagle2.csc
Declare separate LinuxFamily as par rpardini suggestion. Temporary until PB2 reaches mainline.

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2025-03-08 20:10:18 +01:00
Andrei Aldea
180e188ccb Add initial support for BeagleBoard PocketBeagle2 2025-03-08 20:10:18 +01:00
Igor Pecovnik
9d93e0c58c Raspbery Pi: legacy kernel is missing support for CONFIG_FW_LOADER_COMPRESS 2025-03-08 20:05:40 +01:00
Andrew Davis
1235946b02 Add initial support for BeaglePlay 2025-03-08 20:05:28 +01:00
Andrew Davis
429f833369 Add initial support for BeagleBone AI-64 2025-03-08 19:44:25 +01:00
Aleksey Komarov
bf9ffa6eed Enable HDMI audio outputs for Rock 5B by detlev.casanova@collabora.com
https://lore.kernel.org/all/20250217215641.372723-4-detlev.casanova@collabora.com/
2025-03-08 19:43:05 +01:00
Lane Jennison
f78b0ae4d5 rk3568: removed phy patch that was merged in 6.6.81 2025-03-08 19:42:32 +01:00
Lane Jennison
45621aae33 rk3568: removed phy patch that was merged in 6.12.18 2025-03-08 19:42:32 +01:00
SuperKali
a691fe095b rockchip64-6.14: Set dma mask to 64 bit (#7924) 2025-03-08 14:14:46 +01:00
Igor Pecovnik
7f32a58535 Enable wait-online.service in firstlogin config
Reasoning: https://github.com/armbian/build/issues/7896
2025-03-07 19:50:26 +01:00
igorpecovnik
c0efeb3674 Automatic board configs status synchronise 2025-03-07 19:44:19 +01:00
Nicolas Pereira
0b124433ca rockchip64-edge: add support for yy3568 2025-03-07 19:33:58 +01:00
Taba1uga
0c2e63c872 fix wrong kernel name bug on raspberry pi 5 (#7692)
* fix wrong kernel name bug on raspberry pi 5

* improve comment formatting

* fix bug
2025-03-05 10:41:23 +01:00
dependabot[bot]
e754fba5f9 build(deps): bump setuptools from 75.8.0 to 75.8.2
Bumps [setuptools](https://github.com/pypa/setuptools) from 75.8.0 to 75.8.2.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v75.8.0...v75.8.2)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-05 10:40:57 +01:00
Igor Pecovnik
3199178c70 Multiple sources fix: after changing to deb822 we forgot on leftovers
- deboostrap still uses old ways and we need to remove this file
- when displaying the content of sources, we need to look correct file
2025-03-05 10:40:48 +01:00
igorpecovnik
a370033dc3 Automatic board configs status synchronise 2025-03-03 13:21:40 +01:00
igorpecovnik
ebd02ba2c0 Automatic board configs status synchronise 2025-03-03 12:56:48 +01:00
Tim Surber
f833481709 switch CM3588 to mainline A-TF 2025-03-03 12:56:37 +01:00
Paolo Sabatino
534ff27e35 rockchip/64: bump rk322x-box and rk3318-box to u-boot v2025.01 2025-03-03 12:56:25 +01:00
Patrick Yavitz
12c2ff9c9a Add reset and power down support for both ODROID SM1 units
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-03-03 12:56:11 +01:00
amazingfate
d16287bd60 rockchip64-6.14: add dt overlay of lcd panel on hinlink-h88k 2025-03-03 12:56:02 +01:00
amazingfate
d6400cc883 rockchip64-6.12: add dt overlay of lcd panel on hinlink-h88k 2025-03-03 12:56:02 +01:00
amazingfate
6fc7b7a41b rockchip64-edge: enable CONFIG_DRM_PANEL_MIPI_DBI and toggle CONFIG_DRM to builtin 2025-03-03 12:56:02 +01:00
amazingfate
f3439c7980 rockchip64-current: enable CONFIG_DRM_PANEL_MIPI_DBI and toggle CONFIG_DRM to builtin 2025-03-03 12:56:02 +01:00
Chen Jiali
501f5a77c2 config: enable_extension "radxa-aic8800" for rock-2a 2025-03-03 12:55:51 +01:00
Andrew Davis
2b7cb0d1a7 Add initial support for TI SK-AM69 board 2025-02-28 19:59:52 +01:00
Werner
eca8e9978c typo 2025-02-28 19:59:37 +01:00
Igor Pecovnik
f0e01c454c Add e2fspros as it fell out od default dependency
This caused that root filesystem didn't complete due to missing resize2fs tools.
2025-02-28 19:59:37 +01:00
JohnTheCoolingFan
7647e5ca5d Remove bigtreetech cb2 device tree in 6.14 as it is now mainlined 2025-02-28 14:07:45 +03:00
JohnTheCoolingFan
ea7f004191 Change BigTreeTech CB2 device tree 2025-02-28 14:07:45 +03:00
Paolo Sabatino
5ad769c82e rockchip64: disable DMC for OrangePi 4 LTS, fixes boot with BTF 2025-02-28 08:20:14 +01:00
Paolo Sabatino
d6d5bc19cb bump orangepi4 LTS u-boot to v2024.10 2025-02-28 08:20:14 +01:00
palachzzz
0b88561ec3 RK3588 add HDMI sound, add support for OPi5 Max #7884 2025-02-27 23:06:51 +08:00
The-going
96e1ca9e50 sunxi-6.12: Add sun50i-h618-bananapi-m4-berry support 2025-02-26 20:14:19 +01:00
The-going
7c4ccde0bf sunxi-6.12: Add GPU power domain for h616 2025-02-26 20:14:19 +01:00
Stephen Graf
b43219e9ac sunxi-6.12: tcon (timing controller), enable HDMI for H616/H618 SOC
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2025-02-26 20:14:19 +01:00
The-going
ca483bc22b sunxi-6.12: re-export armbian patches 2025-02-26 20:14:19 +01:00
The-going
7dad76f727 sunxi-6.12: Switching to v6.12.16. Re-export megous patches 2025-02-26 20:14:19 +01:00
The-going
55c805ce9e sunxi-6.12: Switch to v6.12.13
Delete pre-applied ones and re-export patches.
2025-02-26 20:14:19 +01:00
The-going
781550decf sunxi-6.12: drm: sun4i: add sun50i-h616-hdmi-phy support 2025-02-26 20:14:19 +01:00
The-going
5df50eaa8c sunxi-6.12: arm64: dts: Add axp313a.dtsi 2025-02-26 20:14:19 +01:00
The-going
8ca21888da sunxi-6.12: Add drm sun4i-de33 driver
Also disable some megous patches and TV  Output on
OrangePi-Zero-LTE patch
2025-02-26 20:14:19 +01:00
The-going
8fb97d6cd2 sunxi-6.12: sun50i-h616 & overlays: sort nodes, add more 2025-02-26 20:14:19 +01:00
The-going
cc228ad303 sunxi-6.12: Switch to v6.12.12 2025-02-26 20:14:19 +01:00
The-going
d5d31302a3 sunxi-6.12: reexport all patches to v6.12.12 2025-02-26 20:14:19 +01:00
amazingfate
db3615f7b0 mainline-kernel.conf.sh: bump 6.14 to rc4 2025-02-26 21:40:01 +08:00
amazingfate
4714b1610a rockchip64-6.14: add patch to fix rk3588 multi hdmi pll clk 2025-02-26 21:40:01 +08:00
amazingfate
4247d8d8fa rockchip64-edge: add hdmi1 support to rock5 itx 2025-02-26 21:40:01 +08:00
amazingfate
8a725ab092 rockchip64-edge: add hdmi1 disp modes support to rk3588 2025-02-26 21:40:01 +08:00
amazingfate
328cd82221 rockchip64-edge: bump to 6.14 2025-02-26 21:40:01 +08:00
amazingfate
47381df472 wireless: fix build with kernel 6.14 2025-02-26 21:40:01 +08:00
amazingfate
1dac001d36 mainline-kernel.conf.sh: bump 6.14 to rc2 2025-02-26 21:40:01 +08:00
qbisi
2c605989ef hinlink-h88k: revert second hdmi output support for 6.12 kernel
second hdmi output is only supported in 6.13 and above
2025-02-25 18:41:59 +01:00
qbisi
e096f33d5c hinlink-h88k: add second hdmi output support 2025-02-25 09:19:33 +08:00
qbisi
ef72bd1a8b hinlink-h88k: add missing hdmi0-con port 2025-02-25 09:19:33 +08:00
qbisi
bf5ed6c79f hinlink-h88k: fix headphones jack det gpio 2025-02-25 09:19:33 +08:00
qbisi
7303bac5fd hinlink-h88k: sync dts from 6.12 to 6.13 2025-02-25 09:19:33 +08:00
dependabot[bot]
d375013205 build(deps): bump pyelftools from 0.31 to 0.32
Bumps [pyelftools](https://github.com/eliben/pyelftools) from 0.31 to 0.32.
- [Changelog](https://github.com/eliben/pyelftools/blob/main/CHANGES)
- [Commits](https://github.com/eliben/pyelftools/compare/v0.31...v0.32)

---
updated-dependencies:
- dependency-name: pyelftools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 20:40:52 +01:00
dependabot[bot]
ddc137de23 build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 20:40:40 +01:00
dependabot[bot]
a872d94778 build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65c4c4a1dd...4cec3d8aa0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 20:40:28 +01:00
Igor Pecovnik
b47d408ff7 After changing apt lists methodology, we need to rebuild rootfs cache 2025-02-24 12:43:04 +01:00
Igor Pecovnik
e4837dd90e Extension V4L2: disable installation on minimal images 2025-02-24 11:54:08 +01:00
igorpecovnik
70c10c4df0 Automatic board configs status synchronise 2025-02-24 10:29:05 +01:00
Blieque Mariguan
8e75c8ebd1 feat: Use deb822 APT sources
- Replace `armbian.list` with `armbian.sources`. This holds the same
  information in a newer format, deb822.
- Replace HTTP with HTTPS for Armbian repositories.
2025-02-24 09:23:11 +01:00
Igor Pecovnik
f6d832ef98 Remove hard dependency for network manager 2025-02-24 09:22:59 +01:00
Igor Pecovnik
e541581263 Status changes: csc to conf and vice versa
- set build priorities
2025-02-24 09:22:59 +01:00
Ricardo Pardini
370f85b067 python3: do not rely on hostdeps python3-pip nor python3-dev; deploy pip via get-pip.py
- python3-pip implies a very old setuptools (which is system-wide and takes precedence)
- python3-dev implies python3-distutils (which is long deprecated)
- get-pip.py allows us to version pip in requirements.txt just like everything else
- in the end this fixes the conundrum with pylibfdt / dtschema on Jammy
- and, finally, the setuptools we specify in requirements.txt will be actually used
2025-02-24 09:21:53 +01:00
Werner
1033729455 arm64: dts: rockchip: fix gpio-line-names to radxa-rock-3a (#7874)
* rock-3a - fix formatting of gpio-line-names

properly format gpio-line-names, following the example from Trevor Woerner for his contribution to the radxa-zero-3 dt.

Also fix a wrong pin number

* fix applying
2025-02-24 09:21:41 +01:00
Thomas McKahan
1b5f1d365f move Meson GX to LibreElec FIP 2025-02-24 09:21:13 +01:00
hzy
3aa63109b7 generate_CODEOWNERS.sh: corrent the path include ${BOARD} 2025-02-24 07:16:57 +01:00
hzy
97514b1dd1 generate_CODEOWNERS.sh: consider ATFPATCHDIR 2025-02-24 07:16:57 +01:00
hzy
bade9c7e3f generate_CODEOWNERS.sh: consider BOOTPATCHDIR 2025-02-24 07:16:57 +01:00
hzy
de6168c8df generate_CODEOWNERS.sh: correct the path of family config 2025-02-24 07:16:57 +01:00
hzy
de3185dc30 generate_CODEOWNERS.sh: run post_family_config hooks 2025-02-24 07:16:57 +01:00
hzy
342196a432 generate_CODEOWNERS.sh: correct default KERNELPATCHDIR 2025-02-24 07:16:57 +01:00
hzy
89c3c5b83d generate_CODEOWNERS.sh: more dummy functions 2025-02-24 07:16:57 +01:00
hzy
830d9c465b generate_CODEOWNERS.sh: make sort result reproducible 2025-02-24 07:16:57 +01:00
Mecid Urganci
eeb5e8eacf rockchip64: RK3588 update DDR & BL31 blobs 2025-02-24 07:16:37 +01:00
Tony
ffe959bb18 small cleanup Meson64 (#7868) 2025-02-23 21:54:39 -05:00
Paolo Sabatino
86691d17e4 rockchip/64: fix again periodic dma and audio stuttering 2025-02-23 19:26:53 +01:00
retro98boy
d19444bf8a rockchip64: fix wrong GPIO direction in DP virtual extcon driver
The extcon-usbc-virtual-pd driver requests the detection GPIO with the flag GPIOD_OUT_LOW, which leads to a failure in gpiod_to_irq and consequently causes the driver loading to fail.

This issue can be fixed by changing GPIOD_OUT_LOW to either GPIOD_IN or GPIOD_ASIS.

This patch opts to change GPIOD_OUT_LOW to GPIOD_ASIS, as this is a less invasive approach. For devices intending to use this driver, it's also necessary to set the pinctrl property of the detection GPIO to input mode in the dts file.
2025-02-23 19:26:27 +01:00
TheSnowfield
745955110b rockchip64:loaderimage: fix rk3308 uboot loader offset 2025-02-23 19:24:40 +01:00
Patrick Yavitz
a0bc90c360 BananaPi BPI-F3: Alphabetize DTS
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-23 19:22:53 +01:00
Patrick Yavitz
9102accba7 BananaPi BPI-F3: BOARD_MAINTAINER="pyavitz"
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-23 19:22:53 +01:00
Thomas McKahan
11430de9a0 Bump Vim1-2 u-boot binaries (stopgap) 2025-02-23 19:21:29 +01:00
The-going
ecfde0c3d7 sunxi-6.6: Add i2c3_pa, all pwm pins 2025-02-23 09:56:20 +01:00
The-going
16d34e346b sunxi-6.6: Switch to v6.6.75 2025-02-23 09:56:20 +01:00
The-going
ddaccc6bac sunxi-6.6: Add BananaPi M4 Berry support 2025-02-23 09:56:20 +01:00
The-going
a544dbd8b5 config: Add BananaPi M4 Berry board as WIP 2025-02-23 09:56:20 +01:00
The-going
d25a12e782 u-boot: v2025.01: Add bananapi-m4-berry support 2025-02-23 09:56:20 +01:00
TheSnowfield
bc69b1d3eb sakurapi-rk3308b: bump dts and vop patches to kernel 6.13 2025-02-23 09:55:48 +01:00
TheSnowfield
23ced3ea81 sakurapi-rk3308b: enable rockchip drm driver 2025-02-23 09:55:48 +01:00
TheSnowfield
91e25e2c01 sakurapi-rk3308b: enable vop and display output 2025-02-23 09:55:48 +01:00
TheSnowfield
3bca18ea7f sakurapi-rk3308b: use full rk blobs instead 2025-02-23 09:55:48 +01:00
TheSnowfield
9af5f61214 rockchip64: rk3308: add vop and internal rgb lcdc output support 2025-02-23 09:55:48 +01:00
青菜萝 卜冬瓜
b86cf1adbb sun55iw3-syterkit: update kernel config (#7855) 2025-02-23 15:55:42 +08:00
Ricardo Pardini
0c7596bd5a export-logs: use multiple paste servers in order until one works
- user can override by setting PASTE_SERVER_HOST=some.paste.server.com
2025-02-22 22:35:45 -03:00
amazingfate
94949aec8a kernel: fix for 6.14 make clean fail at tools dir due to upstream dir change 2025-02-22 23:19:31 +08:00
Igor Pecovnik
7184c5aa89 SM8250: drop upstreamed patch as it breaks compilation 2025-02-21 20:19:26 +01:00
Thorsten Maerz
4bddce99ef MKS-Klipad50: Switch to standard support 2025-02-21 19:12:23 +01:00
chainsx
872a554c69 station-m2: use mainline devicetree name 2025-02-21 19:11:17 +01:00
Igor Pecovnik
533fc7dca5 Plucky: drop non existing packages 2025-02-20 09:25:32 +01:00
Igor Pecovnik
6adfd3a5e1 Raspberry PI: move EDGE kernel from 6.14 to 6.13 as it doesn't build 2025-02-20 08:30:03 +01:00
Werner
577e4f6ee7 Bump VERSION
Release branch has been created already so put this back to trunk to avoid self-made packages being overwritten by official packages at some point.
2025-02-20 07:01:23 +01:00
Ricardo Pardini
89a16b82f5 odroidm1: u-boot: enable setexpr; patch 2025.01 for fileenv; enable squashfs support
- as Armbian u-boot is possibly deployed to SPI (replacing Petitboot),
  try to make as compatible as possible; eg enable squashfs support
- in this case, `setexpr` and `fileenv` are used by HAOS
  - found `fileenv` here 049e1a1949

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2025-02-20 07:00:43 +01:00
qbisi
3cdf696769 fix panel-dsi-simple driver for kernel 6.6, 6.9, 6.12 and 6.13 2025-02-20 07:00:13 +01:00
qbisi
cda1089d61 fix ssv6051 driver for kernel 6.6, 6.9, 6.12 and 6.13 2025-02-20 07:00:13 +01:00
Chen Jiali
135bbc423b radxa-aic8800: use systemd.link instead of udev rule
And move naming_wireless_interface to radxa-aic8800.sh

To avoid unexpected errors caused by ID_NET_SLOT being empty when using lower version udev
2025-02-20 06:59:58 +01:00
Chen Jiali
26a517757f Add support for Rock 2A and 2F 2025-02-20 06:59:58 +01:00
qbisi
947f901d24 hinlink-h88k: add hdmi_rx support 2025-02-20 06:59:18 +01:00
qbisi
805e053194 hinlink-h88k: fix mmc speed and det pin 2025-02-20 06:59:18 +01:00
青菜萝 卜冬瓜
b44df3093d station-m2: delete the redundant function. 2025-02-20 06:59:08 +01:00
青菜萝 卜冬瓜
26830cb918 station-p2: delete the redundant function. 2025-02-20 06:58:49 +01:00
Igor
bc331a6d82 Update packages/bsp/common/etc/update-motd.d/10-armbian-header
Co-authored-by: Fridtjof Mund <fridtjof@das-labor.org>
2025-02-20 06:58:38 +01:00
Igor Pecovnik
26a4a5d37d Bump CURRENT to 6.12, move previous to 6.6, bump EDGE to 6.14
Tested on RPI5 and Zero 2w
2025-02-20 06:58:38 +01:00
Igor Pecovnik
3981d58bba Raspberry Pi family: read motd board name from /proc/cpuinfo
- also adjust hostname if they are Armbian defaults
- drop rpi5b build config as they all run with one image
2025-02-20 06:58:38 +01:00
jomadeto
1888a12ac7 Magicsee C400-Plus: Switch to standard support
Also remove SimpleDRM from blacklist, not needed
2025-02-20 06:57:39 +01:00
Igor Pecovnik
44906b19ce Ubuntu Plucky: add architecture dependent packages 2025-02-20 06:57:22 +01:00
amazingfate
b2d38b2c2b mesa-vpu: add chromium back for debian and noble 2025-02-20 13:56:05 +08:00
Werner
475e28056b Orangepi 5 MAX - add support for current (#7842)
* add `current` target

* Add Orangepi 5 max device tree to `current` dt
2025-02-19 13:04:17 +01:00
Paolo Sabatino
e2f1c44434 rockchip64: fix rocks0 patch breaking current compilation 2025-02-17 21:40:11 +01:00
Mecid Urganci
eed26e656e Add Support for Rock 5T 2025-02-17 14:24:28 +01:00
amazingfate
264bcc42d1 remove software-properties-common/gtk for trixie and sid 2025-02-16 23:04:14 +01:00
Milivoje Legenovic
a5448efa71 Odroid M2: initial support 2025-02-16 23:04:01 +01:00
nyanmisaka
b8423db17a Bump two leftover radxa rk35xx uboot to next-dev-v2024.10
just remove these leftover overrides.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
Co-authored-by: amazingfate <liujianfeng1994@gmail.com>
2025-02-16 23:03:46 +01:00
Muhammed Efe Cetin
8e825e7f9d rockchip64-6.12: add spi flash overlay for NanoPi M6 2025-02-16 23:02:37 +01:00
Muhammed Efe Cetin
3a1b8b4553 rockchip64-6.13: add spi flash overlay for NanoPi M6 2025-02-16 23:02:37 +01:00
Patrick Yavitz
c63595015f BananaPi BPI-F3: Update overlay patch and add overlays
General overlay comp patch was pulled from Meson64 6.6.y branch

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-16 13:04:47 -05:00
Patrick Yavitz
6846897178 BananaPi BPI-F3: add overlay support
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-16 13:04:47 -05:00
Patrick Yavitz
67969c4efa BananaPi BPI-F3: Update spacemit defconfig
Misc. Additions

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-16 13:04:47 -05:00
Patrick Yavitz
2fefa024c2 BananaPi BPI-F3: Add spacemit k1x-spi support
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-16 13:04:47 -05:00
Patrick Yavitz
27d154980b BananaPi BPI-F3: Add pwm7 and spi3 nodes
Also alphabetize DTS

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-16 13:04:47 -05:00
Patrick Yavitz
f6256b8715 BananaPi BPI-F3: Update u-boot k1-x.env file
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-16 13:04:47 -05:00
Sergey Ko
62f72f4566 Radxa Zero, fix for overlay prefix name (#7826) 2025-02-16 11:38:47 -06:00
Paolo Sabatino
1f69720656 rockchip64: remove patch to fix rockpi-e gigabit eth 2025-02-12 19:31:35 +01:00
Igor Pecovnik
3637f07183 Revert "imx6: move current to 6.12.y"
This reverts commit a3dac432fc.

USB patch for 6.12.y needs rework - its a bit more work as code has been moved around kernel tree. TBD after 25.2 release.
2025-02-12 11:50:10 +01:00
Igor Pecovnik
5115cdf47a Odroid XU4: disable BTF as it crashes kernel load
https://docs.kernel.org/bpf/btf.html
2025-02-12 10:08:31 +01:00
amazingfate
65faeba83e Revert "fxblox-rk1: add missing patch for latest radxa uboot"
This reverts commit 6ecc0b7e22.
2025-02-11 17:16:36 +01:00
Igor Pecovnik
3851e940bf Cosmetical: switch edge and current kernel order, so that current shows as primary
When using TUI, this is important.
2025-02-11 13:46:04 +01:00
amazingfate
6ecc0b7e22 fxblox-rk1: add missing patch for latest radxa uboot 2025-02-11 07:45:09 +01:00
amazingfate
06852a04a5 retro-lite-cm5: fix for latest radxa uboot 2025-02-11 07:45:09 +01:00
amazingfate
d9b7000ea5 armsom-sige5: add pd negotiation support to uboot 2025-02-10 20:18:21 +01:00
amazingfate
83e5675fb4 rk3576: remove unnecessary BL32 from uboot 2025-02-10 20:18:21 +01:00
amazingfate
c81f89ca90 u-boot-radxa-rk35xx: disable optee
Follow change from radxa 738cda44532c324e07296c95751e3083fa95f282.

Change with command:
sed -i "/CONFIG_OPTEE/d" patch/u-boot/legacy/u-boot-radxa-rk35xx/defconfig/*
2025-02-10 20:18:21 +01:00
amazingfate
5402492796 merge u-boot-armsom-rk3576 to u-boot-radxa-rk35xx 2025-02-10 20:18:21 +01:00
amazingfate
d048673c00 u-boot-radxa-rk35xx: bump to next-dev-v2024.10 2025-02-10 20:18:21 +01:00
Igor Pecovnik
ec2544e005 Bugfix: Remove directories from sha files 2025-02-10 20:17:25 +01:00
Martin Schmiedel
04873d47de MBa8MPxL-RAS314: fix firmware file in root folder
- wget and cp lead to remaining file in root
- use mv instead

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2025-02-10 20:16:48 +01:00
Martin Schmiedel
9f8f9f51ba IMX8: update patches to fix upstream changes
- while at it rewrite-uboot-patches

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2025-02-10 20:16:48 +01:00
dependabot[bot]
a875d1a78d build(deps): bump dtschema from 2024.11 to 2025.2
Bumps [dtschema](https://github.com/devicetree-org/dt-schema) from 2024.11 to 2025.2.
- [Release notes](https://github.com/devicetree-org/dt-schema/releases)
- [Commits](https://github.com/devicetree-org/dt-schema/compare/v2024.11...v2025.02)

---
updated-dependencies:
- dependency-name: dtschema
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 20:16:38 +01:00
Paolo Sabatino
c739c2589f rockchip64: disable pl330 patch due to pulseaudio issues 2025-02-10 09:28:55 +01:00
Igor Pecovnik
af131c02cd Meson: drop (long) broken legacy code which is also breaking CI 2025-02-10 08:10:04 +01:00
Thorsten Maerz
1716d6c1b6 build only CLI images 2025-02-10 08:09:40 +01:00
Maxim Medvedev
fe50e4a283 mkspi: do not build desktop images
There is not practival sense in Gnome for this kind of boards. Usually we use KlipperScreen or/and WEB UI.
2025-02-10 08:04:44 +01:00
igorpecovnik
31b3c5f752 Automatic board configs status synchronise 2025-02-10 08:03:22 +01:00
amazingfate
7faaf639fa extensions: fix outdated ghproxy mirror address 2025-02-10 07:51:22 +01:00
Werner
fc20fb8639 nanopi-r3s: set HAS_VIDEO_OUTPUT (#7810) 2025-02-10 05:47:20 +01:00
Ricardo Pardini
51b300ebdf armbian-kernel.sh: introduce KERNEL_BTF=no to opt-out of BTF/CO-RE type-info on low-RAM machines
- turns out `pahole` for `vmlinux` can take multiple gigabytes of RAM to run successfully
- I can't simply decide based on available RAM, as that would make .config hashes mismatch
- thus, introduce:
  - default is to enable BTF; if on low-ram host, error out unless KERNEL_BTF=yes is passed
  - if KERNEL_BTF=no is passed, the BTF debug info is always disabled
  - if KERNEL_BTF=yes is passed, then a warning is produced, but BTF is still enabled
- the magic number "6451 MiB" was determined empirically (and is probably bs)
2025-02-09 15:55:28 +01:00
qbisi
cb6f2fbef8 hinlink-h88k: add 5g modem enable and reset pin 2025-02-09 18:50:05 +08:00
qbisi
c3be0a4216 hinlink-h88k: fix usb dr_mode to host 2025-02-09 18:50:05 +08:00
Arend-Jan van Hilten
2f1fa5f40f Fix orangepi 3b audio jack download 'button' (#7794) 2025-02-08 23:11:35 +01:00
Igor Pecovnik
d96e0486b8 Show running Docker containers in the MOTD 2025-02-08 23:10:00 +01:00
Igor Pecovnik
287853f460 UX / cosmetics: MOTD ip display needs some limiting
- switch MOTD download to new central location https://github.armbian.com/
- move cronjob for MOTD download from weekly to daily
- change mord defaults, remove clear from defaults
2025-02-08 23:10:00 +01:00
Dominik Wójt
5b29f4dd4b meson: kernel update: legacy -> 6.6, current -> 6.12 (#7801)
* Add MXQ target. Copy HDMI fix from odroid-c1.
* meson8, MXQ: add boot from usb support, configurable dtb
* MXQ: remove boot logo
Built-in U-BOOT is used, so the logo will not be displayed anyway.
* meson: kernel update: legacy -> 6.6, current -> 6.12
* Change Odroid C1 and Onecloud to community supported as build now passes
---------
Co-authored-by: Igor Pecovnik <igor@armbian.com>
2025-02-08 23:08:34 +01:00
Dominik Wójt
880c8a9a22 MXQ: remove boot logo
Built-in U-BOOT is used, so the logo will not be displayed anyway.
2025-02-08 23:06:01 +01:00
Dominik Wójt
a6fc0ab328 meson8, MXQ: add boot from usb support, configurable dtb 2025-02-08 23:06:01 +01:00
Dominik Wójt
2bf71e2fda Add MXQ target. Copy HDMI fix from odroid-c1. 2025-02-08 23:06:01 +01:00
Julian Sikorski
222c875761 Update odroidxu4-current to 6.6.75 2025-02-08 19:38:57 +01:00
Thorsten Maerz
a8abed8d46 firstlogin: bring up wifi device before scanning
Scanning accesspoints requires an activated wifi device.
Networkd does not activate it (only NetworkManager does so).
As a result, firstlogin is not able to configure and use wifi on minimal
images, as only Server and Desktop images have NetworkManeger installed.
Activating the wifi device using "ip link set ${WIFI_DEVICE} up" before
scanning fixes this.
(And can safely be done - there is no problem activating it multiple
times, as it is the case with NetworkManager installed.)
2025-02-08 19:38:37 +01:00
Igor Pecovnik
2087a8b012 Revert commit that breaks compilation
This needs deeper anlysis and testing, so lets revert to known situation
2025-02-08 19:38:13 +01:00
schwar3kat
33ed899a38 Update rock-5c.conf - add KERNEL_TEST_TARGET
Add current to KERNEL_TARGET and add KERNEL_TEST_TARGET="vendor,current"
2025-02-08 12:09:16 +01:00
Paolo Sabatino
da577fe003 rockchip: fix ASUS Tinkerboard pulseaudio config 2025-02-07 22:08:34 +01:00
Igor Pecovnik
955de2627d IMX8: switch u-boot sources to last known working commit due to upstream changes 2025-02-07 13:32:59 +01:00
Patrick Yavitz
ca333b28c1 Amper Gateway AM-GZ80x: Delete old u-boot patches
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-06 11:36:34 -05:00
Patrick Yavitz
68e822d132 Amper Gateway AM-GZ80x: Update u-boot to v2025.01
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-06 11:36:34 -05:00
Patrick Yavitz
e54bcc45be BananaPi CM4/M2S: Delete old u-boot patches
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-06 09:06:19 -05:00
Patrick Yavitz
a835a5206c BananaPi CM4/M2S: Update u-boot to v2025.01
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-06 09:06:19 -05:00
Igor Pecovnik
a3dac432fc imx6: move current to 6.12.y
Tested with Udoo: https://paste.next.armbian.com/ojixapowaq
2025-02-05 19:44:33 +01:00
Paolo Sabatino
448418b9f3 rockchip/64: improvements to pl330 dma driver 2025-02-05 13:45:48 +01:00
Brent Roman
d1e2a111cb Rock-S0: enable automatic u-boot flashing upon package install 2025-02-05 07:31:25 +01:00
Igor Pecovnik
710f2cd369 Armbian-config sources lists - remove double quotes from EOT 2025-02-05 07:28:08 +01:00
Blieque Mariguan
3743daffa2 feat: Use deb822 APT source for armbian-config
- Replace creation of `armbian-config.list` with
  `armbian-config.sources`. This holds the same information in a newer
  format, deb822. This does not affect `armbian.list`.

See also: https://github.com/armbian/configng/pull/407
2025-02-04 18:49:52 +01:00
igorpecovnik
2d2a67c284 Automatic board configs status synchronise 2025-02-03 19:28:24 +01:00
Werner
a4a720bf24 Adjust BOARD_NAME and description of hw 2025-02-03 16:18:19 +01:00
EvilOlaf
acea78f5dc nanopi-r3s: bump edge u-boot to 2025.01
add support for `current`
2025-02-03 16:18:19 +01:00
Thorsten Maerz
6ade04d540 add devicetree for "edge" kernels 2025-02-03 16:17:54 +01:00
Thorsten Maerz
ffce6762be Clean up board config 2025-02-03 16:17:54 +01:00
Thorsten Maerz
0681dd2a0f change blue/user LED trigger from 'mmc1' to 'activity'
(mmc1 did not show any activity)
2025-02-03 16:17:54 +01:00
Thorsten Maerz
fa1168cc96 rename LEDs to reflect their actual colour 2025-02-03 16:17:54 +01:00
Thorsten Maerz
4fdeca5aab add overlay to enable v4l2 devices
Overlay for testing purposes:
Maybe it is possible to use hardware video-encoding on that chip.
2025-02-03 16:17:54 +01:00
Thorsten Maerz
ef8349799f disable unusable v4l2 devices
Removes /dev/video[012] and /dev/media[01]
2025-02-03 16:17:54 +01:00
Thorsten Maerz
e636bcf00e add overlay for enabling "end1" network adapter
Overlay for testing purposes:
There is a strange interaction between that ethernet adapter and the rtc
(it runs better -but still not well- with the ethernet adapter enabled).
2025-02-03 16:17:54 +01:00
Thorsten Maerz
12ce53a434 disable unusable "end1" network device
There are no physical ethernet ports on that board.
2025-02-03 16:17:54 +01:00
Thorsten Maerz
bcff028d16 Add pinctrl-rk805 module
Module pinctrl-rk805 required to detect rk805-gpio, required by gpio-leds.
2025-02-03 16:17:54 +01:00
Thorsten Maerz
8f2a468eb9 Add new board: MKSKLIPAD50 (based on MKSPI)
Contains rewritten dts, based on decompiled dtb from original Klipad50
(as similiar as possible to original).
Kernel defconfig taken from MKSPI (replaced "mkspi" with "mksklipad50")
2025-02-03 16:17:54 +01:00
Patrick Yavitz
5472424503 BananaPi BPI-F3: U-Boot: Update to tag k1-bl-v2.1-release
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-03 10:12:17 -05:00
amazingfate
b6e25d0cc3 mesa-vpu: only add kisak ppa for jammy 2025-02-03 13:36:38 +01:00
Igor Pecovnik
06802ceef5 Mesa VPU: allow package downgrading at apt upgrade
When packages are more recent or with identical version, function will errors out.
2025-02-03 08:08:42 +01:00
Patrick Yavitz
eb2258030c BananaPi BPI-F3: patch fail fixup
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-02 11:15:08 +01:00
Patrick Yavitz
e9f5a57173 Spacemit: defconfig: Remove CONFIG_MODULE_SIG=y
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-02 09:06:48 +01:00
Patrick Yavitz
aedc1ce5f9 BananaPi BPI-F3: Add "complete" DTS file
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-02 09:06:48 +01:00
Patrick Yavitz
4dda61280c SpacemiT: defconfig: Remove COMPILE_TEST
and enable misc bits

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-02-02 09:06:48 +01:00
Alban Browaeys
ebb6fb1bec helios64: fix helios64-heartbeat-led.service
While syncing with upstream Linux helios64 dts for 6.9 I missed
the diff for the helios64 status led label (upstream was
helios64:green:status instead of Armbian helios64::status) and
thus broke armbian helios64-heartbeat-led.service.

This commit restores the Armbian label helios64::status to let
helios64-heartbeat-led.service starts.

Fixes: cbaf67f00 ("Sync helios64 to its updated 6.9 dts")
Signed-off-by: Alban Browaeys <alban.browaeys@gmail.com>
2025-02-01 23:13:17 +01:00
Werner
5ca9a068d3 rock-3a: bump u-boot to 2025.01 2025-02-01 23:12:58 +01:00
Ricardo Pardini
592a29e08e nanopct6(-lts): if using mainline u-boot, let u-boot determine fdtfile 2025-02-01 23:12:45 +01:00
Ricardo Pardini
c3d987c338 nanopct6(-lts): bump u-boot to 2025.04-rc1
- this allows us to drop a bunch of code needed for 2025.01
- UMS works out of the box (simple dr_mode = peripheral change enough)
- USB3 Type-A port works out of the box
- SPI works out of the box
2025-02-01 23:12:45 +01:00
Igor Pecovnik
f8e3f1d679 Add missing package for build-in driver cfg80211
This makes:
W: Possible missing firmware /lib/firmware/regulatory.db for built-in driver cfg80211
W: Possible missing firmware /lib/firmware/regulatory.db.p7s for built-in driver cfg80211
go away.
2025-01-31 10:13:09 +01:00
amazingfate
2bc3d857ab sm8250-current: enable CONFIG_USB_SERIAL_CH341 2025-01-31 06:34:04 +01:00
Alban Browaeys
cce0f3f05d helios64: restore hs400 support after enabling strobe line internal pulldown
Since v5.11, Linux upstream commit 8b5c2b45b8f0 disabled the internal pull-down
for the strobe line explicitly instead of leaving it in its default
state (the opposite of Rockchip Kernel which force enable this intrnal
pulldown by default) thus causing I/O errors in HS400 mode for various
eMMC modules (the ones that did not have an external pulldown on the
strobe line likely).
Discussed upstream and the choice has been made to keep this
behavior as it has been there for too long and reverting might break
other boards http://lists.infradead.org/pipermail/linux-rockchip/2024-April/046416.html

HS400 for helios64 was disabled in commit 5f2e23e90
"Disabled hs400 on Helios64 (hopefully only temporarily) (#3126)"
but for 5.10.63 (ie before the above commit disabled internal pulldown).
Back then I had bisected the emmc I/O issue to a double init of the emmc
regulator introduced while adding deferred support to the regulator driver
core, ie commit 06653ebc0ad2 "regulator: core: resolve supply for boot-on/always-on regulators"
in 5.10.60. But due to the new default for the strobe line internal  pulldown
introduced in 5.11, when this double voltage regulator init issue was fixed likely by
8a866d527ac0 "regulator: core: Resolve supply name earlier to prevent double-init"
in Linux 6.1.
2025-01-30 19:06:51 +01:00
Muhammed Efe Cetin
fc6379e814 nanopi-m6: add edge and current kernel targets 2025-01-30 19:06:03 +01:00
Muhammed Efe Cetin
f49da1a964 rockchip64-6.12: add support for NanoPi M6 2025-01-30 19:06:03 +01:00
Muhammed Efe Cetin
def4dbca4a rockchip64-6.13: add support for NanoPi M6 2025-01-30 19:06:03 +01:00
Werner
529997182a Add support for NanoPi R3S (#7556)
* add nanopi-r3s.csc board config

* Nanopi R3S - add uboot patch

* Nanopi R3S - add dts

* fix bogus patch header

* Migrate to new patch series

Source & credits https://patchwork.ozlabs.org/project/uboot/list/?series=438193
I still need to figure out how to convert a patch series from patchwork in a way so the build framework doesn't complain about headers and magic and whatever. So a few hundreds of header lines have been replaced with something generic.

Applies and builds fine now against current stable v2024.10

* Create board-nanopi-r3s-fix-leds.patch

Thx https://github.com/armbian/build/pull/7556#issuecomment-2615110100

* Rename board-nanopi-r3s-fix-leds.patch to xx-board-nanopi-r3s-fix-leds.patch

* add new patch
2025-01-30 19:05:18 +01:00
jomadeto
940de79327 aml-c400-plus: Remove duplicated code present in meson-gx-p23x-q20x.dtsi 2025-01-30 19:04:23 +01:00
Martin Schmiedel
62e7bfcdf8 MBa8MPxL: cleanup fix X11 settings
- post_family_tweaks_bsp_ is called during the build of armbian-bsp-cli-xxx
- the cli package is built separately on the build server
- comparisons to build parameters such as DESKTOP_ENVIRONMENT do not work

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2025-01-30 19:04:12 +01:00
Lu jicong
f3ad742fa3 nanopc t4: fix sdram unstable
Set sdram frequency to 1600MHz and switch to blobless
2025-01-30 19:04:01 +01:00
Andrew Davis
4feebab2c7 K3: Update current kernel to v6.6 and edge kernel to v6.12 2025-01-30 19:03:48 +01:00
Andrew Davis
f98216d2c3 K3: Update to latest U-Boot v2025.01
Now that upstream U-Boot has support for building K3 boot artifacts
we can drop using the ti-u-boot fork. Switch to v2025.01 and
adjust file names and add new dependencies as needed.
2025-01-30 19:03:48 +01:00
Andrew Davis
f9b62ef712 K3: Update to latest ATF v2.12.0 2025-01-30 19:03:48 +01:00
Mecid Urganci
0cc738e3c2 Switch rkr4.1 to rkr5 2025-01-30 19:03:34 +01:00
Martin Schmiedel
cba2963b12 MBa8MPxL: cleanup board configs
- remove unused group periphery
- fix desktop related X11 settings
- harmonize BOARD_NAME

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2025-01-27 14:51:45 +01:00
Uladzimir Bely
12d6d070ba Limit curl execution time to 2s to find WAN IP
Option "--connect-timeout" used to determine external IP covers only
connection phase. Curl may "hans" in a different phase and this makes
login to the system impossible if MOTD "header" module enabled.

Using "--max-time" is more reliable and prevents hanging for hours.

Fixes issue https://github.com/armbian/build/issues/7753

Signed-off-by: Uladzimir Bely <wiselord1983@gmail.com>
2025-01-27 14:51:33 +01:00
Ricardo Pardini
9b822824bb thinkpad-x13s: arm64-sc8280xp: enable RTW88 in-kernel USB drivers 2025-01-26 09:20:30 +01:00
Ricardo Pardini
f196e28273 thinkpad-x13s: bump to jhovold's wip/sc8280xp-6.13 final 2025-01-26 09:20:30 +01:00
Igor Pecovnik
cafe0ff79f Rockpi-S: enable automatic u-boot flashing upon package install 2025-01-26 09:20:19 +01:00
Nicolas Pereira
0041cc70db h96max-v56: u-boot: bump to 2025.01 2025-01-25 20:10:22 +01:00
JohnTheCoolingFan
e0da4a6ace BigTreeTech CB1 dts adjustments (edge 6.12) 2025-01-25 21:56:09 +03:00
JohnTheCoolingFan
a220a38ce0 BigTreeTech CB1 dts adjustments (current 6.6) 2025-01-25 21:56:09 +03:00
JohnTheCoolingFan
3be9761a86 BigTreeTech TSC2007 touchscreen ghost touches patch update for edge (6.12) 2025-01-25 21:56:09 +03:00
JohnTheCoolingFan
d92d484e3f BigTreeTech TSC2007 touchscreen ghost touches patch update for current (6.6) 2025-01-25 21:56:09 +03:00
JohnTheCoolingFan
5610f20aaa BigTreeTech CB1 patch name fix 2025-01-25 21:56:09 +03:00
igorpecovnik
fbd8c8e4c9 Automatic board configs status synchronise 2025-01-24 19:21:17 +01:00
FantasyGmm
2d00d09615 Update Odin2 Config 2025-01-24 18:50:46 +01:00
Igor Pecovnik
9e48c3993c Ubuntu Plucky: fixing remaining problems
- detach from Noble, revert Noble changes
2025-01-24 08:31:09 +01:00
Ricardo Pardini
f3726b6701 nanopi-r6c: u-boot: bump to 2025.01 final, with working UMS and SD -> NVMe -> eMMC boot order
- also LEDs, networking, more supported compression methods...
- copypasta reigns supreme. refactor is coming, just not today
- also hack the u-boot dtsi for consistent-with-Linux-mainline-DT mmc/sd numbering
2025-01-23 23:33:00 +01:00
Ricardo Pardini
7951c045e6 nanopi-r6c: enable usage with EXT=uefi-edk2-rk3588 2025-01-23 23:33:00 +01:00
Ricardo Pardini
919ccfc227 nanopi-r6s: u-boot: bump to 2025.01 final, with working UMS and SD -> NVMe -> eMMC boot order
- also LEDs, networking, more supported compression methods...
- copypasta reigns supreme. refactor is coming, just not today
- also hack the u-boot dtsi for consistent-with-Linux-mainline-DT mmc/sd numbering
  - this was previously a separate patch in 2024.10
2025-01-23 23:32:46 +01:00
Igor Pecovnik
b349229716 Ubuntu Plucky: disable missing packages 2025-01-23 23:29:32 +01:00
Igor Pecovnik
1477b478c5 Add upstream release as csc target: Ubuntu plucky 25.04 2025-01-23 18:30:49 +01:00
jpy794
9e455733bd fix native ethernet on nanopi-r4se standard edition without EEPROM 2025-01-23 18:30:12 +01:00
Lane Jennison
de97c74ae5 disable ccache in a friendly way 2025-01-23 15:12:27 +03:00
amazingfate
d4b5c30e09 wifi drivers: update commit id of rtl8811cu and rtl88x2bu 2025-01-22 10:01:37 +01:00
amazingfate
1f92b07c38 wireless: fix build with kernel 6.13 2025-01-21 19:35:49 +01:00
igorpecovnik
d1e8825900 Automatic board configs status synchronise 2025-01-21 14:11:57 +01:00
dependabot[bot]
2dd5fc1d57 build(deps): bump setuptools from 75.7.0 to 75.8.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 75.7.0 to 75.8.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v75.7.0...v75.8.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-21 13:30:31 +01:00
github-actions[bot]
7ea4cb3b8d tools: Bump BATCAT_VERSION from 0.24.0 to 0.25.0 (#7706) 2025-01-21 13:28:56 +01:00
igorpecovnik
1557c9fcf0 tools: Bump ORAS_VERSION from 1.2.1 to 1.2.2 2025-01-21 13:28:08 +01:00
Ricardo Pardini
ee4039e910 meson64: edge .config update to 6.13
- `CONFIG_REISERFS` is no more
- `CONFIG_CFG80211` required to keep wireless working (done via hooks)
2025-01-21 13:27:54 +01:00
Ricardo Pardini
a6f1879bd0 meson64: copy .config edge -> current to match 6.6 -> 6.12 2025-01-21 13:27:54 +01:00
Ricardo Pardini
93bfb5149e meson64-6.12: rebase patches against 6.12.10 2025-01-21 13:27:54 +01:00
Ricardo Pardini
c814ed2256 meson64-6.13: rebase against 6.13-rc7 2025-01-21 13:27:54 +01:00
Ricardo Pardini
51f111f171 meson64-6.13: prepare new edge by copying 6.12 (current) 2025-01-21 13:27:54 +01:00
Ricardo Pardini
16fd47f7ca meson64: drop old patch directories for 6.1 and 6.6 2025-01-21 13:27:54 +01:00
Ricardo Pardini
452eb0cfcd meson64: current 6.6 -> 6.12; edge 6.12 -> 6.13
- `legacy` doesn't exist for a long while now
2025-01-21 13:27:54 +01:00
Koichi Murase
1fdd801908 actions(update-tools): avoid notifying our outdated deps everywhere
In the current main branch, workflow update-tools includes the content
of the upstream release notes in the created GitHub Issue.  This
triggers a notification to every upstream contributor mentioned in the
release note.  This also creates a cross-reference link to our GitHub
Issue (reporting that our dependency is not up-to-date) in every
upstream issue and pull request.  The information that we need to
update our dependency is not relavant to the upstream contributors,
issues, and pull requests at all.  We should avoid this situation.

In the first place, we do not need to include a copy of the upstream
release note.  We can just put a link to the upstream release note.
Currently, we anyway hide the content in the <details> tag and require
the reader to press the button.  The user experience is not so
different from pressing a link and visiting the upstream release note.
2025-01-21 13:26:44 +01:00
Ricardo Pardini
f21e700dc6 git: squash spurious warning when checking safe.directory 2025-01-21 13:25:36 +01:00
Ricardo Pardini
9469ce330d uefi-arm64-6.13: fix Phytium ACPI glue patch
- seems upstream has gone `remove` -> `remove_new` and back to `remove` now
2025-01-21 13:25:23 +01:00
Ricardo Pardini
209eee9046 thinkpad-x13s: bump to 6.13-rc7 (jhovold has not released 6.13 final yet) 2025-01-21 13:25:23 +01:00
Ricardo Pardini
0595a36301 rockchip64-6.13: rebase patches against 6.13 final 2025-01-21 13:25:23 +01:00
Ricardo Pardini
3215436aab uefi-arm64-6.13: rebase against 6.13 final 2025-01-21 13:25:23 +01:00
Ricardo Pardini
c9c66a16ff mainline-kernel.conf.sh: bump 6.13 to final 2025-01-21 13:25:23 +01:00
Ricardo Pardini
1a622e5fa7 rockchip64-6.13: rebase patches against 6.13-rc7 2025-01-21 13:25:23 +01:00
Ricardo Pardini
b86cc380e5 rockchip64-6.13: drop upstreamed patches in 6.13-rc7 2025-01-21 13:25:23 +01:00
Ricardo Pardini
4d480a4573 mainline-kernel.conf.sh: bump 6.13 to -rc7 2025-01-21 13:25:23 +01:00
Ricardo Pardini
a1da8359e8 uefi-arm64-6.13: rebase against 6.13-rc5 2025-01-21 13:25:23 +01:00
Ricardo Pardini
46cd1b7c30 uefi-arm64-6.13: prepare new edge via copy from 6.12 (current)
- Fixes dc558d7c01 which forgot the patches
2025-01-21 13:25:23 +01:00
Ricardo Pardini
2f2c81744a kernel: call oldconfig _after_ kernel config hooks; add hook for CONFIG_CFG80211=m and CONFIG_MAC80211=m on 6.13+
- we need to run the hooks _before_ running oldconfig, otherwise it is too late
- drop `kernel_config_check_and_repair()` since it won't ever detect anything now
2025-01-21 13:25:11 +01:00
amazingfate
611746bfc2 Revert "armbian-kernel: skip enabling BTF for rk35xx vendor kernel"
This reverts commit b17e9e5db1.
2025-01-21 13:24:58 +01:00
amazingfate
5106212f6d Revert "rk35xx-vendor: disable CONFIG_DEBUG_INFO_BTF"
This reverts commit e5b5e113cd.
2025-01-21 13:24:58 +01:00
Igor Pecovnik
5a5f269254 Moving Odroid C1 and OneCloud to EOS since kernel is not assembling anymore 2025-01-21 13:24:35 +01:00
Andy Yan
d02aa5394c coolpi-genbook: bump u-boot to 2025.01
Signed-off-by: Andy Yan <andyshrk@163.com>
2025-01-21 13:24:23 +01:00
amazingfate
67c56e05b9 meson: remove tag defined in KERNELBRANCH for 6.6 mainline kernel 2025-01-20 14:23:44 +01:00
Igor
4e33412ec2 Refactor armbian-config into install as external package (#7716)
* Refactor armbian-config into install as external package

- https://github.armbian.com/configng repository is always present
- package can still be removed from the install list

Since this tool will have deeper integration with Armbian, we should probably drop possibility to remove the tool from the list.

* Enable armbian-config as extension
2025-01-20 14:23:28 +01:00
Igor Pecovnik
12046a044a Macchiatobin: move board to eos so we don't build this family kernel anymore 2025-01-19 21:53:55 +01:00
Igor Pecovnik
f8e1b443f1 3rd party wifi: partially revert rtl8811cu driver as it breaks on K6.6 2025-01-19 21:49:41 +01:00
dependabot[bot]
3edb905b71 build(deps): bump actions/upload-artifact from 4.5.0 to 4.6.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](6f51ac03b9...65c4c4a1dd)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-19 20:23:06 +01:00
Martin Schmiedel
a4ed40bc6a MBa8MPxL: update linux-tqma-current to 6.12
Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2025-01-19 20:22:42 +01:00
amazingfate
6cca6d421e add KERNEL_TEST_TARGET=current to hinlink h6xk boards 2025-01-19 20:22:29 +01:00
amazingfate
0f8f5d14c5 enable current kernel for hinlink-h6xk boards 2025-01-19 20:22:29 +01:00
The-going
eada6f7c49 sunxi-6.6: Swith to v6.6.72 2025-01-19 20:22:11 +01:00
The-going
8a56a468f6 sunxi-6.6: Remove unnecessary, move the checked ones to the armbian series.
Remove unnecessary patch fixes, and also move the time-tested patch
to the armbian series as permanently supported.
2025-01-19 20:22:11 +01:00
The-going
85d1fd1358 sunxi-6.6: armbian patches: revert commit changes e103e2e1da
Undo changes that are made massively and create a lot of noise.
e103e2e1da
2025-01-19 20:22:11 +01:00
The-going
72bf641075 sunxi-6.6: fixes patches: revert commit changes e103e2e1da
Undo changes that are made massively and create a lot of noise.
e103e2e1da
2025-01-19 20:22:11 +01:00
The-going
25b0741531 sunxi-6.6: megous patches: revert commit changes e103e2e1da
Undo changes that are made massively and create a lot of noise.
e103e2e1da
2025-01-19 20:22:11 +01:00
Igor Pecovnik
dc558d7c01 UEFI kernels, legacy = 6.6, current & edge 6.13 2025-01-19 20:21:52 +01:00
Igor Pecovnik
3a25ae9d8f Family Visionfive: seems unmaintained, disabling targets 2025-01-19 20:21:34 +01:00
Ricardo Pardini
c469eeba7a hooks: introduce post_armbian_repo_customize_image and post_repo_customize_image
- `post_repo_customize_image`: runs after repos have been enabled
- `post_armbian_repo_customize_image`: same, but only if Armbian repo is enabled
- both run after apt update, so packages can be directly installed from repos
2025-01-19 20:21:11 +01:00
SuperKali
5014f05a0e Bump uboot to youyeetoo r1 v3 to the next release 2025-01-19 20:21:01 +01:00
Lane Jennison
53832cf54a use RK3568 phy fix from mailing list 2025-01-19 20:20:51 +01:00
Patrick Yavitz
895b8fcc77 BananaPI BPI-F3: Pull branch instead of commit
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-19 20:20:39 +01:00
amazingfate
09dc5b0d9d dockerproxy: update GHCR_MIRROR_ADDRESS 2025-01-17 16:35:28 +03:00
amazingfate
f4457a3df5 ghproxy: update GHPROXY_ADDRESS to ghfast.top 2025-01-15 11:36:45 +08:00
amazingfate
e5b5e113cd rk35xx-vendor: disable CONFIG_DEBUG_INFO_BTF 2025-01-14 19:43:44 +08:00
amazingfate
b17e9e5db1 armbian-kernel: skip enabling BTF for rk35xx vendor kernel
fix minor typo by @EvilOlaf
2025-01-14 19:43:44 +08:00
Viacheslav Bocharov
245c74acbb update rtl8822cs driver link to latest commit (update for kernel 6.13+)
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2025-01-14 12:10:07 +03:00
Igor Pecovnik
bb02c3b951 Firstlogin: run provision script if it does exists
- fixing motd setting executing bit at wrong place
- when setting fixed address with 1st run, remove DHCP on all lan networks
2025-01-12 20:52:08 +01:00
Patrick Yavitz
a09e8b866f RaspberryPi BCM2711: Enable FW_LOADER_COMPRESS support
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-12 08:28:59 -05:00
Igor Pecovnik
dfe55bce0b UEFI: bugfix generation EFI partition 2025-01-11 21:52:15 +01:00
The-going
7dad5e8b1b sunxi-6.6: Switch to v6.6.70 2025-01-11 21:51:26 +01:00
The-going
3abe05fe08 sunxi-6.6: Re-extract all patches to v6.6.70 2025-01-11 21:51:26 +01:00
The-going
3ae44e39d0 sunxi-6.12: Switch to v6.12.9 2025-01-11 21:50:16 +01:00
The-going
2d6b2e3338 sunxi-6.12: Re-extract armbian patches to v6.12.9 2025-01-11 21:50:16 +01:00
The-going
b97cd4a3a1 sunxi-6.12: Re-extract megous patches to v6.12.9 2025-01-11 21:50:16 +01:00
Ricardo Pardini
60d397e114 rockchip64-6.13: NanoPi R6C/R6S SD card detect patch
- from https://lore.kernel.org/linux-rockchip/20241219113145.483205-1-anton.kirilov@arm.com/T/#u
- also https://lore.kernel.org/linux-rockchip/20241219112532.482891-1-anton.kirilov@arm.com/T/#u (USB3) was already done by Efe
2025-01-11 21:48:59 +01:00
Ricardo Pardini
92ed088b6b odroidm1: u-boot: bump to 2025.01
- convert patches to bash append/sed
- split post_family_tweaks hook for gmac rename / fwenv config
2025-01-11 21:48:45 +01:00
Ricardo Pardini
87a38d8e33 rockchip64-6.13: rk3568-odroid-m1: add nodes for i2c/pwm/spi/uart overlays
- we used to have a bare-dt for odroid-m1 that got removed as it landed upstream
- but mainline doesn't have the nodes we use for the overlays
- at least i2c3 (which is aliased to i2c0) and uart1 breaks without them
2025-01-11 21:48:45 +01:00
Ricardo Pardini
6dfea55c18 rockchip64-6.12: rk3568-odroid-m1: add nodes for i2c/pwm/spi/uart overlays
- we used to have a bare-dt for odroid-m1 that got removed as it landed upstream
- but mainline doesn't have the nodes we use for the overlays
- at least i2c3 (which is aliased to i2c0) and uart1 breaks without them
2025-01-11 21:48:45 +01:00
Ricardo Pardini
cea131a296 rockpro64: u-boot: bump to 2025.01
- convert patch to bash append
- boot order SD -> NVMe/SATA/USB -> eMMC via sed
- also, (bump) ATF to rockchip64_common default
2025-01-11 21:48:34 +01:00
Ricardo Pardini
9e05dd1353 rockchip64-6.13: rockpro64: de-Archeology patches, no changes 2025-01-11 21:48:34 +01:00
amazingfate
7ecf10cd91 rockchip64: fix rkvenc dtbo build 2025-01-11 21:48:22 +01:00
Patrick Yavitz
24bf1fb1f4 BananaPi BPI-F3: Update to linux-6.6.70 & overclock to 1.8GHz
Run at max freq:
echo "1" > /sys/devices/system/cpu/cpufreq/boost

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-09 13:39:40 -05:00
Igor Pecovnik
2be9ed91f5 UEFI-arm64: disable broken Phytium network driver patch 2025-01-09 18:39:27 +01:00
Igor Pecovnik
ffd1a42d7a AIC wifi and v4l2 extensions: disable them for kernel 6.12 and higher until we have a solution 2025-01-08 13:18:01 +01:00
Igor Pecovnik
5cc3e2e872 Fix handling loop devices 2025-01-08 13:17:47 +01:00
Andrew Davis
ef0a4a3d55 K3: Use sfdisk instead of parted for setting flag in boot partition
The latest 'parted' package that is shipped with Ubuntu noble does not
allow to set the 'lba' flag on MBR/DOS partitions and fails with an
error. Use 'sfdisk' instead for the same.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
2025-01-08 13:17:14 +01:00
Patrick Yavitz
35ec913d00 BananaPi BPI-M4-Zero: U-Boot: Reflect kernel DTS changes
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-08 07:15:24 -05:00
Patrick Yavitz
8e8cb15035 BananaPi BPI-M4-Zero: REV1 uart1 support via overlay
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-08 07:15:24 -05:00
Igor Pecovnik
9ce005ff2a PocketChip: removing patch also from series
https://github.com/armbian/build/pull/7647
2025-01-07 17:18:14 +01:00
amazingfate
00529b9a6f xiaomi-elish: fix bsp package build 2025-01-07 17:17:52 +01:00
Arend-Jan van Hilten
eb8d632138 Orange pi zero usb otg patch fix unidiff warning 2025-01-07 13:07:29 +01:00
Your Name
eabb628155 Fix usb otg after 6.12 update 2025-01-07 13:07:29 +01:00
Ricardo Pardini
d02d3c69ee cm3588-nas: u-boot: bump to 2025.01 final 2025-01-07 13:07:18 +01:00
Ricardo Pardini
9fc4efafd6 nanopct6(-lts): u-boot: edge: boot order SD -> NVMe -> eMMC 2025-01-07 13:07:10 +01:00
Ricardo Pardini
43b295e8fd nanopct6(-lts): u-boot: edge: bump to 2025.01 final 2025-01-07 13:07:10 +01:00
Ricardo Pardini
391007ae9a nanopct6(-lts): u-boot: edge: fix for pulling devicetree-rebasing using git
- otherwise git breaks when unconfigured
2025-01-07 13:07:10 +01:00
igorpecovnik
db2a996606 Automatic board configs status synchronise 2025-01-07 11:25:06 +01:00
Ricardo Pardini
04df614e86 cm3588-nas: u-boot: boot SD card first, then NVMe, then mmc
- sans-patches, `sed` and bash arrays ftw
2025-01-07 10:14:21 +01:00
Ricardo Pardini
223a14b534 cm3588-nas: enable usage with EXT=uefi-edk2-rk3588
- cm3588-nas was introduced in v0.12 of edk2-porting/edk2-rk3588
2025-01-07 10:14:21 +01:00
Ricardo Pardini
dc9a8f6d6c cm3588-nas: u-boot: 2025.01-rc6 with working UMS
- once done for t6, let the copypasta reign
- bunch of fancy stuff enabled in u-boot
2025-01-07 10:14:21 +01:00
TheSnowfield
968d1d1e77 sunxi-6.6: pocketchip kernel patches 2025-01-07 10:13:43 +01:00
TheSnowfield
818e04dd72 add pocketchip u-boot patches 2025-01-07 10:13:43 +01:00
TheSnowfield
9af709fa87 sunxi: enable TCA8418 keyboard support 2025-01-07 10:13:43 +01:00
TheSnowfield
54f6d82890 rename PocketChip to PocketChipSD for identifing 2025-01-07 10:13:43 +01:00
Muhammed Efe Cetin
b73c6e4697 nanopi-m6: add support for SPI flash boot
Add support for both eMMC/SPI boot
2025-01-07 10:13:28 +01:00
Aaron Dewes
5b293b8956 RPi CM5: Enable DWC2 host mode support by default
This makes USB work in host mode by default on more boards. It is already the default on RPi OS: ca5eb625d8
2025-01-07 10:13:13 +01:00
Ricardo Pardini
e97ed0177f nanopct6(-lts): edge: u-boot: pull upstream/dts v6.13-rc5-dts for USB3 Type-A
- to enable USB3 Type-A host port (
  - ref a6ae420439
2025-01-07 10:13:00 +01:00
Ricardo Pardini
59a40401c7 nanopct6(-lts): edge: u-boot: note that Kwiboo already sent a fix upstream ref the LTS dtsi 2025-01-07 10:13:00 +01:00
Ricardo Pardini
9ab8cd9613 nanopct6(-lts): edge: bump u-boot to 2025.01-rc6; enable UMS and fix non-LTS dtsi 2025-01-07 10:13:00 +01:00
amazingfate
9358fe75e9 image-output-abl: build boot recovery image 2025-01-07 10:12:50 +01:00
amazingfate
b0b01407ad sm8250: add dropbear and usb gadget network into initramfs 2025-01-07 10:12:50 +01:00
amazingfate
90e8f74515 usbgaget-network: toggle to NCM and run inside initramfs
NCM has advantages over RNDIS and postmarketOS has toggled
to it 2 years ago. And I have tested it can work with common
linux and window10.

I also made some changes to let this script run inside intramfs.
And the systemd service can run well after rootfs is loaded.
2025-01-07 10:12:50 +01:00
dependabot[bot]
7484874654 Bump gitpython from 3.1.43 to 3.1.44
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.43 to 3.1.44.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.43...3.1.44)

---
updated-dependencies:
- dependency-name: gitpython
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-07 10:12:37 +01:00
dependabot[bot]
adcee5b7e1 Bump setuptools from 75.6.0 to 75.7.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 75.6.0 to 75.7.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v75.6.0...v75.7.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-07 10:12:26 +01:00
Thomas McKahan
877b5bf385 Add Sweet Potato to xorg conf in family config 2025-01-07 10:12:15 +01:00
2317 changed files with 356808 additions and 37321 deletions

164
.github/CODEOWNERS vendored
View File

@@ -17,23 +17,29 @@ tools/ @iav @neheb @hzyitc @mhoffrog
# The following contents are generated by board configs
config/boards/aml-a311d-cc.conf @Tonymac32
config/boards/aml-c400-plus.tvb @jomadeto
config/boards/aml-c400-plus.conf @jomadeto
config/boards/aml-s905d3-cc.wip @Tonymac32
config/boards/aml-s9xx-box.tvb @SteeManMI
config/boards/armsom-sige1.csc @amazingfate
config/boards/armsom-sige3.csc @amazingfate
config/boards/avaota-a1.csc @chainsx
config/boards/ayn-odin2.eos @FantasyGmm
config/boards/ayn-odin2.csc @FantasyGmm
config/boards/bananapi.conf @DylanHP @janprunk
config/boards/bananapicm4io.conf @pyavitz
config/boards/bananapif3.conf @pyavitz
config/boards/bananapim2plus.csc @leggewie
config/boards/bananapim2pro.conf @igorpecovnik
config/boards/bananapim2s.conf @jeanrhum @pyavitz
config/boards/bananapim2zero.csc @mhawkins-consultant
config/boards/bananapim3.csc @AaronNGray
config/boards/bananapim4berry.wip @The-going
config/boards/bananapim4zero.conf @pyavitz
config/boards/bananapim5.conf @igorpecovnik
config/boards/bananapim64.csc @devdotnetorg
config/boards/bananapim7.conf @amazingfate
config/boards/beaglebone-ai64.conf @Grippy98
config/boards/beagleplay.conf @Grippy98
config/boards/beagley-ai.csc @Grippy98
config/boards/bigtreetech-cb1.conf @JohnTheCoolingFan
config/boards/bigtreetech-cb2.conf @JohnTheCoolingFan
config/boards/cherryba-m1.csc @IsMrX
@@ -75,6 +81,7 @@ config/boards/mekotronics-r58-minipc.csc @monkaBlyat
config/boards/mekotronics-r58x-4g.csc @monkaBlyat
config/boards/mekotronics-r58x.csc @monkaBlyat
config/boards/mixtile-blade3.csc @rpardini
config/boards/mksklipad50.conf @torte71
config/boards/mkspi.csc @redrathnure
config/boards/nanopct6-lts.conf @SuperKali @Tonymac32
config/boards/nanopct6.conf @SuperKali @Tonymac32
@@ -95,10 +102,11 @@ config/boards/odroidc2.conf @teknoid
config/boards/odroidc4.conf @igorpecovnik
config/boards/odroidhc4.conf @igorpecovnik
config/boards/odroidm1.conf @rpardini
config/boards/odroidm2.csc @mlegenovic
config/boards/odroidn2.conf @NicoD-SBC
config/boards/odroidxu4.conf @joekhoobyar
config/boards/olimex-teres-a64.csc @Kreyren
config/boards/onecloud.conf @hzyitc
config/boards/onecloud.csc @hzyitc
config/boards/oneplus-kebab.conf @amazingfate
config/boards/orangepi4-lts.conf @paolosabatino
config/boards/orangepi4.csc @paolosabatino
@@ -114,7 +122,8 @@ config/boards/orangepizeroplus.csc @schwar3kat
config/boards/phytiumpi.conf @chainsx
config/boards/pine64.conf @PanderMusubi
config/boards/pinebook-pro.csc @TRSx80 @ahoneybun
config/boards/pocketchip.csc @TheSnowfield
config/boards/pocketbeagle2.csc @Grippy98
config/boards/pocketchip-sd.csc @TheSnowfield
config/boards/qemu-uboot-arm64.csc @rpardini
config/boards/qemu-uboot-x86.csc @rpardini
config/boards/qemu-uefi-x86.conf @davidandreoletti
@@ -128,14 +137,17 @@ config/boards/renegade.conf @Tonymac32
config/boards/retro-lite-cm5.csc @ginkage
config/boards/rk3318-box.tvb @paolosabatino
config/boards/rk3328-heltec.csc @sicXnull
config/boards/rock-2a.csc @CodeChenL
config/boards/rock-2f.csc @CodeChenL
config/boards/rock-3a.conf @ZazaBR @amazingfate @catalinii @vamzii
config/boards/rock-5-itx.conf @amazingfate @prahal
config/boards/rock-5a.conf @amazingfate
config/boards/rock-5b-plus.conf @HeyMeco @fridtjof
config/boards/rock-5b.conf @amazingfate @linhz0hz
config/boards/rock-5c.conf @schwar3kat
config/boards/rock-5t.conf @HeyMeco
config/boards/rock-s0.conf @brentr
config/boards/rock64.csc @clee
config/boards/rock64.conf @clee
config/boards/rockpi-4a.csc @clee
config/boards/rockpi-e.conf @paolosabatino
config/boards/rockpi-s.conf @brentr
@@ -145,6 +157,7 @@ config/boards/sakurapi-rk3308b.csc @TheSnowfield
config/boards/sk-am62b.conf @glneo
config/boards/sk-am64b.conf @glneo
config/boards/sk-am68.conf @glneo
config/boards/sk-am69.conf @glneo
config/boards/sk-tda4vm.conf @glneo
config/boards/station-m1.csc @150balbes
config/boards/station-m3.csc @chainsx
@@ -160,64 +173,139 @@ config/boards/wsl2-x86.csc @rpardini
config/boards/x96-mate.tvb @Ressetkk
config/boards/x96q.tvb @sicXnull
config/boards/xiaomi-elish.conf @amazingfate
config/boards/xiaomi-umi.eos @FantasyGmm
config/boards/youyeetoo-r1-v3.csc @SuperKali
config/kernel/linux-arm64-*.config @FantasyGmm
config/boards/yy3568.csc @hqnicolas
config/kernel/linux-arm64-*.config @PeterChrz @rpardini
config/kernel/linux-bcm2711-*.config @PanderMusubi @teknoid
config/kernel/linux-imx8m-*.config @schmiedelm
config/kernel/linux-k3-*.config @glneo
config/kernel/linux-k3-*.config @Grippy98 @glneo
config/kernel/linux-k3-beagle-*.config @Grippy98
config/kernel/linux-meson-*.config @hzyitc @juanlufont
config/kernel/linux-meson-s4t7-*.config @adeepn @rpardini @viraniac
config/kernel/linux-meson64-*.config @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee @engineer-80 @igorpecovnik @jeanrhum @jomadeto @monkaBlyat @pyavitz @rpardini @teknoid
config/kernel/linux-mvebu-*.config @Heisath
config/kernel/linux-odroidxu4-*.config @joekhoobyar
config/kernel/linux-phytium-embedded-*.config @chainsx
config/kernel/linux-rk35xx-*.config @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
config/kernel/linux-rk35xx-*.config @CodeChenL @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
config/kernel/linux-rockchip-*.config @paolosabatino
config/kernel/linux-rockchip64-*.config @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @Manouchehri @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @paolosabatino @prahal @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @utlark @vamzii
config/kernel/linux-sm8250-*.config @FantasyGmm @amazingfate
config/kernel/linux-rockchip64-*.config @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @Manouchehri @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
config/kernel/linux-sm8250-*.config @amazingfate
config/kernel/linux-sm8550-*.config @FantasyGmm
config/kernel/linux-spacemit-*.config @pyavitz
config/kernel/linux-sun55iw3-syterkit-*.config @chainsx
config/kernel/linux-sunxi-*.config @1ubuntuuser @AaronNGray @DylanHP @Janmcha @StephenGraf @TheSnowfield @Tonymac32 @janprunk @lbmendes @mhawkins-consultant @sgjava @spendist
config/kernel/linux-sunxi64-*.config @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @spendist @teknoid
config/kernel/linux-sunxi-*.config @1ubuntuuser @AaronNGray @DylanHP @Janmcha @StephenGraf @TheSnowfield @Tonymac32 @janprunk @lbmendes @leggewie @mhawkins-consultant @sgjava @spendist
config/kernel/linux-sunxi64-*.config @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @The-going @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @spendist @teknoid
config/kernel/linux-thead-*.config @chainsx
config/kernel/linux-uefi-arm64-*.config @PeterChrz @rpardini
config/kernel/linux-tqma-*.config @schmiedelm
config/kernel/linux-uefi-arm64-*.config @rpardini
config/kernel/linux-uefi-x86-*.config @davidandreoletti @rpardini
config/kernel/linux-wsl2-arm64-*.config @rpardini
config/kernel/linux-wsl2-x86-*.config @rpardini
patch/atf/atf-arm64/ @PeterChrz @rpardini
patch/atf/atf-bcm2711/ @PanderMusubi @teknoid
patch/atf/atf-imx8m/ @schmiedelm
patch/atf/atf-k3-beagle/ @Grippy98
patch/atf/atf-k3/ @Grippy98 @glneo
patch/atf/atf-phytium-embedded/ @chainsx
patch/atf/atf-rockchip64/ @ColorfulRhino @TRSx80 @ahoneybun @andyshrk @clee @joekhoobyar @paolosabatino @prahal
patch/atf/atf-sm8250/ @amazingfate
patch/atf/atf-sm8550/ @FantasyGmm
patch/atf/atf-spacemit/ @pyavitz
patch/atf/atf-sun55iw3-syterkit/ @chainsx
patch/atf/atf-sunxi64/ @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @The-going @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @spendist @teknoid
patch/atf/atf-wsl2-arm64/ @rpardini
patch/kernel/archive/bcm2711-*/ @PanderMusubi @teknoid
patch/kernel/archive/imx8m-*/ @schmiedelm
patch/kernel/archive/k3-*/ @Grippy98 @glneo
patch/kernel/archive/k3-beagle-*/ @Grippy98
patch/kernel/archive/meson-*/ @hzyitc @juanlufont
patch/kernel/archive/meson-s4t7-*/ @adeepn @rpardini @viraniac
patch/kernel/archive/meson64-*/ @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee @engineer-80 @igorpecovnik @jeanrhum @jomadeto @monkaBlyat @pyavitz @rpardini @teknoid
patch/kernel/archive/mvebu-*/ @Heisath
patch/kernel/archive/odroidxu4-*/ @joekhoobyar
patch/kernel/archive/sunxi-*/ @1ubuntuuser @AGM1968 @AaronNGray @DylanHP @IsMrX @Janmcha @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @StephenGraf @TheSnowfield @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @janprunk @krachlatte @lbmendes @mhawkins-consultant @pyavitz @schwar3kat @sgjava @sicXnull @spendist @teknoid
patch/kernel/archive/rockchip-*/ @paolosabatino
patch/kernel/archive/rockchip64-*/ @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @Manouchehri @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
patch/kernel/archive/sm8250-*/ @amazingfate
patch/kernel/archive/sm8550-*/ @FantasyGmm
patch/kernel/archive/spacemit-*/ @pyavitz
patch/kernel/archive/sunxi-*/ @1ubuntuuser @AGM1968 @AaronNGray @DylanHP @IsMrX @Janmcha @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @StephenGraf @The-going @TheSnowfield @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @janprunk @krachlatte @lbmendes @leggewie @mhawkins-consultant @pyavitz @schwar3kat @sgjava @sicXnull @spendist @teknoid
patch/kernel/archive/uefi-arm64-*/ @PeterChrz @rpardini
patch/kernel/archive/uefi-x86-*/ @davidandreoletti @rpardini
patch/kernel/bcm2711-*/ @PanderMusubi @teknoid
patch/kernel/imx8m-*/ @schmiedelm
patch/kernel/k3-*/ @glneo
patch/kernel/meson-*/ @hzyitc @juanlufont
patch/kernel/meson64-*/ @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee @engineer-80 @igorpecovnik @jeanrhum @jomadeto @monkaBlyat @pyavitz @rpardini @teknoid
patch/kernel/mvebu-*/ @Heisath
patch/kernel/odroidxu4-*/ @joekhoobyar
patch/kernel/archive/wsl2-arm64-*/ @rpardini
patch/kernel/archive/wsl2-x86-*/ @rpardini
patch/kernel/phytium-embedded-*/ @chainsx
patch/kernel/rk35xx-vendor-*/ @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
patch/kernel/rockchip-*/ @paolosabatino
patch/kernel/rockchip64-*/ @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @Manouchehri @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @paolosabatino @prahal @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @utlark @vamzii
patch/kernel/sm8250-*/ @FantasyGmm @amazingfate
patch/kernel/sm8550-*/ @FantasyGmm
patch/kernel/rk35xx-vendor-*/ @CodeChenL @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
patch/kernel/sun55iw3-syterkit-*/ @chainsx
patch/kernel/thead-*/ @chainsx
sources/families/arm64.conf @FantasyGmm @PeterChrz @rpardini
patch/kernel/wsl2-arm64-*/ @rpardini
patch/u-boot/legacy/ @chainsx @joekhoobyar @juanlufont @lanefu
patch/u-boot/legacy/u-boot-clearfog/ @Heisath
patch/u-boot/legacy/u-boot-helios4/ @Heisath
patch/u-boot/legacy/u-boot-khadas-edge2-rk3588/ @efectn
patch/u-boot/legacy/u-boot-radxa-rk35xx/ @CodeChenL @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @tdleiyao @vamzii
patch/u-boot/legacy/u-boot-spacemit-k1/ @pyavitz
patch/u-boot/u-boot-beagle/ @Grippy98
patch/u-boot/u-boot-k3-beagle/ @Grippy98
patch/u-boot/u-boot-k3/ @Grippy98 @glneo
patch/u-boot/u-boot-meson-s4t7/ @adeepn @rpardini @viraniac
patch/u-boot/u-boot-qemu-arm64/ @rpardini
patch/u-boot/u-boot-qemu-x86/ @rpardini
patch/u-boot/u-boot-rockchip64-v2022.04/ @Manouchehri @TRSx80 @TheSnowfield @ahoneybun @paolosabatino
patch/u-boot/u-boot-rockchip64/ @Tonymac32 @andyshrk @clee @igorpecovnik @prahal @redrathnure @sicXnull
patch/u-boot/u-boot-sunxi-crust/ @AGM1968 @Kreyren @NicoD-SBC @PanderMusubi @Tonymac32 @devdotnetorg @schwar3kat @spendist @teknoid
patch/u-boot/u-boot-sunxi/ @1ubuntuuser @AGM1968 @DylanHP @Janmcha @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @StephenGraf @TheSnowfield @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @janprunk @krachlatte @lbmendes @leggewie @mhawkins-consultant @schwar3kat @sgjava @sicXnull @spendist @teknoid
patch/u-boot/u-boot-sunxi/board_bananapim3/ @AaronNGray
patch/u-boot/u-boot-tqma/ @schmiedelm
patch/u-boot/v2022.01/ @teknoid
patch/u-boot/v2022.07/ @Tonymac32 @igorpecovnik
patch/u-boot/v2022.10/ @NicoD-SBC
patch/u-boot/v2023.07.02/ @clee @engineer-80
patch/u-boot/v2023.10/ @adeepn
patch/u-boot/v2024.01/ @IsMrX @NicoD-SBC @Tonymac32 @rpardini
patch/u-boot/v2024.01/board_orangepi5/ @efectn
patch/u-boot/v2024.04-rock5b-radxa/ @amazingfate @linhz0hz
patch/u-boot/v2024.04/ @Tonymac32 @chraac @igorpecovnik @pyavitz @utlark
patch/u-boot/v2024.07-coolpi-cm5/ @andyshrk
patch/u-boot/v2024.07/ @adeepn @andyshrk @igorpecovnik @monkaBlyat
patch/u-boot/v2024.07/board_station-m1/ @150balbes
patch/u-boot/v2024.10/ @HeyMeco @alexl83 @brentr @fridtjof
patch/u-boot/v2024.10/board_bigtreetech-cb2/ @JohnTheCoolingFan
patch/u-boot/v2025.01-rc3-coolpi-cm5/ @andyshrk
patch/u-boot/v2025.01/ @ColorfulRhino @SuperKali @ZazaBR @amazingfate @catalinii @efectn @jeanrhum @joekhoobyar @paolosabatino @pyavitz @rpardini @torte71 @vamzii
patch/u-boot/v2025.01/board_bananapim4berry/ @The-going
patch/u-boot/v2025.01/board_h96-tvbox-3566/ @hqnicolas
patch/u-boot/v2025.04-rc4/ @mlegenovic
patch/u-boot/v2025.04/ @SuperKali @Tonymac32
sources/families/bcm2711.conf @PanderMusubi @teknoid
sources/families/imx8m.conf @schmiedelm
sources/families/k3.conf @glneo
sources/families/jethub.conf @adeepn
sources/families/k3.conf @Grippy98 @glneo
sources/families/meson-axg.conf @pyavitz
sources/families/meson-g12a.conf @clee @engineer-80
sources/families/meson-g12b.conf @NicoD-SBC @Tonymac32 @jeanrhum @monkaBlyat @pyavitz @rpardini
sources/families/meson-gxbb.conf @teknoid
sources/families/meson-gxl.conf @SteeManMI @Tonymac32 @igorpecovnik @jomadeto
sources/families/meson-s4t7.conf @adeepn @rpardini @viraniac
sources/families/meson.conf @hzyitc @juanlufont
sources/families/meson64.conf @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee @engineer-80 @igorpecovnik @jeanrhum @jomadeto @monkaBlyat @pyavitz @rpardini @teknoid
sources/families/meson-sm1.conf @Tonymac32 @igorpecovnik @rpardini
sources/families/meson8b.conf @hzyitc @juanlufont
sources/families/mvebu.conf @Heisath
sources/families/odroidxu4.conf @joekhoobyar
sources/families/phytium-embedded.conf @chainsx
sources/families/rk35xx.conf @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
sources/families/rk35xx.conf @CodeChenL @ZazaBR @amazingfate @andyshrk @catalinii @hoochiwetech @hqnicolas @krachlatte @mattx433 @sputnik2019 @tdleiyao @vamzii
sources/families/rockchip-rk3588.conf @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @chainsx @efectn @fridtjof @ginkage @lanefu @linhz0hz @mahdichi @monkaBlyat @prahal @rpardini @schwar3kat
sources/families/rockchip.conf @paolosabatino
sources/families/rockchip64.conf @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @Manouchehri @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @paolosabatino @prahal @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @utlark @vamzii
sources/families/sm8250.conf @FantasyGmm @amazingfate
sources/families/rockchip64.conf @150balbes @JohnTheCoolingFan @Manouchehri @TRSx80 @TheSnowfield @Tonymac32 @ahoneybun @andyshrk @brentr @clee @hqnicolas @igorpecovnik @joekhoobyar @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @sicXnull @torte71 @utlark
sources/families/sm8250.conf @amazingfate
sources/families/sm8550.conf @FantasyGmm
sources/families/spacemit.conf @pyavitz
sources/families/sun50iw1.conf @Kreyren @PanderMusubi @devdotnetorg @eliasbakken
sources/families/sun50iw2.conf @AGM1968 @Tonymac32 @schwar3kat @spendist @teknoid
sources/families/sun50iw6.conf @NicoD-SBC
sources/families/sun50iw9-bpi.conf @The-going @pyavitz
sources/families/sun50iw9.conf @AGM1968 @IsMrX @JohnTheCoolingFan @Ressetkk @alexl83 @chraac @krachlatte @sicXnull
sources/families/sun55iw3-syterkit.conf @chainsx
sources/families/sunxi.conf @1ubuntuuser @AaronNGray @DylanHP @Janmcha @StephenGraf @TheSnowfield @Tonymac32 @janprunk @lbmendes @mhawkins-consultant @sgjava @spendist
sources/families/sunxi64.conf @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @spendist @teknoid
sources/families/sun5i.conf @TheSnowfield
sources/families/sun7i.conf @DylanHP @janprunk
sources/families/sun8i.conf @1ubuntuuser @AaronNGray @Janmcha @StephenGraf @Tonymac32 @lbmendes @leggewie @mhawkins-consultant @sgjava @spendist
sources/families/thead.conf @chainsx
sources/families/x86.conf @davidandreoletti @rpardini
sources/families/uefi-arm64.conf @PeterChrz @rpardini
sources/families/uefi-x86.conf @davidandreoletti @rpardini

View File

@@ -16,7 +16,7 @@ contact_links:
url: https://bugzilla.kernel.org/
about: If you are using upstream Linux kernel
- name: Issue with armbian-config
url: https://github.com/armbian/config/issues/new
url: https://github.com/armbian/configng/issues/new
about: Utility for configuring your board, adjusting services and installing applications.
- name: Issue with infrastructure
url: https://github.com/armbian/mirror/issues/new

View File

@@ -3,18 +3,24 @@
SRC="$(realpath "${BASH_SOURCE%/*}/../")"
# Dummy function for successful source
function display_alert() {
:
}
function enable_extension() {
:
function display_alert() { :; }
function enable_extension() { :; }
function add_packages_to_image() { :; }
function run_hook() {
local hook_point="$1"
while read -r hook_point_function; do
"${hook_point_function}"
done < <(compgen -A function | grep "^${hook_point}__" | LC_ALL=C.UTF-8 sort)
}
# $1: board config
function generate_for_board() {
local board_config="$1"
(
BOARD="${board_config%.*}"
source "${SRC}/config/boards/${board_config}"
LINUXFAMILY="${BOARDFAMILY}"
[[ -n "${BOARD_MAINTAINER}" ]] || return
@@ -26,13 +32,18 @@ function generate_for_board() {
source "${SRC}/config/sources/common.conf"
source "${SRC}/config/sources/${ARCH}.conf"
run_hook "post_family_config"
run_hook "post_family_config_branch_${BRANCH,,}"
[[ -z $LINUXCONFIG ]] && LINUXCONFIG="linux-${LINUXFAMILY}-${BRANCH}"
[[ -z $KERNELPATCHDIR ]] && KERNELPATCHDIR="$LINUXFAMILY-$BRANCH"
[[ -z $KERNELPATCHDIR ]] && KERNELPATCHDIR="archive/${LINUXFAMILY}-${KERNEL_MAJOR_MINOR}"
[[ -z $BOOTPATCHDIR ]] && BOOTPATCHDIR="u-boot-${LINUXFAMILY}"
[[ -z $ATFPATCHDIR ]] && ATFPATCHDIR="atf-${LINUXFAMILY}"
cat <<-EOF
config/boards/${board_config} ${maintainers}
config/kernel/${LINUXCONFIG%-*}-*.config ${maintainers}
sources/families/${LINUXFAMILY}.conf ${maintainers}
sources/families/${BOARDFAMILY}.conf ${maintainers}
patch/kernel/${KERNELPATCHDIR%-*}-*/ ${maintainers}
EOF
@@ -41,6 +52,16 @@ function generate_for_board() {
patch_archive="${patch_archive%/}"
echo "patch/kernel/${patch_archive%-*}-*/ ${maintainers}"
fi
if [[ -n "${BOOTCONFIG}" && "${BOOTCONFIG}" != "none" ]]; then
while read -r d; do
echo "patch/u-boot/${d}/ ${maintainers}"
done < <(echo "${BOOTPATCHDIR}" | xargs -n1)
fi
if [[ -n "${ATFSOURCE}" && "${ATFSOURCE}" != "none" ]]; then
echo "patch/atf/${ATFPATCHDIR}/ ${maintainers}"
fi
)
done < <(echo "${KERNEL_TARGET}" | tr ',' '\n')
)
@@ -68,9 +89,9 @@ function merge() {
local file
while read -r file; do
declare -a maintainers
readarray -t maintainers < <(echo "${codeowners["$file"]}" | xargs -n1 | sort -u)
readarray -t maintainers < <(echo "${codeowners["$file"]}" | xargs -n1 | LC_ALL=C.UTF-8 sort -u)
echo "${file} ${maintainers[*]}"
done < <(printf "%s\n" "${!codeowners[@]}" | sort)
done < <(printf "%s\n" "${!codeowners[@]}" | LC_ALL=C.UTF-8 sort)
}
cat <<-EOF >"${SRC}/.github/CODEOWNERS"

View File

@@ -1,11 +1,27 @@
name: Kernel Hardening Analysis
run-name: 'Check kernel security options - PR #${{ github.event.pull_request.number }} ("${{ github.event.pull_request.title }}")'
# -----------------------------------------------------------------------------
# This workflow analyzes Linux kernel configuration files to check for
# security hardening options using the kernel-hardening-checker tool.
#
# Check the Linux kernel options against security hardening
# ⚠️ Important:
# Modifying security parameters may impact system performance and
# functionality of userspace software.
#
# Attention! Changing security parameters may also affect system performance and functionality of userspace software!
# More info:
# https://github.com/a13xp0p0v/kernel-hardening-checker
# More info:
# https://github.com/a13xp0p0v/kernel-hardening-checker
#
# Triggers:
# - Manually via workflow_dispatch
# - On pull request events: ready_for_review, opened, reopened, or synchronized
#
# Features:
# - Runs only for PRs targeting the 'Armbian' repository
# - Validates kernel `.config` files for security best practices
# - Skips RISC-V configurations due to known compatibility issues
# - Provides a formatted security report in GitHub Actions summary
# -----------------------------------------------------------------------------
on:
workflow_dispatch:
@@ -17,7 +33,7 @@ permissions:
contents: read
concurrency:
group: pipeline-security-${{github.event.pull_request.number}}
group: pipeline-security-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
@@ -33,22 +49,23 @@ jobs:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
id: files
uses: UplandJacob/retrieve-changed-files@v4
- name: Checkout repository
- name: Checkout kernel-hardening-checker
uses: actions/checkout@v4
with:
repository: a13xp0p0v/kconfig-hardened-check
path: kconfig-hardened-check
- name: Check kernel config for security issues
# Run kernel-hardening-checker for each kernel config file excluding RISC-V configs, since they are not supported yet.
# See https://github.com/a13xp0p0v/kernel-hardening-checker/issues/56
# sed explanation: 1) Put spaces in front of every line 2) replace colored output with emojis since GitHub Actions job summaries don't support colored output
- name: Run kernel security analysis
run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
for file in ${{ steps.files.outputs.all }}; do
# Process only kernel configuration files and skip RISC-V configs
if [[ "${file}" = config/kernel/*.config && ! $(head -n 10 "${file}" | grep -q "riscv") ]]; then
kconfig-hardened-check/bin/kernel-hardening-checker -m show_fail -c $file | sed 's/^/ /; s/\x1b\[32m/✅ /; s/\x1b\[31m/❌ /; s/\x1b\[0m//' >> $GITHUB_STEP_SUMMARY
# Run security checks and format output for GitHub Actions summary
kconfig-hardened-check/bin/kernel-hardening-checker -m show_fail -c $file \
| sed 's/^/ /; s/\x1b\[32m/✅ /; s/\x1b\[31m/❌ /; s/\x1b\[0m//' \
>> $GITHUB_STEP_SUMMARY
fi
done

View File

@@ -1,8 +1,21 @@
name: Lint on Scripts
run-name: 'Shellcheck - PR #${{ github.event.pull_request.number }} ("${{ github.event.pull_request.title }}")'
run-name: 'ShellCheck - PR #${{ github.event.pull_request.number }} ("${{ github.event.pull_request.title }}")'
# -----------------------------------------------------------------------------
# This workflow runs ShellCheck on all relevant shell scripts in the repository
# to ensure code quality, best practices, and prevent common scripting errors.
# It generates a linting report and provides feedback for pull requests.
#
# Run ShellCheck on all scripts and generate report as build artifact
# Triggers:
# - Manually via workflow_dispatch
# - On pull request events: opened, reopened, or synchronized with new commits
#
# Features:
# - Runs only for PRs targeting the 'Armbian' repository
# - Checks only modified shell scripts while ignoring non-shell files
# - Ensures accurate analysis by leveraging framework-specific mechanisms
# - Uses concurrency control to prevent redundant executions
# -----------------------------------------------------------------------------
on:
workflow_dispatch:
@@ -13,7 +26,7 @@ permissions:
contents: read
concurrency:
group: pipeline-lint-${{github.event.pull_request.number}}
group: pipeline-lint-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
@@ -29,31 +42,25 @@ jobs:
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
id: files
uses: UplandJacob/retrieve-changed-files@v4
- name: List all changed files
- name: List and analyze changed shell scripts
run: |
# Use framework internal mechanism for checking `lib` and `extensions` code only one file is passed,
# and source's are followed, thus the whole project is "understood" by shellcheck.
# For example, when checking individual files, one variable might be thought "unused" because it
# is only used in another file, which does not happen when done properly.
# Utilize the framework's internal mechanism to check `lib/` and `extensions/` scripts.
# This ensures correct context resolution, avoiding false positives in variable usage.
bash lib/tools/shellcheck.sh
ret=0
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
for file in ${{ steps.files.outputs.all }}; do
# Ignore non-shell files
if [[ ! "${file}" =~ lib/|extensions/|.py|.service|.rules|.network|.netdev ]]; then
if grep -qE "^#\!/.*bash" $file; then
shellcheck --severity=error $file || ret=$?
# Check if the file has a bash shebang and run ShellCheck
if grep -qE "^#\!/.*bash" "$file"; then
shellcheck --severity=error "$file" || ret=$?
fi
fi
done
exit $ret
exit $ret

View File

@@ -33,7 +33,7 @@ jobs:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@v2.4.0
uses: ossf/scorecard-action@v2.4.1
with:
results_file: results.sarif
results_format: sarif
@@ -52,7 +52,7 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: SARIF file
path: results.sarif

View File

@@ -81,13 +81,6 @@ jobs:
version_latest=$(curl --silent "https://api.github.com/repos/${{ matrix.tool.PROJECT_NAME }}/releases/latest" | jq -r .tag_name)
version_latest=${version_latest#v} # Removing the 'v' prefix since the script uses only plain numbers
echo "version_latest=$version_latest" >> $GITHUB_OUTPUT
{
echo "CHANGE_LOG<<EOFFEOFFF42" # Has to be a unique delimiter that doesn't appear in the changelog itself
curl --silent "https://api.github.com/repos/${{ matrix.tool.PROJECT_NAME }}/releases/latest" | jq -r .body \
| sed -E -e 's/(#([0-9]+))/${{ matrix.tool.USER_NAME }}\/${{ matrix.tool.REPO_NAME }}\1/g' \
-e 's/https\:\/\/github\.com/https\:\/\/redirect.github.com/g'
echo "EOFFEOFFF42"
} >> "$GITHUB_ENV"
- name: Update ${{ matrix.tool.VERSION_VAR}} in script
# @TODO Make sure that the version is actually higher, not lower (the 'latest' tag does not neccessarily mean that the version is higher!)
@@ -106,13 +99,6 @@ jobs:
body: |
Bump [${{ matrix.tool.PROJECT_NAME}}](https://github.com/${{ matrix.tool.PROJECT_NAME }}) from ${{ steps.get-version-current.outputs.version_current }} to ${{ steps.get-version-latest.outputs.version_latest }} by bumping `${{ matrix.tool.VERSION_VAR}}` in `${{ matrix.tool.VAR_FILE}}`.
<details><summary><b>Release notes</b></summary>
<p><em>Sourced from <a href="https://github.com/${{ matrix.tool.PROJECT_NAME }}/releases">${{ matrix.tool.PROJECT_NAME }}'s releases</a>.
<br>Please note that this only shows the release notes for the latest release.</em></p>
<blockquote>
${{ env.CHANGE_LOG }}
</blockquote>
</details>
Check <a href="https://github.com/${{ matrix.tool.PROJECT_NAME }}/releases/latest">the upstream release notes</a>.
<p><em>Please note that the above link only shows the release notes for the latest release.</em></p>
labels: Dependencies, Bash

View File

@@ -26,7 +26,7 @@
- Superuser rights (configured sudo or root access).
- Make sure your system is up-to-date! Outdated Docker binaries, for example, can cause trouble.
For stable branch use `--branch=v24.11`
For stable branch use `--branch=v25.02`
```bash
apt-get -y install git

View File

@@ -1 +1 @@
25.02.0-trunk
25.05.0-trunk

View File

@@ -147,7 +147,9 @@ runs:
# copy os userpatches and custom
mkdir -pv build/userpatches
rsync -av os/userpatches/. build/userpatches/
[[ -d custom/userpatches ]] && rsync -av custom/userpatches/. build/userpatches/
if [[ -d custom/userpatches ]]; then
rsync -av custom/userpatches/. build/userpatches/
fi
- shell: bash
run: |

View File

@@ -5,7 +5,6 @@ BOARD_MAINTAINER="jomadeto"
BOOTSIZE="512"
BOOTFS_TYPE="fat"
KERNEL_TARGET="current,edge"
MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost
KERNEL_TEST_TARGET="current"
SERIALCON="ttyAML0"
FULL_DESKTOP="yes"

View File

@@ -0,0 +1,14 @@
# MXQ TV box based on Amlogic S805 quad core 1GB RAM SoC GBE
BOARD_NAME="MXQ"
BOARDFAMILY="meson8b"
BOARD_MAINTAINER=""
KERNEL_TARGET="current"
KERNEL_TEST_TARGET="current"
BOOTCONFIG="none"
BOOTSCRIPT="boot-aml-s805-mxq.cmd:boot.cmd"
# The preinstalled U-BOOT looks for this script
BOOTSCRIPT_OUTPUT="s805_autoscript"
BOOTENV_FILE="aml-s805-mxq.txt"
BOOTSIZE="200"
BOOTFS_TYPE="fat"

View File

@@ -10,16 +10,6 @@ BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
BOARD_MAINTAINER=""
function post_family_config_branch_vendor__armsom-cm5-io_use_vendor_uboot() {
display_alert "$BOARD" "vendor u-boot overrides for $BOARD / $BRANCH" "info"
declare -g BOOTSOURCE="https://github.com/ArmSoM/u-boot.git"
declare -g BOOTBRANCH="tag:rk3576-6.1-rk3.1"
declare -g BOOTPATCHDIR="legacy/u-boot-armsom-rk3576"
declare -g BOOTDIR="u-boot-${BOARD}"
declare -g UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB TEE=$RKBIN_DIR/$BL32_BLOB spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb"
}
function post_family_tweaks__armsom-cm5-io_naming_audios() {
display_alert "$BOARD" "Renaming armsom-cm5 audios" "info"

View File

@@ -10,16 +10,6 @@ BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
BOARD_MAINTAINER=""
function post_family_config_branch_vendor__armsom-cm5-rpi-cm4-io_use_vendor_uboot() {
display_alert "$BOARD" "vendor u-boot overrides for $BOARD / $BRANCH" "info"
declare -g BOOTSOURCE="https://github.com/ArmSoM/u-boot.git"
declare -g BOOTBRANCH="tag:rk3576-6.1-rk3.1"
declare -g BOOTPATCHDIR="legacy/u-boot-armsom-rk3576"
declare -g BOOTDIR="u-boot-${BOARD}"
declare -g UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB TEE=$RKBIN_DIR/$BL32_BLOB spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb"
}
function post_family_tweaks__armsom-cm5-rpi-cm4-io_naming_audios() {
display_alert "$BOARD" "Renaming armsom-cm5-rpi-cm4-io audios" "info"

View File

@@ -10,16 +10,6 @@ BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
BOARD_MAINTAINER=""
function post_family_config_branch_vendor__armsom-sige7_use_vendor_uboot() {
display_alert "$BOARD" "vendor u-boot overrides for $BOARD / $BRANCH" "info"
declare -g BOOTSOURCE="https://github.com/ArmSoM/u-boot.git"
declare -g BOOTBRANCH="tag:rk3576-6.1-rk3.1"
declare -g BOOTPATCHDIR="legacy/u-boot-armsom-rk3576"
declare -g BOOTDIR="u-boot-${BOARD}"
declare -g UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB TEE=$RKBIN_DIR/$BL32_BLOB spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb"
}
function post_family_tweaks__armsom-sige7_naming_audios() {
display_alert "$BOARD" "Renaming armsom-sige7 audios" "info"

View File

@@ -3,7 +3,7 @@ BOARD_NAME="ArmSoM Sige7"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOOTCONFIG="armsom-sige7-rk3588_defconfig"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-armsom-sige7.dtb"

130
config/boards/ayn-odin2.csc Normal file
View File

@@ -0,0 +1,130 @@
# Ayn Odin2 Configuration
declare -g BOARD_NAME="Ayn Odin2"
declare -g BOARD_MAINTAINER="FantasyGmm"
declare -g BOARDFAMILY="sm8550"
declare -g KERNEL_TARGET="current,edge"
declare -g KERNEL_TEST_TARGET="edge"
declare -g EXTRAWIFI="no"
declare -g BOOTCONFIG="none"
declare -g BOOTFS_TYPE="fat"
declare -g BOOTSIZE="256"
declare -g IMAGE_PARTITION_TABLE="gpt"
declare -g BOOTIMG_CMDLINE_EXTRA="clk_ignore_unused pd_ignore_unused rw quiet rootwait"
# Use the full firmware, complete linux-firmware plus Armbian's
declare -g BOARD_FIRMWARE_INSTALL="-full"
declare -g DESKTOP_AUTOLOGIN="yes"
function ayn-odin2_is_userspace_supported() {
[[ "${RELEASE}" == "jammy" ]] && return 0
[[ "${RELEASE}" == "trixie" ]] && return 0
[[ "${RELEASE}" == "noble" ]] && return 0
return 1
}
function pre_customize_image__ayn-odin2_alsa_ucm_conf() {
if ! ayn-odin2_is_userspace_supported; then
return 0
fi
display_alert "Add alsa-ucm-conf for ${BOARD}" "${RELEASE}" "warn"
(
cd "${SDCARD}/usr/share/alsa" || exit 6
curl -L -o temp.zip "https://github.com/AYNTechnologies/alsa-ucm-conf/archive/refs/heads/ayn/v1.2.13.zip"
unzip -o temp.zip
unzip_dir=$(unzip -Z1 temp.zip | head -n1 | cut -d/ -f1)
cp -rf "${unzip_dir}/"* .
rm -rf "$unzip_dir" temp.zip
)
}
function post_family_tweaks_bsp__ayn-odin2_firmware() {
display_alert "Install firmwares for ${BOARD}" "${RELEASE}" "warn"
# USB Gadget Network service
mkdir -p $destination/usr/local/bin/
mkdir -p $destination/usr/lib/systemd/system/
mkdir -p $destination/etc/initramfs-tools/scripts/init-bottom/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/setup-usbgadget-network.sh $destination/usr/local/bin/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/remove-usbgadget-network.sh $destination/usr/local/bin/
install -Dm644 $SRC/packages/bsp/usb-gadget-network/usbgadget-rndis.service $destination/usr/lib/systemd/system/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/usb-gadget-initramfs-hook $destination/etc/initramfs-tools/hooks/usb-gadget
install -Dm655 $SRC/packages/bsp/usb-gadget-network/usb-gadget-initramfs-premount $destination/etc/initramfs-tools/scripts/init-premount/usb-gadget
install -Dm655 $SRC/packages/bsp/usb-gadget-network/dropbear $destination/etc/initramfs-tools/scripts/init-premount/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/kill-dropbear $destination/etc/initramfs-tools/scripts/init-bottom/
return 0
}
function post_family_tweaks__ayn-odin2_enable_services() {
if ! ayn-odin2_is_userspace_supported; then
if [[ "${RELEASE}" != "" ]]; then
display_alert "Missing userspace for ${BOARD}" "${RELEASE} does not have the userspace necessary to support the ${BOARD}" "warn"
fi
return 0
fi
if [[ "${RELEASE}" == "jammy" ]] || [[ "${RELEASE}" == "noble" ]]; then
display_alert "Adding Mesa PPA For Ubuntu ${BOARD}" "warn"
do_with_retries 3 chroot_sdcard add-apt-repository ppa:liujianfeng1994/qcom-mainline --yes --no-update
fi
# We need unudhcpd from armbian repo, so enable it
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.sources.disabled "${SDCARD}"/etc/apt/sources.list.d/armbian.sources
do_with_retries 3 chroot_sdcard_apt_get_update
display_alert "Installing ${BOARD} tweaks" "warn"
do_with_retries 3 chroot_sdcard_apt_get_install alsa-ucm-conf qbootctl qrtr-tools unudhcpd mkbootimg
# disable armbian repo back
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.sources "${SDCARD}"/etc/apt/sources.list.d/armbian.sources.disabled
do_with_retries 3 chroot_sdcard_apt_get_update
chroot_sdcard systemctl enable qbootctl.service
# Add Gamepad udev rule
echo 'SUBSYSTEM=="input", ATTRS{name}=="AYN Odin2 Gamepad", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"' > "${SDCARD}"/etc/udev/rules.d/99-ignore-gamepad.rules
# Not Any driver support suspend mode
chroot_sdcard systemctl mask suspend.target
chroot_sdcard systemctl enable usbgadget-rndis.service
cp $SRC/packages/bsp/ayn-odin2/LinuxLoader.cfg "${SDCARD}"/boot/
return 0
}
function post_family_tweaks_bsp__ayn-odin2_bsp_firmware_in_initrd() {
display_alert "Adding to bsp-cli" "${BOARD}: firmware in initrd" "warn"
declare file_added_to_bsp_destination # Will be filled in by add_file_from_stdin_to_bsp_destination
# Using odin2's firmware for now
add_file_from_stdin_to_bsp_destination "/etc/initramfs-tools/hooks/ayn-odin2-firmware" <<- 'FIRMWARE_HOOK'
#!/bin/bash
[[ "$1" == "prereqs" ]] && exit 0
. /usr/share/initramfs-tools/hook-functions
for f in /lib/firmware/qcom/sm8550/ayn/odin2portal/* ; do
add_firmware "${f#/lib/firmware/}"
done
add_firmware "qcom/a740_sqe.fw" # Extra one for dpu
add_firmware "qcom/gmu_gen70200.bin" # Extra one for gpu
add_firmware "qcom/vpu/vpu30_p4.mbn" # Extra one for vpu
# Extra one for wifi
for f in /lib/firmware/ath12k/WCN7850/hw2.0/* ; do
add_firmware "${f#/lib/firmware/}"
done
# Extra one for bt
for f in /lib/firmware/qca/* ; do
add_firmware "${f#/lib/firmware/}"
done
FIRMWARE_HOOK
run_host_command_logged chmod -v +x "${file_added_to_bsp_destination}"
}
function pre_umount_final_image__update_ABL_settings() {
if [ -z "$BOOTFS_TYPE" ]; then
return 0
fi
display_alert "Update ABL settings for " "${BOARD}" "info"
uuid_line=$(head -n 1 "${SDCARD}"/etc/fstab)
rootfs_image_uuid=$(echo "${uuid_line}" | awk '{print $1}' | awk -F '=' '{print $2}')
initrd_name=$(find "${SDCARD}/boot/" -type f -name "config-*" | sed 's/.*config-//')
sed -i "s/UUID_PLACEHOLDER/${rootfs_image_uuid}/g" "${MOUNT}"/boot/LinuxLoader.cfg
sed -i "s/INITRD_PLACEHOLDER/${initrd_name}/g" "${MOUNT}"/boot/LinuxLoader.cfg
}

View File

@@ -1,155 +0,0 @@
# Generate kernel and rootfs image for Qcom ABL Custom booting
declare -g BOARD_NAME="Ayn Odin2"
declare -g BOARD_MAINTAINER="FantasyGmm"
declare -g BOARDFAMILY="qcom-abl"
declare -g KERNEL_TARGET="sm8550"
declare -g KERNELPATCHDIR="sm8550-6.7"
declare -g EXTRAWIFI="no"
declare -g BOOTCONFIG="none"
declare -g BOOTFS_TYPE="fat"
declare -g BOOTSIZE="256"
declare -g BOOTIMG_CMDLINE_EXTRA="clk_ignore_unused pd_ignore_unused panic=30 audit=0 allow_mismatched_32bit_el0 rw mem_sleep_default=s2idle"
declare -g IMAGE_PARTITION_TABLE="gpt"
# Use the full firmware, complete linux-firmware plus Armbian's
declare -g BOARD_FIRMWARE_INSTALL="-full"
declare -g DESKTOP_AUTOLOGIN="yes"
function post_family_config_branch_sm8550__edk2_kernel() {
declare -g KERNELSOURCE='https://github.com/edk2-porting/linux-next'
declare -g KERNEL_MAJOR_MINOR="6.7" # Major and minor versions of this kernel.
declare -g KERNELBRANCH="branch:integration/ayn-odin2"
declare -g LINUXCONFIG="linux-${ARCH}-${BRANCH}" # for this board: linux-arm64-sm8550
display_alert "Setting up kernel ${KERNEL_MAJOR_MINOR} for" "${BOARD}" "info"
}
function ayn-odin2_is_userspace_supported() {
[[ "${RELEASE}" == "trixie" || "${RELEASE}" == "sid" || "${RELEASE}" == "mantic" || "${RELEASE}" == "noble" ]] && return 0
return 1
}
function post_family_tweaks__enable_services() {
if ! ayn-odin2_is_userspace_supported; then
if [[ "${RELEASE}" != "" ]]; then
display_alert "Missing userspace for ${BOARD}" "${RELEASE} does not have the userspace necessary to support the ${BOARD}" "warn"
fi
return 0
fi
if [[ "${RELEASE}" == "noble" ]]; then
display_alert "Adding Mesa PPA For Ubuntu " "${BOARD}" "info"
do_with_retries 3 chroot_sdcard add-apt-repository ppa:oibaf/graphics-drivers --yes --no-update
fi
# We need unudhcpd from armbian repo, so enable it
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.list.disabled "${SDCARD}"/etc/apt/sources.list.d/armbian.list
# Add zink env
echo '__GLX_VENDOR_LIBRARY_NAME=mesa' | tee -a "${SDCARD}"/etc/environment
echo 'MESA_LOADER_DRIVER_OVERRIDE=zink' | tee -a "${SDCARD}"/etc/environment
echo 'GALLIUM_DRIVER=zink' | tee -a "${SDCARD}"/etc/environment
# Add Gamepad udev rule
echo 'SUBSYSTEM=="input", ATTRS{name}=="Ayn Odin2 Gamepad", MODE="0666", ENV{ID_INPUT_MOUSE}="0", ENV{ID_INPUT_JOYSTICK}="1"' > "${SDCARD}"/etc/udev/rules.d/99-ignore-gamepad.rules
# No driver support for suspend
chroot_sdcard systemctl mask suspend.target
# Add Bt Mac Fixed service
install -Dm655 $SRC/packages/bsp/ayn-odin2/bt-fixed-mac.sh "${SDCARD}"/usr/local/bin/
install -Dm644 $SRC/packages/bsp/ayn-odin2/bt-fixed-mac.service "${SDCARD}"/usr/lib/systemd/system/
chroot_sdcard systemctl enable bt-fixed-mac
do_with_retries 3 chroot_sdcard_apt_get_update
display_alert "$BOARD" "Installing board tweaks" "info"
do_with_retries 3 chroot_sdcard_apt_get_install alsa-ucm-conf unudhcpd mkbootimg git
# Disable armbian repo back
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.list "${SDCARD}"/etc/apt/sources.list.d/armbian.list.disabled
do_with_retries 3 chroot_sdcard_apt_get_update
do_with_retries 3 chroot_sdcard_apt_get_install mesa-vulkan-drivers qbootctl qrtr-tools protection-domain-mapper tqftpserv
# Kernel postinst script to update abl boot partition
install -Dm655 $SRC/packages/bsp/ayn-odin2/zz-update-abl-kernel "${SDCARD}"/etc/kernel/postinst.d/
cp $SRC/packages/bsp/ayn-odin2/LinuxLoader.cfg "${SDCARD}"/boot/
return 0
}
function post_family_tweaks__preset_configs() {
display_alert "$BOARD" "preset configs for rootfs" "info"
# Set PRESET_NET_CHANGE_DEFAULTS to 1 to apply any network related settings below
echo "PRESET_NET_CHANGE_DEFAULTS=1" > "${SDCARD}"/root/.not_logged_in_yet
# Enable WiFi or Ethernet.
# NB: If both are enabled, WiFi will take priority and Ethernet will be disabled.
echo "PRESET_NET_ETHERNET_ENABLED=0" >> "${SDCARD}"/root/.not_logged_in_yet
echo "PRESET_NET_WIFI_ENABLED=1" >> "${SDCARD}"/root/.not_logged_in_yet
# Preset user default shell, you can choose bash or zsh
echo "PRESET_USER_SHELL=zsh" >> "${SDCARD}"/root/.not_logged_in_yet
# Set PRESET_CONNECT_WIRELESS=y if you want to connect wifi manually at first login
echo "PRESET_CONNECT_WIRELESS=n" >> "${SDCARD}"/root/.not_logged_in_yet
# Set SET_LANG_BASED_ON_LOCATION=n if you want to choose "Set user language based on your location?" with "n" at first login
echo "SET_LANG_BASED_ON_LOCATION=y" >> "${SDCARD}"/root/.not_logged_in_yet
# Preset default locale
echo "PRESET_LOCALE=en_US.UTF-8" >> "${SDCARD}"/root/.not_logged_in_yet
# Preset timezone
echo "PRESET_TIMEZONE=Etc/UTC" >> "${SDCARD}"/root/.not_logged_in_yet
# Preset root password
echo "PRESET_ROOT_PASSWORD=admin" >> "${SDCARD}"/root/.not_logged_in_yet
# Preset username
echo "PRESET_USER_NAME=odin" >> "${SDCARD}"/root/.not_logged_in_yet
# Preset user password
echo "PRESET_USER_PASSWORD=admin" >> "${SDCARD}"/root/.not_logged_in_yet
# Preset user default realname
echo "PRESET_DEFAULT_REALNAME=Odin" >> "${SDCARD}"/root/.not_logged_in_yet
}
function post_family_tweaks_bsp__firmware_in_initrd() {
random_mac=$(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//')
declare -g BOOTIMG_CMDLINE_EXTRA="${BOOTIMG_CMDLINE_EXTRA} bt_mac=${random_mac}"
display_alert "Generate a random Bluetooth MAC address, Mac:${random_mac}" "info"
display_alert "Adding to bsp-cli" "${BOARD}: firmware in initrd" "info"
declare file_added_to_bsp_destination # Will be filled in by add_file_from_stdin_to_bsp_destination
# Using odin2's firmware for now
add_file_from_stdin_to_bsp_destination "/etc/initramfs-tools/hooks/ayn-odin2-firmware" <<- 'FIRMWARE_HOOK'
#!/bin/bash
[[ "$1" == "prereqs" ]] && exit 0
. /usr/share/initramfs-tools/hook-functions
for f in /lib/firmware/qcom/sm8550/ayn/odin2/* ; do
add_firmware "${f#/lib/firmware/}"
done
add_firmware "qcom/a740_sqe.fw" # Extra one for dpu
add_firmware "qcom/gmu_gen70200.bin" # Extra one for gpu
# Extra one for wifi
for f in /lib/firmware/ath12k/WCN7850/hw2.0/* ; do
add_firmware "${f#/lib/firmware/}"
done
# Extra one for bt
for f in /lib/firmware/qca/* ; do
add_firmware "${f#/lib/firmware/}"
done
FIRMWARE_HOOK
run_host_command_logged chmod -v +x "${file_added_to_bsp_destination}"
}
function pre_umount_final_image__update_ABL_settings() {
if [ -z "$BOOTFS_TYPE" ]; then
return 0
fi
display_alert "Update ABL settings for " "${BOARD}" "info"
uuid_line=$(head -n 1 "${SDCARD}"/etc/fstab)
rootfs_image_uuid=$(echo "${uuid_line}" | awk '{print $1}' | awk -F '=' '{print $2}')
initrd_name=$(find "${SDCARD}/boot/" -type f -name "config-*" | sed 's/.*config-//')
sed -i "s/UUID_PLACEHOLDER/${rootfs_image_uuid}/g" "${MOUNT}"/boot/LinuxLoader.cfg
sed -i "s/INITRD_PLACEHOLDER/${initrd_name}/g" "${MOUNT}"/boot/LinuxLoader.cfg
}

View File

@@ -10,8 +10,8 @@ FULL_DESKTOP="yes"
SERIALCON="ttyAML0"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="amlogic/meson-g12b-bananapi-cm4-cm4io.dtb"
BOOTBRANCH_BOARD="tag:v2024.07"
BOOTPATCHDIR="v2024.07"
BOOTBRANCH_BOARD="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
function post_family_tweaks_bsp__bananapi_rtl_bt() {
if [[ -d "$SRC/packages/bsp/bananapi/rtl_bt" ]]; then

View File

@@ -1,12 +1,12 @@
# SpacemiT K1 octa core RISC-V SoC 2GB/4GB RAM 8GB/16GB eMMC 4x USB3 2x GbE
BOARD_NAME="BananaPi BPI-F3"
BOARDFAMILY="spacemit"
BOARD_MAINTAINER=""
BOARD_MAINTAINER="pyavitz"
KERNEL_TARGET="current"
BOOT_FDT_FILE="spacemit/k1-bananapi-f3.dtb"
BOOTDELAY=1
SRC_EXTLINUX="yes"
SRC_CMDLINE="earlycon=sbi console=tty1 console=ttyS0,115200 clk_ignore_unused"
SRC_CMDLINE="earlycon=sbi console=tty1 console=ttyS0,115200"
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools"
function post_config_uboot_target__extra_configs_for_bananapi_f3() {

View File

@@ -1,7 +1,7 @@
# Allwinner H3 quad core 1Gb RAM SoC Wifi GBE
BOARD_NAME="Banana Pi M2+"
BOARDFAMILY="sun8i"
BOARD_MAINTAINER=""
BOARD_MAINTAINER="leggewie"
BOOTCONFIG="bananapi_m2_plus_h3_defconfig"
DEFAULT_OVERLAYS="analog-codec"
MODULES_CURRENT="g_serial"

View File

@@ -10,8 +10,8 @@ FULL_DESKTOP="yes"
SERIALCON="ttyAML0"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="amlogic/meson-g12b-a311d-bananapi-m2s.dtb"
BOOTBRANCH_BOARD="tag:v2024.07"
BOOTPATCHDIR="v2024.07"
BOOTBRANCH_BOARD="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
function post_family_tweaks_bsp__bananapi_rtl_bt() {
if [[ -d "$SRC/packages/bsp/bananapi/rtl_bt" ]]; then

View File

@@ -0,0 +1,26 @@
# Allwinner H618 quad core 2/4GB RAM 8GB eMMC SoC WiFi\Bt HDMI SPI USB-C
BOARD_NAME="BananaPi M4 Berry"
BOARDFAMILY="sun50iw9-bpi"
BOARD_MAINTAINER="The-going"
BOOTCONFIG="bananapi_m4_berry_defconfig"
BOOTPATCHDIR="v2025.01/board_bananapim4berry"
BOOTBRANCH_BOARD="tag:v2025.01"
OVERLAY_PREFIX="sun50i-h616"
BOOT_FDT_FILE="sun50i-h618-bananapi-m4-berry.dtb"
BOOT_LOGO="desktop"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools"
function post_family_tweaks_bsp__bananapi_firmware() {
if [[ -d "$SRC/packages/bsp/bananapi/brcm" ]] && [[ -d "$SRC/packages/bsp/bananapi/rtl_bt" ]]; then
mkdir -p "${destination}"/lib/firmware/updates/brcm
mkdir -p "${destination}"/lib/firmware/updates/rtl_bt
display_alert "$BOARD" "Installing upstream firmware" "info"
cp -fr $SRC/packages/bsp/bananapi/brcm/* "${destination}"/lib/firmware/updates/brcm/
cp -fr $SRC/packages/bsp/bananapi/rtl_bt/* "${destination}"/lib/firmware/updates/rtl_bt/
fi
}

View File

@@ -3,6 +3,6 @@ BOARD_NAME="Banana Pi M7"
BOARD_MAINTAINER="amazingfate"
BOOT_FDT_FILE="rockchip/rk3588-bananapi-m7.dtb"
# Those are included in armsom-sige7.csc, but this file is parsed directly by the JSON matrix generator and thus those need to be in here
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="vendor,current"
BOARDFAMILY="rockchip-rk3588"

View File

@@ -0,0 +1,18 @@
# BeagleBone® AI-64 dual core 4GB GBE USB3 OSPI DisplayPort HDMI
BOARD_NAME="BeagleBone AI-64"
BOARDFAMILY="k3"
BOARD_MAINTAINER="Grippy98"
BOOTCONFIG="j721e_beagleboneai64_a72_defconfig"
BOOTFS_TYPE="fat"
BOOT_FDT_FILE="ti/k3-j721e-beagleboneai64.dts"
TIBOOT3_BOOTCONFIG="j721e_beagleboneai64_r5_defconfig"
TIBOOT3_FILE="tiboot3-j721e-gp-evm.bin"
SYSFW_FILE="sysfw-j721e-gp-evm.itb"
TISPL_FILE="tispl.bin_unsigned"
UBOOT_FILE="u-boot.img_unsigned"
DEFAULT_CONSOLE="serial"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
SERIALCON="ttyS2"
ATF_BOARD="generic"

View File

@@ -0,0 +1,17 @@
# TI AM62 quad core 2GB DDR4 16GB eMMC 1xGBE 1xSPE HDMI
BOARD_NAME="BeaglePlay"
BOARDFAMILY="k3"
BOARD_MAINTAINER="Grippy98"
BOOTCONFIG="am62x_beagleplay_a53_defconfig"
BOOTFS_TYPE="fat"
BOOT_FDT_FILE="ti/k3-am625-beagleplay.dts"
TIBOOT3_BOOTCONFIG="am62x_beagleplay_r5_defconfig"
TIBOOT3_FILE="tiboot3-am62x-gp-evm.bin"
TISPL_FILE="tispl.bin_unsigned"
UBOOT_FILE="u-boot.img_unsigned"
DEFAULT_CONSOLE="serial"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
SERIALCON="ttyS2"
ATF_BOARD="lite"

View File

@@ -0,0 +1,30 @@
#Texas Instruments AM67A quad core 4GB USB3 DDR4 4TOPS
BOARD_NAME="BeagleY-AI"
BOARDFAMILY="k3"
BOARD_MAINTAINER="Grippy98"
BOOTCONFIG="am67a_beagley_ai_a53_defconfig"
BOOTFS_TYPE="fat"
BOOT_FDT_FILE="k3-am67a-beagley-ai.dts"
TIBOOT3_BOOTCONFIG="am67a_beagley_ai_r5_defconfig"
TIBOOT3_FILE="tiboot3-j722s-hs-fs-evm.bin"
DEFAULT_CONSOLE="serial"
KERNEL_TARGET="current"
KERNEL_TEST_TARGET="current"
SERIALCON="ttyS2"
ATF_BOARD="lite"
# Use these branches until BeagleY-AI goes upstream
function post_family_config_branch_current__beagley_ai_use_beagle_kernel_uboot() {
display_alert "$BOARD" " Beagleboard U-Boot and kernel overrides for $BOARD / $BRANCH" "info"
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel
declare -g KERNEL_MAJOR_MINOR="6.6"
declare -g KERNELBRANCH="branch:v6.6.58-ti-arm64-r21"
declare -g LINUXFAMILY="k3-beagle" # Separate kernel package from the regular `k3` family
declare -g LINUXCONFIG="linux-k3-${BRANCH}"
declare -g BOOTSOURCE="https://github.com/glneo/u-boot" # v2025.04-rc3 + BeagleY-AI support
declare -g BOOTBRANCH="branch:beagley-ai"
declare -g BOOTPATCHDIR="u-boot-beagle"
}

View File

@@ -6,7 +6,7 @@ BOOTCONFIG="bigtreetech-cb2-rk3566_defconfig"
BOOT_SOC="rk3566"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
BOOT_FDT_FILE="rockchip/rk3566-bigtreetech-cb2.dtb"
BOOT_FDT_FILE="rockchip/rk3566-bigtreetech-pi2.dtb"
IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
OVERLAY_PREFIX='rk3566'
@@ -15,6 +15,7 @@ BOOT_LOGO="desktop"
# TODO: replace with BOOT_SCENARIO=binman when it gets merged and in good shape
function post_family_config__bigtreetech-cb2_uboot_overrides() {
display_alert "$BOARD" "mainline u-boot overrides" "info"
DDR_BLOB="rk35/rk3566_ddr_1056MHz_v1.21.bin"

View File

@@ -4,12 +4,13 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="ColorfulRhino"
BOOTCONFIG="cm3588-nas-rk3588_defconfig" # Mainline defconfig, enables booting from NVMe
BOOT_SOC="rk3588"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
IMAGE_PARTITION_TABLE="gpt"
BOOT_FDT_FILE="rockchip/rk3588-friendlyelec-cm3588-nas.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SCENARIO="tpl-blob-atf-mainline"
UEFI_EDK2_BOARD_ID="nanopc-cm3588-nas" # This _only_ used for uefi-edk2-rk3588 extension; cm3588-nas was introduced in v0.12 of edk2-porting/edk2-rk3588
function post_family_tweaks__cm3588_nas_udev_naming_audios() {
display_alert "$BOARD" "Renaming CM3588 audio interfaces to human-readable form" "info"
@@ -42,17 +43,73 @@ function post_family_config__cm3588_nas_use_mainline_uboot() {
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
declare -g BOOTBRANCH="tag:v2024.10"
declare -g BOOTPATCHDIR="v2024.10"
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
# Disable stuff from rockchip64_common; we're using binman here which does all the work already
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
declare -g BOOTBRANCH="tag:v2025.01"
declare -g BOOTPATCHDIR="v2025.01"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g UBOOT_TARGET_MAP="BL31=bl31.elf ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # Disable stuff from rockchip64_common; we're using binman here which does all the work
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
function write_uboot_platform() {
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
}
}
function pre_config_uboot_target__cm3588_patch_uboot_dtsi_for_ums() {
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for UMS" "info" # avoid a patch, just append to the dtsi file
cat <<- UBOOT_BOARD_DTSI_OTG >> arch/arm/dts/rk3588-friendlyelec-cm3588-nas-u-boot.dtsi
&u2phy0 { status = "okay"; };
&u2phy0_otg { status = "okay"; };
&usbdp_phy0 { status = "okay"; };
&usb_host0_xhci { dr_mode = "peripheral"; maximum-speed = "high-speed"; status = "okay"; };
UBOOT_BOARD_DTSI_OTG
}
# "rockchip-common: boot SD card first, then NVMe, then mmc"
# include/configs/rockchip-common.h
# -#define BOOT_TARGETS "mmc1 mmc0 nvme scsi usb pxe dhcp spi"
# +#define BOOT_TARGETS "mmc0 nvme mmc1 scsi usb pxe dhcp spi"
# On cm3588-nas, mmc0 is the eMMC, mmc1 is the SD card slot
function pre_config_uboot_target__cm3588_patch_rockchip_common_boot_order() {
declare -a rockchip_uboot_targets=("mmc1" "nvme" "mmc0" "scsi" "usb" "pxe" "dhcp" "spi") # for future make-this-generic delight
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: adjust boot order to '${rockchip_uboot_targets[*]}'" "info"
sed -i -e "s/#define BOOT_TARGETS.*/#define BOOT_TARGETS \"${rockchip_uboot_targets[*]}\"/" include/configs/rockchip-common.h
regular_git diff -u include/configs/rockchip-common.h || true
}
function post_config_uboot_target__extra_configs_for_cm3588-nas_uboot() {
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable preboot & flash user LED in preboot" "info"
run_host_command_logged scripts/config --enable CONFIG_USE_PREBOOT
run_host_command_logged scripts/config --set-str CONFIG_PREBOOT "'led led-1 on; sleep 0.1; led led-1 off'" # double quotes required due to run_host_command_logged's quirks
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable EFI debugging commands" "info"
run_host_command_logged scripts/config --enable CMD_EFIDEBUG
run_host_command_logged scripts/config --enable CMD_NVEDIT_EFI
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable more compression support" "info"
run_host_command_logged scripts/config --enable CONFIG_LZO
run_host_command_logged scripts/config --enable CONFIG_BZIP2
run_host_command_logged scripts/config --enable CONFIG_ZSTD
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable gpio LED support" "info"
run_host_command_logged scripts/config --enable CONFIG_LED
run_host_command_logged scripts/config --enable CONFIG_LED_GPIO
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable networking cmds" "info"
run_host_command_logged scripts/config --enable CONFIG_CMD_NFS
run_host_command_logged scripts/config --enable CONFIG_CMD_WGET
run_host_command_logged scripts/config --enable CONFIG_CMD_DNS
run_host_command_logged scripts/config --enable CONFIG_PROT_TCP
run_host_command_logged scripts/config --enable CONFIG_PROT_TCP_SACK
# UMS, RockUSB, gadget stuff
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable UMS/RockUSB gadget" "info"
declare -a enable_configs=("CONFIG_CMD_USB_MASS_STORAGE" "CONFIG_USB_GADGET" "USB_GADGET_DOWNLOAD" "CONFIG_USB_FUNCTION_ROCKUSB" "CONFIG_USB_FUNCTION_ACM" "CONFIG_CMD_ROCKUSB" "CONFIG_CMD_USB_MASS_STORAGE")
for config in "${enable_configs[@]}"; do
run_host_command_logged scripts/config --enable "${config}"
done
# Auto-enabled by the above, force off...
run_host_command_logged scripts/config --disable USB_FUNCTION_FASTBOOT
return 0
}

View File

@@ -21,7 +21,7 @@ function post_family_config_branch_edge__coolpi-genbook_use_mainline_uboot() {
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # Mainline U-Boot
unset BOOTBRANCH
declare -g BOOTPATCHDIR="v2025.01-rc3-coolpi-cm5"
declare -g BOOTBRANCH_BOARD="tag:v2025.01-rc3"
declare -g BOOTBRANCH_BOARD="tag:v2025.01"
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already

View File

@@ -5,8 +5,8 @@ BOARD_MAINTAINER="pyavitz"
BOOTCONFIG="amper_gateway_am-gz80x_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
BOOTBRANCH_BOARD="tag:v2024.07"
BOOTPATCHDIR="v2024.07"
BOOTBRANCH_BOARD="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
BOOT_FDT_FILE="amlogic/meson-axg-amper-gateway-am-gz80x.dtb"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyAML0,115200n8 clk_ignore_unused loglevel=7"

View File

@@ -2,29 +2,25 @@
BOARD_NAME="h96-tvbox-3566"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER="hqnicolas"
BOOTCONFIG="rk3568_defconfig"
KERNEL_TARGET="current,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3566-h96-tvbox.dtb"
BOOT_LOGO="desktop"
BOOT_SCENARIO="spl-blobs"
FULL_DESKTOP="yes"
IMAGE_PARTITION_TABLE="gpt"
KERNEL_TARGET="current,edge"
DDR_BLOB="rk35/rk3568_ddr_1560MHz_v1.21.bin"
BL31_BLOB="rk35/rk3568_bl31_v1.44.elf"
# Mainline U-Boot
function post_family_config__h96_max_use_mainline_uboot() {
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
declare -g BOOTCONFIG="generic-rk3568_defconfig" # Use generic defconfig which should boot all RK3568 boards
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
declare -g BOOTBRANCH="tag:v2024.07"
declare -g BOOTPATCHDIR="v2024.07/board_${BOARD}"
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
# Disable stuff from rockchip64_common; we're using binman here which does all the work already
declare -g BOOTCONFIG="h96max-v56_defconfig"
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git"
declare -g BOOTBRANCH="tag:v2025.01"
declare -g BOOTPATCHDIR="v2025.01/board_${BOARD}"
declare -g UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
function write_uboot_platform() {
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
}

View File

@@ -3,7 +3,8 @@ BOARD_NAME="Hinlink H66K"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-e25-rk3568_defconfig"
KERNEL_TARGET="edge"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-hinlink-h66k.dtb"

View File

@@ -3,7 +3,8 @@ BOARD_NAME="Hinlink H68K"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-e25-rk3568_defconfig"
KERNEL_TARGET="edge"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-hinlink-h68k.dtb"

View File

@@ -3,7 +3,8 @@ BOARD_NAME="Hinlink HNAS"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-e25-rk3568_defconfig"
KERNEL_TARGET="edge"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-hinlink-hnas.dtb"

View File

@@ -4,7 +4,7 @@ declare -g BOARD_MAINTAINER="lanefu"
declare -g BOARDFAMILY="rockchip-rk3588"
declare -g BOOTCONFIG="indiedroid_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
declare -g BOOT_SOC="rk3588"
declare -g KERNEL_TARGET="edge,current,vendor"
declare -g KERNEL_TARGET="current,edge,vendor"
declare -g FULL_DESKTOP="yes"
declare -g BOOT_LOGO="desktop"
declare -g BOOT_FDT_FILE="rockchip/rk3588s-indiedroid-nova.dtb"

View File

@@ -3,7 +3,7 @@ declare -g BOARD_NAME="Khadas Edge2"
declare -g BOARDFAMILY="rockchip-rk3588"
declare -g BOARD_MAINTAINER="efectn"
declare -g BOOT_SOC="rk3588" # Just to avoid errors in rockchip64_commmon
declare -g KERNEL_TARGET="edge,current,vendor"
declare -g KERNEL_TARGET="current,edge,vendor"
declare -g KERNEL_TEST_TARGET="vendor,current"
declare -g IMAGE_PARTITION_TABLE="gpt"
declare -g KERNEL_UPGRADE_FREEZE="vendor-rk35xx@24.8.1"

View File

@@ -1,5 +1,5 @@
# MBa8MPxL-RAS314 with TQMa8MPxL
BOARD_NAME="TQ8MP-RAS314"
# MBa8MP-RAS314 with TQMa8MPxL
BOARD_NAME="MBa8MP-RAS314"
BOARDFAMILY="imx8m"
BOARD_MAINTAINER="schmiedelm"
HAS_VIDEO_OUTPUT="yes"
@@ -19,28 +19,30 @@ function post_family_tweaks_bsp__mba8mpxl-ras314() {
wget https://github.com/nxp-imx/imx-firmware/raw/lf-6.6.3_1.0.0/nxp/FwImage_8997/pcieuart8997_combo_v4.bin
run_host_command_logged mkdir -pv --mode=755 "$destination/lib/firmware/" || exit_with_error "Unable to mkdir firmware"
run_host_command_logged mkdir -v --mode=775 "$destination/lib/firmware/mrvl/" || exit_with_error "Unable to mkdir mrvl"
run_host_command_logged cp -Pv "pcieuart8997_combo_v4.bin" "$destination/lib/firmware/mrvl/" || exit_with_error "Unable to copy mrvl firmware"
run_host_command_logged mv -v "pcieuart8997_combo_v4.bin" "$destination/lib/firmware/mrvl/" || exit_with_error "Unable to copy mrvl firmware"
# Add udev rule to delay btnxpuart loading
cat <<- EOF > "${destination}"/etc/udev/rules.d/10-nxp-bluetooth-delay.rules
cat <<- NXP_UDEV_RULE > "${destination}"/etc/udev/rules.d/10-nxp-bluetooth-delay.rules
# wait until combo FW is loaded by wifi driver
KERNEL=="mlan*", ACTION=="add", RUN+="/sbin/modprobe btnxpuart"
EOF
# Define a function to be run board-side during postinst of the BSP
display_alert "Adding to bsp-cli" "${BOARD}: postinst for periferial access" "info"
postinst_functions+=("board_side_imx8m_bsp_cli_postinst") # add to the postinst function list
function board_side_imx8mpxl_bsp_cli_postinst() {
# Peripheral access for specific groups
addgroup --system --quiet periphery
}
NXP_UDEV_RULE
# fix X11 config
mkdir -p "$destination"/etc/X11/xorg.conf.d
cat <<- EOF > "$destination"/etc/X11/xorg.conf.d/02-driver.conf
cat <<- XORG_HDMI_CONF > "$destination"/etc/X11/xorg.conf.d/10-hdmi.conf
Section "Device"
Identifier "main"
driver "fbdev"
Option "fbdev" "/dev/fb0"
Identifier "etnaviv"
Driver "modesetting"
Option "kmsdev" "/dev/dri/card1"
Option "AccelMethod" "none" ### "glamor" to enable 3D acceleration, "none" to disable.
Option "Atomic" "On"
EndSection
EOF
Section "ServerFlags"
Option "AutoAddGPU" "false"
Option "DRI" "3"
EndSection
XORG_HDMI_CONF
}

View File

@@ -13,12 +13,23 @@ BOOT_FDT_FILE="freescale/imx8mp-tqma8mpql-mba8mpxl.dtb"
ASOUND_STATE="asound.state.tqma"
function post_family_tweaks_bsp__mba8mpxl() {
# fix X11 config
mkdir -p "$destination"/etc/X11/xorg.conf.d
cat <<- EOF > "$destination"/etc/X11/xorg.conf.d/02-driver.conf
cat <<- XORG_HDMI_CONF > "$destination"/etc/X11/xorg.conf.d/10-hdmi.conf
Section "Device"
Identifier "main"
driver "fbdev"
Option "fbdev" "/dev/fb0"
Identifier "etnaviv"
Driver "modesetting"
Option "kmsdev" "/dev/dri/card1"
Option "AccelMethod" "none" ### "glamor" to enable 3D acceleration, "none" to disable.
Option "Atomic" "On"
EndSection
EOF
Section "ServerFlags"
Option "AutoAddGPU" "false"
Option "DRI" "3"
EndSection
XORG_HDMI_CONF
}

View File

@@ -1,6 +1,7 @@
# Rockchip RK3568 quad core 4GB-8GB GBE PCIe USB3 SATA NVMe
BOARD_NAME="Mixtile Edge 2"
BOARDFAMILY="rockchip64"
BOARDFAMILY="rk35xx"
BOOTCONFIG="mixtile-edge2-rk3568_defconfig"
BOARD_MAINTAINER=""
BOOT_SOC="rk3568"
KERNEL_TARGET="current,edge,vendor"
@@ -35,20 +36,3 @@ function post_family_config__h96_max_use_mainline_uboot() {
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
}
}
function post_family_config_branch_vendor__kernel_and_uboot_rk35xx_mixtile_edge2() {
# Copypasta from rockchip-rk3588.conf family file -- we _really_ gotta find a better way!
declare -g KERNEL_MAJOR_MINOR="6.1" # Major and minor versions of this kernel.
declare -g KERNELSOURCE='https://github.com/armbian/linux-rockchip.git'
declare -g KERNELBRANCH='branch:rk-6.1-rkr4.1'
declare -g KERNELPATCHDIR='rk35xx-vendor-6.1'
declare -g LINUXFAMILY=rk35xx
declare -g -i KERNEL_GIT_CACHE_TTL=120 # 2 minutes
declare -g OVERLAY_PREFIX='rk35xx'
# Use vendor u-boot, same as rk35xx; we've a defconfig and dt in there
declare -g BOOTSOURCE='https://github.com/radxa/u-boot.git'
declare -g BOOTBRANCH='branch:next-dev-v2024.03' # Always use same version as rk3588, they share a patch dir
declare -g BOOTPATCHDIR="legacy/u-boot-radxa-rk35xx"
declare -g BOOTCONFIG="mixtile-edge2-rk3568_defconfig"
}

View File

@@ -0,0 +1,19 @@
# Rockchip RK3328 quad core 1GB RAM eMMC USB-C USB3 USB2 WiFi
BOARD_NAME="mksklipad50"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER="torte71"
BOOTCONFIG="mksklipad50-rk3328_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
HAS_VIDEO_OUTPUT="no"
BOOT_LOGO="desktop"
MODULES="pinctrl-rk805 ads7846 spidev"
BOOTFS_TYPE="fat"
PACKAGE_LIST_BOARD="build-essential usb-modeswitch"
BOOTBRANCH='tag:v2025.01'
BOOTPATCHDIR='v2025.01'
function post_family_config__uboot_config() {
BOOTDELAY=1 # Wait for UART
}

View File

@@ -11,7 +11,8 @@ BOARD_MAINTAINER="redrathnure"
BOOTCONFIG="mkspi-rk3328_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
#No need to build Desktop images, minimal set will be installed together with KlipperScreen
HAS_VIDEO_OUTPUT="no"
BOOT_LOGO="desktop"
MODULES="ads7846 spidev"
BOOTFS_TYPE="fat"

View File

@@ -9,6 +9,6 @@ FULL_DESKTOP="yes"
ASOUND_STATE="asound.state.rt5651"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3399-nanopc-t4.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SCENARIO="blobless"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS2,1500000 console=tty0"

View File

@@ -5,5 +5,6 @@ BOARD_NAME="NanoPC T6 LTS"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="SuperKali Tonymac32"
BOOT_FDT_FILE="rockchip/rk3588-nanopc-t6-lts.dtb" # As opposed to "rockchip/rk3588-nanopc-t6.dtb" for the non-LTS version
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="vendor,current"
declare -g GRUB_FDT_FILE="${BOOT_FDT_FILE}" # u-boot autodetects, but grub needs to know; store it here so we can unset later

View File

@@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="SuperKali Tonymac32"
BOOTCONFIG="nanopc_t6_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="vendor,current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
@@ -13,7 +13,8 @@ BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
declare -g UEFI_EDK2_BOARD_ID="nanopc-t6" # This _only_ used for uefi-edk2-rk3588 extension
declare -g UEFI_EDK2_BOARD_ID="nanopc-t6" # This _only_ used for uefi-edk2-rk3588 extension
declare -g GRUB_FDT_FILE="${BOOT_FDT_FILE}" # u-boot autodetects, but grub needs to know; store it here so we can unset later
function post_family_tweaks__nanopct6_naming_audios() {
display_alert "$BOARD" "Renaming nanopct6 audio" "info"
@@ -33,11 +34,11 @@ function post_family_config_branch_edge__nanopct6_use_mainline_uboot() {
display_alert "$BOARD" "mainline (next branch) u-boot overrides for $BOARD / $BRANCH" "info"
declare -g BOOTCONFIG="nanopc-t6-rk3588_defconfig"
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline
declare -g BOOTBRANCH="tag:v2024.10"
declare -g BOOTPATCHDIR="v2024.10"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline
declare -g BOOTBRANCH="tag:v2025.04-rc1"
declare -g BOOTPATCHDIR="v2025.04"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
@@ -51,10 +52,44 @@ function post_family_config_branch_edge__nanopct6_use_mainline_uboot() {
}
}
# U-boot 2025.04+ can detect and set fdtfile automatically across T6 and T6-LTS boards.
# So if using mainline u-boot, unset BOOT_FDT_FILE to let u-boot handle it.
# That way, both variants can boot from the same image; lets keep the -lts board file for vendor kernel/u-boot.
function post_family_config_branch_edge__t6_and_t6_lts_auto_dtb_name_via_uboot_detection() {
unset BOOT_FDT_FILE
}
function pre_config_uboot_target__nanoptc6_patch_uboot_dtsi_for_ums() {
[[ "${BRANCH}" != "edge" ]] && return 0
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for UMS" "info" # avoid a patch, just append to the dtsi file
cat <<- EOD >> arch/arm/dts/rk3588-nanopc-t6-u-boot.dtsi # Append to the t6 u-boot dtsi file with stuff for enabling gadget/otg/peripheral mode
&u2phy0 { status = "okay"; };
&u2phy0_otg { status = "okay"; };
&usbdp_phy0 { status = "okay"; };
&usb_host0_xhci { dr_mode = "peripheral"; maximum-speed = "high-speed"; status = "okay"; };
EOD
}
# "rockchip-common: boot SD card first, then NVMe, then mmc"
# include/configs/rockchip-common.h
# -#define BOOT_TARGETS "mmc1 mmc0 nvme scsi usb pxe dhcp spi"
# +#define BOOT_TARGETS "mmc0 nvme mmc1 scsi usb pxe dhcp spi"
# On nanopct6, mmc0 is the eMMC, mmc1 is the SD card slot
function pre_config_uboot_target__nanopct6_patch_rockchip_common_boot_order() {
declare -a rockchip_uboot_targets=("mmc1" "nvme" "mmc0" "scsi" "usb" "pxe" "dhcp" "spi") # for future make-this-generic delight
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: adjust boot order to '${rockchip_uboot_targets[*]}'" "info"
sed -i -e "s/#define BOOT_TARGETS.*/#define BOOT_TARGETS \"${rockchip_uboot_targets[*]}\"/" include/configs/rockchip-common.h
regular_git diff -u include/configs/rockchip-common.h || true
}
function post_config_uboot_target__extra_configs_for_nanopct6_mainline_environment_in_spi() {
[[ "${BRANCH}" != "edge" ]] && return 0
display_alert "$BOARD" "u-boot configs for ${BOOTBRANCH} u-boot config BRANCH=${BRANCH}" "info"
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable board-specific configs (env in SPI)" "info"
run_host_command_logged scripts/config --enable CONFIG_DM_PMIC_FAN53555
run_host_command_logged scripts/config --enable CONFIG_CMD_MISC
run_host_command_logged scripts/config --set-val CONFIG_ENV_IS_NOWHERE "n"
run_host_command_logged scripts/config --set-val CONFIG_ENV_IS_IN_SPI_FLASH "y"
run_host_command_logged scripts/config --set-val CONFIG_ENV_SECT_SIZE_AUTO "y"
@@ -62,24 +97,24 @@ function post_config_uboot_target__extra_configs_for_nanopct6_mainline_environme
run_host_command_logged scripts/config --set-val CONFIG_ENV_SIZE "0x20000"
run_host_command_logged scripts/config --set-val CONFIG_ENV_OFFSET "0xc00000"
display_alert "u-boot for ${BOARD}" "u-boot: enable preboot & flash user LED in preboot" "info"
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable preboot & flash user LED in preboot" "info"
run_host_command_logged scripts/config --enable CONFIG_USE_PREBOOT
run_host_command_logged scripts/config --set-str CONFIG_PREBOOT "'led user-led on; sleep 0.1; led user-led off'" # double quotes required due to run_host_command_logged's quirks
display_alert "u-boot for ${BOARD}" "u-boot: enable EFI debugging command" "info"
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable EFI debugging commands" "info"
run_host_command_logged scripts/config --enable CMD_EFIDEBUG
run_host_command_logged scripts/config --enable CMD_NVEDIT_EFI
display_alert "u-boot for ${BOARD}" "u-boot: enable more compression support" "info"
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable more compression support" "info"
run_host_command_logged scripts/config --enable CONFIG_LZO
run_host_command_logged scripts/config --enable CONFIG_BZIP2
run_host_command_logged scripts/config --enable CONFIG_ZSTD
display_alert "u-boot for ${BOARD}" "u-boot: enable gpio LED support" "info"
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable gpio LED support" "info"
run_host_command_logged scripts/config --enable CONFIG_LED
run_host_command_logged scripts/config --enable CONFIG_LED_GPIO
display_alert "u-boot for ${BOARD}" "u-boot: enable networking cmds" "info"
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable networking cmds" "info"
run_host_command_logged scripts/config --enable CONFIG_CMD_NFS
run_host_command_logged scripts/config --enable CONFIG_CMD_WGET
run_host_command_logged scripts/config --enable CONFIG_CMD_DNS
@@ -87,14 +122,13 @@ function post_config_uboot_target__extra_configs_for_nanopct6_mainline_environme
run_host_command_logged scripts/config --enable CONFIG_PROT_TCP_SACK
# UMS, RockUSB, gadget stuff
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable UMS/RockUSB gadget" "info"
declare -a enable_configs=("CONFIG_CMD_USB_MASS_STORAGE" "CONFIG_USB_GADGET" "USB_GADGET_DOWNLOAD" "CONFIG_USB_FUNCTION_ROCKUSB" "CONFIG_USB_FUNCTION_ACM" "CONFIG_CMD_ROCKUSB" "CONFIG_CMD_USB_MASS_STORAGE")
for config in "${enable_configs[@]}"; do
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable ${config}" "info"
run_host_command_logged scripts/config --enable "${config}"
done
# Auto-enabled by the above, force off...
run_host_command_logged scripts/config --disable USB_FUNCTION_FASTBOOT
}
# Include fw_setenv, configured to point to the correct spot on the SPI Flash

View File

@@ -4,15 +4,23 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="efectn"
BOOTCONFIG="nanopi-m6-rk3588s_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="vendor,current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
IMAGE_PARTITION_TABLE="gpt"
BOOT_FDT_FILE="rockchip/rk3588s-nanopi-m6.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
DEFAULT_OVERLAYS="nanopi-m6-display-dsi1-yx35" # Enable YX35 LCD
function post_family_config__nanopi_m6_support_spi_boot() {
UBOOT_TARGET_MAP="nanopi-m6-rk3588s_defconfig BL31=$RKBIN_DIR/$BL31_BLOB spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb
nanopi-m6-spi-rk3588s_defconfig BL31=$RKBIN_DIR/$BL31_BLOB spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;rkspi_loader.img"
}
function post_family_tweaks__nanopim6_naming_udev_audios() {
display_alert "$BOARD" "Renaming NanoPi M6 HDMI audio" "info"

View File

@@ -0,0 +1,15 @@
# Rockchip RK3328 quad core 1GB 2 x GBE USB2
BOARD_NAME="Nanopi R2S Plus"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER=""
BOOTBRANCH="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
BOOTCONFIG="nanopi-r2s-plus-rk3328_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
DEFAULT_CONSOLE="serial"
MODULES="g_serial"
MODULES_BLACKLIST="rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi gpu_sched lima hantro_vpu"
SERIALCON="ttyS2:1500000,ttyGS0"
HAS_VIDEO_OUTPUT="no"
BOOT_FDT_FILE="rockchip/rk3328-nanopi-r2s-plus-rev00.dtb"

View File

@@ -0,0 +1,53 @@
# Rockchip RK3566 quad core 2GB RAM eMMC 2x GbE USB3
BOARD_NAME="NanoPi R3S"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
HAS_VIDEO_OUTPUT="no"
BOOTCONFIG="nanopi-r3s-rk3566_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current,edge"
BOOT_FDT_FILE="rockchip/rk3566-nanopi-r3s.dtb"
IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
function post_family_config_branch_edge__use_mainline_dtb_name() {
unset BOOT_FDT_FILE # boot.scr will use whatever u-boot detects and sets 'fdtfile' to
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
}
function post_family_config_branch_current__use_mainline_dtb_name() {
unset BOOT_FDT_FILE # boot.scr will use whatever u-boot detects and sets 'fdtfile' to
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
}
function post_family_config_branch_current__nanopi-r3s_use_mainline_uboot() {
BOOTCONFIG="nanopi-r3s-rk3566_defconfig"
BOOTSOURCE="https://github.com/u-boot/u-boot"
BOOTBRANCH="tag:v2024.10"
BOOTPATCHDIR="v2024.10"
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
function write_uboot_platform() {
dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none
}
}
function post_family_config_branch_edge__nanopi-r3s_use_mainline_uboot() {
BOOTCONFIG="nanopi-r3s-rk3566_defconfig"
BOOTSOURCE="https://github.com/u-boot/u-boot"
BOOTBRANCH="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
function write_uboot_platform() {
dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none
}
}

View File

@@ -4,12 +4,13 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="ColorfulRhino"
BOOTCONFIG="nanopi-r6c-rk3588s_defconfig" # Mainline defconfig, enables booting from NVMe
BOOT_SOC="rk3588"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
IMAGE_PARTITION_TABLE="gpt"
BOOT_FDT_FILE="rockchip/rk3588s-nanopi-r6c.dtb"
BOOT_SCENARIO="spl-blobs"
declare -g UEFI_EDK2_BOARD_ID="nanopi-r6c" # This _only_ used for uefi-edk2-rk3588 extension
function post_family_tweaks__nanopi_r6c_naming_audios() {
display_alert "$BOARD" "Renaming NanoPi R6C HDMI audio interface to human-readable form" "info"
@@ -36,17 +37,80 @@ function post_family_config__nanopi_r6c_use_mainline_uboot() {
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
declare -g BOOTBRANCH="tag:v2024.10"
declare -g BOOTPATCHDIR="v2024.10"
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
declare -g BOOTBRANCH="tag:v2025.01"
declare -g BOOTPATCHDIR="v2025.01"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
# Disable stuff from rockchip64_common; we're using binman here which does all the work already
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
function write_uboot_platform() {
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
}
}
function pre_config_uboot_target__r6c_patch_uboot_dtsi_for_ums() {
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for UMS" "info" # avoid a patch, just append to the dtsi file
cat <<- EOD >> arch/arm/dts/rk3588s-nanopi-r6c-u-boot.dtsi
&u2phy0 { status = "okay"; };
&u2phy0_otg { status = "okay"; };
&usbdp_phy0 { status = "okay"; };
&usb_host0_xhci { dr_mode = "peripheral"; maximum-speed = "high-speed"; status = "okay"; };
EOD
}
# The upstream DTs (kernel 6.13 / u-boot 2025.01) are in flux and different
# let's just patch to normalize the SD and eMMC order as in mainline Linux DT: https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi#L14-L15
function pre_config_uboot_target__r6c_patch_uboot_dtsi_for_sd_emmc_order() {
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for SD=mmc0 and eMMC=mmc1" "info"
cat <<- EOD >> arch/arm/dts/rk3588s-nanopi-r6c-u-boot.dtsi
/ { aliases { mmc0 = &sdmmc; mmc1 = &sdhci; }; };
EOD
}
# "rockchip-common: boot SD card first, then NVMe, then mmc"
# include/configs/rockchip-common.h
# -#define BOOT_TARGETS "mmc1 mmc0 nvme scsi usb pxe dhcp spi"
# +#define BOOT_TARGETS "mmc0 nvme mmc1 scsi usb pxe dhcp spi"
# On R6C, mmc1 is the eMMC, mmc0 is the SD card slot
function pre_config_uboot_target__r6c_patch_rockchip_common_boot_order() {
declare -a rockchip_uboot_targets=("mmc0" "nvme" "mmc1" "scsi" "usb" "pxe" "dhcp" "spi") # for future make-this-generic delight
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: adjust boot order to '${rockchip_uboot_targets[*]}'" "info"
sed -i -e "s/#define BOOT_TARGETS.*/#define BOOT_TARGETS \"${rockchip_uboot_targets[*]}\"/" include/configs/rockchip-common.h
regular_git diff -u include/configs/rockchip-common.h || true
}
function post_config_uboot_target__extra_configs_for_r6c_mainline() {
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable board-specific configs" "info"
run_host_command_logged scripts/config --enable CONFIG_DM_PMIC_FAN53555
run_host_command_logged scripts/config --enable CONFIG_CMD_MISC
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable EFI debugging commands" "info"
run_host_command_logged scripts/config --enable CMD_EFIDEBUG
run_host_command_logged scripts/config --enable CMD_NVEDIT_EFI
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable more compression support" "info"
run_host_command_logged scripts/config --enable CONFIG_LZO
run_host_command_logged scripts/config --enable CONFIG_BZIP2
run_host_command_logged scripts/config --enable CONFIG_ZSTD
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable gpio LED support" "info"
run_host_command_logged scripts/config --enable CONFIG_LED
run_host_command_logged scripts/config --enable CONFIG_LED_GPIO
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable networking cmds" "info"
run_host_command_logged scripts/config --enable CONFIG_CMD_NFS
run_host_command_logged scripts/config --enable CONFIG_CMD_WGET
run_host_command_logged scripts/config --enable CONFIG_CMD_DNS
run_host_command_logged scripts/config --enable CONFIG_PROT_TCP
run_host_command_logged scripts/config --enable CONFIG_PROT_TCP_SACK
# UMS, RockUSB, gadget stuff
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable UMS/RockUSB gadget" "info"
declare -a enable_configs=("CONFIG_CMD_USB_MASS_STORAGE" "CONFIG_USB_GADGET" "USB_GADGET_DOWNLOAD" "CONFIG_USB_FUNCTION_ROCKUSB" "CONFIG_USB_FUNCTION_ACM" "CONFIG_CMD_ROCKUSB" "CONFIG_CMD_USB_MASS_STORAGE")
for config in "${enable_configs[@]}"; do
run_host_command_logged scripts/config --enable "${config}"
done
# Auto-enabled by the above, force off...
run_host_command_logged scripts/config --disable USB_FUNCTION_FASTBOOT
}

View File

@@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="efectn"
BOOTCONFIG="nanopi-r6s-rk3588s_defconfig" # Mainline defconfig
BOOT_SOC="rk3588"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="vendor,current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
@@ -40,17 +40,80 @@ function post_family_config__nanopi_r6s_use_mainline_uboot() {
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
declare -g BOOTBRANCH="tag:v2024.10"
declare -g BOOTPATCHDIR="v2024.10"
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
declare -g BOOTBRANCH="tag:v2025.01"
declare -g BOOTPATCHDIR="v2025.01"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
# Disable stuff from rockchip64_common; we're using binman here which does all the work already
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
function write_uboot_platform() {
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
}
}
function pre_config_uboot_target__r6s_patch_uboot_dtsi_for_ums() {
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for UMS" "info" # avoid a patch, just append to the dtsi file
cat <<- EOD >> arch/arm/dts/rk3588s-nanopi-r6s-u-boot.dtsi
&u2phy0 { status = "okay"; };
&u2phy0_otg { status = "okay"; };
&usbdp_phy0 { status = "okay"; };
&usb_host0_xhci { dr_mode = "peripheral"; maximum-speed = "high-speed"; status = "okay"; };
EOD
}
# The upstream DTs (kernel 6.13 / u-boot 2025.01) are in flux and different
# let's just patch to normalize the SD and eMMC order as in mainline Linux DT: https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi#L14-L15
function pre_config_uboot_target__r6s_patch_uboot_dtsi_for_sd_emmc_order() {
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for SD=mmc0 and eMMC=mmc1" "info"
cat <<- EOD >> arch/arm/dts/rk3588s-nanopi-r6s-u-boot.dtsi
/ { aliases { mmc0 = &sdmmc; mmc1 = &sdhci; }; };
EOD
}
# "rockchip-common: boot SD card first, then NVMe, then mmc"
# include/configs/rockchip-common.h
# -#define BOOT_TARGETS "mmc1 mmc0 nvme scsi usb pxe dhcp spi"
# +#define BOOT_TARGETS "mmc0 nvme mmc1 scsi usb pxe dhcp spi"
# On R6S, mmc1 is the eMMC, mmc0 is the SD card slot
function pre_config_uboot_target__r6s_patch_rockchip_common_boot_order() {
declare -a rockchip_uboot_targets=("mmc0" "nvme" "mmc1" "scsi" "usb" "pxe" "dhcp" "spi") # for future make-this-generic delight
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: adjust boot order to '${rockchip_uboot_targets[*]}'" "info"
sed -i -e "s/#define BOOT_TARGETS.*/#define BOOT_TARGETS \"${rockchip_uboot_targets[*]}\"/" include/configs/rockchip-common.h
regular_git diff -u include/configs/rockchip-common.h || true
}
function post_config_uboot_target__extra_configs_for_r6s_mainline() {
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable board-specific configs" "info"
run_host_command_logged scripts/config --enable CONFIG_DM_PMIC_FAN53555
run_host_command_logged scripts/config --enable CONFIG_CMD_MISC
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable EFI debugging commands" "info"
run_host_command_logged scripts/config --enable CMD_EFIDEBUG
run_host_command_logged scripts/config --enable CMD_NVEDIT_EFI
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable more compression support" "info"
run_host_command_logged scripts/config --enable CONFIG_LZO
run_host_command_logged scripts/config --enable CONFIG_BZIP2
run_host_command_logged scripts/config --enable CONFIG_ZSTD
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable gpio LED support" "info"
run_host_command_logged scripts/config --enable CONFIG_LED
run_host_command_logged scripts/config --enable CONFIG_LED_GPIO
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable networking cmds" "info"
run_host_command_logged scripts/config --enable CONFIG_CMD_NFS
run_host_command_logged scripts/config --enable CONFIG_CMD_WGET
run_host_command_logged scripts/config --enable CONFIG_CMD_DNS
run_host_command_logged scripts/config --enable CONFIG_PROT_TCP
run_host_command_logged scripts/config --enable CONFIG_PROT_TCP_SACK
# UMS, RockUSB, gadget stuff
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable UMS/RockUSB gadget" "info"
declare -a enable_configs=("CONFIG_CMD_USB_MASS_STORAGE" "CONFIG_USB_GADGET" "USB_GADGET_DOWNLOAD" "CONFIG_USB_FUNCTION_ROCKUSB" "CONFIG_USB_FUNCTION_ACM" "CONFIG_CMD_ROCKUSB" "CONFIG_CMD_USB_MASS_STORAGE")
for config in "${enable_configs[@]}"; do
run_host_command_logged scripts/config --enable "${config}"
done
# Auto-enabled by the above, force off...
run_host_command_logged scripts/config --disable USB_FUNCTION_FASTBOOT
}

View File

@@ -2,7 +2,7 @@
BOARD_NAME="Odroid C1"
BOARDFAMILY="meson8b"
BOARD_MAINTAINER="juanlufont"
KERNEL_TARGET="current,edge"
KERNEL_TARGET="current"
KERNEL_TEST_TARGET="current"
BOOTDIR='u-boot-odroidc1'

View File

@@ -12,8 +12,8 @@ IMAGE_PARTITION_TABLE="gpt"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOTBRANCH_BOARD="tag:v2024.07"
BOOTPATCHDIR="v2024.07"
BOOTBRANCH_BOARD="tag:v2025.01"
BOOTPATCHDIR="v2025.01" # but all changes are done in this board file, not patches
BOOTCONFIG="odroid-m1-rk3568_defconfig"
BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
@@ -21,10 +21,6 @@ BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
# The overlays for this board are prefixed by 'rockchip-rk3568-hk' (see for example patch/kernel/archive/rockchip64-6.6/overlay/rockchip-rk3568-hk-i2c0.dts)
OVERLAY_PREFIX="rockchip-rk3568-hk"
# HK's SPI partition on MTD:
# mtd0: start 0 size 917.504 end 917.504 : SPL == start 0x0 size 0xe0000 : SPL
# mtd1: start 917.504 size 131.072 end 1.048.576 : U-Boot Env == start 0xe0000 size 0x20000 : U-Boot Env
# mtd2: start 1.048.576 size 2.097.152 end 3.145.728 : U-Boot == start 0x100000 size 0x200000 : U-Boot
function post_family_config__uboot_config() {
display_alert "$BOARD" "u-boot ${BOOTBRANCH_BOARD} overrides" "info"
BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
@@ -67,14 +63,20 @@ function post_family_tweaks__config_odroidm1_fwenv() {
# https://github.com/hardkernel/u-boot/blob/356906e6445378a45ac14ec184fc6e666b22338a/configs/odroid_rk3568_defconfig#L212-L213
# The kernel DT has a convenient partition table, so mtd1 is ready to use, just gotta set the size.
# https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts#L637-L662
# HK's SPI partition on MTD:
# mtd0: start 0 size 917.504 end 917.504 : SPL == start 0x0 size 0xe0000 : SPL
# mtd1: start 917.504 size 131.072 end 1.048.576 : U-Boot Env == start 0xe0000 size 0x20000 : U-Boot Env
# mtd2: start 1.048.576 size 2.097.152 end 3.145.728 : U-Boot == start 0x100000 size 0x200000 : U-Boot
cat <<- 'FW_ENV_CONFIG' > "${SDCARD}"/etc/fw_env.config
# MTD on the SPI for the Odroid-M1; this requires the MTD partition table in the board kernel DTS
# MTD device name Device offset Env. size Flash sector size Number of sectors
/dev/mtd1 0x0000 0x20000
FW_ENV_CONFIG
}
# add a network rule to rename default name
# add a network rule to rename default name
function post_family_tweaks__odroidm1_rename_gmac_eth0() {
display_alert "Creating network rename rule for Odroid M1"
mkdir -p "${SDCARD}"/etc/udev/rules.d/
cat <<- EOF > "${SDCARD}"/etc/udev/rules.d/70-rename-lan.rules
@@ -83,6 +85,22 @@ function post_family_tweaks__config_odroidm1_fwenv() {
}
function pre_config_uboot_target__odroidm1_patch_uboot_dtsi_for_ums() {
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for UMS" "info" # avoid a patch, just append to the dtsi file
cat <<- UBOOT_BOARD_DTSI_OTG >> arch/arm/dts/rk3568-odroid-m1-u-boot.dtsi
&usb_host0_xhci { dr_mode = "otg"; };
UBOOT_BOARD_DTSI_OTG
}
# "rockchip-common: boot SD card first, then NVMe, then SATA, then USB, then mmc"
# On odroidm1, mmc0 is the eMMC, mmc1 is the SD card slot
function pre_config_uboot_target__odroidm1_patch_rockchip_common_boot_order() {
declare -a rockchip_uboot_targets=("mmc1" "nvme" "scsi" "usb" "mmc0" "pxe" "dhcp" "spi") # for future make-this-generic delight
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: adjust boot order to '${rockchip_uboot_targets[*]}'" "info"
sed -i -e "s/#define BOOT_TARGETS.*/#define BOOT_TARGETS \"${rockchip_uboot_targets[*]}\"/" include/configs/rockchip-common.h
regular_git diff -u include/configs/rockchip-common.h || true
}
# A better equivalent to patching a defconfig, do changes to .config via code.
# For UMS/RockUSB to work in u-boot, &usb_host0_xhci { dr_mode = "otg" } is required. See 0002-board-rockchip-ODROID-M1-override-kernel-DT-for-xhci-otg-dr_mode.patch
function post_config_uboot_target__extra_configs_for_odroid-m1() {
@@ -119,6 +137,13 @@ function post_config_uboot_target__extra_configs_for_odroid-m1() {
run_host_command_logged scripts/config --enable CONFIG_PROT_TCP
run_host_command_logged scripts/config --enable CONFIG_PROT_TCP_SACK
display_alert "u-boot for ${BOARD}" "u-boot: enable more cmdline commands" "info" # for extra compat with eg HAOS
run_host_command_logged scripts/config --enable CONFIG_CMD_SQUASHFS
run_host_command_logged scripts/config --enable CONFIG_CMD_SETEXPR
run_host_command_logged scripts/config --enable CONFIG_CMD_FILEENV # added via cmd-fileenv-read-string-from-file-into-env.patch
run_host_command_logged scripts/config --enable CONFIG_CMD_CAT
run_host_command_logged scripts/config --enable CONFIG_CMD_XXD
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enabling UMS/RockUSB Gadget functionality" "info"
declare -a enable_configs=("CONFIG_CMD_USB_MASS_STORAGE" "CONFIG_USB_GADGET" "USB_GADGET_DOWNLOAD" "CONFIG_USB_FUNCTION_ROCKUSB" "CONFIG_USB_FUNCTION_ACM" "CONFIG_CMD_ROCKUSB" "CONFIG_CMD_USB_MASS_STORAGE")
for config in "${enable_configs[@]}"; do

View File

@@ -0,0 +1,51 @@
# Rockchip RK3588s SoC octa core 4-16GB SoC eMMC USB3 NvME
BOARD_NAME="Odroid M2"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER="mlegenovic"
BOOT_SOC="rk3588"
KERNEL_TARGET="edge"
BOOT_FDT_FILE="rockchip/rk3588s-odroid-m2.dtb"
BOOT_SCENARIO="binman"
IMAGE_PARTITION_TABLE="gpt"
FULL_DESKTOP="no"
BOOT_LOGO="yes"
BOOTBRANCH_BOARD="tag:v2025.04-rc4"
BOOTBRANCH="${BOOTBRANCH_BOARD}"
BOOTPATCHDIR="v2025.04-rc4"
BOOTCONFIG="odroid-m2-rk3588s_defconfig"
BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
OVERLAY_PREFIX='rockchip-rk3588'
function post_family_config__uboot_config() {
display_alert "$BOARD" "u-boot ${BOOTBRANCH_BOARD} overrides" "info"
BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/$BL31_BLOB ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
function write_uboot_platform() {
dd if=${1}/u-boot-rockchip.bin of=${2} bs=32k seek=1 conv=fsync
}
}
# "rockchip-common: boot SD card first, then NVMe, then SATA, then USB, then mmc"
# On odroidm2, mmc0 is the eMMC, mmc1 is the SD card slot
function pre_config_uboot_target__odroidm2_patch_rockchip_common_boot_order() {
declare -a rockchip_uboot_targets=("mmc1" "nvme" "mmc0" "usb" "pxe" "dhcp") # for future make-this-generic delight
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: adjust boot order to '${rockchip_uboot_targets[*]}'" "info"
sed -i -e "s/#define BOOT_TARGETS.*/#define BOOT_TARGETS \"${rockchip_uboot_targets[*]}\"/" include/configs/rockchip-common.h
regular_git diff -u include/configs/rockchip-common.h || true
}
# add a network rule to rename default name
function post_family_tweaks__odroidm2_rename_gmac_eth0() {
display_alert "Creating network rename rule for Odroid M2"
mkdir -p "${SDCARD}"/etc/udev/rules.d/
cat <<- EOF > "${SDCARD}"/etc/udev/rules.d/70-rename-lan.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNEL=="end*", NAME="eth0"
EOF
}

View File

@@ -2,7 +2,7 @@
BOARD_NAME="OneCloud"
BOARDFAMILY="meson8b"
BOARD_MAINTAINER="hzyitc"
KERNEL_TARGET="current,edge"
KERNEL_TARGET="current"
KERNEL_TEST_TARGET="current"
BOOTCONFIG="none"
BOOTSCRIPT="boot-onecloud.cmd:boot.cmd"

View File

@@ -25,9 +25,14 @@ function post_family_tweaks_bsp__oneplus-kebab_firmware() {
# USB Gadget Network service
mkdir -p $destination/usr/local/bin/
mkdir -p $destination/usr/lib/systemd/system/
mkdir -p $destination/etc/initramfs-tools/scripts/init-bottom/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/setup-usbgadget-network.sh $destination/usr/local/bin/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/remove-usbgadget-network.sh $destination/usr/local/bin/
install -Dm644 $SRC/packages/bsp/usb-gadget-network/usbgadget-rndis.service $destination/usr/lib/systemd/system/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/usb-gadget-initramfs-hook $destination/etc/initramfs-tools/hooks/usb-gadget
install -Dm655 $SRC/packages/bsp/usb-gadget-network/usb-gadget-initramfs-premount $destination/etc/initramfs-tools/scripts/init-premount/usb-gadget
install -Dm655 $SRC/packages/bsp/usb-gadget-network/dropbear $destination/etc/initramfs-tools/scripts/init-premount/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/kill-dropbear $destination/etc/initramfs-tools/scripts/init-bottom/
# Bluetooth MAC addr setup service
install -Dm655 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.sh $destination/usr/local/bin/
@@ -60,14 +65,14 @@ function post_family_tweaks__oneplus-kebab_enable_services() {
fi
# we need unudhcpd from armbian repo, so enable it
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.list.disabled "${SDCARD}"/etc/apt/sources.list.d/armbian.list
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.sources.disabled "${SDCARD}"/etc/apt/sources.list.d/armbian.sources
do_with_retries 3 chroot_sdcard_apt_get_update
display_alert "$BOARD" "Installing board tweaks" "info"
do_with_retries 3 chroot_sdcard_apt_get_install alsa-ucm-conf qbootctl qrtr-tools unudhcpd mkbootimg
do_with_retries 3 chroot_sdcard_apt_get_install alsa-ucm-conf qbootctl qrtr-tools unudhcpd mkbootimg dropbear-bin
# disable armbian repo back
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.list "${SDCARD}"/etc/apt/sources.list.d/armbian.list.disabled
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.sources "${SDCARD}"/etc/apt/sources.list.d/armbian.sources.disabled
do_with_retries 3 chroot_sdcard_apt_get_update
chroot_sdcard systemctl enable qbootctl.service

View File

@@ -4,7 +4,7 @@
BOARD_NAME="Orange Pi 4 LTS"
BOARDFAMILY="rockchip64" # Used to be rk3399
BOARD_MAINTAINER="paolosabatino"
BOOTCONFIG="orangepi-4-rk3399_defconfig"
BOOTCONFIG="orangepi-rk3399_defconfig"
BOOT_FDT_FILE="rockchip/rk3399-orangepi-4-lts.dtb"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
@@ -13,8 +13,9 @@ MODULES_EDGE="sprdbt_tty sprdwl_ng"
FULL_DESKTOP="yes"
ASOUND_STATE="asound.state.rk3399"
BOOT_LOGO="desktop"
BOOTBRANCH_BOARD="tag:v2022.04"
BOOTPATCHDIR="u-boot-rockchip64-v2022.04"
BOOTBRANCH_BOARD="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
BOOT_SCENARIO="binman"
function post_family_tweaks_bsp__OPi4lts() {
display_alert "Installing BSP firmware and fixups"

View File

@@ -4,8 +4,8 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOOTCONFIG="orangepi-5-max-rk3588_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="vendor"
KERNEL_TEST_TARGET="vendor"
KERNEL_TARGET="vendor,current,edge"
KERNEL_TEST_TARGET="vendor,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-orangepi-5-max.dtb"

View File

@@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="alexl83"
BOOTCONFIG="orangepi-5-plus-rk3588_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="vendor,current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"

View File

@@ -0,0 +1,57 @@
# Rockchip RK3588 octa core whatever fixme
BOARD_NAME="Orange Pi 5 Ultra"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOOTCONFIG="orangepi-5-ultra-rk3588_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-orangepi-5-ultra.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
#enable_extension "bcmdhd"
BCMDHD_TYPE="sdio"
# for testing purpose only. needs adaption to mainline once this makes it into 6.15 or .16
function post_family_config_branch_edge__orangepi5-ultra_use_custom_source() {
KERNEL_MAJOR_MINOR="6.14" # Major and minor versions of this kernel.
KERNELSOURCE='https://github.com/jimmyhon/linux.git'
KERNELBRANCH='branch:integrate-6.15'
KERNELPATCHDIR='integrate-6.15'
EXTRAWIFI=no # due to absence of our own fixups 3rd party wifi drivers break
}
function post_family_tweaks__orangepi5ultra_naming_audios() {
display_alert "$BOARD" "Renaming orangepi5ultra audios" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio"' > $SDCARD/etc/udev/rules.d/90-naming-audios.rules
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi1-sound", ENV{SOUND_DESCRIPTION}="HDMI1 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-es8388-sound", ENV{SOUND_DESCRIPTION}="ES8388 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
return 0
}
function post_family_tweaks_bsp__orangepi5ultra_bluetooth() {
display_alert "$BOARD" "Installing ap6611s-bluetooth.service" "info"
# Bluetooth on this board is handled by a Broadcom (AP6611S) chip and requires
# a custom brcm_patchram_plus binary, plus a systemd service to run it at boot time
install -m 755 $SRC/packages/bsp/rk3399/brcm_patchram_plus_rk3399 $destination/usr/bin
cp $SRC/packages/bsp/rk3399/rk3399-bluetooth.service $destination/lib/systemd/system/ap6611s-bluetooth.service
# Reuse the service file, ttyS0 -> ttyS7; BCM4345C5.hcd -> SYN43711A0.hcd
sed -i 's/ttyS0/ttyS7/g' $destination/lib/systemd/system/ap6611s-bluetooth.service
sed -i 's/BCM4345C5.hcd/SYN43711A0.hcd/g' $destination/lib/systemd/system/ap6611s-bluetooth.service
return 0
}
function post_family_tweaks__orangepi5ultra_enable_bluetooth_service() {
display_alert "$BOARD" "Enabling ap6611s-bluetooth.service" "info"
chroot_sdcard systemctl enable ap6611s-bluetooth.service
return 0
}

View File

@@ -5,7 +5,7 @@ BOARD_MAINTAINER="efectn"
BOOTCONFIG="orangepi-5-rk3588s_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOTCONFIG_SATA="orangepi-5-sata-rk3588s_defconfig"
BOOT_SOC="rk3588"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="vendor,current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
@@ -14,12 +14,32 @@ BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
KERNEL_UPGRADE_FREEZE="vendor-rk35xx@24.8.1"
declare -g UEFI_EDK2_BOARD_ID="orangepi-5" # This _only_ used for uefi-edk2-rk3588 extension
# @TODO: consider removing those, as the defaults in rockchip64_common have been bumped up
DDR_BLOB='rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.15.bin'
BL31_BLOB='rk35/rk3588_bl31_v1.44.elf'
# Mainline U-Boot for current kernel
function post_family_config_branch_current__orangepi5_use_mainline_uboot() {
display_alert "$BOARD" "Mainline U-Boot overrides for $BOARD - $BRANCH" "info"
declare -g BOOTCONFIG="orangepi-5-rk3588s_defconfig" # override the default for the board/family
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ mainline U-Boot
declare -g BOOTBRANCH="tag:v2025.01"
declare -g BOOTPATCHDIR="v2025.01"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
function write_uboot_platform() {
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
}
function write_uboot_platform_mtd() {
flashcp -v -p "$1/u-boot-rockchip-spi.bin" /dev/mtd0
}
}
declare -g BLUETOOTH_HCIATTACH_PARAMS="-s 115200 /dev/ttyS9 bcm43xx 1500000" # For the bluetooth-hciattach extension
enable_extension "bluetooth-hciattach" # Enable the bluetooth-hciattach extension

View File

@@ -0,0 +1,28 @@
#Texas Instruments AM62 dual core 1GB USB2 DDR4
BOARD_NAME="PocketBeagle 2"
BOARDFAMILY="k3"
BOARD_MAINTAINER="Grippy98"
BOOTCONFIG="am6232_pocketbeagle2_a53_defconfig"
BOOTFS_TYPE="fat"
BOOT_FDT_FILE="k3-am6232-pocketbeagle2.dts"
TIBOOT3_BOOTCONFIG="am6232_pocketbeagle2_r5_defconfig"
TIBOOT3_FILE="tiboot3-am62x-hs-fs-evm.bin"
DEFAULT_CONSOLE="serial"
KERNEL_TARGET="edge"
KERNEL_TEST_TARGET="edge"
SERIALCON="ttyS2"
ATF_BOARD="lite"
#Until PB2 goes upstream, use this branch
function post_family_config_branch_edge__pocketbeagle2_use_beagle_kernel_uboot() {
display_alert "$BOARD" " beagleboard (next branch) u-boot and kernel overrides for $BOARD / $BRANCH" "info"
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel
declare -g KERNEL_MAJOR_MINOR="6.12"
declare -g KERNELBRANCH="branch:v6.12.13-ti-arm64-r24"
declare -g LINUXFAMILY="k3-beagle" # Separate kernel package from the regular `k3` family
declare -g BOOTSOURCE="https://github.com/beagleboard/u-boot" # BeagleBoard u-boot
declare -g BOOTBRANCH="branch:v2025.01-pocketbeagle2"
}

View File

@@ -1,4 +1,4 @@
# Allwinner R8(A13) single core 512Mb (NextThing C.H.I.P.)
# Allwinner R8(A13) single core 512Mb (NextThing C.H.I.P.) with MMC2 breakout
BOARD_NAME="NextThing C.H.I.P."
BOARDFAMILY="sun5i"
BOARD_MAINTAINER="TheSnowfield"

View File

@@ -0,0 +1,22 @@
# Allwinner Cortex-A55 octa core 1/2/4GB RAM SoC
BOARD_NAME="radxa cubie a5e"
BOARDFAMILY="sun55iw3"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-a5e_defconfig"
OVERLAY_PREFIX="sun55i-a527"
#BOOT_LOGO="desktop"
KERNEL_TARGET="dev"
BOOT_FDT_FILE="dtb/allwinner/sun55i-a527-radxa-a5e.dtb"
IMAGE_PARTITION_TABLE="gpt"
#IMAGE_PARTITION_TABLE="msdos"
BOOTFS_TYPE="fat"
BOOTSTART="1"
BOOTSIZE="512"
ROOTSTART="513"
function post_family_tweaks__radxa_cubie-a5e() {
display_alert "Applying wifi firmware"
pushd "$SDCARD/lib/firmware"
ln -s "aic8800/SDIO/aic8800D80" "aic8800_sdio" # use armbian-firmware
popd
}

View File

@@ -3,7 +3,7 @@ BOARD_NAME="Radxa E25"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER="krachlatte"
BOOTCONFIG="radxa-e25-rk3568_defconfig"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"

View File

@@ -13,6 +13,7 @@ FORCE_BOOTSCRIPT_UPDATE="yes"
BOOT_LOGO="desktop"
ASOUND_STATE="asound.state.radxa-zero"
BOOT_FDT_FILE="amlogic/meson-g12a-radxa-zero.dtb"
OVERLAY_PREFIX="meson-g12a"
# Newer u-boot for the Zero
BOOTBRANCH_BOARD="tag:v2023.07.02"

View File

@@ -10,8 +10,8 @@ BOOT_SCENARIO="tpl-blob-atf-mainline"
DDR_BLOB="rk33/rk3318_ddr_333Mhz_v1.16.bin"
BOOT_SOC="rk3328"
BOOTBRANCH_BOARD="tag:v2024.07"
BOOTPATCHDIR="v2024.07"
BOOTBRANCH_BOARD="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
enable_extension xorg-lima-serverflags

13
config/boards/rock-2a.csc Normal file
View File

@@ -0,0 +1,13 @@
# Rockchip RK3528 quad core 1-4GB SoC 1xGBe 0-32GB eMMC
BOARD_NAME="ROCK 2A"
BOARDFAMILY="rk35xx"
BOOTCONFIG="rock-2-rk3528_defconfig"
BOARD_MAINTAINER="CodeChenL"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3528-rock-2a.dtb"
BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
enable_extension "radxa-aic8800"
AIC8800_TYPE="usb"

13
config/boards/rock-2f.csc Normal file
View File

@@ -0,0 +1,13 @@
# Rockchip RK3528 quad core 1-4GB SoC WIFI/BT 0-32GB eMMC
BOARD_NAME="ROCK 2F"
BOARDFAMILY="rk35xx"
BOOTCONFIG="rock-2-rk3528_defconfig"
BOARD_MAINTAINER="CodeChenL"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3528-rock-2f.dtb"
BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
enable_extension "radxa-aic8800"
AIC8800_TYPE="usb"

View File

@@ -4,7 +4,7 @@ BOARDFAMILY="rk35xx"
BOARD_MAINTAINER="ZazaBR amazingfate catalinii vamzii"
BOOTCONFIG="rock-3a-rk3568_defconfig"
BOOTCONFIG_SATA="rock-3a-sata-rk3568_defconfig"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
@@ -21,8 +21,30 @@ function post_family_config_branch_edge__rock-3a_use_mainline_uboot() {
declare -g BOOTCONFIG="rock-3a-rk3568_defconfig"
declare -g BOOTDELAY=1
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot"
declare -g BOOTBRANCH="tag:v2024.10"
declare -g BOOTPATCHDIR="v2024.10"
declare -g BOOTBRANCH="tag:v2025.01"
declare -g BOOTPATCHDIR="v2025.01"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
function write_uboot_platform() {
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
}
function write_uboot_platform_mtd() {
flashcp -v -p "$1/u-boot-rockchip-spi.bin" /dev/mtd0
}
}
function post_family_config_branch_current__rock-3a_use_mainline_uboot() {
display_alert "$BOARD" "Mainline U-Boot overrides for $BOARD - $BRANCH" "info"
unset BOOTFS_TYPE # fixes armbian-install and unneeded for modern uboot anyway
declare -g BOOTCONFIG="rock-3a-rk3568_defconfig"
declare -g BOOTDELAY=1
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot"
declare -g BOOTBRANCH="tag:v2025.01"
declare -g BOOTPATCHDIR="v2025.01"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already

View File

@@ -4,6 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="amazingfate prahal"
BOOTCONFIG="rock-5-itx-rk3588_defconfig"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="vendor,current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-rock-5-itx.dtb"

View File

@@ -3,7 +3,7 @@ BOARD_NAME="Rock 5A"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="amazingfate"
BOOTCONFIG="rock-5a-rk3588s_defconfig"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="vendor,current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"

View File

@@ -3,7 +3,7 @@ BOARD_NAME="Rock 5B"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="amazingfate linhz0hz"
BOOTCONFIG="rock-5b-rk3588_defconfig"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="vendor,current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"

View File

@@ -3,7 +3,8 @@ BOARD_NAME="Rock 5C"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="schwar3kat"
BOOTCONFIG="rock-5c-rk3588s_defconfig"
KERNEL_TARGET="vendor,edge"
KERNEL_TARGET="vendor,current,edge"
KERNEL_TEST_TARGET="vendor,current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588s-rock-5c.dtb"
@@ -14,14 +15,6 @@ enable_extension "radxa-aic8800"
AIC8800_TYPE="usb"
ASOUND_STATE="asound.state.rock-5c"
function post_family_config__uboot_rock5c() {
display_alert "$BOARD" "Configuring armsom u-boot" "info"
declare -g BOOTSOURCE='https://github.com/radxa/u-boot.git'
declare -g BOOTBRANCH="branch:next-dev-v2024.03"
declare -g OVERLAY_PREFIX='rockchip-rk3588'
declare -g BOOTDELAY=1 # build injects this into u-boot config. we can then get into UMS mode and avoid the whole rockusb/rkdeveloptool thing
}
function post_family_tweaks__rock5c_naming_audios() {
display_alert "$BOARD" "Renaming rock5c audios" "info"
@@ -31,12 +24,3 @@ function post_family_tweaks__rock5c_naming_audios() {
return 0
}
function post_family_tweaks__rock5c_naming_wireless_interface() {
display_alert "$BOARD" "Renaming rock5c wifi" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
echo 'SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="88:00:*", NAME="$ENV{ID_NET_SLOT}"' > $SDCARD/etc/udev/rules.d/99-radxa-aic8800.rules
return 0
}

View File

@@ -0,0 +1,28 @@
# Rockchip RK3588 SoC octa core 4-16GB SoC 2.5GBe eMMC USB3 NvME
BOARD_NAME="Rock 5T"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="HeyMeco"
BOOTCONFIG="rock-5t-rk3588_defconfig"
KERNEL_TARGET="vendor"
KERNEL_TEST_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-rock-5t.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
declare -g UEFI_EDK2_BOARD_ID="rock-5t" # This _only_ used for uefi-edk2-rk3588 extension
function post_family_tweaks__rock5b_naming_audios() {
display_alert "$BOARD" "Renaming rock5b audios" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi1-sound", ENV{SOUND_DESCRIPTION}="HDMI1 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmiin-sound", ENV{SOUND_DESCRIPTION}="HDMI-In Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-dp0-sound", ENV{SOUND_DESCRIPTION}="DP0 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-dp1-sound", ENV{SOUND_DESCRIPTION}="DP1 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-es8316-sound", ENV{SOUND_DESCRIPTION}="ES8316 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
return 0
}

View File

@@ -21,6 +21,7 @@ BOOTPATCHDIR="v2024.10"
BOOT_SCENARIO="binman"
DDR_BLOB="rk33/rk3308_ddr_589MHz_uart0_m0_v2.07.bin"
BL31_BLOB="rk33/rk3308_bl31_v2.26.elf"
FORCE_UBOOT_UPDATE="yes"
OVERLAY_PREFIX="rk3308"

View File

@@ -8,3 +8,7 @@ KERNEL_TEST_TARGET="current"
DEFAULT_CONSOLE="serial"
MODULES_BLACKLIST="rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi gpu_sched lima"
HAS_VIDEO_OUTPUT="no"
BOOTBRANCH_BOARD="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
BOOT_SCENARIO="binman"

View File

@@ -21,6 +21,7 @@ BOOTPATCHDIR="v2024.10"
BOOT_SCENARIO="binman"
DDR_BLOB="rk33/rk3308_ddr_589MHz_uart0_m0_v2.07.bin"
BL31_BLOB="rk33/rk3308_bl31_v2.26.elf"
FORCE_UBOOT_UPDATE="yes"
OVERLAY_PREFIX="rk3308"

View File

@@ -10,17 +10,15 @@ BOOT_LOGO="desktop"
BOOT_SCENARIO="blobless"
BOOT_SUPPORT_SPI=yes
# u-boot v2024.07 for rockpro64; this includes https://github.com/u-boot/u-boot/commit/5e7cd8a119953dc2f466fea81e230d683ee03493
BOOTBRANCH_BOARD="tag:v2024.07"
BOOTPATCHDIR="v2024.07"
BOOTBRANCH_BOARD="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
# Include fw_setenv, configured to point to the correct spot on the SPI Flash
PACKAGE_LIST_BOARD="libubootenv-tool" # libubootenv-tool provides fw_printenv and fw_setenv, for talking to U-Boot environment
function post_family_config__use_mainline_uboot_rockpro64() {
# Use latest lts 2.8 ATF
ATFBRANCH='tag:lts-v2.8.16'
ATFPATCHDIR="atf-rockchip64" # patches for logging etc
# Do not set ATFBRANCH; instead uses the default from rockchip64_common, tested with v2.12.0 as of 2025.01[.09]
display_alert "$BOARD" "using ATF (blobless) ${ATFBRANCH} for ${BOOTBRANCH_BOARD} u-boot" "info"
# bl31.elf is copied directly from ATF build dir to uboot dir (by armbian u-boot build system)
UBOOT_TARGET_MAP="BL31=bl31.elf;;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
@@ -42,9 +40,7 @@ function post_config_uboot_target__extra_configs_for_rockpro64() {
run_host_command_logged scripts/config --set-val CONFIG_OF_LIBFDT_OVERLAY "y"
run_host_command_logged scripts/config --set-val CONFIG_MMC_HS400_SUPPORT "y"
# upstream defconfig already has env in SPI: https://github.com/u-boot/u-boot/blob/v2024.07/configs/rockpro64-rk3399_defconfig
# No preboot stuff for rockpro64.
# upstream defconfig already has env in SPI: https://github.com/u-boot/u-boot/blob/v2025.01/configs/rockpro64-rk3399_defconfig
display_alert "u-boot for ${BOARD}" "u-boot: enable EFI debugging command" "info"
run_host_command_logged scripts/config --enable CMD_EFIDEBUG
@@ -76,6 +72,22 @@ function post_config_uboot_target__extra_configs_for_rockpro64() {
run_host_command_logged scripts/config --disable USB_FUNCTION_FASTBOOT
}
function pre_config_uboot_target__rockpro64_patch_uboot_dtsi_for_ums() {
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for UMS" "info" # avoid a patch, just append to the dtsi file
cat <<- UBOOT_BOARD_DTSI_OTG >> arch/arm/dts/rk3399-rockpro64-u-boot.dtsi
&usbdrd_dwc3_0 { status = "okay"; dr_mode = "otg"; };
UBOOT_BOARD_DTSI_OTG
}
# "rockchip-common: boot SD card first, then NVMe, then SATA, then USB, then mmc"
# On rockpro64, mmc0 is the eMMC, mmc1 is the SD card slot https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi#L15-L16
function pre_config_uboot_target__rockpro64_patch_rockchip_common_boot_order() {
declare -a rockchip_uboot_targets=("mmc1" "nvme" "scsi" "usb" "mmc0" "pxe" "dhcp" "spi") # for future make-this-generic delight
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: adjust boot order to '${rockchip_uboot_targets[*]}'" "info"
sed -i -e "s/#define BOOT_TARGETS.*/#define BOOT_TARGETS \"${rockchip_uboot_targets[*]}\"/" include/configs/rockchip-common.h
regular_git diff -u include/configs/rockchip-common.h || true
}
function post_family_tweaks__config_rockpro64_fwenv() {
display_alert "Configuring fw_printenv and fw_setenv" "for ${BOARD} and u-boot ${BOOTBRANCH_BOARD}" "info"
# Addresses below come from CONFIG_ENV_OFFSET and CONFIG_ENV_SIZE in https://github.com/u-boot/u-boot/blob/v2024.07/configs/rockpro64-rk3399_defconfig

View File

@@ -1,7 +1,8 @@
# Broadcom BCM2711 quad core 1-8Gb RAM SoC USB3 GBE USB-C WiFi/BT
declare -g BOARD_NAME="Raspberry Pi 4"
# All 64b Raspberry models from Broadcom BCM2837 - BCM271x quad core 1-16Gb RAM SoC USB3 GBE USB-C WiFi/BT
declare -g BOARD_NAME="Raspberry Pi"
declare -g BOARDFAMILY="bcm2711"
declare -g BOARD_MAINTAINER="PanderMusubi teknoid"
declare -g KERNEL_TARGET="legacy,current,edge"
declare -g ASOUND_STATE="asound.state.rpi"
declare -g KERNEL_TEST_TARGET="current"
declare -g MODULES="i2c_dev"

View File

@@ -1,7 +0,0 @@
# Broadcom BCM2712 quad core 1-8Gb RAM SoC USB3 GBE USB-C WiFi/BT
declare -g BOARD_NAME="Raspberry Pi 5"
declare -g BOARDFAMILY="bcm2711"
declare -g BOARD_MAINTAINER=""
declare -g KERNEL_TARGET="current,edge"
declare -g KERNEL_TEST_TARGET="current"
declare -g ASOUND_STATE="asound.state.rpi"

8
config/boards/sakurapi-rk3308b.csc Normal file → Executable file
View File

@@ -9,9 +9,13 @@ MODULES_LEGACY="g_serial"
SERIALCON="ttyS0"
KERNEL_TARGET="current"
BOOT_FDT_FILE="rockchip/rk3308-sakurapi-rk3308b.dtb"
MODULES_BLACKLIST="rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi gpu_sched lima hantro_vpu panfrost"
MODULES_BLACKLIST="analogix_dp dw_mipi_dsi dw_hdmi gpu_sched lima hantro_vpu panfrost"
HAS_VIDEO_OUTPUT="no"
BOOTBRANCH_BOARD="tag:v2022.04"
BOOTPATCHDIR="u-boot-rockchip64-v2022.04"
IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
BOOT_SCENARIO="only-blobs"
BL31_BLOB="rk33/rk3308_bl31_v2.26.elf"
DDR_BLOB="rk33/rk3308_ddr_589MHz_uart2_m1_v1.30.bin"
MINILOADER_BLOB="rk33/rk3308_miniloader_sd_nand_v1.13.bin"

View File

@@ -9,8 +9,7 @@ BOOT_FDT_FILE="ti/k3-am625-sk.dts"
TIBOOT3_BOOTCONFIG="am62x_evm_r5_defconfig"
TIBOOT3_FILE="tiboot3-am62x-hs-fs-evm.bin"
DEFAULT_CONSOLE="serial"
HAS_VIDEO_OUTPUT="no"
KERNEL_TARGET="edge"
KERNEL_TEST_TARGET="edge"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
SERIALCON="ttyS2"
ATF_BOARD="lite"

View File

@@ -10,6 +10,7 @@ TIBOOT3_BOOTCONFIG="j721s2_evm_r5_defconfig"
TIBOOT3_FILE="tiboot3-j721s2-hs-fs-evm.bin"
DEFAULT_CONSOLE="serial"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
SERIALCON="ttyS2"
ATF_BOARD="generic"
ATF_K3_USART_OFFSET="K3_USART=0x8"

View File

@@ -0,0 +1,16 @@
# TI SK-AM69 octa core 32GB 32TOPS GBE USB3 OSPI DisplayPort HDMI
BOARD_NAME="SK-AM69"
BOARDFAMILY="k3"
BOARD_MAINTAINER="glneo"
BOOTCONFIG="am69_sk_a72_defconfig"
BOOTFS_TYPE="fat"
BOOT_FDT_FILE="ti/k3-am69-sk.dts"
TIBOOT3_BOOTCONFIG="am69_sk_r5_defconfig"
TIBOOT3_FILE="tiboot3-j784s4-hs-fs-evm.bin"
DEFAULT_CONSOLE="serial"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
SERIALCON="ttyS2"
ATF_BOARD="j784s4"
ATF_K3_USART_OFFSET="K3_USART=0x8"

View File

@@ -9,6 +9,8 @@ BOOT_FDT_FILE="ti/k3-j721e-sk.dts"
TIBOOT3_BOOTCONFIG="j721e_evm_r5_defconfig"
TIBOOT3_FILE="tiboot3-j721e-gp-evm.bin"
SYSFW_FILE="sysfw-j721e-gp-evm.itb"
TISPL_FILE="tispl.bin_unsigned"
UBOOT_FILE="u-boot.img_unsigned"
DEFAULT_CONSOLE="serial"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -0,0 +1,17 @@
# Rockchip RK3399 hexa core 4GB SoC eMMC GBE USB3 WiFi/BT
BOARD_NAME="SMART AM40"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER=""
BOOTCONFIG="am40-rk3399_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
MODULES_CURRENT="extcon_usbc_virtual_pd"
MODULES_EDGE="extcon_usbc_virtual_pd"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3399-am40.dtb"
BOOTBRANCH_BOARD="tag:v2024.10"
BOOTPATCHDIR="v2024.10"
BOOT_SCENARIO="binman"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS2,1500000 console=tty0"

View File

@@ -3,23 +3,15 @@ BOARD_NAME="Station M2"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="station-m2-rk3566_defconfig"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3566-firefly-roc-pc.dtb"
BOOT_FDT_FILE="rockchip/rk3566-roc-pc.dtb"
BOOT_SCENARIO="spl-blobs"
ASOUND_STATE="asound.state.station-m2"
IMAGE_PARTITION_TABLE="gpt"
function post_family_tweaks__station_m2() {
display_alert "$BOARD" "Installing board tweaks" "info"
cp -R $SRC/packages/blobs/station/firmware/* $SDCARD/lib/firmware/
return 0
}
# Override family config for this board; let's avoid conditionals in family config.
function post_family_config__stationm2_use_radxa_vendor_uboot() {
BOOTSOURCE='https://github.com/radxa/u-boot.git'

View File

@@ -11,15 +11,6 @@ BOOT_FDT_FILE="rockchip/rk3568-roc-pc.dtb"
ASOUND_STATE="asound.state.station-p2"
IMAGE_PARTITION_TABLE="gpt"
function post_family_tweaks__station_p2() {
display_alert "$BOARD" "Installing board tweaks" "info"
cp -R $SRC/packages/blobs/rtl8723bt_fw/* $SDCARD/lib/firmware/rtl_bt/
cp -R $SRC/packages/blobs/station/firmware/* $SDCARD/lib/firmware/
return 0
}
# Mainline U-Boot
function post_family_config__station_p2_use_mainline_uboot() {
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"

View File

@@ -27,8 +27,8 @@ enable_extension "grub-with-dtb" # important, puts the whole DTB handling in pla
declare -g BOARD_FIRMWARE_INSTALL="-full"
function post_family_config_branch_sc8280xp__jhovolds_wip_kernel() {
declare -g KERNEL_MAJOR_MINOR="6.13" # Major and minor versions of this kernel.
declare -g KERNELBRANCH='branch:wip/sc8280xp-6.13-rc4' # @TODO: this is down to 16 patches, from hundreds back in the day. Considering merging this with default arm64 uefi kernel
declare -g KERNEL_MAJOR_MINOR="6.14" # Major and minor versions of this kernel.
declare -g KERNELBRANCH='branch:wip/sc8280xp-6.14' # @TODO: this is down to 31 patches, from hundreds back in the day. Considering merging this with default arm64 uefi kernel
declare -g KERNELSOURCE='https://github.com/jhovold/linux.git'
declare -g LINUXCONFIG="linux-${ARCH}-${BRANCH}" # for this board: linux-arm64-sc8280xp
display_alert "Set up jhovold's kernel ${KERNELBRANCH} for" "${BOARD}" "info"

View File

@@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOOTCONFIG="turing-rk1-rk3588_defconfig"
BOOT_SOC="rk3588"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="vendor,current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"

View File

@@ -2,7 +2,7 @@
declare -g BOARD_NAME="UEFI x86"
declare -g BOARDFAMILY="uefi-x86"
declare -g BOARD_MAINTAINER="rpardini"
declare -g KERNEL_TARGET="legacy,current,edge"
declare -g KERNEL_TARGET="legacy,current,edge,cloud"
declare -g KERNEL_TEST_TARGET="current"
declare -g SERIALCON="tty1"
declare -g BOOT_LOGO=desktop

View File

@@ -35,9 +35,14 @@ function post_family_tweaks_bsp__xiaomi-elish_firmware() {
# USB Gadget Network service
mkdir -p $destination/usr/local/bin/
mkdir -p $destination/usr/lib/systemd/system/
mkdir -p $destination/etc/initramfs-tools/scripts/init-bottom/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/setup-usbgadget-network.sh $destination/usr/local/bin/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/remove-usbgadget-network.sh $destination/usr/local/bin/
install -Dm644 $SRC/packages/bsp/usb-gadget-network/usbgadget-rndis.service $destination/usr/lib/systemd/system/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/usb-gadget-initramfs-hook $destination/etc/initramfs-tools/hooks/usb-gadget
install -Dm655 $SRC/packages/bsp/usb-gadget-network/usb-gadget-initramfs-premount $destination/etc/initramfs-tools/scripts/init-premount/usb-gadget
install -Dm655 $SRC/packages/bsp/usb-gadget-network/dropbear $destination/etc/initramfs-tools/scripts/init-premount/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/kill-dropbear $destination/etc/initramfs-tools/scripts/init-bottom/
# Bluetooth MAC addr setup service
install -Dm655 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.sh $destination/usr/local/bin/
@@ -63,11 +68,11 @@ function post_family_tweaks__xiaomi-elish_enable_services() {
fi
# we need unudhcpd from armbian repo, so enable it
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.list.disabled "${SDCARD}"/etc/apt/sources.list.d/armbian.list
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.sources.disabled "${SDCARD}"/etc/apt/sources.list.d/armbian.sources
do_with_retries 3 chroot_sdcard_apt_get_update
display_alert "$BOARD" "Installing board tweaks" "info"
do_with_retries 3 chroot_sdcard_apt_get_install alsa-ucm-conf qbootctl qrtr-tools unudhcpd mkbootimg
do_with_retries 3 chroot_sdcard_apt_get_install alsa-ucm-conf qbootctl qrtr-tools unudhcpd mkbootimg dropbear-bin
# Install hexagonrpc userspace service for kernel after 6.11, hexagonrpc in only packaged for noble now
if [[ "${RELEASE}" == "noble" ]]; then
@@ -75,7 +80,7 @@ function post_family_tweaks__xiaomi-elish_enable_services() {
chroot_sdcard systemctl enable hexagonrpcd-sdsp.service
fi
# disable armbian repo back
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.list "${SDCARD}"/etc/apt/sources.list.d/armbian.list.disabled
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.sources "${SDCARD}"/etc/apt/sources.list.d/armbian.sources.disabled
do_with_retries 3 chroot_sdcard_apt_get_update
chroot_sdcard systemctl enable qbootctl.service

View File

@@ -1,99 +0,0 @@
# Generate kernel and rootfs image for Qcom ABL booting
declare -g BOARD_NAME="Xiaomi Umi"
declare -g BOARD_MAINTAINER="FantasyGmm"
declare -g BOARDFAMILY="sm8250"
declare -g KERNEL_TARGET="current,edge"
declare -g KERNEL_TEST_TARGET="edge"
declare -g EXTRAWIFI="no"
declare -g MODULES="spi-geni-qcom"
declare -g BOOTCONFIG="none"
declare -g BOOTIMG_CMDLINE_EXTRA="clk_ignore_unused pd_ignore_unused"
declare -g IMAGE_PARTITION_TABLE="gpt"
declare -g -a ABL_DTB_LIST=("sm8250-xiaomi-umi-csot" "sm8250-xiaomi-umi-sms")
# Use the full firmware, complete linux-firmware plus Armbian's (for qcom/a650_sqe.fw)
declare -g BOARD_FIRMWARE_INSTALL="-full"
function xiaomi-umi_is_userspace_supported() {
[[ "${RELEASE}" == "jammy" ]] && return 0
[[ "${RELEASE}" == "trixie" ]] && return 0
[[ "${RELEASE}" == "noble" ]] && return 0
return 1
}
function post_family_tweaks_bsp__xiaomi-umi_firmware() {
display_alert "$BOARD" "Install firmwares for xiaomi umi" "info"
# Alsa-ucm-conf profile for Xiaomi Umi
mkdir -p $destination/usr/share/alsa/ucm2/conf.d/sm8250
install -Dm644 $SRC/packages/bsp/xiaomi-umi/umi.conf $destination/usr/share/alsa/ucm2/Xiaomi/umi/umi.conf
install -Dm644 $SRC/packages/bsp/xiaomi-umi/umi_HiFi.conf $destination/usr/share/alsa/ucm2/Xiaomi/umi/HiFi.conf
ln -sfv ../../Xiaomi/umi/umi.conf \
"$destination/usr/share/alsa/ucm2/conf.d/sm8250/Xiaomi Mi 10.conf"
# USB Gadget Network service
mkdir -p $destination/usr/local/bin/
mkdir -p $destination/usr/lib/systemd/system/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/setup-usbgadget-network.sh $destination/usr/local/bin/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/remove-usbgadget-network.sh $destination/usr/local/bin/
install -Dm644 $SRC/packages/bsp/usb-gadget-network/usbgadget-rndis.service $destination/usr/lib/systemd/system/
# Kernel postinst script to update abl boot partition
install -Dm655 $SRC/packages/bsp/xiaomi-umi/zz-update-abl-kernel $destination/etc/kernel/postinst.d/
return 0
}
function post_family_tweaks__xiaomi-umi_enable_services() {
if ! xiaomi-umi_is_userspace_supported; then
if [[ "${RELEASE}" != "" ]]; then
display_alert "Missing userspace for ${BOARD}" "${RELEASE} does not have the userspace necessary to support the ${BOARD}" "warn"
fi
return 0
fi
if [[ "${RELEASE}" == "jammy" ]] || [[ "${RELEASE}" == "noble" ]]; then
display_alert "Adding qcom-mainline PPA" "${BOARD}" "info"
do_with_retries 3 chroot_sdcard add-apt-repository ppa:liujianfeng1994/qcom-mainline --yes --no-update
fi
# We need unudhcpd from armbian repo, so enable it
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.list.disabled "${SDCARD}"/etc/apt/sources.list.d/armbian.list
do_with_retries 3 chroot_sdcard_apt_get_update
display_alert "$BOARD" "Installing board tweaks" "info"
do_with_retries 3 chroot_sdcard_apt_get_install alsa-ucm-conf qbootctl qrtr-tools unudhcpd mkbootimg
# Disable armbian repo back
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.list "${SDCARD}"/etc/apt/sources.list.d/armbian.list.disabled
do_with_retries 3 chroot_sdcard_apt_get_update
chroot_sdcard systemctl enable qbootctl.service
chroot_sdcard systemctl enable usbgadget-rndis.service
return 0
}
function post_family_tweaks_bsp__xiaomi-umi_bsp_firmware_in_initrd() {
display_alert "Adding to bsp-cli" "${BOARD}: firmware in initrd" "info"
declare file_added_to_bsp_destination # Will be filled in by add_file_from_stdin_to_bsp_destination
# Using Elish's firmware for now
add_file_from_stdin_to_bsp_destination "/etc/initramfs-tools/hooks/xiaomi-elish-firmware" <<- 'FIRMWARE_HOOK'
#!/bin/bash
[[ "$1" == "prereqs" ]] && exit 0
. /usr/share/initramfs-tools/hook-functions
for f in /lib/firmware/qcom/sm8250/xiaomi/elish/* ; do
add_firmware "${f#/lib/firmware/}"
done
add_firmware "qcom/a650_sqe.fw" # Extra one for dpu
add_firmware "qcom/a650_gmu.bin" # Extra one for gpu
FIRMWARE_HOOK
run_host_command_logged chmod -v +x "${file_added_to_bsp_destination}"
}
## Modules, required to boot, add them to initrd
function post_family_tweaks_bsp__xiaomi-umi_bsp_modules_in_initrd() {
display_alert "Adding to bsp-cli" "${BOARD}: modules in initrd" "info"
add_file_from_stdin_to_bsp_destination "/etc/initramfs-tools/modules" <<- 'EXTRA_MODULES'
spi-geni-qcom
EXTRA_MODULES
}

View File

@@ -32,13 +32,13 @@ function post_family_tweaks__youyeetoo_r1_naming_udev_network_interfaces() {
# Mainline U-Boot
function post_family_config__youyeetoo_r1_use_mainline_uboot() {
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
display_alert "$BOARD" "Using mainline (next branch) U-Boot for $BOARD / $BRANCH" "info"
declare -g BOOTCONFIG="generic-rk3588_defconfig" # Use generic defconfig which should boot all RK3588 boards
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
declare -g BOOTBRANCH="tag:v2024.10"
declare -g BOOTPATCHDIR="v2024.10"
declare -g BOOTBRANCH="tag:v2025.01"
declare -g BOOTPATCHDIR="v2025.01"
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
@@ -52,6 +52,18 @@ function post_family_config__youyeetoo_r1_use_mainline_uboot() {
}
}
# "rockchip-common: boot SD card first, then NVMe, then mmc"
# include/configs/rockchip-common.h
# -#define BOOT_TARGETS "mmc1 mmc0 nvme scsi usb pxe dhcp"
# +#define BOOT_TARGETS "mmc0 nvme mmc1 scsi usb pxe dhcp"
# On youyeetoo R1, mmc0 is the SD card, mmc1 is the eMMC slot
function pre_config_uboot_target__youyeetoo_r1_patch_rockchip_common_boot_order() {
declare -a rockchip_uboot_targets=("mmc0" "nvme" "mmc1" "scsi" "usb" "pxe" "dhcp") # for future make-this-generic delight
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: adjust boot order to '${rockchip_uboot_targets[*]}'" "info"
sed -i -e "s/#define BOOT_TARGETS.*/#define BOOT_TARGETS \"${rockchip_uboot_targets[*]}\"/" include/configs/rockchip-common.h
regular_git diff -u include/configs/rockchip-common.h || true
}
function post_family_tweaks__youyeetoo_r1 {
if [[ "${BRANCH}" != "vendor" ]]; then
display_alert "$BOARD" "Adjusting rtw89_8852be module" "info"

Some files were not shown because too many files have changed in this diff Show More