Compare commits

...

428 Commits

Author SHA1 Message Date
Igor Pecovnik
f588b28fb3 Starfive: fix broken patch due to kernel upgrade 2024-12-15 17:45:22 +01:00
Sergey Ko
66b1e8fad7 meson64 kernels HDMI patch is obsolete (#7579)
* HDMI codec patch must nott be used as it is already applied to linux sources
2024-12-15 15:43:25 +01:00
Paolo Sabatino
1c009876f3 rockchip: remove mainlined patches 2024-12-15 15:42:25 +01:00
Julian Sikorski
f087f2e197 Update odroidxu4-current to 6.6.65 2024-12-15 13:41:24 +01:00
Mecid
6f3d4ecb91 Reverse order for Kernel_Test_Target 2024-12-15 13:41:13 +01:00
Mecid
a588841eaa Add KERNEL_TEST_TARGET Variable to Rock-5B-Plus 2024-12-15 13:41:13 +01:00
Nyanmisaka
13e10e1f4c Disable ROCKCHIP_THUNDER_BOOT_DEFER_FREE_MEMBLOCK
`ROCKCHIP_THUNDER_BOOT_DEFER_FREE_MEMBLOCK` should depend
on `ROCKCHIP_THUNDER_BOOT`, and it creates an artificial
threads-max limit that is not suitable for generic linux.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-12-15 18:50:24 +08:00
Igor Pecovnik
0999ebfd69 Repository management: disable broken and not needed functionality Acquire-By-Hash
- faster repo generation
- cleaner repository
2024-12-13 11:46:07 +01:00
Patrick Yavitz
dbdc2c3fa7 BananaPi M4: Remove -zero from overlay names
As they should also work with the other unit in the series, the
M4 Berry.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-12-13 10:02:42 +01:00
Patrick Yavitz
2852e2f875 series.armbian: fixup
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-12-13 10:02:42 +01:00
Patrick Yavitz
dcc3c5578a BananaPi BPI-M4-Zero: Add overlay support and pin ctrl
Also DTS/DTSI additions and fixups

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-12-13 10:02:42 +01:00
M.Schmidt
6607728e24 improve(lvm,cryptroot): export private key with a structurally equal naming scheme; cleanup 2024-12-13 10:01:19 +01:00
M.Schmidt
590b75fd6f improve(lvm+cryptroot extensions): enable possibility for LVM on LUKS 2024-12-13 10:01:19 +01:00
M.Schmidt
3ec24d40e8 fix(lvm,cryptroot extensions): introduce another variable to keep track of the physical partition/uuid and rootdevice/uuid seperately 2024-12-13 10:01:19 +01:00
The-going
43166a8354 Revert "shellfmt: config/sources; no changes"
This reverts commit 2f63a9cd98.

`[${1} / bootinfo_emmc.bin]`
`[${1} / FSBL.bin]`          - This is the path to the file.
                               It cannot contain spaces.
2024-12-13 09:48:47 +01:00
Ryzer58
a71b8675ae Allwinner A10 DTS fix for ARM PMU IRQ and EMAC DMA (#7567)
* Correcting the Perf unit's interrupt source number to 66 as stated in the Allwinner A10User manual to resolve conflict with Uart 2 which actually uses interrupt source number 3

* rename to all lower case and add in sun4i-emac dma support. Note that support only exist in the driver for the rx channel

* Ensure that sun4i patches actually implemented

Signed-off-by: Ryan L <ryestar101@gmail.com>

* Apply performance monitoring unit IRQ number patch to uboot

* Add patch for resolving the perf unit irq number to the edge kernel

Signed-off-by: Ryan L <ryestar101@gmail.com>

* Add sun4i emac ethernet DMA support to the edge kernel

Signed-off-by: Ryan L <ryestar101@gmail.com>

* Append missing .patch so that our patch is found and works properly

Signed-off-by: Ryan L <ryestar101@gmail.com>

* Apply EMAC DMA support and PMU fix to edge kernel

---------

Signed-off-by: Ryan L <ryestar101@gmail.com>
2024-12-13 09:45:28 +01:00
pykpkg47
48c600f988 Github Action: add input for the release tag to use 2024-12-13 09:42:29 +01:00
pykpkg47
30ba495655 Github Action: checkout the selected branch directly
checkout the  selected branch directly  in actions/checkout step
2024-12-13 09:42:29 +01:00
pykpkg47
eb9ca73e12 patch: remove broken symlink to fix github action start on newer armbian build versions 2024-12-13 09:42:29 +01:00
Valmantas Paliksa
808f860a44 rockchip64: rk3399 fix pcie being stuck at 1x width after a warm phy reset 2024-12-13 09:42:11 +01:00
Maxim Medvedev
2639a498b2 mkspi: add board maintainer 2024-12-13 09:41:27 +01:00
Maxim Medvedev
0f8f482952 mkspi: increase fsp for TS35 display 2024-12-13 09:41:27 +01:00
Maxim Medvedev
e47fbe6bf2 mkspi: add 800x480 HDMI modes
MKS IPS50 screen
2024-12-13 09:41:27 +01:00
Maxim Medvedev
f5bf277a18 mkspi: adjust vop config 2024-12-13 09:41:27 +01:00
Maxim Medvedev
d2e45e2c42 mkspi: fix HDMI screen detection 2024-12-13 09:41:27 +01:00
Maxim Medvedev
7cad411d9c mkspi: add explicit USB3 configuration
However, the USB3 port also works without these changes.
2024-12-13 09:41:27 +01:00
Maxim Medvedev
627657c713 mkspi: adjust cpu power config 2024-12-13 09:41:27 +01:00
Maxim Medvedev
cab1b3447d mkspi: adjust ethernet config 2024-12-13 09:41:27 +01:00
Maxim Medvedev
87d228506c mkspi: adjust LED config
...however looks like MKSPI LEDs are not connected to these pins.
2024-12-13 09:41:27 +01:00
Maxim Medvedev
4a286c58c6 mkspi: adjust tsadc config 2024-12-13 09:41:27 +01:00
Maxim Medvedev
2a4fff0845 mkspi: disable i2s devices 2024-12-13 09:41:27 +01:00
Maxim Medvedev
2a37468b23 mkspi: fix rk805 irq config
fix for a `irq 41: nobody cared` error
2024-12-13 09:41:27 +01:00
Maxim Medvedev
d03b8f9b9f mkspi: DTBO to disable spi_for_{lcd,touch} when enabling uart1
Based on contirbution from Joe Maples <joe.maples@valtech.com>. It will make the onboard serial (ttyS1) usable for the boards: QIDI X-4, X-6 and X-7
2024-12-13 09:41:27 +01:00
Maxim Medvedev
d76f7f3da0 mkspi: apply MKSPI specific kernel DTS changes
Based on official MKS armbian repo
2024-12-13 09:41:27 +01:00
Maxim Medvedev
b1cf2e7f89 mkspi: add DTS draft for MKSPI board
copy of rk3328-roc-cc.dts
2024-12-13 09:41:27 +01:00
Maxim Medvedev
9eaf5e5140 mkspi: apply MKSPI specific U-Boot changes
Based on official MKS armbian repo
2024-12-13 09:41:27 +01:00
Maxim Medvedev
f1e0ade2e2 mkspi: add U-Boot draft for MKSPI board
copy of rk3328-roc-cc config and DTS files
2024-12-13 09:41:27 +01:00
Maxim Medvedev
ee42d6924d mkspi: preinstall build-essential and usb-modeswitch packages
...to speedup the fist Klipper installation and save some time for peoples with slow internet connection
Related to https://github.com/redrathnure/armbian-mkspi/issues/23 and https://github.com/redrathnure/armbian-mkspi/issues/21
2024-12-13 09:41:27 +01:00
Maxim Medvedev
f2d8bc5f60 mkspi: add mkspi board declaration 2024-12-13 09:41:27 +01:00
Igor Pecovnik
4187ab3c51 Adjust deprecated key management support
Workaround for older builds were tied to version of apt, but this doesn't work anymore.
2024-12-13 09:40:56 +01:00
Werner
8fd4ea4600 Bump VERSION 2024-12-13 08:04:47 +01:00
Igor Pecovnik
c141be59a5 Rpi: update RPi config - merge with upstream, rewrite patches 2024-12-12 15:48:01 +01:00
Jianfeng Liu
707b15fd1f H6xk boards: toggle to mainline kernel instead of vendor (#7559) 2024-12-11 21:33:49 +01:00
Sergey Ko
fb63c78e7f add Radxa Zero GPIO names to support libgpiod (#7563) 2024-12-11 14:06:34 -06:00
SuperKali
fd02619dfa Adjust function tweaks to do it inside rootfs 2024-12-11 11:48:46 +01:00
SuperKali
268301b2d6 Fixing wifi card rtw8852be errors on youyeetoo r1 branch edge/current 2024-12-11 11:48:46 +01:00
SuperKali
e2ec1f798a Bump uboot version to youyeetoo r1 2024-12-11 11:48:46 +01:00
SuperKali
e6a1ff0e21 Re-add support kernel edge on youyeetoo r1 2024-12-11 11:48:46 +01:00
Dimitry Ishenko
6d63fbd928 armbian-config-deb: add missing deps
armbian-config uses debconf-apt-progress which is part of debconf.

libtext-iconv-perl is needed to prevent the following error, when
uninstalling a package through debconf-apt-progress:

Can't locate object method "new" via package "Text::Iconv" (perhaps you forgot to load "Text::Iconv"?) at /usr/share/perl5/Debconf/Encoding.pm line 65, <GEN2> line 2.
dpkg: error processing package nfs-common (--configure):
2024-12-11 11:26:52 +01:00
Dimitry Ishenko
40f8fa104b armbian-config-deb: sort deps 2024-12-11 11:26:52 +01:00
igorpecovnik
5cab6f12f9 Automatic board configs status synchronise 2024-12-11 09:26:39 +01:00
github-actions[bot]
8b66ced6d4 Automatic board configs status synchronise (#7561)
* `Automatic` board configs status synchronise
* Move Odroid C1 to supported
---------
Co-authored-by: igorpecovnik <6281704+igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor Pecovnik <igor@armbian.com>
2024-12-11 08:28:13 +01:00
amazingfate
08e7bba4f6 extensions: image-output-abl: set rootfs image larger for kde 2024-12-10 10:32:22 +01:00
Igor Pecovnik
70347e9645 Temporally disable BPI F3 as it has broken way of compiling u-boot 2024-12-09 18:44:06 +01:00
Igor Pecovnik
24e7bcf4db Adjust DT changes for Innovato Quadra 2024-12-09 14:13:32 +01:00
The-going
4be6793bdf bootscript: sunxi: Delete the vendor's name from the fdtfile variable
Do not inform the user if the fixup.scr file was not found.
2024-12-09 14:13:32 +01:00
The-going
ac2928baa4 bootscript: Remove vendor name and slash from DTB file name
After that, the script successfully loads the DTB file from
two possible paths and overlays. If the file does not exist,
then the default file will be uploaded.
2024-12-09 14:13:32 +01:00
The-going
48e289e0d3 bootscript: sunxi: Tell the user only the actual actions.
Make the script work silently when testing path options
and report only the actual file being uploaded.
Delete the duplicate iteration.
2024-12-09 14:13:32 +01:00
The-going
b46674c82f bootscript: Use the DTB name from the default u-boot
Use the DTB name from the u-boot default for the third
iteration if the provided DTB name was not found. Also
delete the duplicate of the previous iteration.
2024-12-09 14:13:32 +01:00
The-going
a49cee27ad bootscript: Set path without $vendor folder for the 2 iteration.
In the second iteration, we check the path that does not
contain the vendor folder. But this will also be done if
the real path contains the vendor's folder and the vendor's
name is contained in the DTB file name as
    fdtfile=allwinner/sun50i-*-bananapi-*.dtb.
However, overlays will not be available.
Remove "allwinner/" from all board configurations that
use the boot script mechanism so that the script works
correctly.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2024-12-09 14:13:32 +01:00
The-going
c30669cc91 bootscript: Messages to the user about real work
Inform the user about the actual file that will be uploaded
on the first iteration. Inform the user that it cannot be
downloaded only once if the first iteration was unsuccessful.
2024-12-09 14:13:32 +01:00
The-going
c02b4ff8d2 bootscripts: Set the expected default path to "${prefix}dtb/${vendor}"
Set the expected default path to /boot/dtb/allwinner and
start analyzing if the DTB file is not found in this path.

The folder with the vendor's name is now part of the path,
not part of the file name. This greatly facilitates the analysis
of various possible options in a simple u-boot shell.
2024-12-09 14:13:32 +01:00
Ricardo Pardini
a55c8bfcb2 u-boot: check the produced platform_install.sh (created from functions like write_uboot_platform) for shellcheck errors
- we've some smelly stuff in write_uboot_platform for some families that we'd rather catch early
- implement small syntax fixes in setup_write_uboot_platform
2024-12-09 14:12:44 +01:00
青菜萝 卜冬瓜
907c9f0531 add community support for LonganPi 3H (#7547) 2024-12-09 14:12:16 +01:00
igorpecovnik
2d1bbca731 Automatic board configs status synchronise 2024-12-08 17:45:08 +01:00
Maxim Medvedev
c7b454aab2 fix: ST7796 kernel module patch
Fix error from https://github.com/armbian/build/pull/7550
2024-12-08 17:05:37 +01:00
Maxim Medvedev
06c9c2dbe5 feat: add ST7796 kernel module (fbtft)
Add support for ST7796 based LCD module (connected via SPI interface). One of real device example is [MKS PI-TS35 display](https://github.com/makerbase-mks/MKS-TFT-Hardware/tree/master/MKS%20PI-TS35).
2024-12-08 10:50:48 +01:00
Ricardo Pardini
8e5175052d mixtile-edge2: bump vendor to branch:rk-6.1-rkr4.1
- In line with 35352fa288 (bump to rkr4.1)
- "Copypasta from rockchip-rk3588.conf family file -- we _really_ gotta find a better way!"
- I'm not proud of having done it this way, but now it broke (two vendor debs are produced in different versions) so lets fix it
2024-12-08 10:32:34 +01:00
JohnTheCoolingFan
6ba9d13dd9 BigTreeTech CB2: fix misplaced reset-gpios
This property was supposed to go to pcie2x1, not gmac1
2024-12-07 09:26:27 +03:00
JohnTheCoolingFan
a3b81f1d08 BigTreeTech CB2 maintainer 2024-12-07 09:26:27 +03:00
JohnTheCoolingFan
f156779bdf Move bigtreetech cb2 from csc category 2024-12-07 09:26:27 +03:00
JohnTheCoolingFan
0bebaf03e8 BigTreeTech CB2 edge device tree 2024-12-07 09:26:27 +03:00
JohnTheCoolingFan
3a7ba30f3f add board bigtreetech-cb2: BigTreeTech CB2 2024-12-07 09:26:27 +03:00
igorpecovnik
523be17a78 Automatic board configs status synchronise 2024-12-05 00:32:30 +01:00
amazingfate
9eaaaae044 sm8250: bump current and edge to 6.12 2024-12-05 00:23:00 +01:00
Chen Jiali
55adb93544 fix: radxa-zero: slow down sdio for all kernel branch 2024-12-05 00:22:43 +01:00
Chen Jiali
9614a2014c fix: add some patch to repair eMMC startup issues 2024-12-05 00:22:43 +01:00
Paolo Sabatino
3839eaa713 rockchip: fix rk3288 usb otg host functionality
this commit reverts commit ca2dc35e555e7043de585f4e46123d8fbd2b5a21
from mainline kernel because rk3288 requires clock gating to
assert irq on usb device plug in and thus proceed with
reset-on-wake quirk
2024-12-05 00:22:27 +01:00
Paolo Sabatino
4ede989f2c rockchip: fix asound.conf for rk322x-box and xt-q8l-v10 boards
sound node in device trees have been migrated to audio-graph-card2
to overcome limitations and configuration mayhems in ALSA userland
libraries
2024-12-05 00:22:27 +01:00
Paolo Sabatino
316169b0a0 rockchip: remove kernel 6.11 patch leftovers 2024-12-05 00:22:27 +01:00
Patrick Yavitz
db3fdc7411 BananaPi BPI-CM4: Enable i2c2 via overlay
Discussion:
https://forum.armbian.com/topic/47842-how-do-i-enable-i2c2-on-armbian-24111-bookworm-minimal/

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-12-04 17:08:37 -05:00
igorpecovnik
1285de6bd8 Automatic board configs status synchronise 2024-12-02 09:57:10 +01:00
dependabot[bot]
447c2a4207 build(deps): bump setuptools from 75.3.0 to 75.6.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 75.3.0 to 75.6.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.3.0...v75.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 09:56:10 +01:00
Andy Yan
f41cd5ca51 Add support for rk3588 based GenBook
GenBook is a rk3588 based laptop from coolpi.
The armbian can boot from a usb disk, with pre installed
mainline u-boot on SPI Nor flash.

Signed-off-by: Andy Yan <andyshrk@163.com>
2024-12-02 09:55:58 +01:00
amazingfate
ccc887a36c hinlink-h88k: edge: add rfkill nodes to devicetree for m.2 wifi and bluetooth 2024-12-02 16:06:16 +08:00
amazingfate
384045a736 extension: mesa-vpu: remove adding chromium ppa
We already have imported chromium debs from ppa to armbian's repo
2024-12-02 16:05:06 +08:00
Jianfeng Liu
35352fa288 rk35xx-vendor: bump to 6.1 rkr4.1 sdk kernel 2024-12-02 00:16:14 +08:00
Werner
0449f6dd92 WIREGUARD is deprecated (#7520) 2024-12-01 10:04:22 +01:00
Paolo Sabatino
c90a0f7890 rockchip: bump edge kernel to 6.12 2024-11-30 13:07:31 +01:00
Muhammed Efe Cetin
c647f409b2 nanopi-r6s: fix mmc0/mmc1 ordering 2024-11-30 08:38:59 +01:00
Teguh Sobirin
fd2049271f Add Retroid Pocket RP5 and RPMini configuration 2024-11-29 11:34:04 +08:00
Teguh Sobirin
508c9f7c3a Ignore ABL image type creation if building UEFI GRUB target. 2024-11-29 11:34:04 +08:00
Teguh Sobirin
aa1a13c0e3 Add Retroid Pocket SM8250 Patch series and enable peripheral in current config 2024-11-29 11:34:04 +08:00
brentr
a1fa6649e0 Reduce the size of the CMA to 16MB (#7522)
also include the tiny fixMACaddress script in the S0 image to assign end0 MAC address from CPU serial #in case running U-Boot earlier than 2024.10
2024-11-28 11:39:33 -08:00
Paolo Sabatino
51e25479c9 rk3308: rockpis: remove MMC hs200, sdmmc pinctrl-default flags 2024-11-28 12:37:43 +01:00
Paolo Sabatino
48c8fe37e8 rockpis: enable analog codec 2024-11-28 12:37:43 +01:00
Paolo Sabatino
7292fc4efe rk3308: tidy up patches and remove cruft for kernel 6.12 2024-11-28 12:37:43 +01:00
Paolo Sabatino
3f9f36bc23 rk3308: tidy up kernel 6.6 patches 2024-11-28 12:37:43 +01:00
Werner
9e6ef2c3d5 Add another paste server
Because we can...and because its been there for a while and seems to just work
2024-11-25 11:32:56 +01:00
Ivan Podogov
d54d2a9d85 Retro* CM5: Enable display and touchscreen 2024-11-25 11:32:41 +01:00
Ricardo Pardini
29caae8975 shellfmt: config/boards; no changes 2024-11-25 11:32:28 +01:00
Ricardo Pardini
2f63a9cd98 shellfmt: config/sources; no changes 2024-11-25 11:32:28 +01:00
Ricardo Pardini
6d9a06bf72 shellfmt: lib/functions; no changes 2024-11-25 11:32:28 +01:00
amazingfate
92e4ba979f rockchip64-edge: enable rtw89 driver 2024-11-25 11:32:17 +01:00
amazingfate
47dc9334d1 rockchip64-edge: rewrite kernel config up to 6.12
With command:
./compile.sh rewrite-kernel-config BOARD=rock-3a BRANCH=edge KERNEL_CONFIGURE=no KERNEL_GIT=shallow
2024-11-25 11:32:17 +01:00
halfa
439abc7fc8 Enable CONFIG_VHOST_VSOCK on rockchip64 2024-11-25 11:32:02 +01:00
Igor Pecovnik
10f49b36c8 Adjust status with downloads and reality 2024-11-25 11:31:11 +01:00
Igor Pecovnik
68e68fedd7 Demoting standard support for Teres A64 2024-11-25 11:31:11 +01:00
Igor Pecovnik
dff8858dac Disable Xiaomi UMI as it breaks build 2024-11-25 11:31:11 +01:00
brentr
fc54623c4a Add Rockchip u-boot "binman" BOOT_SCENARIO (#7505)
* rockchip64: add `BOOT_SCENARIO=binman` for mainline u-boot

- drop special handling for 3308's `legacy` branch
- rpardini: note how SPI/mtd is not yet supported for this scenario

Co-authored-by: Ricardo Pardini <ricardo@pardini.net> (squash/splits, shellfmt)

* `rock-s0`/`rockpi-s`: use `BOOT_SCENARIO=binman`; move blobs to armbian/rkbin

- Move rk3308 boot blobs to armbian/rkbin
  - delete obsolete ones
- Alter rock-s0 and rockpi-s to use the new "binman" BOOT_SCENARIO

Co-authored-by: Ricardo Pardini <ricardo@pardini.net> (shellfmt; small fixes; squashes)
2024-11-22 23:31:39 -08:00
amazingfate
cc4513958f rk3576: use boot_merger to generate idbloader.img 2024-11-20 12:34:03 +01:00
Ricardo Pardini
ae6a235582 rockchip64/rockchip-rk3588: rewrite/rebase patches against 6.12 final, no changes 2024-11-20 12:29:44 +01:00
Ricardo Pardini
2bdfa7941e mainline-kernel.conf.sh: bump 6.12 to final 2024-11-20 12:29:44 +01:00
The-going
45162c2e67 sunxi-6.11: Fix build dtb package
Armbian uses subdirectories <overlay> for arm
and <allwinner/overlay> for arm64.
Delete the vendor's directory if the target architecture
is an arm.
2024-11-20 12:28:48 +01:00
The-going
17a33c1480 sunxi-6.11: Switch to v6.11.9, reextract megous patches 2024-11-20 12:28:48 +01:00
The-going
c6b3bfe8ff sunxi-6.6: Switch to v6.6.62 2024-11-20 12:28:39 +01:00
Igor Pecovnik
0b656192a9 Switch to action artifacts that was moved to .org 2024-11-20 15:22:21 +08:00
amazingfate
e1815dfeb7 apt-utils.sh: get base-files package version from GHA 2024-11-20 15:22:21 +08:00
Ricardo Pardini
333d99ca25 meson64-6.12: hackfix for meson-gx-socinfo patch 2
- original from 6.11, re-done on top of Viacheslav's 6.12 fix which missed it
- otherwise
  ```
  drivers/soc/amlogic/meson-gx-socinfo-sm.c:178:19: error: initialization of 'void (*)(struct platform_device *)' from incompatible pointer type 'int (*)(struct platform_device *)' [-Werror=incompatible-pointer-types]
       178 |         .remove = meson_gx_socinfo_sm_remove,
           |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
  ```
2024-11-20 00:58:56 +01:00
Ricardo Pardini
795d8f4808 meson64-6.12: hackfix for add amlogic gpio to irq patch due to pinctrl: meson: Constify some structures
- due to 8a74a53ebb "pinctrl: meson: Constify some structures"
2024-11-20 00:58:56 +01:00
Ricardo Pardini
5dedeb544e meson64-6.12: rebase onto 6.12-rc7, no changes 2024-11-20 00:58:56 +01:00
Viacheslav Bocharov
d76427e85c meson64-6.12: Update meson-gx-socinfo patchset for 6.12
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-11-20 00:58:56 +01:00
Ricardo Pardini
98a8823ba7 meson64-6.12: borrow rockchip64-6.12's general-add-overlay-compilation-support.patch 2024-11-20 00:58:56 +01:00
Ricardo Pardini
e6744c61bc meson64: bump edge from 6.11 to 6.12 via rename 2024-11-20 00:58:56 +01:00
Ricardo Pardini
23052814c0 meson64-6.11: rebase patches against 6.11.8 in preparation of 6.12 bump; no changes 2024-11-20 00:58:56 +01:00
Ricardo Pardini
a9b7820e27 thinkpad-x13s: bump to jhovold's wip/sc8280xp-6.12 final
- see 650342dbbc...fbc4a9df0c
2024-11-19 22:37:35 +01:00
igorpecovnik
c01fad3eda Automatic board configs status synchronise 2024-11-19 09:10:51 +01:00
Igor Pecovnik
3f5ae6b273 Adjusting aml-s9xx as armbian-install was moved to another location 2024-11-19 08:50:06 +01:00
fridtjof
017549347b fixme/hack: override dt name for edge kernel only 2024-11-18 19:19:07 +01:00
fridtjof
d348bde888 rock-5b-plus: add usbdp_phy0 SBU DC GPIOs from vendor tree 2024-11-18 19:19:07 +01:00
fridtjof
65d9293c6d rock-5b-plus: apply rock5b changes from 6.12-rc7
See https://lore.kernel.org/all/335ecd5841ab55f333e17bb391d0e1264fac257b.1726954592.git.dsimic@manjaro.org/
2024-11-18 19:19:07 +01:00
fridtjof
923c194a0c rock-5b-plus: add type-c controller stuff
based on the rock 5 ITX dts
2024-11-18 19:19:07 +01:00
fridtjof
2a653f1eb4 rock-5b-plus: enable PHYs for the USB-C OTG port 2024-11-18 19:19:07 +01:00
fridtjof
a20fa8c38a rock-5b-plus: enable usb_host0_xhci (USB-C OTG port) 2024-11-18 19:19:07 +01:00
fridtjof
a11600aa0b rock-5b-plus: add edge u-boot config from rock-5b 2024-11-18 19:19:07 +01:00
fridtjof
6986eb96ba rock-5b-plus: enable edge kernel 2024-11-18 19:19:07 +01:00
fridtjof
eaa150e8eb rockchip-rk3588: device tree for rock5b+ 2024-11-18 19:19:07 +01:00
The-going
3e07d3ed7c bootscript: sunxi: Add a dtb file path analyzer
Device tree files and overlay files are interconnected
and always located in the same place, separated by
the overlay subdirectory.
${fdtdir}/${fdtfile}
${fdtdir}/overlay/${overlay_prefix}-${overlay_file}.dtbo

By default, we are trying to download a dtb file from
the /boot/dtb folder, which is a link to the real folder.
Depending on the time and type of build, this link may
point directly to the target folder or to a subdirectory,
i.e. possible path options:
/boot/dtb/overlay
/boot/dtb/allwinner/overlay
In the file armbianEnv.txt we can also see:
fdtfile=sun8i-*.dtb
or
fdtfile=allwinner/sun8i-*.dtb

Thus, when the user has frozen the kernel and updated
the BSP package, or vice versa, updated only the kernel,
the following options are possible in the paths after
their concatenation in the script:
/boot/dtb/sun8i-*.dtb
/boot/dtb/allwinner/sun8i-*.dtb
/boot/dtb/allwinner/allwinner/sun8i-*.dtb

Define and remember default path variables.
Provide the user with the ability to specify the path
to the target folder as:
fdtdir=/path/to/dir
Check the existence of the dtb file in all reasonable
paths and set the path to it.
If not found, download the default file from the default path.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2024-11-18 19:14:16 +01:00
The-going
3b11388317 u-boot-sunxi: bananapim3: Building without all patches 2024-11-18 19:14:16 +01:00
Igor
6148907595 Improvements and bug fixes to Armbian user-space services (#6840)
* Add a list of BASH shell aliases and merge them with ohmyZSH aliases
* Add command armbian-upgrade to the BSP which executes update + upgrade
* Display armbian-upgrade only if there are upgrades
* Generate empty folder where will store data. This doesn't exists at early start
* Move armbian-install to /usr/bin and autoexecute sudo
2024-11-18 19:12:52 +01:00
igorpecovnik
8b215c4891 Automatic board configs status synchronise 2024-11-18 19:04:05 +01:00
Igor Pecovnik
e31a4debc4 Bugfix: Move Bananapi R2PRO to most recent boot loader
Current is causing boot loop.
2024-11-17 19:42:53 +01:00
amazingfate
a46a7cfaf5 enable pd negotiation support for bananapim7 2024-11-17 16:39:45 +01:00
SuperKali
e119825c43 Revert "Move support of nanopc t6 & lts from edge to current (#7476)"
This reverts commit 378c64a762.
2024-11-17 14:35:26 +01:00
Ricardo Pardini
d66285dceb armbianmonitor: call curl with --fail flag so server 400/500 errors actually trigger a retry
- otherwise, curl thinks a 4xx or 5xx error is perfectly acceptable. who knew?
2024-11-17 14:33:26 +01:00
Igor
a70b864611 fxblox-rk1: update vendor version (#7480)
Co-authored-by: mahdichi <mahdichi@gmail.com>
2024-11-15 08:09:33 +01:00
Paolo
db651d68b8 rockchip: remove patch breaking HDMI 7" displays on Tinkerboard (#7479)
* rockchip: remove mainlined patch

* rockchip: remove fracmux limit patch
2024-11-15 07:19:47 +01:00
Igor Pecovnik
0decdd5329 Rockchip armhf: remove parts of code from the patch which has been upstreamed 2024-11-14 21:57:32 +01:00
The-going
781400e0e8 sunxi-6.11: Switch to v6.11.7 2024-11-14 21:39:00 +01:00
The-going
81cd995147 sunxi-6.11: Fix the installation of overlay files in the subdir
Merge two patch files and delete the debugging code.
2024-11-14 21:39:00 +01:00
The-going
42505d6e9c sunxi-6.11: reexport megous patches 2024-11-14 21:39:00 +01:00
The-going
e76837f79e sunxi-6.11: Fix dtb install 2024-11-14 21:39:00 +01:00
The-going
2e1545d298 sunxi-6.6: Switch to v6.6.60 2024-11-14 21:39:00 +01:00
Igor Pecovnik
01d7f7db0d Change development repository domain name to github.armbian.com 2024-11-14 21:38:43 +01:00
SuperKali
6c26eee18d Remove edge kernel on youyeetoo r1 (#7475) 2024-11-14 18:00:12 +01:00
SuperKali
378c64a762 Move support of nanopc t6 & lts from edge to current (#7476) 2024-11-14 17:59:50 +01:00
SuperKali
6d8b845029 Add missing node for youyeetoo r1 on current kernel (#7472) 2024-11-14 08:03:56 +01:00
Aaron Dewes
05afe5df3a Add support for Radxa CM5 on RPi CM4 IO 2024-11-14 07:35:52 +01:00
jomadeto
abe77c314a Add TV Box Magicsee C400 Plus Linux support 2024-11-14 07:35:26 +01:00
Paolo Sabatino
eec2c2bf5a fix crash dump on eager led setting 2024-11-14 07:35:12 +01:00
amazingfate
96fbd4a617 rockchip-rk3588-6.12: add HDMI support to nanopc t6 2024-11-14 07:34:56 +01:00
amazingfate
d956048b37 rockchip-rk3588-6.12: update HDMI0 bridge patch 2024-11-14 07:34:56 +01:00
amazingfate
73cfd37938 rockchip-rk3588-6.12: add patch from rockchip64 to disable tools/shed_ext clean 2024-11-14 07:34:56 +01:00
ColorfulRhino
864a480578 board: nanopc-t6: Add USB3 power supply and pwm fan to DTS
Co-authored-by: SuperKali <hello@superkali.me>
2024-11-14 07:34:56 +01:00
ColorfulRhino
e28a3ec888 rk3588: edge: Enable new HDMI output driver in kernel config
`CONFIG_ROCKCHIP_DW_HDMI_QP`
2024-11-14 07:34:56 +01:00
ColorfulRhino
43629768b7 rk3588: edge: Add new v10 patch for basic HDMI out support
Source: https://lore.kernel.org/all/20241016-b4-rk3588-bridge-upstream-v10-0-87ef92a6d14e@collabora.com/^

-----------------------------

**Quote from source:**

Subject: [PATCH v10 0/3] Add initial support for the Rockchip RK3588 HDMI TX Controller
Date: Wed, 16 Oct 2024 23:06:50 +0300

The Rockchip RK3588 SoC family integrates the Synopsys DesignWare HDMI
2.1 Quad-Pixel (QP) TX controller, which is a new IP block, quite
different from those used in the previous generations of Rockchip SoCs.

The controller supports the following features, among others:

* Fixed Rate Link (FRL)
* Display Stream Compression (DSC)
* 4K@120Hz and 8K@60Hz video modes
* Variable Refresh Rate (VRR) including Quick Media Switching (QMS)
* Fast Vactive (FVA)
* SCDC I2C DDC access
* Multi-stream audio
* Enhanced Audio Return Channel (EARC)

This is the last component that needs to be supported in order to enable
the HDMI output functionality on the RK3588 based SBCs, such as the
RADXA Rock 5B.  The other components are the Video Output Processor
(VOP2) and the Samsung IP based HDMI/eDP TX Combo PHY, for which basic
support has been already made available via [1] and [2], respectively.

Please note this is a reworked version of the original series, which
relied on a commonized dw-hdmi approach.  Since the general consensus
was to handle it as an entirely new IP, I dropped all patches related to
the old dw-hdmi and Rockchip glue code - a few of them might still make
sense as general improvements and will be submitted separately.

It's worth mentioning the HDMI output support is currently limited to
RGB output up to 4K@60Hz, without audio, CEC or any of the HDMI 2.1
specific features.  Moreover, the VOP2 driver is not able to properly
handle all display modes supported by the connected screens, e.g. it
doesn't cope with non-integer refresh rates.

A possible workaround consists of enabling the display controller to
make use of the clock provided by the HDMI PHY PLL.  This is still work
in progress and will be submitted later, as well as the required DTS
updates.

To facilitate testing and experimentation, all HDMI output related
patches, including those part of this series, are available at [3].

So far I could only verify this on the RADXA Rock 5B board.

Thanks,
Cristian

[1]: 5a028e8f062f ("drm/rockchip: vop2: Add support for rk3588")
[2]: 553be2830c5f ("phy: rockchip: Add Samsung HDMI/eDP Combo PHY driver")
[3]: https://gitlab.collabora.com/hardware-enablement/rockchip-3588/linux/-/commits/rk3588-hdmi-bridge-v6.12-rc2
[4]: https://lore.kernel.org/lkml/20240801-dw-hdmi-qp-tx-v1-0-148f542de5fd@collabora.com/

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
2024-11-14 07:34:56 +01:00
ColorfulRhino
870eacd2fa rk3588: edge: Enable newly added CONFIG_RTW89_8852BT 2024-11-14 07:34:56 +01:00
ColorfulRhino
67ce16a83e rk3588: edge: Rewrite kernel config against v6.12-rc3 2024-11-14 07:34:56 +01:00
ColorfulRhino
7d0726f8ce rk3588: edge: Rename OPi 5 patch to prevent duplicate number 2024-11-14 07:34:56 +01:00
ColorfulRhino
2539d9eacf rk3588: edge: Adapt kernel patches for 6.12
- 0001-general-add-overlay-support
- 0024-RK3588-Add-Crypto-Support (asm/unaligned.h moved to linux/unaligned.h)
- 0025-RK3588-Add-HW-RNG-Support (rename driver file to avoid conflict with new 6.12 driver)
2024-11-14 07:34:56 +01:00
amazingfate
be8176a3ad rockchip-rk3588-6.12: drop patches which cannot get applied 2024-11-14 07:34:56 +01:00
amazingfate
ec66156059 rockchip-rk3588: bump current and edge to 6.12 2024-11-14 07:34:56 +01:00
Ricardo Pardini
45a1a09e9f thinkpad-x13s: bump to jhovold's wip/sc8280xp-6.12-rc4
- this is down to 27 patches, from hundreds back in the day. Considering merging this with default arm64 uefi kernel
2024-11-12 11:46:13 +01:00
Ricardo Pardini
1779ebb474 thinkpad-x13s: bump to jhovold's wip/sc8280xp-6.12-rc3
- this is down to 35 patches, from hundreds back in the day. Considering merging this with default arm64 uefi kernel
2024-11-12 11:46:13 +01:00
dependabot[bot]
f4f017e673 build(deps): bump dtschema from 2024.9 to 2024.11
Bumps [dtschema](https://github.com/devicetree-org/dt-schema) from 2024.9 to 2024.11.
- [Release notes](https://github.com/devicetree-org/dt-schema/releases)
- [Commits](https://github.com/devicetree-org/dt-schema/compare/v2024.09...v2024.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-12 11:45:23 +01:00
Ricardo Pardini
37d9200e6a hack: trixie has lost its software-properties-common package so get rid of it for all Debian releases
- https://tracker.debian.org/news/1579223/software-properties-removed-from-testing/
- that provides add-apt-repository, but we don't use that on Debian, hopefully
- move also cpufrequtils hack (which requires release) to specific function after userspace checks and when DISTRIBUTION is set
- `software-properties-gtk` if of course also gone, so remove that for desktop's sake
2024-11-12 11:42:13 +01:00
Paolo Sabatino
9b68c85c6c set CMA to 16M for Rock Pi S 2024-11-12 11:37:35 +01:00
Paolo Sabatino
977478e380 enable hs200 mode for rockpi-s 2024-11-12 11:37:35 +01:00
igorpecovnik
f407636f61 Automatic board configs status synchronise 2024-11-12 11:36:02 +01:00
Igor Pecovnik
3ccb1c4e6b Readme.me: start recommending most recent stable branch 2024-11-12 11:01:23 +01:00
Igor Pecovnik
a5e610a72c Readme.md: fix broken linux to documentation due to structural changes 2024-11-12 11:01:23 +01:00
Ricardo Pardini
e82f3c8d74 kernel: mainline: Bump v6.12-rc4 to v6.12-rc7 2024-11-12 13:49:47 +08:00
Ricardo Pardini
006b616478 kernel: mainline: Bump v6.12-rc3 to v6.12-rc4 2024-11-12 13:49:47 +08:00
ColorfulRhino
379c573d06 kernel: mainline: Bump v6.12-rc2 to v6.12-rc3 2024-11-12 13:49:47 +08:00
igorpecovnik
2eb2b48342 Automatic board configs status synchronise 2024-11-11 17:02:52 +01:00
Viacheslav Bocharov
f1c43e0468 JetHome: JetHub D2 (j200) add current kernel dts
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-11-11 09:28:10 +03:00
Viacheslav Bocharov
5a6c1ae938 JetHome: JetHub D2 (j200) fix edge kernel dts
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-11-11 09:28:10 +03:00
igorpecovnik
0de1801671 Automatic board configs status synchronise 2024-11-10 16:51:28 +01:00
amazingfate
8db8e198e3 rockchip-rk3588-6.11: update rkvdec2 patch symlink 2024-11-09 21:43:28 +01:00
amazingfate
139230cae0 rockchip64-6.12: remove downstream rockchip hwrng driver 2024-11-09 21:43:28 +01:00
amazingfate
02a4741126 rockchip64-edge: bump to 6.12 2024-11-09 21:43:28 +01:00
Bob Xiang
97638622dc Added support of core3566 (#7018)
* added core3566
2024-11-09 21:42:24 +01:00
Martin Schmiedel
ed57514e08 MBa8MPxL-RAS314: add LVDS devicetree
Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-11-09 21:07:02 +01:00
Martin Schmiedel
266e2c569d tqma-current.config: update and add configs for nftables
- enable configs needed for nftables basic rules

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-11-09 21:07:02 +01:00
Werner
fb261bb49b fix iostat on MINIMAL
`MINIMAL` do not have `iostat` so suppress the error occurring when doing `armbianmonitor -u` on such systems.
2024-11-09 21:05:49 +01:00
Werner
0afd94a84b Deprecated WIREGUARD once and for all (#7452)
* remove wireguard

* remove wireguard

* remove wireguard

* Update armsom-sige1.csc

* Update hinlink-hnas.csc

* Update hinlink-h28k.csc

* Update hinlink-h66k.csc

* Update mangopi-m28k.csc

* Update hinlink-h68k.csc
2024-11-09 21:02:50 +01:00
Igor Pecovnik
0397a2492d MOTD: declutter list of commands in motd. Everything starts with armbian-config 2024-11-07 09:18:07 +01:00
chainsx
4d30a7af69 cyber-aib-rk3588: add edge kernel support 2024-11-06 14:49:11 +08:00
Igor Pecovnik
48228f1e49 Userspace: Switch armbian-config to new generation. It has very small footprint, thus it will be installed by default 2024-11-05 16:35:36 +01:00
amazingfate
4c59d31272 add new board armsom-cm5-rpi-cm4-io 2024-11-05 16:35:24 +01:00
The-going
8bc1838ba5 sunxi-6.11: Fix broken allwinner,sram dependency on h616, h618
For devices running on h616, h618 processors, there is a loss
of temperature interface.
This commit corrects this error.

The discussion is here:
https://forum.armbian.com/topic/46871-sv08-cant-find-thermal-zone-on-6112/
2024-11-05 16:35:12 +01:00
The-going
b7f78fec0c sunxi-6.11: Switch to v6.11.6 and re-extract patches 2024-11-05 16:35:12 +01:00
user
502e139598 New option: CRYPTROOT_MAPPER. Make ROOT_MAPPER name for CRYPTROOT changable. 2024-11-05 16:35:02 +01:00
user
817519210b Fix partitioning root UUID bug in /etc/crypttab. 2024-11-05 16:35:02 +01:00
Igor Pecovnik
cc704f49a6 Cosmetic bugfix - we need to limit grep to match first character only
Without this, we grep upgrade options too and this fill give wrong information
2024-11-05 16:34:41 +01:00
Mecid
d050df9a06 Add community support for Rock5B 2024-11-05 16:34:31 +01:00
dependabot[bot]
b766d2a04e build(deps): bump rich from 13.9.3 to 13.9.4
Bumps [rich](https://github.com/Textualize/rich) from 13.9.3 to 13.9.4.
- [Release notes](https://github.com/Textualize/rich/releases)
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Textualize/rich/compare/v13.9.3...v13.9.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 14:58:42 +01:00
dependabot[bot]
aaa1ca0006 build(deps): bump setuptools from 75.2.0 to 75.3.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 75.2.0 to 75.3.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.2.0...v75.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 07:16:26 +01:00
Igor Pecovnik
49269d68f7 Revert "Update odroidxu4-current to 6.6.59"
This reverts commit d7a6047cea.
2024-11-04 18:44:51 +01:00
amazingfate
345cf3466a rkvdec2: update reg in devicetree according to mailing list 2024-11-04 15:14:40 +01:00
amazingfate
110fda1e4d rockchip-rk3588: use rkvdec2 patch from rockchip64 2024-11-04 15:14:40 +01:00
Julian Sikorski
d7a6047cea Update odroidxu4-current to 6.6.59 2024-11-04 15:13:28 +01:00
igorpecovnik
68c758f4a1 tools: Bump SHELLFMT_VERSION from 3.9.0 to 3.10.0 2024-11-03 22:24:23 +01:00
Igor Pecovnik
52548e408a GitHub Actions: add log cleaner, adjust names, fix labelling on approve 2024-11-03 21:39:25 +01:00
mr-toolcraft
5dd1cd63ce Remove duplicate BOOTPATCHDIR
Co-authored-by: ColorfulRhino <131405023+ColorfulRhino@users.noreply.github.com>
2024-11-03 18:01:13 +01:00
mr-toolcraft
544e562696 switch to mainline uboot 2024.10 2024-11-03 18:01:13 +01:00
Igor Pecovnik
ff7fbd9289 Execute rewrite-kernel-config to update kernel configs
./compile.sh rewrite-kernel-config BOARD=uefi-arm64 BRANCH=edge
./compile.sh rewrite-kernel-config BOARD=uefi-x86 BRANCH=edge
2024-11-03 17:56:48 +01:00
bmilde
a762360af0 Update linux-uefi-arm64-edge.config
added bcachefs filesystem module
2024-11-03 17:56:48 +01:00
Igor Pecovnik
01218eefa4 UX bugfix: on first run we display some warnings if userspace is unsupported. It broke down.
Since expanding distribution status with upgrade target, this condition stop working

Related: https://github.com/armbian/build/pull/7303
2024-11-03 17:43:02 +01:00
igorpecovnik
6cf475cb90 Automatic board configs status synchronise 2024-11-03 13:12:53 +01:00
amazingfate
a7363f6a80 oneplus-kebab: disable edge build 2024-11-03 14:15:56 +08:00
amazingfate
ac7a37ba02 rk3576: use boot.scr instead of extlinux 2024-11-03 14:15:35 +08:00
amazingfate
b451d4f3e3 rk3576: fix booting from boot.scr 2024-11-03 14:15:35 +08:00
Igor Pecovnik
bfea917451 Remove deprecated patch 2024-11-01 14:44:04 +01:00
Igor Pecovnik
4f4d974bfe sm8250: disable broken patch due upstream changes 2024-11-01 14:03:24 +01:00
Igor Pecovnik
6954f12531 GHA conditions syntay fix 2024-11-01 09:01:28 +01:00
aiamadeus
ef193e5a03 main-config: add China mirror for ghcr.io 2024-11-01 08:29:36 +01:00
aiamadeus
76b36c4da5 main-config: update ghproxy mirror address
The ghproxy mirror is more reliable than gitclone, so set it to default.
2024-11-01 08:29:36 +01:00
Igor Pecovnik
d355c17dc3 Change pull request trigger in order to get permissions back in order 2024-11-01 08:27:49 +01:00
Igor Pecovnik
8b3fb65404 Bugfix: patch writing style caused breakage
For some reason added patch had spaces instead of tabs.
2024-10-29 14:16:20 +01:00
chainsx
59de6d7227 Add community support for Cyber Aib RK3588 2024-10-29 06:44:32 +01:00
mr-toolcraft
a8e7d17e7f Radxa rock-3a - edge - add overlay to disable debug console (#7402)
* rock-3a: add overlay to disable debug serial console

* Update Makefile

* Update patch/kernel/archive/rockchip64-6.11/overlay/Makefile

Co-authored-by: ColorfulRhino <131405023+ColorfulRhino@users.noreply.github.com>

* Rename rockchip-rock-3a-disable-uart2.dtso to rockchip-rk3568-rock-3a-disable-uart2.dtso

---------

Co-authored-by: ColorfulRhino <131405023+ColorfulRhino@users.noreply.github.com>
2024-10-28 20:31:30 +01:00
ColorfulRhino
29adf3bd08 board: cm3588-nas: Bump U-Boot v2024.10-rc3 to v2024.10 2024-10-28 20:22:30 +01:00
ColorfulRhino
2032f67c4a board: cm3588-nas: Use mainline U-Boot v2024.10
Support for the CM3588 NAS has been added in v2024.10-rc3.
Drop vendor U-Boot for this board completely.
2024-10-28 20:22:30 +01:00
ColorfulRhino
9c84397e92 board: cm3588-nas: Add HDMI support for current kernel 6.11 2024-10-28 20:22:30 +01:00
ColorfulRhino
853c8f216a board: cm3588-nas: Use mainline dts file
Also add temporary compatibility patch for existing installations,
since existing installations will look for the old dts file.
To make migration smoother, add a pointer to the new file by
including the new dts in the old one.

For migration:
Please edit your `/boot/armbianEnv.txt` as soon as possible to
use BOOT_FDT_FILE="rockchip/rk3588-friendlyelec-cm3588-nas.dtb"!
This workaround will be removed in kernel version 6.14!
2024-10-28 20:22:30 +01:00
ColorfulRhino
3e6ddf5cb3 board: cm3588-nas: Rename board config file to match its proper name 2024-10-28 20:22:30 +01:00
mr-toolcraft
ac1b27308f Rename board-rock3a-emmc-sfc.patch to board-rock3a-0001-emmc-sfc.patch 2024-10-28 20:17:12 +01:00
mr-toolcraft
acd6e07281 Rename board-rock3a-usb3.patch to board-rock3a-0002-usb3.patch 2024-10-28 20:17:12 +01:00
mr-toolcraft
a833d163a3 Create board-rock3a-0003-add-gpio-names.patch 2024-10-28 20:17:12 +01:00
dependabot[bot]
7e2bc69479 build(deps): bump pascalgn/size-label-action from 0.5.4 to 0.5.5
Bumps [pascalgn/size-label-action](https://github.com/pascalgn/size-label-action) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/pascalgn/size-label-action/releases)
- [Commits](https://github.com/pascalgn/size-label-action/compare/v0.5.4...v0.5.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 20:15:37 +01:00
dependabot[bot]
27129cfce6 build(deps): bump peter-evans/create-pull-request from 6 to 7
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 20:15:25 +01:00
dependabot[bot]
ff5b934b9a build(deps): bump rich from 13.9.2 to 13.9.3
Bumps [rich](https://github.com/Textualize/rich) from 13.9.2 to 13.9.3.
- [Release notes](https://github.com/Textualize/rich/releases)
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Textualize/rich/compare/v13.9.2...v13.9.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 20:14:32 +01:00
Martin Schmiedel
238d027d3a tqma-current.config: enable SQUASHFS_XZ
- solves "Filesystem uses "xz" compression. This is not supported"

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-10-25 23:43:44 +02:00
Martin Schmiedel
be43b3b3d3 xfce: add accountsservice
- fixes: lightdm error 'Error getting user list ...'

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-10-25 23:43:44 +02:00
amazingfate
0b3a1a06f8 rockchip64-6.11: add patch to enable uwe5622 wifi/bt on opi3b v1.1 2024-10-25 23:43:19 +02:00
amazingfate
b2e28db460 rockchip64-6.11: rewrite kernel patches 2024-10-25 23:43:19 +02:00
Igor Pecovnik
bede7c121e Limit default labelling to opened, reopened and synchronize PR
Also remove "Ready to merge" in case PR is changed / fresh
2024-10-25 23:39:50 +02:00
igorpecovnik
5981196f1f Automatic board configs status synchronise 2024-10-25 22:38:18 +02:00
Igor Pecovnik
01c83b4639 Label approved pull requests with "Ready to merge" 2024-10-25 22:37:15 +02:00
Igor Pecovnik
0bdd1eec2f Set "Need review" label to all PR's by default 2024-10-25 22:37:15 +02:00
Igor Pecovnik
466a0cd346 Move maintainers update function from https://github.com/armbian/scripts
- we don't need to use PAT anymore as its within same repository
- cosmetic fixes
2024-10-25 21:48:58 +02:00
mr-toolcraft
b0a0a0c50d Radxa Rock-3a - edge - use mainline uboot (#7401)
* rock-3a - use mainline uboot

* switch to mainline tag
2024-10-23 17:01:09 +02:00
dependabot[bot]
4e94c05a1e build(deps): bump setuptools from 75.1.0 to 75.2.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 75.1.0 to 75.2.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.1.0...v75.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 13:04:33 +02:00
Igor Pecovnik
eab612e2a7 Firstlogin automation - add support for SSH key download
- allow automation in interactive mode too. Currently disabled for no apparent reason.
2024-10-22 13:04:11 +02:00
ColorfulRhino
1e310a37dc uboot: v2024.10: Add patch numbering information 2024-10-22 13:03:20 +02:00
ColorfulRhino
01d3628316 uboot: v2024.10: Import some general patches from v2024.07 2024-10-22 13:03:20 +02:00
ColorfulRhino
573256419b board: nanopi-r6s: Bump U-Boot from v2024.07 to v2024.10
Support for the NanoPi R6S has been added in v2024.10,
so don't use the `generic-rk3588_defconfig` anymore.
2024-10-22 13:03:20 +02:00
ColorfulRhino
12d5961771 board: nanopi-r6c: Bump U-Boot from v2024.07 to v2024.10
Support for the NanoPi R6C has been added in v2024.10,
so don't use the `generic-rk3588_defconfig` anymore.
2024-10-22 13:03:20 +02:00
amazingfate
905546279f xiaomi-elish: add hexagonrpc service to fix kernel crash 2024-10-22 13:02:03 +02:00
amazingfate
dcf3260d0d sm8250: remove pd-mapper service because it is in kernel 2024-10-22 13:02:03 +02:00
Martin Schmiedel
992e9b71bb MBa8MPxL: Bump current kernel from 6.6.43 to 6.11.x
- remove patches  (already mainlined)
- while at it, rename BOARD_MAINTAINER to the actual GitHub profile

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-10-22 13:01:50 +02:00
青菜萝 卜冬瓜
21136cb963 avaota-a1: move to .csc support (#7395) 2024-10-22 08:33:08 +02:00
SuperKali
435d9e29cf board: nanopc-t6: Bump uboot from 2024.07 to 2024.10 mainline (#7393) and add USB3 psu + pwm fan
* Board: NanoPC T6 & LTS - Bump uboot from 2024.07 to 2024.10 mainline
- Replaced edge patch with v7 that enable power-supply on USB3.0 and add fan control through pwm.

* Revert BOOTCONFIG to the original state that not exist on vendor kernel and aligned edge BOOTCONFIG

* Rewrited patch with rewrite-kernel-patches flag

* Adjusted nanopct6 configuration

Co-authored-by: ColorfulRhino <131405023+ColorfulRhino@users.noreply.github.com>

* Revert patch, added on the same patch a new patch for usb3 and fan stuff

---------

Signed-off-by: SuperKali <hello@superkali.me>
Co-authored-by: ColorfulRhino <131405023+ColorfulRhino@users.noreply.github.com>
2024-10-21 14:09:20 +00:00
Alex Shumsky
922f656332 rockchip64: make rockchip64 bootable in VM 2024-10-20 18:22:39 +02:00
ColorfulRhino
82aa7b3963 compilation: armbian-kernel: Change forced uncompressed modules option for kernels >=v6.12
The kernel option `CONFIG_MODULE_COMPRESS_NONE`  was superseded by `CONFIG_MODULE_COMPRESS` in 6.12.
Adapt the kernel compilation script accordingly to force the correct kernel option.

Source: c7ff693fa2
2024-10-20 18:21:58 +02:00
Igor Pecovnik
7850d7750a Wireless drivers: remove driver for 8822BS applicable for old kernels < 5.16
Git was removed and there is not need to restore it.
2024-10-18 23:03:48 +02:00
Igor Pecovnik
c160595553 Giveaway: remove additional label that otherwise makes no sense 2024-10-18 12:17:45 +02:00
Marco Schirrmeister
8d41177b2a rockchip-rk3588: rk3588-6.11: set CONFIG_NETKIT=y 2024-10-18 10:53:11 +02:00
amazingfate
d796acea82 extension: image-output-abl: fix blank slot_suffix in cmdline 2024-10-18 10:52:59 +02:00
amazingfate
6643dbaf1a add new device OnePlus 8T 2024-10-18 10:52:59 +02:00
amazingfate
9f36738bb6 sm8250-current: enable driver for syn tcm touchscreen and samsung amb655x panel 2024-10-18 10:52:59 +02:00
amazingfate
92bd238f83 sm8250-6.11: add oneplus kebab patches 2024-10-18 10:52:59 +02:00
brentr
14314337da Merged rock-s0 and rockpi-s boards fully into rockchip64 family (#7382)
Also removed some obsolete board specific boot script tweaks
2024-10-18 00:09:36 -07:00
igorpecovnik
bde97a3b9b Automatic board configs status synchronise 2024-10-17 07:10:32 +02:00
Igor Pecovnik
b72f64b09c Debian desktops: disable Pidgin as its broken. Can stay that way. 2024-10-16 17:14:31 +02:00
Igor Pecovnik
91a591d758 Gnome: add nautilus-extension-gnome-terminal extention 2024-10-16 14:10:31 +02:00
Igor Pecovnik
e18a0162f3 Gnome desktops: add gvfs-backends package as its missing only here 2024-10-16 14:10:31 +02:00
ColorfulRhino
7d4cdc6231 board: orangepi3b: Fix U-Bootx BOOTPATCHDIR and bump to 2024.10
- Bump U-Boot from v2024.10-rc3 to v2024.10
- Move U-Boot patch dir to default one (`$BOOTBRANCH/board_$BOARD`) which gets applied automatically by the patcher for the specific $BOARD
- Little fixes: Use `declare -g` and a code style similar to NanoPi R6 series
2024-10-16 14:09:20 +02:00
Muhammed Efe Cetin
785183e723 nanopi-m6: make it standard supported 2024-10-16 14:09:03 +02:00
Alex Shumsky
73d521da42 ramlog: remove obsolete nocache; fixes #6890 2024-10-15 15:56:55 +02:00
dependabot[bot]
749aea39e4 build(deps): bump actions/upload-artifact from 4.4.1 to 4.4.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.1 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](604373da63...b4b15b8c7c)

---
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>
2024-10-15 15:55:59 +02:00
amazingfate
c148f4a119 sm8250-6.11: remove patch "of property" because panel driver is built as module 2024-10-13 19:21:29 +02:00
amazingfate
0aaa7d0a96 xiaomi-elish: add panel_novatek_nt36523 to initramfs 2024-10-13 19:21:29 +02:00
amazingfate
955a13dbe9 sm8250-current: build panel_novatek_nt36523 and pinctrl_lpass_lpi as module 2024-10-13 19:21:29 +02:00
Alex Shumsky
06f573ef3a rk3318: enable rng-seed population in u-boot 2024-10-13 19:17:55 +02:00
Alex Shumsky
864d7f0a1c rockchip64/uboot: increase rng-seed size to make it sufficient for modern linux 2024-10-13 19:17:37 +02:00
Ricardo Pardini
95cd55fe3c mainline-kernel: bump to 6.12-rc2 2024-10-13 19:16:43 +02:00
Ricardo Pardini
d7784b73a1 thinkpad-x13s: bump to jhovold's wip/sc8280xp-6.12-rc2
- this is down to 35 patches, from hundreds back in the day. Considering merging this with default arm64 uefi kernel
2024-10-13 19:16:33 +02:00
Ricardo Pardini
716844e04a uefi-* / edge: bump to 6.12; rework arm64 Phytium stmmac acpi patches
- recover lost patches in 6.9/6.10 cycle
2024-10-13 19:16:20 +02:00
Ricardo Pardini
e6d3af9cf7 uefi-arm64 6.6 (current): rewrite kernel patches, no changes
- in preparation for edge 6.12-rcX bump, and recovering lost patches
2024-10-13 19:16:20 +02:00
Paolo Sabatino
ced0c4a4e9 Provide dtb overlay to enable pwm node for rk3288 2024-10-13 19:16:09 +02:00
The-going
90637986ee sunxi-6.6: switch to v6.6.54 2024-10-13 00:04:22 -04:00
The-going
d1c1c193dd sunxi-6.6: armbian patches: rebase to v6.6.54, fix and re-export
Added a kernel panic fix for the ARM architecture:
https://bugzilla.kernel.org/show_bug.cgi?id=219089
https://lore.kernel.org/linux-arm-kernel/20240729165036.7368-1-mikhailai@gmail.com/
2024-10-13 00:04:22 -04:00
The-going
9c3c3edde0 sunxi-6.6: megous patches: rebase to v6.6.54, fix and re-export 2024-10-13 00:04:22 -04:00
The-going
6795f859a7 sunxi-6.11: Re-export armbian patches 2024-10-13 00:04:22 -04:00
schwar3kat
a67126e6e1 Rock-5c add an ALSA asound.state file to fix sound issues (#7361) 2024-10-11 13:38:37 +02:00
dependabot[bot]
fbab02840f build(deps): bump rich from 13.8.1 to 13.9.2
Bumps [rich](https://github.com/Textualize/rich) from 13.8.1 to 13.9.2.
- [Release notes](https://github.com/Textualize/rich/releases)
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Textualize/rich/compare/v13.8.1...v13.9.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 08:41:23 +02:00
Muhammed Efe Cetin
dac208f85c rockchip-rk3588-vendor: enable CONFIG_NANOPI_ADC_POWER 2024-10-11 08:40:46 +02:00
Patrick Yavitz
fa3eadecab BananaPi BPI-M4-Zero: Add pinctrl x32clk_fanout_pin
and fixup Makefile

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-09 14:58:56 -04:00
Patrick Yavitz
006bd4de30 BananaPi BPI-M4-Zero: partial DTS re-write
Removed gpio-keys node (NOTE: add to the M4 Berry DTS)
Add vcc1v8 and vcc3v3 regulators
Fixup MMC nodes
Add bluetooth node (NOTE: BT is still iffy in Armbian)

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-09 14:58:56 -04:00
Patrick Yavitz
e729002a89 BananaPi BPI-M4-Zero: Update BRCM wireless firmware
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-09 14:58:56 -04:00
Patrick Yavitz
84082a3241 sun50iw9-bpi.conf: Update ATF to lts-v2.10.7
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-09 14:58:56 -04:00
Patrick Yavitz
d7b5080a65 BananaPi BPI-M4-Zero: partial DTS re-write
Removed gpio-keys node (NOTE: add to the M4 Berry DTS)
Add vcc1v8 and vcc3v3 regulators
Fixup MMC nodes
Add bluetooth node (NOTE: BT is still iffy in Armbian)

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-09 14:58:56 -04:00
The-going
2e5611c92d spacemit: opensbi, u-boot, kernel legacy: Update for v1.0.15
Re-extract the kernel patches as a series.
Re-extract the u-boot patches as "git format-patch" command.

Unified patch extraction makes it easier to work with patches.
2024-10-09 20:47:00 +02:00
Patrick Yavitz
70daac7b44 BananaPi BPI-M4-Zero: partial DTS re-write
linux-6.11.y

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-09 20:46:40 +02:00
The-going
69a34b1e86 sunxi-6.11: Switch kernel version to v6.11.2 2024-10-09 20:46:40 +02:00
The-going
c7c39d91b9 sunxi-6.11: Re-extract armbian patches 2024-10-09 20:46:40 +02:00
The-going
ed323cbda6 sunxi-6.11: Re-extract the megous patches 2024-10-09 20:46:40 +02:00
Roman Buldygin
e765a31358 Support for Luckfox Core3566 2024-10-09 20:46:27 +02:00
amazingfate
cd4b4e8318 mesa-vpu: use mesa from debian bookworm-backports 2024-10-09 20:45:38 +02:00
Muhammed Efe Cetin
067dd99d18 mesa-vpu: don't override DEFAULT_OVERLAYS 2024-10-09 19:52:49 +02:00
Muhammed Efe Cetin
e5d940c97e nanopi-m6: add LCD overlay as default 2024-10-09 19:52:49 +02:00
dependabot[bot]
692a282716 build(deps): bump actions/upload-artifact from 4.4.0 to 4.4.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](50769540e7...604373da63)

---
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>
2024-10-09 19:52:29 +02:00
Igor Pecovnik
c0a2278f8c MOTD: display hostapd parameters if AP is in operation 2024-10-09 19:51:58 +02:00
Igor Pecovnik
9697c17fbd Overlay management: somewhere we had OVERLAY_DIR and somewhere OVERLAYDIR 2024-10-08 12:37:49 +02:00
Igor Pecovnik
d8284855c8 Odroid XU4 kernel: remove deprecated patches 2024-10-08 08:32:15 +02:00
Igor Pecovnik
c2149ade6e Revert "Update odroidxu4-current to 6.6.54"
This reverts commit 3bb85b5225.
2024-10-08 07:56:27 +02:00
Muhammed Efe Cetin
7f3c7aba16 Add support for NanoPi M6 2024-10-06 21:35:09 +02:00
igorpecovnik
b8dd15b100 Automatic board configs status synchronise 2024-10-06 17:55:27 +02:00
Julian Sikorski
3bb85b5225 Update odroidxu4-current to 6.6.54 2024-10-06 17:54:10 +02:00
Paolo
2960ffaff2 avoid binary led parameters, better handle :link triggers (#7337) 2024-10-06 12:22:45 +02:00
Paolo Sabatino
8b9fd1507e [rockchip64] add tm16xx led driver for display panels 2024-10-05 19:07:58 +02:00
Igor Pecovnik
70cbb6df6e Mesa-vpu: we also need to have conditions in the install part or there is no point
+ resolve small typo
2024-10-05 19:06:39 +02:00
amazingfate
3c25dde4be rk35xx: use boot-rk35xx.cmd for overlay support 2024-10-05 12:27:39 +02:00
amazingfate
4416b311bc bootscript: rename boot-rk3588-legacy.cmd to boot-rk35xx.cmd 2024-10-05 12:27:39 +02:00
amazingfate
94cf4f4146 bootscript: rk3588-legacy: sync with boot-rockchip64.cmd 2024-10-05 12:27:39 +02:00
SuperKali
be47af9a16 Formatting from spaces to tabs 2024-10-05 12:27:14 +02:00
SuperKali
8d2f719a25 Revert default hide interfaces 2024-10-05 12:27:14 +02:00
SuperKali
47029b7830 Improvement: Update MOTD to include IPv6 addresses (local) and exclude specified interfaces by default
- Added functionality to display local IPv6 addresses in the MOTD.
- Default behavior now excludes interfaces matching 'br-*' and 'veth'.
2024-10-05 12:27:14 +02:00
Patrick Yavitz
7663069fb5 BananaPi BPI-M4-Zero: change overlay to sun50i-h616
Make it Armbian compatible

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-05 12:26:51 +02:00
Patrick Yavitz
31ce3431ce BananaPi BPI-M4-Zero: disable bluetooth
Reasons unknown it will not load using Armbian. Until figured
out, disable it.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-05 12:26:51 +02:00
Patrick Yavitz
0e1b8e06be bananapim4zero.conf: add FDT and PACKAGE LIST
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-05 12:26:51 +02:00
Patrick Yavitz
705fca3dbc BananaPi BPI-M4-ZERO: SDIO WiFi BT overlay
sun50i-h618-bananapi-m4-sdio-wifi-bt.dtso

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-05 12:26:51 +02:00
Patrick Yavitz
a528ec229b BananaPi BPI-M4-ZERO: linux fixups
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-05 12:26:51 +02:00
Patrick Yavitz
c141cb5ac9 BananaPi BPI-M4-ZERO: u-boot-v2024.04 fixups
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-05 12:26:51 +02:00
Patrick Yavitz
3062f3c8f4 BananaPi BPI-M4-Zero: add upstream WiFi and BT firmware
I didn't add this to armbian/firmware as it might not play nice
with other peoples units.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-05 12:26:51 +02:00
Igor Pecovnik
4354e2fc8d Kernel bump: adjust broken patches 2024-10-05 12:26:32 +02:00
André Cirne
90099eda57 Add support for dln2 in orangepi zero and orangepi zero 3 2024-10-05 12:26:16 +02:00
Paolo Sabatino
21a1b73051 rockchip64: enable i2c-gpio bitbang driver 2024-10-05 12:25:22 +02:00
Paolo Sabatino
07d56cc251 rockchip64: remove mailined patch from edge kernel 2024-10-04 20:29:10 +02:00
Paolo Sabatino
9df699ccdc remove mainlined hunk from patches 2024-10-04 20:29:10 +02:00
Martin Schmiedel
3fbeef8cb6 MBa8MPxL: cleanup board configs and leave WIP state
Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-10-04 07:21:46 +02:00
Martin Schmiedel
066dea0920 MBa8MPxL-RAS314: use nxp firmware for WLAN/BT
- download the firmware from NXP and integrate it into the rootfs

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-10-04 07:21:46 +02:00
M. Efe Çetin
5fc3eb3de3 rockchip-rk3588-current: update kernel to 6.11 (#7326)
* rockchip-rk3588-edge: rebase patches
* rockchip-rk3588-edge: derive HDMI RX patch from 6.10 pathces
* rockchip-rk3588-current: update kernel to 6.11
* rockchip-rk3588-current: derive recent patches from 6.10
2024-10-04 07:21:30 +02:00
Gunjan Gupta
0f94a8c19c VIM1S: Use panfrost by default
Signed-off-by: Gunjan Gupta <viraniac@gmail.com>
2024-10-04 07:20:55 +02:00
Ian Leung
9063695a9e Orange Pi 3B: Vendor: Enable audio via headphone jack 2024-10-04 07:20:38 +02:00
Igor Pecovnik
9895cbe2ab mesa-vpu: don't install mesa-vpu on minimal images 2024-10-04 07:20:26 +02:00
Patrick Yavitz
1901b884d2 Gateway GZ80x: fixup patch @armbian.com
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-02 18:12:48 -04:00
Patrick Yavitz
eac7bb2ad5 Gateway GZ80x: update to u-boot-v2024.07
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-02 18:12:48 -04:00
Ricardo Pardini
932c78d9e6 mesa-vpu: support CLI builds as well as desktop
- a CLI image might have panfork or mesa, but not glx-mesa, mesa-utils, chromium, glmark which depend on x11/wayland
- this makes mesa-vpu useful for eg GBM applications
2024-10-02 21:43:16 +02:00
Patrick Yavitz
9b2b97e1e6 BananaPi BPI-M4-Zero: WiFi woes! blacklist RTW88
Guess its not fixed :(

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-02 10:27:49 -04:00
Patrick Yavitz
29708f6380 BananaPi BPI-M4-Zero: fixup 6.11 patch branding
arm64-dts-sun50i-h616-bananapi-m4-i2c-spi1-uart-pins.patch

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-02 10:27:49 -04:00
Patrick Yavitz
bc4b366a9c BananaPi BPI-M4-Zero: update DTS
Added a DTSI just in case a M4 Berry should be added at a
later date.

Removed usb1_vbus-supply = <&reg_usb_vbus>; from the &usbphy
node. In my testing this resolves the onboard WiFi over USB
issue that has been troubling the REV1.

Added REV2 related nodes: SDIO, Regulators, Etc ...

An SDIO / Bluetooth overlay will be added at a later date to
support the REV2.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-02 10:27:49 -04:00
Patrick Yavitz
f9921e3058 BananaPi BPI-M4-Zero: update to u-boot-v2024.04
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-02 10:27:49 -04:00
Patrick Yavitz
2ecb25e57f BananaPi BPI-M4-Zero: update board and family config
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-02 10:27:49 -04:00
Ricardo Pardini
24f7c44e1b rockchip-rk3588 / vendor: add CONFIG_RC_CORE and all IR remote modules 2024-10-02 12:07:11 +02:00
Ricardo Pardini
b9a12ec3e1 rockchip-rk3588 / legacy: add CONFIG_RC_CORE and all IR remote modules 2024-10-02 12:07:01 +02:00
Ricardo Pardini
f9fdd14fe8 rockchip-rk3588 / legacy: bump to 5.10-rkr8 (5.10.209)
- 'legacy' is not supported/enabled any more, but Joshua already did all the rebasing work ;-)
2024-10-02 12:07:01 +02:00
Ricardo Pardini
fd692cd6b5 armbian-bsp-cli-deb: fix shellcheck breakage; fixes #7303
- also, shellfmt

Fixes: db2b432d18
2024-10-02 12:06:31 +02:00
SuperKali
702c08263d Adding missing udev audio rules for NanoPC T6 & LTS (#7323) 2024-10-02 11:37:50 +02:00
Igor Pecovnik
a53be7e622 Adjust patches due to kernel bump 2024-10-01 14:17:50 +02:00
Nicolas Pereira
f38b5a0de1 enable edge kernel to h96-tvbox-3566 TV-box (#7310)
* enable edge kernel to h96-tvbox-3566

* enable edge kernel to h96-tvbox-3566

* enable edge kernel to h96-tvbox-3566
2024-09-30 21:30:17 +02:00
Igor Pecovnik
d5531824f5 Switch from wireless-tools in disabling power management 2024-09-30 18:39:23 +02:00
Igor Pecovnik
140ea243fc Replace wireless-tools app with iw in armbian-first-login 2024-09-30 18:39:23 +02:00
Igor Pecovnik
a55f8a26b4 Remove deprecated wireless-tools from packages - alternative (iw) is shipped 2024-09-30 18:39:23 +02:00
Igor Pecovnik
6bf8a1c61f Allwinner EDGE: bump to 6.11.1 and add kernel rewrite 2024-09-30 18:38:35 +02:00
The-going
028952fe1e sunxi-6.11: xradio: exclude driver if kernel version >= 6.11 2024-09-30 18:38:35 +02:00
The-going
3bc94b8355 sunxi-6.11: Fix compilation error incompatible pointer type 2024-09-30 18:38:35 +02:00
The-going
6313cf4368 sunxi-6.11: Switch edge to v6.11 2024-09-30 18:38:35 +02:00
The-going
0d3f0cfe66 sunxi-6.11: Add a series of Armbian patches 2024-09-30 18:38:35 +02:00
The-going
ad027fda4b sunxi-6.11: Add megous patches 2024-09-30 18:38:35 +02:00
The-going
8138abdc26 sunxi-6.9: Delete it as it is not in use and contains bad patches 2024-09-30 18:38:35 +02:00
Tony
60f2ad0146 reinstate tinker edge r dts (#7311) 2024-09-30 12:32:46 -04:00
Ricardo Pardini
55b87180b5 rootfs: don't use the Armbian repo when building rootfs from both GHA pipelines and CLI; fixes #7123
- Fixes: 71296430fa -- which only set `SKIP_ARMBIAN_REPO=yes` when `rootfs` cli shortcut used
  - GHA artifact pipelines are generic across all artifacts, and don't use the cli shortcuts
    - instead, they use the `artifact` shortcut, with the `WHAT=rootfs` parameter
    - so in GHA pipelines `SKIP_ARMBIAN_REPO=yes` was not taking effect
- rootfs artifact itself now enforces `SKIP_ARMBIAN_REPO` to be `yes` and makes it readonly
- also add `SKIP_ARMBIAN_REPO` to the general change-tracking for more clarity about configs and hooks etc
- add change tracking calls before/after generic artifact config adapter for even more clarity
2024-09-30 16:15:36 +02:00
Ben Hoff
ee4688952e expose itc type to v4l2 in synopsys hdmir rx 2024-09-30 16:15:21 +02:00
Tony
25267c3a4a remove redundant "add Xiaobao-nas" patch (#7312) 2024-09-30 08:09:06 -04:00
Igor Pecovnik
89476e86f3 BSP: store kernel and kernel test target definition to /etc/armbian-release to be used in armbian-config
Kernel switching will be allowed only between kernels defined here.
2024-09-29 19:29:35 +02:00
Igor Pecovnik
b24758bfa9 Ubuntu Focal: Change from EOS to CSC in order to generate base-files
Exiting CI only builds base-files for non CSC targets. Enabling Focal here and leave CI logic intact.
2024-09-29 19:06:20 +02:00
amazingfate
836def3d11 enable panfrost driver for rk3576 boards 2024-09-29 19:04:28 +02:00
Igor Pecovnik
db76bcef4f Additional cosmetic fixes to MOTD
- move reading ip address to header
- add distro upgrade info
2024-09-29 19:04:19 +02:00
Igor Pecovnik
2626dcc718 KDE wallet: ship KDE distro with default disabled KDE Wallet 2024-09-29 19:04:09 +02:00
Igor Pecovnik
c7b30c38aa Rockchip vendor: enable several options in Rockchip kernel 2024-09-29 19:03:57 +02:00
Igor Pecovnik
6a03d070d7 MD5 sum: changing default checking as it will fail on base-files
Base files are changed during the process.

FORCE_CHECK_MD5_PACKAGES=yes turns checking back on.
2024-09-29 09:55:15 +02:00
Igor Pecovnik
5d2b0e2f5a Desktop bugfixes: two packages are missing upstream, from Trixie, removing them 2024-09-29 08:51:15 +02:00
Igor Pecovnik
aaf53327a7 Add property order which we use to sort releases historically 2024-09-27 15:08:54 +02:00
Igor Pecovnik
db2b432d18 BSP: Expand distribution status with possible upgrade information 2024-09-27 15:08:54 +02:00
Ben Hoff
e324143b5b add 580 encoding 2024-09-27 14:23:33 +02:00
Gunjan Gupta
31e88922ad Fix connecting to wifi networks where SSID contains a space or comma 2024-09-25 13:02:53 +02:00
SuperKali
5bd697b452 Add timeout on check wan address on motd (#7297)
* add timeout on get_wan_address
2024-09-25 13:02:37 +02:00
Ricardo Pardini
7aedf208af mixtile-edge2: add rk3568 board (current/edge/vendor)
- in main `rockchip64` family, for current/edge (6.6 / 6.11)
- using mainline u-boot's generic rk3568 for current/edge
- vendor kernel is added via a copypasta hook to piggyback on `rk35xx`
  - requires armbian/linux-rockchip PR https://github.com/armbian/linux-rockchip/pull/245
- vendor u-boot:
  - is required to bringup npu for vendor kernel (otherwise panics)
  - .dts done based on vendor kernel DT + looking at armsom-sige3
  - defconfig ripped off from armsom-sige3
2024-09-24 09:58:58 +02:00
Ian Leung
94f65ea813 Orange Pi 3B: Edge: Switch to mainline dts 2024-09-24 09:58:43 +02:00
Igor Pecovnik
21a1628e02 Bugfix: xradio wireless stopped working if those files were removed. 2024-09-24 09:58:11 +02:00
Paolo Sabatino
1c79daddc0 bump rockchip64 edge kernel to v6.11 2024-09-21 14:18:19 +02:00
amazingfate
5e8d48cb7a mesa-vpu: fix dist-upgrade when upstream release new conf file 2024-09-20 07:10:05 +02:00
amazingfate
0ff3d972b0 radxa-aic8800: remove kernel version check 2024-09-20 07:09:55 +02:00
dependabot[bot]
bd2883c489 build(deps): bump setuptools from 74.1.0 to 75.1.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 74.1.0 to 75.1.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/v74.1.0...v75.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-20 07:09:45 +02:00
dependabot[bot]
562b7f2958 build(deps): bump dtschema from 2024.5 to 2024.9
Bumps [dtschema](https://github.com/devicetree-org/dt-schema) from 2024.5 to 2024.9.
- [Release notes](https://github.com/devicetree-org/dt-schema/releases)
- [Commits](https://github.com/devicetree-org/dt-schema/compare/v2024.05...v2024.09)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-20 07:09:36 +02:00
Igor Pecovnik
8bc31a2882 Bugfix: resolve boot loader compilation issues on X96-mate and Orangepizero2 2024-09-19 10:10:20 +02:00
Igor Pecovnik
6ee98e7f51 Bugfix: u-boot changes for x96q broke most of other Allwinner uboot compilation
If we suspect troubles, we rather do board level patch.
2024-09-18 20:18:11 +02:00
Igor Pecovnik
513671a48f Kernel config maint: rewrite kernel config with ./compile rewrite-kernel-config 2024-09-18 16:31:56 +02:00
Igor Pecovnik
17e1af68cf UX: cosmetic improvements on motd and armbian-install 2024-09-18 16:31:46 +02:00
Ricardo Pardini
5396ffb602 patching: emit warnings when files in dt folder overwrite pre-existing files (DTs that landed upstream)
- it's more and more common that the (bare) DT files in our `dt` folders have landed upstream
- this adds warnings and marks the patching table red when some bare-dt file overwrites what's already in git
- without this it's very easy to forget them there during bumps
2024-09-18 16:31:34 +02:00
Ricardo Pardini
1ac3f7ca2b rockchip-rk3588/6.11: backport Marcin Juszkiewicz's "FriendlyELEC NanoPC-T6 improvements" v6 series to fix non-LTS and split LTS version of NanoPC T6
- Marcin Juszkiewicz's series https://lore.kernel.org/all/20240829-friendlyelec-nanopc-t6-lts-v6-0-edff247e8c02@linaro.org/ has landed upstream
  - see db1dcbe5f7
  - thus we have 2 separate DTs, one for non-LTS, one for LTS; thus also 2 different Armbian boards (see separate commit)
- drop my own patch that added SPI NOR to the T6, as that is now included in the base DT
- this patch shall be dropped when `6.12-rc1` is released
2024-09-18 16:31:23 +02:00
Ricardo Pardini
74f6c394c3 nanopct6-lts: a separate board for the LTS version of the NanoPC T6
- Split has landed upstream for 6.12, and backported in a separate commit
- I had already added the `-lts` version to the vendor (6.1) rockchip kernel a few months ago
2024-09-18 16:31:23 +02:00
amazingfate
6a2fc4f377 armsom-w3: fix m.2 usb bluetooth 2024-09-18 16:31:12 +02:00
sicXnull
5e54e2beb8 X96Q LPDDR3 Improvements 2024-09-18 16:31:00 +02:00
amazingfate
9a57760e48 sm8250-current: update to 6.11 2024-09-18 16:30:50 +02:00
Paolo Sabatino
4f9733b856 update rockchip 32bit edge kernel config 2024-09-18 14:03:19 +02:00
Paolo Sabatino
e0a5a2e501 update patching config file 2024-09-18 14:03:19 +02:00
Paolo Sabatino
94ec783de0 bump rockchip 32 bit edge kernel to 6.11 2024-09-18 14:03:19 +02:00
Patrick Yavitz
552281489a Move serial0 = &uart_AO; to meson-axg-amper-gateway-gz80x.dtsi
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-09-17 07:01:05 -04:00
Patrick Yavitz
b2fc2c6f9d Gateway GZ80x: add dtsi and power off support via pwr button
There are three revs: AM-GZ80x, AM-GZ80x-US and SC-GZ80x

Add a DSTI in case one should drop out of the sky and we
need a DTS for it. This also removes its dependency on
meson-axg-jethome-jethub-j1xx.dtsi.

Can now power down via power button on the back of the
unit and power back on via reset button on the side.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-09-17 07:01:05 -04:00
dependabot[bot]
1d8690da54 build(deps): bump rich from 13.8.0 to 13.8.1
Bumps [rich](https://github.com/Textualize/rich) from 13.8.0 to 13.8.1.
- [Release notes](https://github.com/Textualize/rich/releases)
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Textualize/rich/compare/v13.8.0...v13.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 06:55:43 +02:00
Ricardo Pardini
c53e43f3df meson64-6.11: rewrite/rebase patches onto v6.11 final
- no changes, I forgot a trailing space in my hackfix comment (facepalm)
2024-09-17 06:55:00 +02:00
Ricardo Pardini
9dacbd0ec3 rockchip-rk3588-6.11: rewrite/rebase patches onto v6.11 final
- no changes
2024-09-17 06:55:00 +02:00
Ricardo Pardini
5342f8489d mainline-kernel: v6.11 was released 2024-09-17 06:55:00 +02:00
Igor Pecovnik
c6a0cd50a8 Cosmetic / UX: Display VENDORPRETTYNAME instead of VENDOR on 1st welcome screen
If defined
2024-09-17 06:54:42 +02:00
amazingfate
b38e4b238c add support for orangepi5 max 2024-09-17 06:54:23 +02:00
amazingfate
a82902c75a extensions: add bcmdhd to install bcmdhd dkms driver 2024-09-17 06:54:23 +02:00
igorpecovnik
46dd7d2760 tools: Bump SHELLFMT_VERSION from 3.8.0 to 3.9.0 2024-09-16 13:17:49 +02:00
Ben Hoff
8e1839d3f4 fix hotplug detection for op5+ and remove unstable code path in driver 2024-09-16 13:17:38 +02:00
The-going
2ce2a873db u-boot-sunxi: Fix loading of bananapim3 board from eMMC
Add the A83T processor to the sunxi_mmc_can_calibrate
logic function for proper configuration.
Return the default settings of DRAM_CLK.

This code has been tested for bootloader v2024.01 and later.
2024-09-16 13:17:26 +02:00
Ian Leung
9d4edaeb61 Orange Pi 3B: Update board config to support v2.1 boards 2024-09-16 13:17:14 +02:00
Alex Shumsky
2cf702a300 rk3318-box: enable usb3 port in uboot 2024-09-16 13:16:59 +02:00
Ricardo Pardini
df70ed88d5 thinkpad-x13s: bump to jhovold's wip/sc8280xp-6.11 (final) from -rc5 2024-09-16 13:16:07 +02:00
Ricardo Pardini
3594b0c8b7 radxa-zero2: bump to u-boot 2024.07 (from 2023.10)
- (confirmed by testing on-device) fixes UMS/Gadget stuff by including 4005729c0d that landed in v2024.01
2024-09-16 13:15:43 +02:00
Igor Pecovnik
0d8ed3fbd1 Adding OVERLAYDIR variable to hash calculating mechanisms
This will force rebuild package in case this variable gets changed
2024-09-16 13:15:18 +02:00
1601 changed files with 109186 additions and 94171 deletions

84
.github/CODEOWNERS vendored
View File

@@ -20,19 +20,26 @@ config/boards/aml-a311d-cc.conf @Tonymac32
config/boards/aml-s905d3-cc.wip @Tonymac32
config/boards/aml-s9xx-box.tvb @SteeManMI
config/boards/armsom-sige1.csc @amazingfate
config/boards/avaota-a1.conf @chainsx
config/boards/armsom-sige3.csc @amazingfate
config/boards/avaota-a1.csc @chainsx
config/boards/ayn-odin2.eos @FantasyGmm
config/boards/bananapi.conf @DylanHP @janprunk
config/boards/bananapicm4io.conf @pyavitz
config/boards/bananapim2pro.conf @bretmlw
config/boards/bananapim2pro.conf @igorpecovnik
config/boards/bananapim2s.conf @jeanrhum @pyavitz
config/boards/bananapim2zero.csc @mhawkins-consultant
config/boards/bananapim3.csc @AaronNGray
config/boards/bananapim4zero.conf @pyavitz
config/boards/bananapim5.conf @bretmlw
config/boards/bananapim5.conf @igorpecovnik
config/boards/bananapim64.csc @devdotnetorg
config/boards/bananapim7.conf @amazingfate
config/boards/bigtreetech-cb1.conf @JohnTheCoolingFan
config/boards/bigtreetech-cb2.conf @JohnTheCoolingFan
config/boards/cherryba-m1.csc @IsMrX
config/boards/clearfogpro.csc @Heisath
config/boards/cm3588-nas.csc @ColorfulRhino
config/boards/coolpi-cm5.csc @andyshrk
config/boards/coolpi-genbook.csc @andyshrk
config/boards/firefly-itx-3588j.csc @SeeleVolleri
config/boards/fxblox-rk1.csc @mahdichi
config/boards/gateway-gz80x.conf @pyavitz
@@ -61,50 +68,52 @@ config/boards/licheepi-4a.eos @chainsx
config/boards/longanpi-4b.csc @chainsx
config/boards/lubancat2.csc @andyshrk
config/boards/mangopi-m28k.csc @sputnik2019
config/boards/mba8mpxl-ras314.wip @schmiedelm
config/boards/mba8mpxl.wip @schmiedelm
config/boards/mba8mpxl-ras314.conf @schmiedelm
config/boards/mba8mpxl.conf @schmiedelm
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/nanopc-cm3588-nas.csc @ColorfulRhino
config/boards/nanopct6-lts.conf @SuperKali @Tonymac32
config/boards/nanopct6.conf @SuperKali @Tonymac32
config/boards/nanopi-m6.conf @efectn
config/boards/nanopi-r4s.conf @Manouchehri
config/boards/nanopi-r5s.csc @utlark
config/boards/nanopi-r6c.csc @ColorfulRhino
config/boards/nanopi-r6s.csc @efectn
config/boards/nanopi-r6s.conf @efectn
config/boards/nanopiair.csc @1ubuntuuser
config/boards/nanopiduo.csc @sgjava
config/boards/nanopim4v2.conf @igorpecovnik
config/boards/nanopineocore2.csc @AGM1968
config/boards/nanopineoplus2.csc @teknoid
config/boards/odroidc1.conf @juanlufont
config/boards/odroidc2.conf @teknoid
config/boards/odroidc4.conf @igorpecovnik
config/boards/odroidhc4.conf @igorpecovnik
config/boards/odroidm1.conf @rpardini
config/boards/odroidn2.conf @NicoD-SBC
config/boards/odroidxu4.conf @joekhoobyar
config/boards/olimex-teres-a64.conf @Kreyren
config/boards/olimex-teres-a64.csc @Kreyren
config/boards/onecloud.conf @hzyitc
config/boards/orangepi-r1.csc @schwar3kat
config/boards/orangepi-r1plus-lts.csc @schwar3kat
config/boards/oneplus-kebab.conf @amazingfate
config/boards/orangepi4-lts.conf @paolosabatino
config/boards/orangepi4.csc @paolosabatino
config/boards/orangepi5-plus.conf @alexl83 @efectn
config/boards/orangepi5-plus.conf @alexl83
config/boards/orangepi5.conf @efectn
config/boards/orangepione.conf @StephenGraf
config/boards/orangepipc.csc @lbmendes
config/boards/orangepipcplus.csc @Janmcha
config/boards/orangepizero2.wip @AGM1968 @krachlatte
config/boards/orangepizero2.csc @AGM1968 @krachlatte
config/boards/orangepizero2w.csc @chraac
config/boards/orangepizero3.csc @alexl83 @chraac
config/boards/orangepizeroplus.conf @schwar3kat
config/boards/orangepizeroplus.csc @schwar3kat
config/boards/phytiumpi.conf @chainsx
config/boards/pine64.conf @PanderMusubi
config/boards/pinebook-pro.csc @TRSx80 @ahoneybun
config/boards/qemu-uboot-arm64.csc @rpardini
config/boards/qemu-uboot-x86.csc @rpardini
config/boards/qemu-uefi-x86.conf @davidandreoletti
config/boards/radxa-e20c.csc @mattx433
config/boards/radxa-e25.csc @krachlatte
config/boards/radxa-e52c.conf @amazingfate
config/boards/radxa-zero.conf @clee @engineer-80
@@ -117,12 +126,13 @@ config/boards/rk3328-heltec.csc @sicXnull
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 @amazingfate
config/boards/rock-5c.conf @schwar3kat
config/boards/rock-s0.conf @brentr
config/boards/rock64.csc @clee
config/boards/rockpi-4a.csc @clee
config/boards/rockpi-e.conf @krachlatte
config/boards/rockpi-e.conf @paolosabatino
config/boards/rockpi-s.conf @brentr
config/boards/rockpro64.csc @joekhoobyar
config/boards/rpi4b.conf @PanderMusubi @teknoid
@@ -134,7 +144,7 @@ config/boards/sk-tda4vm.conf @glneo
config/boards/station-m1.csc @150balbes
config/boards/station-m3.csc @chainsx
config/boards/sweet-potato.conf @Tonymac32
config/boards/thinkpad-x13s.wip @PeterChrz @rpardini
config/boards/thinkpad-x13s.conf @PeterChrz @rpardini
config/boards/tinkerboard.conf @paolosabatino
config/boards/tritium-h3.conf @Tonymac32
config/boards/tritium-h5.conf @Tonymac32
@@ -145,46 +155,46 @@ 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.conf @FantasyGmm
config/boards/xiaomi-umi.eos @FantasyGmm
config/boards/youyeetoo-r1-v3.csc @SuperKali
config/kernel/linux-arm64-*.config @FantasyGmm
config/kernel/linux-bcm2711-*.config @PanderMusubi @teknoid
config/kernel/linux-imx8m-*.config @schmiedelm
config/kernel/linux-k3-*.config @glneo
config/kernel/linux-meson-*.config @hzyitc
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 @bretmlw @clee @engineer-80 @igorpecovnik @jeanrhum @monkaBlyat @pyavitz @rpardini @teknoid
config/kernel/linux-meson64-*.config @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee @engineer-80 @igorpecovnik @jeanrhum @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 @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @ginkage @hoochiwetech @krachlatte @lanefu @linhz0hz @mahdichi @monkaBlyat @prahal @rpardini @sputnik2019 @vamzii
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-rockchip-*.config @paolosabatino
config/kernel/linux-rockchip-rk3588-*.config @ColorfulRhino @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @efectn @lanefu @linhz0hz @rpardini
config/kernel/linux-rockchip64-*.config @150balbes @Manouchehri @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @amazingfate @andyshrk @brentr @catalinii @clee @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @paolosabatino @prahal @rpardini @schwar3kat @sicXnull @tdleiyao @utlark @vamzii
config/kernel/linux-rockchip-rk3588-*.config @ColorfulRhino @HeyMeco @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @efectn @fridtjof @lanefu @linhz0hz @rpardini @schwar3kat
config/kernel/linux-rockchip64-*.config @150balbes @JohnTheCoolingFan @Manouchehri @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @amazingfate @andyshrk @brentr @catalinii @clee @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @paolosabatino @prahal @rpardini @sicXnull @tdleiyao @utlark @vamzii
config/kernel/linux-sm8250-*.config @FantasyGmm @amazingfate
config/kernel/linux-sun55iw3-syterkit-*.config @chainsx
config/kernel/linux-sunxi-*.config @1ubuntuuser @AaronNGray @DylanHP @Janmcha @StephenGraf @Tonymac32 @janprunk @lbmendes @schwar3kat @sgjava
config/kernel/linux-sunxi64-*.config @AGM1968 @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @teknoid
config/kernel/linux-sunxi-*.config @1ubuntuuser @AaronNGray @DylanHP @Janmcha @StephenGraf @Tonymac32 @janprunk @lbmendes @mhawkins-consultant @sgjava
config/kernel/linux-sunxi64-*.config @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @teknoid
config/kernel/linux-thead-*.config @chainsx
config/kernel/linux-uefi-arm64-*.config @PeterChrz @rpardini
config/kernel/linux-uefi-x86-*.config @davidandreoletti @rpardini
patch/kernel/archive/meson-s4t7-*/ @adeepn @rpardini @viraniac
patch/kernel/archive/odroidxu4-*/ @joekhoobyar
patch/kernel/archive/sunxi-*/ @1ubuntuuser @AGM1968 @AaronNGray @DylanHP @Janmcha @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @StephenGraf @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @janprunk @krachlatte @lbmendes @pyavitz @schwar3kat @sgjava @sicXnull @teknoid
patch/kernel/archive/sunxi-*/ @1ubuntuuser @AGM1968 @AaronNGray @DylanHP @IsMrX @Janmcha @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @StephenGraf @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @janprunk @krachlatte @lbmendes @mhawkins-consultant @pyavitz @schwar3kat @sgjava @sicXnull @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
patch/kernel/meson64-*/ @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @bretmlw @clee @engineer-80 @igorpecovnik @jeanrhum @monkaBlyat @pyavitz @rpardini @teknoid
patch/kernel/meson-*/ @hzyitc @juanlufont
patch/kernel/meson64-*/ @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee @engineer-80 @igorpecovnik @jeanrhum @monkaBlyat @pyavitz @rpardini @teknoid
patch/kernel/mvebu-*/ @Heisath
patch/kernel/odroidxu4-*/ @joekhoobyar
patch/kernel/phytium-embedded-*/ @chainsx
patch/kernel/rk35xx-vendor-*/ @ColorfulRhino @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @ginkage @hoochiwetech @krachlatte @lanefu @linhz0hz @mahdichi @monkaBlyat @prahal @rpardini @sputnik2019 @vamzii
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/rockchip-rk3588-*/ @ColorfulRhino @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @efectn @lanefu @linhz0hz @rpardini
patch/kernel/rockchip64-*/ @150balbes @Manouchehri @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @amazingfate @andyshrk @brentr @catalinii @clee @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @paolosabatino @prahal @rpardini @schwar3kat @sicXnull @tdleiyao @utlark @vamzii
patch/kernel/rockchip-rk3588-*/ @ColorfulRhino @HeyMeco @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @efectn @fridtjof @lanefu @linhz0hz @rpardini @schwar3kat
patch/kernel/rockchip64-*/ @150balbes @JohnTheCoolingFan @Manouchehri @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @amazingfate @andyshrk @brentr @catalinii @clee @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @paolosabatino @prahal @rpardini @sicXnull @tdleiyao @utlark @vamzii
patch/kernel/sm8250-*/ @FantasyGmm @amazingfate
patch/kernel/sm8550-*/ @FantasyGmm
patch/kernel/sun55iw3-syterkit-*/ @chainsx
@@ -194,18 +204,18 @@ sources/families/bcm2711.conf @PanderMusubi @teknoid
sources/families/imx8m.conf @schmiedelm
sources/families/k3.conf @glneo
sources/families/meson-s4t7.conf @adeepn @rpardini @viraniac
sources/families/meson.conf @hzyitc
sources/families/meson64.conf @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @bretmlw @clee @engineer-80 @igorpecovnik @jeanrhum @monkaBlyat @pyavitz @rpardini @teknoid
sources/families/meson.conf @hzyitc @juanlufont
sources/families/meson64.conf @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee @engineer-80 @igorpecovnik @jeanrhum @monkaBlyat @pyavitz @rpardini @teknoid
sources/families/mvebu.conf @Heisath
sources/families/odroidxu4.conf @joekhoobyar
sources/families/phytium-embedded.conf @chainsx
sources/families/rk35xx.conf @ColorfulRhino @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @ginkage @hoochiwetech @krachlatte @lanefu @linhz0hz @mahdichi @monkaBlyat @prahal @rpardini @sputnik2019 @vamzii
sources/families/rockchip-rk3588.conf @ColorfulRhino @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @efectn @lanefu @linhz0hz @rpardini
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/rockchip-rk3588.conf @ColorfulRhino @HeyMeco @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @efectn @fridtjof @lanefu @linhz0hz @rpardini @schwar3kat
sources/families/rockchip.conf @paolosabatino
sources/families/rockchip64.conf @150balbes @Manouchehri @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @amazingfate @andyshrk @brentr @catalinii @clee @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @paolosabatino @prahal @rpardini @schwar3kat @sicXnull @tdleiyao @utlark @vamzii
sources/families/rockchip64.conf @150balbes @JohnTheCoolingFan @Manouchehri @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @amazingfate @andyshrk @brentr @catalinii @clee @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @paolosabatino @prahal @rpardini @sicXnull @tdleiyao @utlark @vamzii
sources/families/sm8250.conf @FantasyGmm @amazingfate
sources/families/sun55iw3-syterkit.conf @chainsx
sources/families/sunxi.conf @1ubuntuuser @AaronNGray @DylanHP @Janmcha @StephenGraf @Tonymac32 @janprunk @lbmendes @schwar3kat @sgjava
sources/families/sunxi64.conf @AGM1968 @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @teknoid
sources/families/sunxi.conf @1ubuntuuser @AaronNGray @DylanHP @Janmcha @StephenGraf @Tonymac32 @janprunk @lbmendes @mhawkins-consultant @sgjava
sources/families/sunxi64.conf @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @teknoid
sources/families/thead.conf @chainsx
sources/families/x86.conf @davidandreoletti @rpardini

4
.github/labeler.yml vendored
View File

@@ -10,6 +10,10 @@
#
# Please keep the labels sorted and deduplicated.
"Needs review":
- changed-files:
- any-glob-to-any-file: '**'
"Hardware":
- all:
- changed-files:

3
.github/labels.yml vendored
View File

@@ -109,6 +109,3 @@
- name: "Improper usage"
color: "CD456C"
description: "Provided input is not in the expected data format or structure"
- name: "Giveaway"
color: "DA4C13"
description: "Code completition was selected to enter contributors giveaway"

128
.github/workflows/adjust-maintainers.yml vendored Normal file
View File

@@ -0,0 +1,128 @@
name: "Sync maintainers status"
# Script connects to the contacts database once per hour and updates BOARD_MAINTAINER property in the board config files.
# If there are any changes, it opens a Pull Request
#
# spdx-id: GPL-2.0-or-later
# copyright-owner: @igorpecovnik
# Dependencies: lftp, jq
on:
schedule:
- cron: "0 * * * *"
workflow_dispatch:
jobs:
Build:
name: "Maintainers sync"
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'armbian' }}
steps:
- name: "Checkout build repo"
uses: actions/checkout@v4
with:
repository: armbian/build
ref: main
fetch-depth: 0
clean: false
- name: "Install SSH key for storage"
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.KEY_UPLOAD }}
known_hosts: ${{ secrets.KNOWN_HOSTS_ARMBIAN_UPLOAD }}
if_key_exists: replace
- name: "Install dependencies"
run: |
sudo apt-get -y -qq install jq
- name: "Download JSON file"
run: |
# download json that is prepared for this action in another cron job
rsync -e "ssh -p ${{ secrets.HOST_UPLOAD_PORT }}" -arvc ${{ secrets.HOST_UPLOAD_USER }}@${{ secrets.HOST_UPLOAD }}:/incoming/json/armbian_maintainers.json /tmp/
- name: "Update maintainers"
run: |
# reset all maintainers so we generate from scratch
sed -i "s/BOARD_MAINTAINER.*/BOARD_MAINTAINER=\"\"/" config/boards/*.{conf,wip,eos,tvb}
# extract values fron JSON
declare -A MAINTAINERS
{
# By default, bash run the pipe command in subshells
# which make variable can't be assigned to.
# And yes, lastpipe can solve it
# But this is better.
while read -r i; do
NAME="$(echo "$i" | jq --raw-output '.First_Name')"
BOARD="$(echo "$i" | jq --raw-output '.Maintaining')"
MAINTAINER_GITHUB="$(echo "$i" | jq --raw-output '.Github' | cut -d"/" -f4)"
if [[ "$BOARD" != null && "$MAINTAINER_GITHUB" != null ]]; then
echo "- [$NAME](https://github.com/${MAINTAINER_GITHUB})"
while read -r i; do
echo -e " - $i"
MAINTAINERS["$i"]+="$MAINTAINER_GITHUB "
done < <( echo "$BOARD" | sed "s/,/\n/g" | sort -u )
fi
done < <(jq -c '.[]' /tmp/armbian_maintainers.json)
for cfg in config/boards/*.{conf,wip,csc,eos,tvb}; do
board_name="$(echo "${cfg##*/}" | sed -E 's/\..*//')"
declare -a maintainers
readarray -t maintainers < <(echo "${MAINTAINERS[${board_name}]}" | xargs -n1 | sort -u)
sed -i "s/BOARD_MAINTAINER=.*/BOARD_MAINTAINER=\"${maintainers[*]}\"/" "${cfg}"
done
} >> "$GITHUB_STEP_SUMMARY"
- name: "Mark csc for no maintainer"
run: |
grep BOARD_MAINTAINER=\"\" config/boards/*.{wip,conf} | cut -d":" -f1 |
while read -r line; do
if [[ "${line}" != "${line/.conf/.csc}" ]]; then
mv -v "$line" "${line/.conf/.csc}"
fi
if [[ "${line}" != "${line/.wip/.csc}" ]]; then
mv -v "$line" "${line/.wip/.csc}"
fi
done
- name: "Re-generate CODEOWNERS"
run: |
./.github/generate_CODEOWNERS.sh
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: '`Automatic` board configs status synchronise'
signoff: false
branch: update-maintainers
delete-branch: true
title: '`Automatic` board configs status synchronise'
body: |
Update maintainers and board status
- synced status from the database
- rename to .`csc` where we don't have anyone
If you want to become a board maintainer, [adjust data here](https://www.armbian.com/update-data/).
Ref:
- [Board Maintainers Procedures and Guidelines](https://docs.armbian.com/Board_Maintainers_Procedures_and_Guidelines/)
- [Contribute](https://docs.armbian.com/Process_Contribute/)
labels: |
Needs review
#assignees: igorpecovnik
#reviewers: Must be org collaborator
draft: false

View File

@@ -1,22 +0,0 @@
name: Run Build Train on config changes
run-name: Run build train - Pushed commit "${{ github.event.push.head_commit.message }}"
on:
push:
branches:
- "main"
paths:
- "config/*.config"
jobs:
build-train-dispatch:
name: Send dispatch
if: ${{ github.repository_owner == 'Armbian' }}
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.ACCESS_TOKEN }}
repository: armbian/os
event-type: "Repository update"

View File

@@ -0,0 +1,27 @@
name: Clean Workflow Logs
on:
schedule:
- cron: "0 0 * * 1" # Runs "At 00:00 on Monday." (see https://crontab.guru)
workflow_dispatch:
inputs:
runs_older_than:
description: "The amount of days old to delete"
default: "21"
required: false
env:
SCHEDULED_RUNS_OLDER_THAN: "21"
SCHEDULED_RUNS_TO_KEEP: "0"
jobs:
clean-logs:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: igorjs/gh-actions-clean-workflow@v6
with:
runs_older_than: ${{ github.event.inputs.runs_older_than || env.SCHEDULED_RUNS_OLDER_THAN }}
runs_to_keep: ${{ github.event.inputs.runs_to_keep || env.SCHEDULED_RUNS_TO_KEEP }}

View File

@@ -0,0 +1,24 @@
name: "Welcome first-time issue contributor"
on:
issues:
types: opened
jobs:
welcome-first-time-contributor:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: plbstl/first-contribution@v3
with:
labels: "Good first issue"
issue-opened-msg: |
### Hey @{fc-author} !
Looks like it's your first time interacting with Armbian here on GitHub.
Welcome and thank you for taking the time to report an issue :heart:.
Don't forget to star :star: the repo.

View File

@@ -1,4 +1,4 @@
name: push
name: "Announce PR merge to Discord"
on:
push:

View File

@@ -4,16 +4,31 @@ run-name: 'Set labels - PR #${{ github.event.pull_request.number }} ("${{ github
# Set labels for pull requests automatically based on size (modified via job 'label-size') and file categories (modified via .github/labeler)
#
on:
- pull_request_target
on: pull_request_target
jobs:
label-remove:
permissions:
contents: read # for pascalgn/size-label-action to determine modified files
pull-requests: write # for pascalgn/size-label-action to add labels to PRs
name: "Remove Ready to merge"
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
runs-on: ubuntu-latest
steps:
- uses: PauMAVA/add-remove-label-action@v1.0.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
add: ""
remove: "Ready to merge"
label-category:
permissions:
contents: read # for actions/labeler to determine modified files
pull-requests: write # for actions/labeler to add labels to PRs
name: "Category labels"
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
runs-on: ubuntu-latest
steps:
@@ -28,11 +43,12 @@ jobs:
pull-requests: write # for pascalgn/size-label-action to add labels to PRs
name: "Size label"
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
runs-on: ubuntu-latest
steps:
- name: size-label
uses: "pascalgn/size-label-action@v0.5.4"
uses: "pascalgn/size-label-action@v0.5.5"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:

View File

@@ -5,22 +5,20 @@ run-name: "Generate artifacts - PR #${{ github.event.pull_request.number }} - by
# In the run name, ${{ github.actor }} shows who's privileges are used for this run.
#
on:
pull_request:
types: [opened, reopened, synchronize, labeled]
on: pull_request_target
jobs:
Check:
permissions:
pull-requests: read
name: Check label and authorization
if: contains(github.event.pull_request.labels.*.name, 'Build')
name: Check label and authorization
runs-on: Linux
outputs:
member: ${{ steps.checkUserMember.outputs.isTeamMember }}
steps:
- uses: tspascoal/get-user-teams-membership@v3
if: contains(github.event.pull_request.labels.*.name, 'Build')
id: checkUserMember
with:
username: ${{ github.actor }}

View File

@@ -0,0 +1,15 @@
on: pull_request_review
name: Label approved pull requests
jobs:
labelWhenApproved:
if: ${{ github.repository_owner == 'armbian' }}
name: Label when approved
runs-on: ubuntu-latest
steps:
- name: Label when approved
uses: pullreminders/label-when-approved-action@master
env:
APPROVALS: "1"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ADD_LABEL: "Ready to merge"
REMOVE_LABEL: "Needs%20review"

View File

@@ -0,0 +1,23 @@
name: "Welcome first-time PR contributor"
on:
pull_request_target:
types: opened
jobs:
welcome-first-time-contributor:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: plbstl/first-contribution@v3
with:
pr-opened-msg: |
### Hey @{fc-author} !
Looks like it's your first pull reqests to Armbian codebase.
Welcome and thank you for contributing :heart: :heart: :heart:.
Don't forget to star :star: the repo.

View File

@@ -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@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: SARIF file
path: results.sarif

View File

@@ -1,5 +1,5 @@
name: Update board list at armbian/os
run-name: Update board list at armbian/os - Pushed commit "${{ github.event.push.head_commit.message }}"
name: Update Board Lists
run-name: Update board list at armbian/os
on:
push:

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.08`
For stable branch use `--branch=v24.11`
```bash
apt-get -y install git
@@ -82,9 +82,10 @@ Generated image will be uploaded to your repository release. Note: GitHub upload
## More information:
- [Building Armbian](https://docs.armbian.com/Developer-Guide_Build-Preparation/) (how to start, how to automate)
- [Build options](https://docs.armbian.com/Developer-Guide_Build-Options/) (all build options)
- [Building Armbian](https://docs.armbian.com/Developer-Guide_Build-Preparation/) (how to start)
- [Build commands](https://docs.armbian.com/Developer-Guide_Build-Commands/) and [switches](https://docs.armbian.com/Developer-Guide_Build-Switches/) (build options)
- [User configuration](https://docs.armbian.com/Developer-Guide_User-Configurations/) (how to add packages, patches, and override sources config)
- [System config](https://docs.armbian.com/User-Guide_Armbian-Config/) (menu driven utility to setup OS and HW features)
## Download prebuilt images releases

View File

@@ -1 +1 @@
24.11.0-trunk
25.02.0-trunk

View File

@@ -87,6 +87,10 @@ inputs:
required: false
default: "Build with [Armbian tools](https://github.com/armbian/build)"
armbian_release_tag:
description: "Armbian release tag"
required: false
runs:
using: "composite"
@@ -122,7 +126,7 @@ runs:
uses: actions/checkout@v4
with:
repository: armbian/build
fetch-depth: 0
ref: ${{ inputs.armbian_branch }}
clean: false
path: build
@@ -163,9 +167,8 @@ runs:
DESKTOP_ENVIRONMENT_CONFIG_NAME="config_base"
fi
# go to build folder and checkout
# go to build folder
cd build
git checkout ${{ inputs.armbian_branch }}
# execute build command
./compile.sh "${{ inputs.armbian_target }}" \
@@ -194,7 +197,7 @@ runs:
- uses: ncipollo/release-action@v1
with:
tag: "${{ env.ARMBIAN_VERSION }}"
tag: ${{ inputs.armbian_release_tag != '' && inputs.armbian_release_tag || env.ARMBIAN_VERSION }}
name: "${{ inputs.armbian_release_tittle }}"
artifacts: "${{ inputs.armbian_artifacts }}*"
allowUpdates: true

View File

@@ -31,7 +31,7 @@ function post_family_tweaks_bsp__config_aml-s9xx-box_bsp() {
run_host_command_logged chmod -v 644 "${destination}"/root/fstab.template
display_alert "${BOARD}" "Removing armbian-install" "info"
run_host_command_logged rm -v "${destination}"/usr/sbin/armbian-install
run_host_command_logged rm -v "${destination}"/usr/bin/armbian-install
display_alert "${BOARD}" "Adding bsp-cli preinst logic" "info"
# Inline function! So this function is automatically hashed when this hook is hashed.

View File

@@ -8,12 +8,10 @@ BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3576-armsom-cm5-io.dtb"
BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
SRC_EXTLINUX="yes"
MODULES_BLACKLIST="panfrost"
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"
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"

View File

@@ -0,0 +1,30 @@
# Rockchip RK3576 SoC octa core 8-64GB SoC GBe eMMC USB3 NvME WIFI
BOARD_NAME="ArmSoM CM5 CM4 IO"
BOARDFAMILY="rk35xx"
BOOTCONFIG="armsom-cm5-rpi-cm4-io-rk3576_defconfig"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3576-armsom-cm5-rpi-cm4-io.dtb"
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"
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
return 0
}

View File

@@ -8,5 +8,4 @@ FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3528-armsom-sige1.dtb"
BOOT_SCENARIO="spl-blobs"
WIREGUARD="no"
IMAGE_PARTITION_TABLE="gpt"

View File

@@ -8,12 +8,10 @@ BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3576-armsom-sige5.dtb"
BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
SRC_EXTLINUX="yes"
MODULES_BLACKLIST="panfrost"
BOARD_MAINTAINER=""
function post_family_config_branch_vendor__armsom-sige7_use_vendor_uboot() {
display_alert "$BOARD" "vendor u-boot overrides for $BOARD / $BRANCH" "info"
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"

View File

@@ -28,3 +28,12 @@ function post_family_tweaks__armsom-w3_naming_audios() {
return 0
}
function post_family_tweaks__armsom-w3_fix_m2_bluetooth() {
display_alert "$BOARD" "Fixing armsom-w3 m.2 usb bluetooth" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
echo 'ACTION=="add", SUBSYSTEM=="usb",ATTR{bConfigurationValue}=="", ATTR{bConfigurationValue}="1"' > $SDCARD/etc/udev/rules.d/91-m2-usb-bluetooth.rules
return 0
}

View File

@@ -12,7 +12,7 @@ PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools"
function post_config_uboot_target__extra_configs_for_bananapi_f3() {
display_alert "u-boot for ${BOARD}" "u-boot: enabling extra configs" "info"
run_host_command_logged scripts/config --enable CONFIG_SD_BOOT
run_host_command_logged scripts/config --enable CONFIG_EXT4_WRITE
run_host_command_logged scripts/config --enable CONFIG_FS_BTRFS

View File

@@ -1,7 +1,7 @@
# Amlogic S905X3 quad core 2-4GB RAM SoC eMMC GBE USB3 SPI Wifi
BOARD_NAME="Banana Pi M2Pro"
BOARDFAMILY="meson-sm1"
BOARD_MAINTAINER="bretmlw"
BOARD_MAINTAINER="igorpecovnik"
BOOTCONFIG="bananapi-m2-pro_defconfig"
BOOT_FDT_FILE="amlogic/meson-sm1-bananapi-m2-pro.dtb"
KERNEL_TARGET="current,edge"
@@ -10,8 +10,8 @@ MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost
FULL_DESKTOP="yes"
SERIALCON="ttyAML0"
BOOT_LOGO="desktop"
BOOTBRANCH_BOARD="tag:v2023.07.02"
BOOTPATCHDIR="v2023.07.02"
BOOTBRANCH_BOARD="tag:v2024.07"
BOOTPATCHDIR="v2024.07"
function fetch_sources_tools__libreelec_amlogic_fip_pre_m2-pro_blob_update() {
fetch_from_repo "https://github.com/Dangku/amlogic-boot-fip" "amlogic-boot-fip" "branch:master"

View File

@@ -1,7 +1,7 @@
# Allwinner H2+ quad core 512MB SoC Wi-Fi/BT
BOARD_NAME="Banana Pi M2 Zero"
BOARDFAMILY="sun8i"
BOARD_MAINTAINER=""
BOARD_MAINTAINER="mhawkins-consultant"
BOOTCONFIG="bananapi_m2_zero_defconfig"
MODULES_LEGACY="g_serial"
MODULES_CURRENT="g_serial"

View File

@@ -6,3 +6,6 @@ BOOTCONFIG="Sinovoip_BPI_M3_defconfig"
OVERLAY_PREFIX="sun8i-a83t"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"
BOOTBRANCH="tag:v2024.01"
BOOTPATCHDIR="u-boot-sunxi/board_${BOARD}"

View File

@@ -1,21 +1,25 @@
# Allwinner H618 quad core 1/2/4GB RAM SoC WiFi SPI USB-C
BOARD_NAME="Banana Pi M4Zero"
BOARD_NAME="BananaPi BPI-M4-Zero"
BOARDFAMILY="sun50iw9-bpi"
BOARD_MAINTAINER="pyavitz"
BOOTCONFIG="bananapi_m4zero_defconfig"
OVERLAY_PREFIX="sun50i-h616"
BOOT_FDT_FILE="sun50i-h618-bananapi-m4-zero.dtb"
BOOT_LOGO="desktop"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
MODULES_BLACKLIST="rtw88_8821c rtw88_8821cu"
FORCE_BOOTSCRIPT_UPDATE="yes"
BOOTBRANCH_BOARD="tag:v2024.01"
BOOTPATCHDIR="v2024.01"
BOOTBRANCH_BOARD="tag:v2024.04"
BOOTPATCHDIR="v2024.04"
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools"
function post_family_tweaks_bsp__bananapi_rtl_bt() {
if [[ -d "$SRC/packages/bsp/bananapi/rtl_bt" ]]; then
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

@@ -1,7 +1,7 @@
# Amlogic S905X3 quad core 2-4GB RAM SoC eMMC GBE USB3 SPI
BOARD_NAME="Banana Pi M5"
BOARDFAMILY="meson-sm1"
BOARD_MAINTAINER="bretmlw"
BOARD_MAINTAINER="igorpecovnik"
BOOTCONFIG="bananapi-m5_defconfig"
BOOT_FDT_FILE="amlogic/meson-sm1-bananapi-m5.dtb"
KERNEL_TARGET="current,edge"

View File

@@ -10,4 +10,4 @@ FORCE_BOOTSCRIPT_UPDATE="yes"
BOOTFS_TYPE="fat"
BOOT_FS_LABEL="BOOT"
OVERLAY_PREFIX="sun50i-h616"
BOOT_FDT_FILE="allwinner/sun50i-h616-bigtreetech-cb1-sd.dtb"
BOOT_FDT_FILE="sun50i-h616-bigtreetech-cb1-sd.dtb"

View File

@@ -0,0 +1,48 @@
# Rockchip RK3566 quad core 2GB-8GB GBE eMMC NVMe USB3 WiFi
BOARD_NAME="BigTreeTech CB2"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER="JohnTheCoolingFan"
BOOTCONFIG="bigtreetech-cb2-rk3566_defconfig"
BOOT_SOC="rk3566"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
BOOT_FDT_FILE="rockchip/rk3566-bigtreetech-cb2.dtb"
IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
OVERLAY_PREFIX='rk3566'
FULL_DESKTOP="yes"
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"
BL31_BLOB="rk35/rk3568_bl31_v1.44.elf" # NOT a typo, bl31 is shared across 68 and 66
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"
declare -g BOOTBRANCH="tag:v2024.10"
declare -g BOOTPATCHDIR="v2024.10/board_bigtreetech-cb2"
#declare -g BOOTDIR="u-boot-${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 # 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
}
function write_uboot_platform_mtd() {
declare -a extra_opts_flashcp=("--verbose")
if flashcp -h | grep -q -e '--partition'; then
echo "Confirmed flashcp supports --partition -- read and write only changed blocks." >&2
extra_opts_flashcp+=("--partition")
else
echo "flashcp does not support --partition, will write full SPI flash blocks." >&2
fi
flashcp "${extra_opts_flashcp[@]}" "${1}/u-boot-rockchip-spi.bin" /dev/mtd0
}
}
# vim: ft=bash

View File

@@ -1,4 +1,4 @@
# Allwinner H618 quad core 1GB 2GB 4GB RAM SoC WiFi USB-C emmc
# Allwinner H618 quad core 1GB 2GB 4GB RAM SoC WiFi USB-C emmc
BOARD_NAME="CherryBa M1"
BOARDFAMILY="sun50iw9"
BOOTCONFIG="cherryba-m1_defconfig"

View File

@@ -1,7 +1,7 @@
# Marvell Armada 38x dual core 1GB/2GB RAM SoC 2xmPCIe M.2 GBE switch SFP
BOARD_NAME="Clearfog Pro"
BOARDFAMILY="mvebu"
BOARD_MAINTAINER=""
BOARD_MAINTAINER="Heisath"
BOOTCONFIG="clearfog_defconfig"
HAS_VIDEO_OUTPUT="no"
KERNEL_TARGET="current,edge"

View File

@@ -2,16 +2,16 @@
BOARD_NAME="FriendlyElec CM3588 NAS"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="ColorfulRhino"
BOOTCONFIG="nanopc_cm3588_defconfig" # Enables booting from NVMe. Vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOTCONFIG="cm3588-nas-rk3588_defconfig" # Mainline defconfig, enables booting from NVMe
BOOT_SOC="rk3588"
KERNEL_TARGET="edge,current,vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
IMAGE_PARTITION_TABLE="gpt"
BOOT_FDT_FILE="rockchip/rk3588-nanopc-cm3588-nas.dtb"
BOOT_FDT_FILE="rockchip/rk3588-friendlyelec-cm3588-nas.dtb"
BOOT_SCENARIO="spl-blobs"
function post_family_tweaks__nanopccm3588nas_udev_naming_audios() {
function post_family_tweaks__cm3588_nas_udev_naming_audios() {
display_alert "$BOARD" "Renaming CM3588 audio interfaces to human-readable form" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
@@ -27,7 +27,7 @@ function post_family_tweaks__nanopccm3588nas_udev_naming_audios() {
# Output from CM3588 syslog with edge kernel 6.8: r8169 0004:41:00.0 enP4p65s0: renamed from eth0
# Note: legacy kernel 5.10 uses driver r8125, edge kernel uses r8169 as of 6.8
function post_family_tweaks__nanopccm3588nas_udev_naming_network_interfaces() {
function post_family_tweaks__cm3588_nas_udev_naming_network_interfaces() {
display_alert "$BOARD" "Renaming CM3588 LAN interface to eth0" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
@@ -36,25 +36,23 @@ function post_family_tweaks__nanopccm3588nas_udev_naming_network_interfaces() {
EOF
}
# Mainline u-boot or Kwiboo's tree
function post_family_config_branch_edge__nanopccm3588nas_use_mainline_uboot() {
display_alert "$BOARD" "mainline (next branch) u-boot overrides for $BOARD / $BRANCH" "info"
# Mainline U-Boot
function post_family_config__cm3588_nas_use_mainline_uboot() {
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
declare -g BOOTCONFIG="nanopc-t6-rk3588_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/Kwiboo/u-boot-rockchip.git" # We ❤️ Kwiboo's tree
declare -g BOOTBRANCH="branch:rk3xxx-2024.04" # commit:31522fe7b3c7733313e1c5eb4e340487f6000196 as of 2024-04-01
declare -g BOOTPATCHDIR="v2024.04/board_${BOARD}" # empty; defconfig changes are done in hook below
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
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
# 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
}
}

View File

@@ -0,0 +1,36 @@
# Rockchip RK3588 SoC octa core 4-16GB SoC eMMC USB3 NVME
BOARD_NAME="CoolPi GenBook"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="andyshrk"
BOARD_FIRMWARE_INSTALL="-full"
BOOT_SOC="rk3588"
BOOTCONFIG="coolpi-cm5-genbook-rk3588_defconfig"
KERNEL_TARGET="edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-coolpi-cm5-genbook.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
# Mainline U-Boot
function post_family_config_branch_edge__coolpi-genbook_use_mainline_uboot() {
display_alert "$BOARD" "mainline (next branch) u-boot overrides for $BOARD / $BRANCH" "info"
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # Mainline U-Boot
unset BOOTBRANCH
unset BOOTPATCHDIR
declare -g BOOTBRANCH_BOARD="tag:v2025.01-rc3"
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
}
}

View File

@@ -0,0 +1,66 @@
# Rockchip RK3566 quad core 4/8GB RAM SoC WIFI/BT eMMC USB2 USB3 NVMe PCIe GbE HDMI SPI
BOARD_NAME="core3566"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="orangepi-3b-rk3566_defconfig"
BOOT_SOC="rk3566"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3566-core3566.dtb"
IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
MODULES=""
MODULES_BLACKLIST_LEGACY="bcmdhd"
# Override family config for this board; let's avoid conditionals in family config.
function post_family_config__core3566_use_mainline_uboot() {
display_alert "$BOARD" "mainline (Kwiboo's tree) u-boot overrides" "info"
BOOTSOURCE="https://github.com/Kwiboo/u-boot-rockchip.git"
BOOTBRANCH="branch:rk3xxx-2024.04" # specific commit tested is commit:ccef7dfc453bc03c5b5c61fa67d2745b96fa7da6
BOOTPATCHDIR="v2024.04-orangepi3b" # empty, patches are already in Kwiboo's branch:rk3xxx-2024.04
BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
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 u-boot-rockchip-spi.bin u-boot.itb idbloader.img idbloader-spi.img"
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
}
# Smarter/faster/better to-spi writer using flashcp (hopefully with --partition), using the binman-provided 'u-boot-rockchip-spi.bin'
function write_uboot_platform_mtd() {
declare -a extra_opts_flashcp=("--verbose")
if flashcp -h | grep -q -e '--partition'; then
echo "Confirmed flashcp supports --partition -- read and write only changed blocks." >&2
extra_opts_flashcp+=("--partition")
else
echo "flashcp does not support --partition, will write full SPI flash blocks." >&2
fi
flashcp "${extra_opts_flashcp[@]}" "${1}/u-boot-rockchip-spi.bin" /dev/mtd0
}
}
function post_family_tweaks_bsp__core3566() {
# display_alert "$BOARD" "Installing sprd-bluetooth.service" "info"
# Bluetooth on core3566 board is handled by a Spreadtrum (sprd) chip and requires
# a custom hciattach_opi binary, plus a systemd service to run it at boot time
#install -m 755 $SRC/packages/bsp/rk3399/hciattach_opi $destination/usr/bin
# cp $SRC/packages/bsp/rk3399/sprd-bluetooth.service $destination/lib/systemd/system/
return 0
}
function post_family_tweaks__core3566_enable_services() {
# display_alert "$BOARD" "Enabling sprd-bluetooth.service" "info"
# chroot_sdcard systemctl enable sprd-bluetooth.service
return 0
}

View File

@@ -0,0 +1,23 @@
# Rockchip RK3588 octa core 8/16GB RAM SoC 64/128GB eMMC NVMe 1x USB3 1x USB-C 2x 2.5GbE 2x HDMI
BOARD_NAME="Cyber Aib RK3588"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOOTCONFIG="rk3588-cyber-aib_defconfig"
KERNEL_TARGET="vendor,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-cyber-aib.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SOC="rk3588"
IMAGE_PARTITION_TABLE="gpt"
function post_family_tweaks__cyberaib_naming_audios() {
display_alert "$BOARD" "Renaming cyber-aib 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-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
return 0
}

View File

@@ -5,6 +5,7 @@ BOARD_MAINTAINER="mahdichi"
BOOTCONFIG="fxblox-rk1-rk3588_defconfig"
BOOT_SOC="rk3588"
KERNEL_TARGET="vendor"
KERNEL_TEST_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-fxblox-rk1.dtb"
@@ -12,48 +13,4 @@ BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
# @TODO: consider removing those, as the defaults in rockchip64_common have been bumped up
DDR_BLOB='rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.11.bin'
BL31_BLOB='rk35/rk3588_bl31_v1.38.elf'
function post_family_tweaks__fxblox-rk1_naming_audios() {
display_alert "$BOARD" "Renaming fxblox rk1 audios" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
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
return 0
}
function post_family_config_branch_legacy__fxblox-rk1_uboot_add_sata_target() {
display_alert "$BOARD" "Configuring ($BOARD) standard and sata uboot target map" "info"
UBOOT_TARGET_MAP="
BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb rkspi_loader.img
BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG spl/u-boot-spl.bin u-boot.dtb u-boot.itb;; rkspi_loader_sata.img
"
}
function post_uboot_custom_postprocess__create_sata_spi_image() {
display_alert "$BOARD" "Create rkspi_loader_sata.img" "info"
dd if=/dev/zero of=rkspi_loader_sata.img bs=1M count=0 seek=16
/sbin/parted -s rkspi_loader_sata.img mklabel gpt
/sbin/parted -s rkspi_loader_sata.img unit s mkpart idbloader 64 7167
/sbin/parted -s rkspi_loader_sata.img unit s mkpart vnvm 7168 7679
/sbin/parted -s rkspi_loader_sata.img unit s mkpart reserved_space 7680 8063
/sbin/parted -s rkspi_loader_sata.img unit s mkpart reserved1 8064 8127
/sbin/parted -s rkspi_loader_sata.img unit s mkpart uboot_env 8128 8191
/sbin/parted -s rkspi_loader_sata.img unit s mkpart reserved2 8192 16383
/sbin/parted -s rkspi_loader_sata.img unit s mkpart uboot 16384 32734
dd if=idbloader.img of=rkspi_loader_sata.img seek=64 conv=notrunc
dd if=u-boot.itb of=rkspi_loader_sata.img seek=16384 conv=notrunc
}
# Override family config for this board; let's avoid conditionals in family config.
function post_family_config__fxblox-rk1_use_vendor_uboot() {
BOOTSOURCE='https://github.com/functionland/u-boot.git'
BOOTBRANCH='branch:next-dev'
BOOTPATCHDIR="legacy"
}
declare -g UEFI_EDK2_BOARD_ID="fxblox-rk1" # This _only_ used for uefi-edk2-rk3588 extension

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.04"
BOOTPATCHDIR="v2024.04"
BOOTBRANCH_BOARD="tag:v2024.07"
BOOTPATCHDIR="v2024.07"
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

@@ -3,7 +3,7 @@ BOARD_NAME="h96-tvbox-3566"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER="hqnicolas"
BOOTCONFIG="rk3568_defconfig"
KERNEL_TARGET="current"
KERNEL_TARGET="current,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3566-h96-tvbox.dtb"

View File

@@ -8,7 +8,6 @@ FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3528-hinlink-h28k.dtb"
BOOT_SCENARIO="spl-blobs"
WIREGUARD="no"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"

View File

@@ -3,11 +3,10 @@ BOARD_NAME="Hinlink H66K"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-e25-rk3568_defconfig"
KERNEL_TARGET="vendor"
KERNEL_TARGET="edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-hinlink-h66k.dtb"
BOOT_SCENARIO="spl-blobs"
WIREGUARD="no"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="fat"

View File

@@ -3,11 +3,10 @@ BOARD_NAME="Hinlink H68K"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-e25-rk3568_defconfig"
KERNEL_TARGET="vendor"
KERNEL_TARGET="edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-hinlink-h68k.dtb"
BOOT_SCENARIO="spl-blobs"
WIREGUARD="no"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="fat"

View File

@@ -3,11 +3,10 @@ BOARD_NAME="Hinlink HNAS"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-e25-rk3568_defconfig"
KERNEL_TARGET="vendor"
KERNEL_TARGET="edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-hinlink-hnas.dtb"
BOOT_SCENARIO="spl-blobs"
WIREGUARD="no"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="fat"

View File

@@ -8,6 +8,5 @@ FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3528-hinlink-ht2.dtb"
BOOT_SCENARIO="spl-blobs"
WIREGUARD="no"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="ext4"

View File

@@ -4,7 +4,7 @@ BOARDFAMILY="sun50iw6"
BOARD_MAINTAINER="NicoD-SBC"
BOOTCONFIG="tanix_tx6_defconfig"
CRUSTCONFIG="tanix_tx6_defconfig"
BOOT_FDT_FILE="allwinner/sun50i-h6-inovato-quadra.dtb"
BOOT_FDT_FILE="sun50i-h6-inovato-quadra.dtb"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"
BOOT_LOGO="desktop"

View File

@@ -13,6 +13,7 @@ KHADAS_BOARD_ID="kvim1s" # used to compile the fip blobs
declare -g KHADAS_OOWOW_BOARD_ID="VIM1S" # for use with EXT=output-image-oowow
OVERLAY_PREFIX='s4-s905y4'
DEFAULT_OVERLAYS="panfrost"
function post_family_tweaks_bsp__populate_etc_firmware() {
# The hciattach command needs firmware to be placed in /etc/firmware directory.

View File

@@ -0,0 +1,15 @@
# Allwinner H618 quad core 1GB/2GB/4GB RAM
BOARD_NAME="Longan Pi 3H"
BOARDFAMILY="sun50iw9"
BOARD_MAINTAINER=""
BOOTCONFIG="longanpi_3h_defconfig"
BOOTBRANCH="tag:v2024.10"
BOOTPATCHDIR="v2024.10"
BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
BOOT_LOGO="desktop"
OVERLAY_PREFIX="sun50i-h616"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FORCE_BOOTSCRIPT_UPDATE="yes"
enable_extension "radxa-aic8800" # compatible with radxa-aic8800
AIC8800_TYPE="usb"

View File

@@ -0,0 +1,28 @@
# Rockchip RK3566 quad core
BOARD_NAME="Luckfox Core3566"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="luckfox-core3566-rk3566_defconfig"
KERNEL_TARGET="vendor"
KERNEL_TEST_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3566-luckfox-core3566.dtb"
IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
BOOTFS_TYPE="fat" # Only for vendor/legacy
# Override family config for this board; let's avoid conditionals in family config.
function post_family_config__luckfox-core3566_use_vendor_uboot() {
BOOTSOURCE='https://github.com/radxa/u-boot.git'
BOOTBRANCH='branch:rk35xx-2024.01'
BOOTPATCHDIR="u-boot-luckfox"
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

@@ -8,6 +8,5 @@ FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3528-mangopi-m28k.dtb"
BOOT_SCENARIO="spl-blobs"
WIREGUARD="no"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="ext4"

View File

@@ -2,26 +2,29 @@
BOARD_NAME="TQ8MP-RAS314"
BOARDFAMILY="imx8m"
BOARD_MAINTAINER="schmiedelm"
HAS_VIDEO_OUTPUT="yes"
ATF_PLAT="imx8mp"
ATF_UART_BASE="0x30a60000"
BOOTCONFIG="tqma8mpxl_multi_mba8mp_ras314_defconfig"
KERNEL_TARGET="current"
MODULES_BLACKLIST="btnxpuart" # would be loaded delayed by udev rule
DEFAULT_CONSOLE="serial"
SERIALCON="ttymxc3"
BOOT_FDT_FILE="freescale/imx8mp-tqma8mpql-mba8mp-ras314.dtb"
ASOUND_STATE="asound.state.tqma"
BOARD_FIRMWARE_INSTALL="-full"
PACKAGE_LIST_BOARD="gpiod python3-pip python3-periphery"
function post_family_tweaks_bsp__mba8mpxl-ras314() {
mkdir -p $destination/etc/udev/rules.d
cat <<- EOF > "$destination"/etc/udev/70-periphery.rules
# Allow group periphery to access devices
SUBSYSTEM=="gpio*", GROUP="periphery", MODE="0660"
SUBSYSTEM=="spidev*", GROUP="periphery", MODE="0660"
SUBSYSTEM=="pwm*", GROUP="periphery", MODE="0660"
SUBSYSTEM=="leds*", GROUP="periphery", MODE="0660"
# Wifi & Bluetooth (use firmware from NXP)
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"
# Add udev rule to delay btnxpuart loading
cat <<- EOF > "${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

View File

@@ -2,6 +2,7 @@
BOARD_NAME="MBa8MPxL"
BOARDFAMILY="imx8m"
BOARD_MAINTAINER="schmiedelm"
HAS_VIDEO_OUTPUT="yes"
ATF_PLAT="imx8mp"
ATF_UART_BASE="0x30a60000"
BOOTCONFIG="tqma8mpxl_multi_mba8mpxl_defconfig"
@@ -10,7 +11,6 @@ DEFAULT_CONSOLE="serial"
SERIALCON="ttymxc3"
BOOT_FDT_FILE="freescale/imx8mp-tqma8mpql-mba8mpxl.dtb"
ASOUND_STATE="asound.state.tqma"
PACKAGE_LIST_BOARD="gpiod python3-pip python3-periphery"
function post_family_tweaks_bsp__mba8mpxl() {
mkdir -p "$destination"/etc/X11/xorg.conf.d

View File

@@ -0,0 +1,54 @@
# Rockchip RK3568 quad core 4GB-8GB GBE PCIe USB3 SATA NVMe
BOARD_NAME="Mixtile Edge 2"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER=""
BOOT_SOC="rk3568"
KERNEL_TARGET="current,edge,vendor"
BOOT_FDT_FILE="rockchip/rk3568-mixtile-edge2.dtb"
IMAGE_PARTITION_TABLE="gpt"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
SRC_CMDLINE="earlycon=uart8250,mmio32,0xfe660000 loglevel=7 console=ttyS2,1500000" # for extlinux / EXT=u-boot-menu
# Mainline U-Boot
function post_family_config__h96_max_use_mainline_uboot() {
if [[ "${BRANCH}" == "vendor" || "${BRANCH}" == "legacy" ]]; then
display_alert "$BOARD" "Using vendor U-Boot for $BOARD / $BRANCH" "info" # See below hook
return
fi
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}"
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
# 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 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"
}

18
config/boards/mkspi.csc Normal file
View File

@@ -0,0 +1,18 @@
# Rockchip RK3328 quad core 1GB RAM, 1x100M Ethernet, eMMC, USB3, USB2
# Supported boards:
# - MKS-PI - https://github.com/makerbase-mks/MKS-PI
# - MKS-SKIPR - https://github.com/makerbase-mks/MKS-SKIPR
# - QIDI X-4 and X-6 (made by Makerbase for 'X-Plus 3' and 'X-Max 3' 3D printers) - partially supported
#
# These boards and related configuration is very close to Renegade board ("roc-cc-rk3328_defconfig" and "rk3328-roc-cc" DT)
BOARD_NAME="mkspi"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER="redrathnure"
BOOTCONFIG="mkspi-rk3328_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
MODULES="ads7846 spidev"
BOOTFS_TYPE="fat"
PACKAGE_LIST_BOARD="build-essential usb-modeswitch"

View File

@@ -0,0 +1,9 @@
# Rockchip RK3588S octa core 8GB RAM SoC eMMC USB3 USB2 1x GbE 2x 2.5GbE
source "${SRC}/config/boards/nanopct6.conf"
BOARD_NAME="NanoPC T6 LTS"
# Important: despite sourcing the nanopct6 file above, this file still has to contain some variables, due the way Armbian's JSON matrix generator works.
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_TEST_TARGET="vendor,current"

View File

@@ -20,19 +20,23 @@ function post_family_tweaks__nanopct6_naming_audios() {
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-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-rt5616-sound", ENV{SOUND_DESCRIPTION}="RT5616 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
return 0
}
# Mainline u-boot or Kwiboo's tree
# Mainline u-boot
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" # override the default for the board/family
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/Kwiboo/u-boot-rockchip.git" # We ❤️ Kwiboo's tree
declare -g BOOTBRANCH="branch:rk3xxx-2024.07" # commit:xx as of 2024-06-04
declare -g BOOTPATCHDIR="v2024.04/board_${BOARD}" # empty; defconfig changes are done in hook below
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 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

@@ -0,0 +1,33 @@
# Rockchip RK3588S octa core 8GB RAM SoC eMMC USB3 USB2 1x GbE 1x M2-E 1x M2-M
BOARD_NAME="NanoPi M6"
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"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
IMAGE_PARTITION_TABLE="gpt"
BOOT_FDT_FILE="rockchip/rk3588s-nanopi-m6.dtb"
BOOT_SCENARIO="spl-blobs"
DEFAULT_OVERLAYS="nanopi-m6-display-dsi1-yx35" # Enable YX35 LCD
function post_family_tweaks__nanopim6_naming_udev_audios() {
display_alert "$BOARD" "Renaming NanoPi M6 HDMI audio" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
cat <<- EOF > $SDCARD/etc/udev/rules.d/90-naming-audios.rules
SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio"
EOF
}
function post_family_tweaks__nanopim6_naming_udev_network_interfaces() {
display_alert "$BOARD" "Renaming NanoPi M6 network interface to LAN" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
cat <<- EOF > "${SDCARD}/etc/udev/rules.d/70-persistent-net.rules"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNELS=="fe1c0000.ethernet", NAME:="lan"
EOF
}

View File

@@ -2,7 +2,7 @@
BOARD_NAME="NanoPi R6C"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="ColorfulRhino"
BOOTCONFIG="nanopi-r6c-rk3588s_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOTCONFIG="nanopi-r6c-rk3588s_defconfig" # Mainline defconfig, enables booting from NVMe
BOOT_SOC="rk3588"
KERNEL_TARGET="edge,current,vendor"
FULL_DESKTOP="yes"
@@ -34,11 +34,10 @@ function post_family_tweaks__nanopi_r6c_naming_udev_network_interfaces() {
function post_family_config__nanopi_r6c_use_mainline_uboot() {
display_alert "$BOARD" "Using mainline 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.07"
declare -g BOOTPATCHDIR="v2024.07/board_${BOARD}"
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"

View File

@@ -2,7 +2,7 @@
BOARD_NAME="NanoPi R6S"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="efectn"
BOOTCONFIG="nanopi-r6s-rk3588s_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOTCONFIG="nanopi-r6s-rk3588s_defconfig" # Mainline defconfig
BOOT_SOC="rk3588"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TEST_TARGET="vendor,current"
@@ -38,11 +38,10 @@ function post_family_tweaks__nanopir6s_naming_udev_network_interfaces() {
function post_family_config__nanopi_r6s_use_mainline_uboot() {
display_alert "$BOARD" "Using mainline 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.07"
declare -g BOOTPATCHDIR="v2024.07"
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"

View File

@@ -1,7 +1,7 @@
# Amlogic S805 C1 quad core 1GB RAM SoC GBE
BOARD_NAME="Odroid C1"
BOARDFAMILY="meson8b"
BOARD_MAINTAINER=""
BOARD_MAINTAINER="juanlufont"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -0,0 +1,101 @@
# Generate kernel and rootfs image for Qcom ABL booting
declare -g BOARD_NAME="Oneplus Kebab"
declare -g BOARD_MAINTAINER="amazingfate"
declare -g BOARDFAMILY="sm8250"
declare -g KERNEL_TARGET="current"
declare -g EXTRAWIFI="no"
declare -g MODULES="spi-geni-qcom"
declare -g BOOTCONFIG="none"
declare -g IMAGE_PARTITION_TABLE="gpt"
declare -g -a ABL_DTB_LIST=("sm8250-oneplus-kebab")
# Use the full firmware, complete linux-firmware plus Armbian's (for qcom/a650_sqe.fw)
declare -g BOARD_FIRMWARE_INSTALL="-full"
function oneplus-kebab_is_userspace_supported() {
[[ "${RELEASE}" == "jammy" ]] && return 0
[[ "${RELEASE}" == "trixie" ]] && return 0
[[ "${RELEASE}" == "noble" ]] && return 0
return 1
}
function post_family_tweaks_bsp__oneplus-kebab_firmware() {
display_alert "$BOARD" "Install firmwares for oneplus kebab" "info"
# 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/
# Bluetooth MAC addr setup service
install -Dm655 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.sh $destination/usr/local/bin/
install -Dm644 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.service $destination/usr/lib/systemd/system/
# Kernel postinst script to update abl boot partition
install -Dm655 $SRC/packages/bsp/oneplus-kebab/zz-update-abl-kernel $destination/etc/kernel/postinst.d/
# Add kebab firmwares
mkdir -p $destination/lib/firmware/qcom/sm8250/OnePlus/kebab
install -Dm644 $SRC/packages/bsp/oneplus-kebab/a650_zap.mbn $destination/lib/firmware/qcom/sm8250/OnePlus/
install -Dm644 $SRC/packages/bsp/oneplus-kebab/adsp.mbn $destination/lib/firmware/qcom/sm8250/OnePlus/
install -Dm644 $SRC/packages/bsp/oneplus-kebab/cdsp.mbn $destination/lib/firmware/qcom/sm8250/OnePlus/
install -Dm644 $SRC/packages/bsp/oneplus-kebab/venus.mbn $destination/lib/firmware/qcom/sm8250/OnePlus/kebab
return 0
}
function post_family_tweaks__oneplus-kebab_enable_services() {
if ! oneplus-kebab_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
chroot_sdcard systemctl enable bt-fixed-mac.service
return 0
}
function post_family_tweaks_bsp__oneplus-kebab_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
add_file_from_stdin_to_bsp_destination "/etc/initramfs-tools/hooks/oneplus-kebab-firmware" <<- 'FIRMWARE_HOOK'
#!/bin/bash
[[ "$1" == "prereqs" ]] && exit 0
. /usr/share/initramfs-tools/hook-functions
for f in /lib/firmware/qcom/sm8250/OnePlus/* ; 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__oneplus-kebab_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

@@ -1,7 +1,7 @@
# Allwinner H2+ quad core 256MB/512MB RAM SoC WiFi SPI 2xETH
BOARD_NAME="Orange Pi R1"
BOARDFAMILY="sun8i"
BOARD_MAINTAINER="schwar3kat"
BOARD_MAINTAINER=""
BOOTCONFIG="orangepi_r1_defconfig"
DEFAULT_OVERLAYS="usbhost2 usbhost3"
MODULES="g_serial"

View File

@@ -1,7 +1,7 @@
# Rockchip RK3328 quad core 1GB 2 x GBE USB2 SPI
BOARD_NAME="Orange Pi R1 Plus LTS"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER="schwar3kat"
BOARD_MAINTAINER=""
BOOTCONFIG="orangepi_r1_plus_lts_rk3328_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -1,5 +1,5 @@
# Rockchip RK3566 quad core 4/8GB RAM SoC WIFI/BT eMMC USB2 USB3 NVMe PCIe GbE HDMI SPI
BOARD_NAME="orangepi3b"
BOARD_NAME="Orange Pi 3B"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="orangepi-3b-rk3566_defconfig"
@@ -7,26 +7,23 @@ BOOT_SOC="rk3566"
KERNEL_TARGET="vendor,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3566-orangepi-3b.dtb"
IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
MODULES="sprdbt_tty sprdwl_ng"
MODULES_BLACKLIST_LEGACY="bcmdhd"
# Override family config for this board; let's avoid conditionals in family config.
function post_family_config__orangepi3b_use_mainline_uboot() {
display_alert "$BOARD" "mainline (Kwiboo's tree) u-boot overrides" "info"
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
BOOTSOURCE='https://github.com/u-boot/u-boot'
BOOTBRANCH="tag:v2024.10-rc3"
BOOTPATCHDIR="v2024.10-orangepi3b"
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
BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
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 u-boot-rockchip-spi.bin u-boot.itb idbloader.img idbloader-spi.img"
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 u-boot.itb idbloader.img idbloader-spi.img"
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
@@ -45,22 +42,33 @@ function post_family_config__orangepi3b_use_mainline_uboot() {
fi
flashcp "${extra_opts_flashcp[@]}" "${1}/u-boot-rockchip-spi.bin" /dev/mtd0
}
}
function post_family_tweaks_bsp__orangepi3b() {
display_alert "$BOARD" "Installing sprd-bluetooth.service" "info"
display_alert "$BOARD" "Installing orangepi3b-sprd-bluetooth.service" "info"
# Bluetooth on orangepi3b board is handled by a Spreadtrum (sprd) chip and requires
# a custom hciattach_opi binary, plus a systemd service to run it at boot time
install -m 755 $SRC/packages/bsp/rk3399/hciattach_opi $destination/usr/bin
cp $SRC/packages/bsp/rk3399/sprd-bluetooth.service $destination/lib/systemd/system/
install -m 755 $SRC/packages/bsp/orangepi3b/orangepi3b-sprd-bluetooth $destination/usr/bin/
cp $SRC/packages/bsp/orangepi3b/orangepi3b-sprd-bluetooth.service $destination/lib/systemd/system/
return 0
}
function post_family_tweaks__orangepi3b_enable_services() {
display_alert "$BOARD" "Enabling sprd-bluetooth.service" "info"
chroot_sdcard systemctl enable sprd-bluetooth.service
display_alert "$BOARD" "Enabling orangepi3b-sprd-bluetooth.service" "info"
chroot_sdcard systemctl enable orangepi3b-sprd-bluetooth.service
return 0
}
function post_family_tweaks__orangepi3b_naming_audios() {
display_alert "$BOARD" "Renaming orangepi3b audios" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi-sound", ENV{SOUND_DESCRIPTION}="HDMI Audio"' > $SDCARD/etc/udev/rules.d/90-naming-audios.rules
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-rk809-sound", ENV{SOUND_DESCRIPTION}="RK809 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules # vendor dts
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-sound", ENV{SOUND_DESCRIPTION}="RK809 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules # mainline dts
return 0
}

View File

@@ -0,0 +1,48 @@
# Rockchip RK3588 octa core 4/8/16GB RAM SoC SPI NVMe 2x USB2 2x USB3 2x HDMI
BOARD_NAME="Orange Pi 5 Max"
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"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-orangepi-5-max.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
enable_extension "bcmdhd"
BCMDHD_TYPE="sdio"
function post_family_tweaks__orangepi5max_naming_audios() {
display_alert "$BOARD" "Renaming orangepi5max 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__orangepi5max_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__orangepi5max_enable_bluetooth_service() {
display_alert "$BOARD" "Enabling ap6611s-bluetooth.service" "info"
chroot_sdcard systemctl enable ap6611s-bluetooth.service
return 0
}

View File

@@ -1,7 +1,7 @@
# Rockchip RK3588 octa core 4/8/16GB RAM SoC SPI NVMe 2x USB2 2x USB3 1x USB-C 2x 2.5GbE 3x HDMI
BOARD_NAME="Orange Pi 5 Plus"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="alexl83 efectn"
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"
@@ -77,9 +77,9 @@ function post_family_config_branch_current__orangepi5plus_use_mainline_uboot() {
function post_config_uboot_target__extra_configs_for_rock5b_mainline_environment_in_spi() {
[[ "${BRANCH}" != "edge" && "${BRANCH}" != "current" ]] && return 0
display_alert "$BOARD" "u-boot configs for ${BOOTBRANCH} u-boot config BRANCH=${BRANCH}" "info"
display_alert "$BOARD" "u-boot configs for ${BOOTBRANCH} u-boot config BRANCH=${BRANCH}" "info"
run_host_command_logged scripts/config --set-val CONFIG_BOARD_RNG_SEED "y"
run_host_command_logged scripts/config --set-val ARMV8_CRYPTO "n" #broken as per 2024.10-rc3
run_host_command_logged scripts/config --set-val ARMV8_CE_SHA1 "n" #broken as per 2024.10-rc3
run_host_command_logged scripts/config --set-val ARMV8_CRYPTO "n" #broken as per 2024.10-rc3
run_host_command_logged scripts/config --set-val ARMV8_CE_SHA1 "n" #broken as per 2024.10-rc3
run_host_command_logged scripts/config --set-val ARMV8_CE_SHA256 "n" #broken as per 2024.10-rc3
}

View File

@@ -5,5 +5,5 @@ BOARD_MAINTAINER=""
BOOTCONFIG="pine_h64_defconfig"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"
BOOT_FDT_FILE="allwinner/sun50i-h6-pine-h64-model-b.dtb"
BOOT_FDT_FILE="sun50i-h6-pine-h64-model-b.dtb"
CRUSTCONFIG="h6_defconfig"

View File

@@ -8,5 +8,4 @@ FULL_DESKTOP="no"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3528-radxa-e20c.dtb"
BOOT_SCENARIO="spl-blobs"
WIREGUARD="no"
IMAGE_PARTITION_TABLE="gpt"

View File

@@ -14,5 +14,5 @@ BOOT_FDT_FILE="amlogic/meson-g12b-radxa-zero2.dtb"
# Newer u-boot for the Zero2
# 2022.10: Radxa's patches with new DT, Makefile and defconfig in v2022.10/board_radxa-zero2 dir; common to 22.10's meson64 boot-usb-first
# v2023.10: board-specific boot-usb-first patch; zero2 landed in upstream u-boot v2023.07-rc1
BOOTBRANCH_BOARD="tag:v2023.10"
BOOTPATCHDIR="v2023.10"
BOOTBRANCH_BOARD="tag:v2024.07"
BOOTPATCHDIR="v2024.07"

View File

@@ -32,11 +32,11 @@ function post_family_config__radxa-zero3_use_vendor_uboot() {
}
}
function post_family_config_branch_edge__radxa-zero3_use_kwiboo_uboot() {
function post_family_config_branch_edge__radxa-zero3_use_mainline_uboot() {
BOOTCONFIG="radxa-zero-3-rk3566_defconfig"
BOOTSOURCE='https://github.com/Kwiboo/u-boot-rockchip.git'
BOOTBRANCH='branch:rk3xxx-2024.07'
BOOTPATCHDIR="u-boot-zero3" # Empty
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"

View File

@@ -23,4 +23,3 @@ function post_family_tweaks__retrolitecm5_naming_audios() {
return 0
}

View File

@@ -0,0 +1,123 @@
# Retroid Pocket RP5 Configuration
declare -g BOARD_NAME="Retroid Pocket RP5"
declare -g BOARD_MAINTAINER=""
declare -g BOARDFAMILY="sm8250"
declare -g KERNEL_TARGET="current"
declare -g EXTRAWIFI="no"
declare -g MODULES="panel_ddic_ch13726a"
declare -g BOOTCONFIG="none"
declare -g UEFI_GRUB_TERMINAL="gfxterm" # Use graphics in grub, for the Armbian wallpaper.
declare -g GRUB_CMDLINE_LINUX_DEFAULT="clk_ignore_unused pd_ignore_unused arm64.nopauth efi=noruntime fbcon=rotate:3 console=ttyMSM0,115200n8"
declare -g BOOT_FDT_FILE="qcom/sm8250-retroidpocket-rp5.dtb"
declare -g SERIALCON="${SERIALCON:-tty1}"
enable_extension "grub"
enable_extension "grub-with-dtb" # important, puts the whole DTB handling in place.
# declare -g BOOT_LOGO=desktop
# Use the full firmware, complete linux-firmware plus Armbian's
declare -g BOARD_FIRMWARE_INSTALL="-full"
function retroidpocket-rp5_is_userspace_supported() {
[[ "${RELEASE}" == "bookworm" ]] && return 0
[[ "${RELEASE}" == "jammy" ]] && return 0
[[ "${RELEASE}" == "noble" ]] && return 0
[[ "${RELEASE}" == "trixie" ]] && return 0
return 1
}
function pre_customize_image__retroidpocket-rp5_alsa_ucm_conf() {
if ! retroidpocket-rp5_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 "https://github.com/RetroidPocket/alsa-ucm-conf/archive/refs/heads/rp/v1.2.13.tar.gz" | tar xvzf - --strip-components=1
)
}
function post_family_tweaks_bsp__retroidpocket-rp5_add_services() {
if ! retroidpocket-rp5_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
display_alert "$BOARD" "Add services" "info"
# Bluetooth MAC addr setup service
mkdir -p $destination/usr/local/bin/
mkdir -p $destination/usr/lib/systemd/system/
install -Dm655 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.sh $destination/usr/local/bin/
install -Dm644 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.service $destination/usr/lib/systemd/system/
# Haptic and Gamepad rules
install -Dm644 $SRC/packages/bsp/retroidpocket/90-feedbackd-spmi-haptics.rules $destination/etc/udev/rules.d/90-feedbackd-spmi-haptics.rules
install -Dm644 $SRC/packages/bsp/retroidpocket/99-ignore-gamepad.rules $destination/etc/udev/rules.d/99-ignore-gamepad.rules
}
function post_family_tweaks__retroidpocket-rp5_enable_services() {
if ! retroidpocket-rp5_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
display_alert "$BOARD" "Enable services" "info"
chroot_sdcard systemctl enable bt-fixed-mac.service
return 0
}
function post_family_config__retroidpocket-rp5_extra_packages() {
if ! retroidpocket-rp5_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
display_alert "Setting up extra packages for ${BOARD}" "${RELEASE}" "info"
add_packages_to_image "bluez" "bluetooth" # for bluetooth stuff
add_packages_to_image "mtools" # for access to the EFI partition
add_packages_to_image "zstd" # for zstd compression of initrd
}
function post_family_tweaks_bsp__retroidpocket-rp5_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
add_file_from_stdin_to_bsp_destination "/etc/initramfs-tools/hooks/retroidpocket-rp5-firmware" <<- 'FIRMWARE_HOOK'
#!/bin/bash
[[ "$1" == "prereqs" ]] && exit 0
. /usr/share/initramfs-tools/hook-functions
for f in /lib/firmware/qcom/sm8250/* ; 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__retroidpocket-rp5_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'
panel-ddic-ch13726a
EXTRA_MODULES
}
# armbian-firstrun waits for systemd to be ready, but snapd.seeded might cause it to hang due to wrong clock.
# if the battery runs out, the clock is reset to 1970. This causes snapd.seeded to hang, and armbian-firstrun to hang.
function pre_customize_image__disable_snapd_seeded() {
[[ "${DISTRIBUTION}" != "Ubuntu" ]] && return 0 # only needed for Ubuntu
display_alert "Disabling snapd.seeded" "${BOARD}" "info"
chroot_sdcard systemctl disable snapd.seeded.service "||" true
}

View File

@@ -0,0 +1,123 @@
# Retroid Pocket RPMini Configuration
declare -g BOARD_NAME="Retroid Pocket RPMini"
declare -g BOARD_MAINTAINER=""
declare -g BOARDFAMILY="sm8250"
declare -g KERNEL_TARGET="current"
declare -g EXTRAWIFI="no"
declare -g MODULES="panel_ddic_ch13726a"
declare -g BOOTCONFIG="none"
declare -g UEFI_GRUB_TERMINAL="gfxterm" # Use graphics in grub, for the Armbian wallpaper.
declare -g GRUB_CMDLINE_LINUX_DEFAULT="clk_ignore_unused pd_ignore_unused arm64.nopauth efi=noruntime fbcon=rotate:1 console=ttyMSM0,115200n8"
declare -g BOOT_FDT_FILE="qcom/sm8250-retroidpocket-rpmini.dtb"
declare -g SERIALCON="${SERIALCON:-tty1}"
enable_extension "grub"
enable_extension "grub-with-dtb" # important, puts the whole DTB handling in place.
# declare -g BOOT_LOGO=desktop
# Use the full firmware, complete linux-firmware plus Armbian's
declare -g BOARD_FIRMWARE_INSTALL="-full"
function retroidpocket-rpmini_is_userspace_supported() {
[[ "${RELEASE}" == "bookworm" ]] && return 0
[[ "${RELEASE}" == "jammy" ]] && return 0
[[ "${RELEASE}" == "noble" ]] && return 0
[[ "${RELEASE}" == "trixie" ]] && return 0
return 1
}
function pre_customize_image__retroidpocket-rpmini_alsa_ucm_conf() {
if ! retroidpocket-rpmini_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 "https://github.com/RetroidPocket/alsa-ucm-conf/archive/refs/heads/rp/v1.2.13.tar.gz" | tar xvzf - --strip-components=1
)
}
function post_family_tweaks_bsp__retroidpocket-rpmini_add_services() {
if ! retroidpocket-rpmini_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
display_alert "$BOARD" "Add services" "info"
# Bluetooth MAC addr setup service
mkdir -p $destination/usr/local/bin/
mkdir -p $destination/usr/lib/systemd/system/
install -Dm655 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.sh $destination/usr/local/bin/
install -Dm644 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.service $destination/usr/lib/systemd/system/
# Haptic and Gamepad rules
install -Dm644 $SRC/packages/bsp/retroidpocket/90-feedbackd-spmi-haptics.rules $destination/etc/udev/rules.d/90-feedbackd-spmi-haptics.rules
install -Dm644 $SRC/packages/bsp/retroidpocket/99-ignore-gamepad.rules $destination/etc/udev/rules.d/99-ignore-gamepad.rules
}
function post_family_tweaks__retroidpocket-rpmini_enable_services() {
if ! retroidpocket-rpmini_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
display_alert "$BOARD" "Enable services" "info"
chroot_sdcard systemctl enable bt-fixed-mac.service
return 0
}
function post_family_config__retroidpocket-rpmini_extra_packages() {
if ! retroidpocket-rpmini_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
display_alert "Setting up extra packages for ${BOARD}" "${RELEASE}" "info"
add_packages_to_image "bluez" "bluetooth" # for bluetooth stuff
add_packages_to_image "mtools" # for access to the EFI partition
add_packages_to_image "zstd" # for zstd compression of initrd
}
function post_family_tweaks_bsp__retroidpocket-rpmini_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
add_file_from_stdin_to_bsp_destination "/etc/initramfs-tools/hooks/retroidpocket-rpmini-firmware" <<- 'FIRMWARE_HOOK'
#!/bin/bash
[[ "$1" == "prereqs" ]] && exit 0
. /usr/share/initramfs-tools/hook-functions
for f in /lib/firmware/qcom/sm8250/* ; 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__retroidpocket-rpmini_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'
panel-ddic-ch13726a
EXTRA_MODULES
}
# armbian-firstrun waits for systemd to be ready, but snapd.seeded might cause it to hang due to wrong clock.
# if the battery runs out, the clock is reset to 1970. This causes snapd.seeded to hang, and armbian-firstrun to hang.
function pre_customize_image__disable_snapd_seeded() {
[[ "${DISTRIBUTION}" != "Ubuntu" ]] && return 0 # only needed for Ubuntu
display_alert "Disabling snapd.seeded" "${BOARD}" "info"
chroot_sdcard systemctl disable snapd.seeded.service "||" true
}

View File

@@ -13,3 +13,25 @@ BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="fat"
function post_family_config_branch_edge__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:v2024.10"
declare -g BOOTPATCHDIR="v2024.10"
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
}
}

View File

@@ -0,0 +1,14 @@
# Rockchip RK3588S octa core 4/8/16GB RAM SoC NVMe USB3 USB-C GbE
BOARD_NAME="Radxa CM5 on RPi CM4 IO"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-cm5-rpi-cm4-io-rk3588s_defconfig"
BOOT_SOC="rk3588"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588s-radxa-cm5-rpi-cm4-io.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"

View File

@@ -0,0 +1,67 @@
# Rockchip RK3588 SoC octa core 4-16GB SoC 2.5GBe eMMC USB3 NvME
BOARD_NAME="Rock 5B Plus"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="HeyMeco fridtjof"
BOOTCONFIG="rock-5b-plus-rk3588_defconfig"
KERNEL_TARGET="edge,vendor"
KERNEL_TEST_TARGET="vendor,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-radxa-rock-5b+.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-5bplus" # 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
}
# Mainline u-boot tree
# see rock-5b.conf and https://github.com/armbian/build/pull/7135
function post_family_config_branch_edge__rock-5b_use_mainline_uboot() {
display_alert "$BOARD" "mainline (next branch) u-boot overrides for $BOARD / $BRANCH" "info"
# temporary override until DT in armbian/rockchip-linux is renamed
declare -g BOOT_FDT_FILE="rockchip/rk3588-rock-5b-plus.dtb"
declare -g BOOTCONFIG="rock5b-rk3588_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 tree
declare -g BOOTBRANCH="tag:v2024.10" #
declare -g BOOTPATCHDIR="v2024.10" # empty; defconfig changes are done in hook below
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_config_uboot_target__extra_configs_for_rock5b_mainline_environment_in_spi() {
[[ "${BRANCH}" != "edge" ]] && return 0
display_alert "$BOARD" "u-boot configs for ${BOOTBRANCH} u-boot config BRANCH=${BRANCH}" "info"
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"
run_host_command_logged scripts/config --set-val CONFIG_ENV_OVERWRITE "y"
run_host_command_logged scripts/config --set-val CONFIG_ENV_SIZE "0x20000"
run_host_command_logged scripts/config --set-val CONFIG_ENV_OFFSET "0xc00000"
}

View File

@@ -1,7 +1,7 @@
# Rockchip RK3588s SoC octa core 4-16GB SoC eMMC USB3 NvME
BOARD_NAME="Rock 5C"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="amazingfate"
BOARD_MAINTAINER="schwar3kat"
BOOTCONFIG="rock-5c-rk3588s_defconfig"
KERNEL_TARGET="vendor,edge"
FULL_DESKTOP="yes"
@@ -12,6 +12,7 @@ BOOT_SOC="rk3588"
IMAGE_PARTITION_TABLE="gpt"
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"

View File

@@ -1,15 +1,48 @@
# Rockchip RK3308 quad core 512MB SoC WiFi
# https://radxa.com/products/rocks/s0
BOARD_NAME="Rock S0"
BOARDFAMILY="rock-s0"
BOARDFAMILY=rockchip64
BOARD_MAINTAINER="brentr"
BOOTCONFIG="rock-s0-rk3308_defconfig"
DEFAULT_CONSOLE="serial"
SERIALCON="ttyS0"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
BOOT_FDT_FILE="rockchip/rk3308-rock-s0.dtb"
BOOTCONFIG=rock-s0-rk3308_defconfig
BOOT_FDT_FILE=rockchip/rk3308-rock-s0.dtb
KERNEL_TARGET=current,edge
KERNEL_TEST_TARGET=current
DEFAULT_CONSOLE=serial
SERIALCON=ttyS0
MODULES_BLACKLIST="rockchipdrm 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"
HAS_VIDEO_OUTPUT=no
BOOTBRANCH_BOARD=tag:v2024.10
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
OVERLAY_PREFIX=rk3308
function post_family_config__rocks0() {
declare -g BOOTDIR="u-boot-${BOARD}"
declare -g BOOTSCRIPT=boot-rockchip64-ttyS0.cmd:boot.cmd
family_tweaks_bsp() { #overrides rockchip64_common.inc
#Install udev script that derives fixed, unique MAC addresses for net interfaces
#that are assigned random ones
bsp=$SRC/packages/bsp/rockpis
rules=etc/udev/rules.d
install -m 755 $bsp/lib/udev/fixEtherAddr $destination/lib/udev
}
}
function pre_install_kernel_debs__enforce_cma() {
# Set CMA to 16 megabytes, to provide more usable RAM since Rock Pi S
# has usually a small amount of DRAM (512MB)
display_alert "$BOARD" "set CMA size to 16MB due to small DRAM size"
run_host_command_logged echo "extraargs=cma=16M" ">>" "${SDCARD}"/boot/armbianEnv.txt
return 0
}

View File

@@ -1,7 +1,7 @@
# Rockchip RK3328 quad core 256MB-2GB 1xGBE 1xETH USB3 [WiFi]
BOARD_NAME="Rockpi E"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER="krachlatte"
BOARD_MAINTAINER="paolosabatino"
BOOTCONFIG="rock-pi-e-rk3328_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -1,67 +1,35 @@
# Rockchip RK3308 quad core 256-512MB SoC WiFi
# https://radxa.com/products/rockpi/pis
BOARD_NAME="Rockpi S"
BOARDFAMILY="rockchip64"
BOARDFAMILY=rockchip64
BOARD_MAINTAINER="brentr"
BOOTCONFIG="rock-pi-s-rk3308_defconfig"
DEFAULT_CONSOLE="serial"
MODULES_LEGACY="g_serial"
SERIALCON="ttyS0"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
BOOT_FDT_FILE="rockchip/rk3308-rock-pi-s.dtb"
BOOTCONFIG=rock-pi-s-rk3308_defconfig
BOOT_FDT_FILE=rockchip/rk3308-rock-pi-s.dtb
KERNEL_TARGET=current,edge
KERNEL_TEST_TARGET=current
DEFAULT_CONSOLE=serial
SERIALCON=ttyS0
MODULES_BLACKLIST="rockchipdrm 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"
HAS_VIDEO_OUTPUT=no
OVERLAY_PREFIX='rk3308'
BOOTBRANCH_BOARD=tag:v2024.10
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
#comment out line below for an image that will NOT boot from the built-in SDNAND
IDBLOADER_BLOB=$SRC/packages/blobs/rockchip/rk3308_idbloader_ddr589MHz_uart0_m0_v2.06.136sd.bin
OVERLAY_PREFIX=rk3308
#The SDNAND capabilty IDBLOADER_BLOB requires the U-Boot and Linux serial console on UART0
#Linux will hang on reboot if the console remains on UART2
#Note: IDBLOADER_BLOB is derived from
# https://dl.radxa.com/rockpis/images/loader/rk3308_loader_ddr589MHz_uart0_m0_v2.06.136sd.bin
#by using the rkdeveloptool to "upgrade" the previous DDR_BLOB loader on the SDNAND
#To recreate it, build the image with IDBLOADER_BLOB unset and boot Rock PI-S in MASKROM mode
#On your host (connected to the RockPi-S's USB-C port):
# rdeveloptool db rk3308_loader_ddr589MHz_uart0_m0_v2.06.136sd.bin
# rdeveloptool wl 0 newly_built_image.img
# rdeveloptool ul rk3308_loader_ddr589MHz_uart0_m0_v2.06.136sd.bin #this writes 280 sectors
#Then, reset the RockPi-S to boot from SDNAND. Using that running image:
# dd if=/dev/mmcblk0 of=rk3308_idbloader_ddr589MHz_uart0_m0_v2.06.136sd.bin skip=64 count=280
function post_family_config___uboot_config() {
display_alert "$BOARD" "u-boot ${BOOTBRANCH_BOARD} overrides" "info"
unset uboot_custom_postprocess family_tweaks_bsp # disable stuff from rockchip64_common
BOOTSCRIPT=boot-rockpis.cmd:boot.cmd
BOOTENV_FILE='rockpis.txt'
uboot_custom_postprocess() {
# TODO: remove this diversion from common caused by different loaderimage params
run_host_x86_binary_logged $RKBIN_DIR/tools/loaderimage --pack --uboot ./u-boot-dtb.bin uboot.img 0x600000 --size 1024 1 &&
if [ -r "$IDBLOADER_BLOB" ]; then
echo "Installing $IDBLOADER_BLOB"
echo "Capable of booting from built-in SDNAND"
cp $IDBLOADER_BLOB idbloader.bin
else
[ "$IDBLOADER_BLOB" ] && echo "Missing $IDBLOADER_BLOB"
echo "WARNING: This image will not boot from built-in SDNAND"
tools/mkimage -n rk3308 -T rksd -d $RKBIN_DIR/$DDR_BLOB idbloader.bin &&
cat $RKBIN_DIR/$MINILOADER_BLOB >> idbloader.bin
fi &&
run_host_x86_binary_logged $RKBIN_DIR/tools/trust_merger --replace bl31.elf $RKBIN_DIR/$BL31_BLOB trust.ini
}
family_tweaks_bsp() { #Install udev script that derives fixed, unique MAC addresses for net interfaces
function post_family_config__rockpis() {
declare -g BOOTDIR="u-boot-${BOARD}"
declare -g BOOTSCRIPT=boot-rockchip64-ttyS0.cmd:boot.cmd
family_tweaks_bsp() { #overrides rockchip64_common.inc
#Install udev script that derives fixed, unique MAC addresses for net interfaces
#that are assigned random ones -- like RockPI-S's WiFi network interfaces
bsp=$SRC/packages/bsp/rockpis
rules=etc/udev/rules.d
@@ -69,5 +37,13 @@ function post_family_config___uboot_config() {
install -m 755 $bsp/lib/udev/fixEtherAddr $destination/lib/udev &&
install -m 644 $bsp/$rules/05-fixMACaddress.rules $destination/$rules
}
}
function pre_install_kernel_debs__enforce_cma() {
# Set CMA to 16 megabytes, to provide more usable RAM since Rock Pi S
# has usually a small amount of DRAM (512MB)
display_alert "$BOARD" "set CMA size to 16MB due to small DRAM size"
run_host_command_logged echo "extraargs=cma=16M" ">>" "${SDCARD}"/boot/armbianEnv.txt
return 0
}

View File

@@ -28,9 +28,9 @@ enable_extension "grub-with-dtb" # important, puts the whole DTB handling in pla
# Use the full firmware, complete linux-firmware plus Armbian's
declare -g BOARD_FIRMWARE_INSTALL="-full"
function post_family_config_branch_sc8280xp__jhovolds_69y_kernel() {
declare -g KERNEL_MAJOR_MINOR="6.11" # Major and minor versions of this kernel.
declare -g KERNELBRANCH='branch:wip/sc8280xp-6.11-rc5'
function post_family_config_branch_sc8280xp__jhovolds_wip_kernel() {
declare -g KERNEL_MAJOR_MINOR="6.12" # Major and minor versions of this kernel.
declare -g KERNELBRANCH='branch:wip/sc8280xp-6.12' # @TODO: this is down to 27 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

@@ -1,4 +1,4 @@
# Rockchip RK3588 octa core 8/16/32GB RAM SoM GBE NVMe eMMC USB3
# Rockchip RK3588 octa core 8/16/32GB RAM SoM GBE NVMe eMMC USB3
BOARD_NAME="Turing RK1"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
@@ -18,10 +18,10 @@ function post_family_config__turing-rk1_default_serial_console_by_branch() {
case $BRANCH in
vendor)
declare -g SERIALCON="ttyS9"
declare -g SERIALCON="ttyS9"
;;
*)
declare -g SERIALCON="ttyS0"
declare -g SERIALCON="ttyS0"
;;
esac
@@ -51,15 +51,15 @@ function post_family_config__turing-rk1_use_mainline_uboot() {
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git"
declare -g BOOTBRANCH='tag:v2024.04'
declare -g BOOTPATCHDIR="v2024.04"
declare -g BOOTDELAY=1
declare -g BOOTDELAY=1
# 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
# 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
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
# 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

@@ -27,6 +27,8 @@ function post_family_tweaks_bsp__xiaomi-elish_firmware() {
mkdir -p $destination/usr/share/alsa/ucm2/conf.d/sm8250
install -Dm644 $SRC/packages/bsp/xiaomi-elish/elish.conf $destination/usr/share/alsa/ucm2/Xiaomi/elish/elish.conf
install -Dm644 $SRC/packages/bsp/xiaomi-elish/elish_HiFi.conf $destination/usr/share/alsa/ucm2/Xiaomi/elish/HiFi.conf
# conifg file used by service hexagonrpcd-sdsp
install -Dm644 $SRC/packages/bsp/xiaomi-elish/hexagonrpcd-sdsp $destination/etc/conf.d/hexagonrpcd-sdsp
ln -sfv ../../Xiaomi/elish/elish.conf \
"$destination/usr/share/alsa/ucm2/conf.d/sm8250/Xiaomi Mi Pad 5 Pro.conf"
@@ -65,16 +67,19 @@ function post_family_tweaks__xiaomi-elish_enable_services() {
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 protection-domain-mapper tqftpserv unudhcpd mkbootimg
do_with_retries 3 chroot_sdcard_apt_get_install alsa-ucm-conf qbootctl qrtr-tools unudhcpd mkbootimg
# Install hexagonrpc userspace service for kernel after 6.11, hexagonrpc in only packaged for noble now
if [[ "${RELEASE}" == "noble" ]]; then
do_with_retries 3 chroot_sdcard_apt_get_install hexagonrpc
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
do_with_retries 3 chroot_sdcard_apt_get_update
chroot_sdcard systemctl enable qbootctl.service
chroot_sdcard systemctl enable usbgadget-rndis.service
chroot_sdcard systemctl enable pd-mapper.service
chroot_sdcard systemctl enable tqftpserv.service
chroot_sdcard systemctl enable bt-fixed-mac.service
return 0
}
@@ -101,5 +106,6 @@ function post_family_tweaks_bsp__xiaomi-elish_bsp_modules_in_initrd() {
add_file_from_stdin_to_bsp_destination "/etc/initramfs-tools/modules" <<- 'EXTRA_MODULES'
spi-geni-qcom
nt36523_ts
panel_novatek_nt36523
EXTRA_MODULES
}

View File

@@ -62,7 +62,7 @@ function post_family_tweaks__xiaomi-umi_enable_services() {
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 protection-domain-mapper tqftpserv unudhcpd mkbootimg
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
@@ -70,8 +70,6 @@ function post_family_tweaks__xiaomi-umi_enable_services() {
chroot_sdcard systemctl enable qbootctl.service
chroot_sdcard systemctl enable usbgadget-rndis.service
chroot_sdcard systemctl enable pd-mapper.service
chroot_sdcard systemctl enable tqftpserv.service
return 0
}

View File

@@ -12,7 +12,7 @@ PACKAGE_LIST_BOARD="bluez"
function post_family_config__uboot_config() {
# Overwrite UBOOT_TARGET_MAP to use the proprietary rockchip
# ddrbin in place of u-boot TPL. The reason is that the board
# uses DDR2 memories and u-boot TPL is not capable of
# uses DDR2 memories and u-boot TPL is not capable of
# initializing DDR2.
UBOOT_TARGET_MAP="ROCKCHIP_TPL=$SRC/cache/sources/rkbin-tools/rk32/rk3288_ddr_400MHz_v1.08.bin;;u-boot-rockchip-with-spl.bin"
}

View File

@@ -4,8 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="SuperKali"
BOOTCONFIG="generic-rk3588_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TEST_TARGET="vendor,current"
KERNEL_TARGET="current,edge,vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
IMAGE_PARTITION_TABLE="gpt"
@@ -38,8 +37,8 @@ function post_family_config__youyeetoo_r1_use_mainline_uboot() {
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.07"
declare -g BOOTPATCHDIR="v2024.07"
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"
@@ -52,3 +51,15 @@ function post_family_config__youyeetoo_r1_use_mainline_uboot() {
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
}
}
function post_family_tweaks__youyeetoo_r1 {
if [[ "${BRANCH}" != "vendor" ]]; then
display_alert "$BOARD" "Adjusting rtw89_8852be module" "info"
cat <<- EOF > "${SDCARD}/etc/modprobe.d/rtw8852be.conf"
options rtw89_pci disable_aspm_l1=y disable_aspm_l1ss=y
options rtw89pci disable_aspm_l1=y disable_aspm_l1ss=y
options rtw89_core disable_ps_mode=y
options rtw89core disable_ps_mode=y
EOF
fi
}

View File

@@ -1,2 +0,0 @@
verbosity=1
extraargs=swiotlb=1024

View File

@@ -0,0 +1,86 @@
# DO NOT EDIT THIS FILE
#
# Please edit /boot/armbianEnv.txt to set supported parameters
#
setenv load_addr "0x48000000"
setenv overlay_error "false"
# default values
setenv rootdev "/dev/mmcblk0p1"
setenv verbosity "1"
setenv console "both"
setenv bootlogo "false"
setenv rootfstype "ext4"
setenv docker_optimizations "on"
setenv earlycon "off"
test -n "${distro_bootpart}" || distro_bootpart=1
echo "Boot script loaded from ${devtype} ${devnum}:${distro_bootpart}"
if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}armbianEnv.txt; then
load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}armbianEnv.txt
env import -t ${load_addr} ${filesize}
fi
if test "${logo}" = "disabled"; then setenv logo "logo.nologo"; fi
if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=tty1"; fi
if test "${console}" = "serial" || test "${console}" = "both"; then setenv consoleargs "console=ttyS2,1500000 ${consoleargs}"; fi
if test "${earlycon}" = "on"; then setenv consoleargs "earlycon ${consoleargs}"; fi
if test "${bootlogo}" = "true"; then
setenv consoleargs "splash plymouth.ignore-serial-consoles ${consoleargs}"
else
setenv consoleargs "splash=verbose ${consoleargs}"
fi
# get PARTUUID of first partition on SD/eMMC the boot script was loaded from
if test "${devtype}" = "mmc"; then part uuid mmc ${devnum}:${distro_bootpart} partuuid; fi
setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs} consoleblank=0 loglevel=${verbosity} ubootpart=${partuuid} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs}"
if test "${docker_optimizations}" = "on"; then setenv bootargs "${bootargs} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory"; fi
load ${devtype} ${devnum}:${distro_bootpart} ${ramdisk_addr_r} ${prefix}uInitrd
load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} ${prefix}Image
load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
fdt addr ${fdt_addr_r}
fdt resize 65536
for overlay_file in ${overlays}; do
if load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-${overlay_file}.dtbo; then
echo "Applying kernel provided DT overlay ${overlay_prefix}-${overlay_file}.dtbo"
fdt apply ${load_addr} || setenv overlay_error "true"
elif load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_file}.dtbo; then
echo "Applying kernel provided DT overlay ${overlay_file}.dtbo"
fdt apply ${load_addr} || setenv overlay_error "true"
fi
done
for overlay_file in ${user_overlays}; do
if load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}overlay-user/${overlay_file}.dtbo; then
echo "Applying user provided DT overlay ${overlay_file}.dtbo"
fdt apply ${load_addr} || setenv overlay_error "true"
fi
done
if test "${overlay_error}" = "true"; then
echo "Error applying DT overlays, restoring original DT"
load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
else
if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-fixup.scr; then
load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-fixup.scr
echo "Applying kernel provided DT fixup script (${overlay_prefix}-fixup.scr)"
source ${load_addr}
fi
if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}fixup.scr; then
load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}fixup.scr
echo "Applying user provided fixup script (fixup.scr)"
source ${load_addr}
fi
fi
echo "Trying 'kaslrseed' command... Info: 'Unknown command' can be safely ignored since 'kaslrseed' does not apply to all boards."
kaslrseed # @TODO: This gives an error (Unknown command ' kaslrseed ' - try 'help') on many devices since CONFIG_CMD_KASLRSEED is not enabled
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
# Recompile with:
# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr

View File

@@ -14,16 +14,13 @@ setenv rootfstype "ext4"
setenv docker_optimizations "on"
setenv earlycon "off"
echo "Boot script loaded from ${devtype} ${devnum}"
test -n "${distro_bootpart}" || distro_bootpart=1
echo "Testing for existence ${devtype} ${devnum} ${prefix}armbianEnv.txt ..."
if test -e ${devtype} ${devnum} ${prefix}armbianEnv.txt; then
echo "Found ${devtype} ${devnum} ${prefix}armbianEnv.txt - loading ${devtype} ${devnum} ${load_addr} ${prefix}armbianEnv.txt ..."
load ${devtype} ${devnum} ${load_addr} ${prefix}armbianEnv.txt
echo "Loaded environment from ${devtype} ${devnum} ${prefix}armbianEnv.txt into ${load_addr} filesize ${filesize}..."
echo "Importing into environment ..."
echo "Boot script loaded from ${devtype} ${devnum}:${distro_bootpart}"
if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}armbianEnv.txt; then
load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}armbianEnv.txt
env import -t ${load_addr} ${filesize}
echo "armbianEnv.txt imported into environment"
fi
if test "${logo}" = "disabled"; then setenv logo "logo.nologo"; fi
@@ -38,44 +35,44 @@ else
fi
# get PARTUUID of first partition on SD/eMMC the boot script was loaded from
if test "${devtype}" = "mmc"; then part uuid mmc ${devnum}:1 partuuid; fi
if test "${devtype}" = "mmc"; then part uuid mmc ${devnum}:${distro_bootpart} partuuid; fi
setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs} consoleblank=0 loglevel=${verbosity} ubootpart=${partuuid} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs}"
if test "${docker_optimizations}" = "on"; then setenv bootargs "${bootargs} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory"; fi
load ${devtype} ${devnum} ${ramdisk_addr_r} ${prefix}uInitrd
load ${devtype} ${devnum} ${kernel_addr_r} ${prefix}Image
load ${devtype} ${devnum}:${distro_bootpart} ${ramdisk_addr_r} ${prefix}uInitrd
load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} ${prefix}Image
load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
fdt addr ${fdt_addr_r}
fdt resize 65536
for overlay_file in ${overlays}; do
if load ${devtype} ${devnum} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-${overlay_file}.dtbo; then
if load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-${overlay_file}.dtbo; then
echo "Applying kernel provided DT overlay ${overlay_prefix}-${overlay_file}.dtbo"
fdt apply ${load_addr} || setenv overlay_error "true"
elif load ${devtype} ${devnum} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_file}.dtbo; then
elif load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_file}.dtbo; then
echo "Applying kernel provided DT overlay ${overlay_file}.dtbo"
fdt apply ${load_addr} || setenv overlay_error "true"
fi
done
for overlay_file in ${user_overlays}; do
if load ${devtype} ${devnum} ${load_addr} ${prefix}overlay-user/${overlay_file}.dtbo; then
if load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}overlay-user/${overlay_file}.dtbo; then
echo "Applying user provided DT overlay ${overlay_file}.dtbo"
fdt apply ${load_addr} || setenv overlay_error "true"
fi
done
if test "${overlay_error}" = "true"; then
echo "Error applying DT overlays, restoring original DT"
load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
else
if test -e ${devtype} ${devnum} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-fixup.scr; then
load ${devtype} ${devnum} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-fixup.scr
if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-fixup.scr; then
load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-fixup.scr
echo "Applying kernel provided DT fixup script (${overlay_prefix}-fixup.scr)"
source ${load_addr}
fi
if test -e ${devtype} ${devnum} ${prefix}fixup.scr; then
load ${devtype} ${devnum} ${load_addr} ${prefix}fixup.scr
if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}fixup.scr; then
load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}fixup.scr
echo "Applying user provided fixup script (fixup.scr)"
source ${load_addr}
fi

View File

@@ -1,73 +0,0 @@
# DO NOT EDIT THIS FILE
#
# Please edit /boot/armbianEnv.txt to set supported parameters
#
setenv load_addr "0x9000000"
# Ensure the ever expanding kernel never overlaps initial device tree load area
setenv fdt_addr_r "0x7800000"
setenv overlay_error "false"
# default values
setenv rootdev "/dev/mmcblk0p1"
setenv verbosity "1"
setenv console "both"
setenv rootfstype "ext4"
setenv docker_optimizations "on"
setenv earlycon "off"
echo "Boot script loaded from ${devtype} ${devnum}"
if test -e ${devtype} ${devnum} ${prefix}armbianEnv.txt; then
load ${devtype} ${devnum} ${load_addr} ${prefix}armbianEnv.txt
env import -t ${load_addr} ${filesize}
fi
if test "${logo}" = "disabled"; then setenv logo "logo.nologo"; fi
if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=tty1"; fi
if test "${console}" = "serial" || test "${console}" = "both"; then setenv consoleargs "console=ttyS0,1500000 ${consoleargs}"; fi
if test "${earlycon}" = "on"; then setenv consoleargs "earlycon ${consoleargs}"; fi
# get PARTUUID of first partition on SD/eMMC the boot script was loaded from
if test "${devtype}" = "mmc"; then part uuid mmc ${devnum}:1 partuuid; fi
setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs} consoleblank=0 loglevel=${verbosity} ubootpart=${partuuid} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs}"
if test "${docker_optimizations}" = "on"; then setenv bootargs "${bootargs} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory"; fi
load ${devtype} ${devnum} ${ramdisk_addr_r} ${prefix}uInitrd
load ${devtype} ${devnum} ${kernel_addr_r} ${prefix}Image
load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
fdt addr ${fdt_addr_r}
fdt resize 65536
for overlay_file in ${overlays}; do
if load ${devtype} ${devnum} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-${overlay_file}.dtbo; then
echo "Applying kernel provided DT overlay ${overlay_prefix}-${overlay_file}.dtbo"
fdt apply ${load_addr} || setenv overlay_error "true"
fi
done
for overlay_file in ${user_overlays}; do
if load ${devtype} ${devnum} ${load_addr} ${prefix}overlay-user/${overlay_file}.dtbo; then
echo "Applying user provided DT overlay ${overlay_file}.dtbo"
fdt apply ${load_addr} || setenv overlay_error "true"
fi
done
if test "${overlay_error}" = "true"; then
echo "Error applying DT overlays, restoring original DT"
load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
else
if load ${devtype} ${devnum} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-fixup.scr; then
echo "Applying kernel provided DT fixup script (${overlay_prefix}-fixup.scr)"
source ${load_addr}
fi
if test -e ${devtype} ${devnum} ${prefix}fixup.scr; then
load ${devtype} ${devnum} ${load_addr} ${prefix}fixup.scr
echo "Applying user provided fixup script (fixup.scr)"
source ${load_addr}
fi
fi
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
# Recompile with:
# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr

View File

@@ -3,22 +3,23 @@
# Please edit /boot/armbianEnv.txt to set supported parameters
#
setenv load_addr "0x9000000"
# Ensure the ever expanding kernel never overlaps initial device tree load area
setenv fdt_addr_r "0x7800000"
setenv load_addr "0x9000000"
setenv overlay_error "false"
# default values
setenv rootdev "/dev/mmcblk0p1"
setenv verbosity "1"
setenv console "both"
setenv bootlogo "false"
setenv rootfstype "ext4"
setenv docker_optimizations "on"
setenv earlycon "off"
echo "Boot script loaded from ${devtype} ${devnum}"
test -n "${distro_bootpart}" || distro_bootpart=1
if test -e ${devtype} ${devnum} ${prefix}armbianEnv.txt; then
load ${devtype} ${devnum} ${load_addr} ${prefix}armbianEnv.txt
echo "Boot script loaded from ${devtype} ${devnum}:${distro_bootpart}"
if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}armbianEnv.txt; then
load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}armbianEnv.txt
env import -t ${load_addr} ${filesize}
fi
@@ -27,46 +28,53 @@ if test "${logo}" = "disabled"; then setenv logo "logo.nologo"; fi
if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=tty1"; fi
if test "${console}" = "serial" || test "${console}" = "both"; then setenv consoleargs "console=ttyS0,1500000 ${consoleargs}"; fi
if test "${earlycon}" = "on"; then setenv consoleargs "earlycon ${consoleargs}"; fi
if test "${bootlogo}" = "true"; then
setenv consoleargs "splash plymouth.ignore-serial-consoles ${consoleargs}"
else
setenv consoleargs "splash=verbose ${consoleargs}"
fi
# get PARTUUID of first partition on SD/eMMC the boot script was loaded from
if test "${devtype}" = "mmc"; then part uuid mmc ${devnum}:1 partuuid; fi
if test "${devtype}" = "mmc"; then part uuid mmc ${devnum}:${distro_bootpart} partuuid; fi
setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs} consoleblank=0 loglevel=${verbosity} ubootpart=${partuuid} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs}"
if test "${docker_optimizations}" = "on"; then setenv bootargs "${bootargs} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory"; fi
load ${devtype} ${devnum} ${ramdisk_addr_r} ${prefix}uInitrd
load ${devtype} ${devnum} ${kernel_addr_r} ${prefix}Image
load ${devtype} ${devnum}:${distro_bootpart} ${ramdisk_addr_r} ${prefix}uInitrd
load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} ${prefix}Image
load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
fdt addr ${fdt_addr_r}
fdt resize 65536
for overlay_file in ${overlays}; do
if load ${devtype} ${devnum} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-${overlay_file}.dtbo; then
if load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-${overlay_file}.dtbo; then
echo "Applying kernel provided DT overlay ${overlay_prefix}-${overlay_file}.dtbo"
fdt apply ${load_addr} || setenv overlay_error "true"
fi
done
for overlay_file in ${user_overlays}; do
if load ${devtype} ${devnum} ${load_addr} ${prefix}overlay-user/${overlay_file}.dtbo; then
if load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}overlay-user/${overlay_file}.dtbo; then
echo "Applying user provided DT overlay ${overlay_file}.dtbo"
fdt apply ${load_addr} || setenv overlay_error "true"
fi
done
if test "${overlay_error}" = "true"; then
echo "Error applying DT overlays, restoring original DT"
load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
else
if load ${devtype} ${devnum} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-fixup.scr; then
if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-fixup.scr; then
load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}dtb/rockchip/overlay/${overlay_prefix}-fixup.scr
echo "Applying kernel provided DT fixup script (${overlay_prefix}-fixup.scr)"
source ${load_addr}
fi
if test -e ${devtype} ${devnum} ${prefix}fixup.scr; then
load ${devtype} ${devnum} ${load_addr} ${prefix}fixup.scr
if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}fixup.scr; then
load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}fixup.scr
echo "Applying user provided fixup script (fixup.scr)"
source ${load_addr}
fi
fi
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
# Recompile with:

View File

@@ -13,6 +13,17 @@ setenv console "both"
setenv docker_optimizations "on"
setenv bootlogo "false"
setenv vendor "allwinner"
# Remember the default fdtfile provided by u-boot and delete the vendor name
if setexpr subfdt sub ${vendor}/ "" ${fdtfile};then
setenv deffdt_file ${subfdt}
fi
# Remember the default u-boot fdtdir
setenv deffdt_dir "${prefix}dtb"
if test "$fdtdir" = ""; then setenv fdtdir "${deffdt_dir}/${vendor}";fi
# Print boot source
itest.b *0x10028 == 0x00 && echo "U-boot loaded from SD"
itest.b *0x10028 == 0x02 && echo "U-boot loaded from eMMC or secondary SD"
@@ -25,6 +36,37 @@ if test -e ${devtype} ${devnum} ${prefix}armbianEnv.txt; then
env import -t ${load_addr} ${filesize}
fi
# Delete the vendor's name from the fdtfile variable and record the result
# after the file with the environment variables has been read
if setexpr subfdt sub ${vendor}/ "" ${fdtfile};then
setenv fdtfile ${subfdt}
fi
# In this shell, we can only check the existence of the file.
# Make a check of reasonable ways to find the dtb file.
# Set the true value of the paths.
if test -e ${devtype} ${devnum} "${fdtdir}/${fdtfile}"; then
echo "Load fdt: ${fdtdir}/${fdtfile}"
else
echo "The file ${fdtfile} was not found in the path ${fdtdir}"
if test -e ${devtype} ${devnum} "${deffdt_dir}/${fdtfile}"; then
setenv fdtdir "${deffdt_dir}"
echo "Load fdt: ${fdtdir}/${fdtfile}"
else
if test -e ${devtype} ${devnum} "${deffdt_dir}/${vendor}/${deffdt_file}"; then
setenv fdtdir "${deffdt_dir}/${vendor}"
setenv fdtfile "${deffdt_file}"
echo "Load fdt: ${fdtdir}/${fdtfile}"
else
if test -e ${devtype} ${devnum} "${deffdt_dir}/${deffdt_file}"; then
setenv fdtdir "${deffdt_dir}"
setenv fdtfile "${deffdt_file}"
echo "Load fdt: ${fdtdir}/${fdtfile}"
fi
fi
fi
fi
if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=ttyS0,115200 console=tty1"; fi
if test "${console}" = "serial"; then setenv consoleargs "console=ttyS0,115200"; fi
if test "${bootlogo}" = "true"; then
@@ -41,11 +83,11 @@ setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs
if test "${docker_optimizations}" = "on"; then setenv bootargs "${bootargs} cgroup_enable=memory"; fi
load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
load ${devtype} ${devnum} ${fdt_addr_r} ${fdtdir}/${fdtfile}
fdt addr ${fdt_addr_r}
fdt resize 65536
for overlay_file in ${overlays}; do
if load ${devtype} ${devnum} ${load_addr} ${prefix}dtb/allwinner/overlay/${overlay_prefix}-${overlay_file}.dtbo; then
if load ${devtype} ${devnum} ${load_addr} ${fdtdir}/overlay/${overlay_prefix}-${overlay_file}.dtbo; then
echo "Applying kernel provided DT overlay ${overlay_prefix}-${overlay_file}.dtbo"
fdt apply ${load_addr} || setenv overlay_error "true"
fi
@@ -58,9 +100,9 @@ for overlay_file in ${user_overlays}; do
done
if test "${overlay_error}" = "true"; then
echo "Error applying DT overlays, restoring original DT"
load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
load ${devtype} ${devnum} ${fdt_addr_r} ${fdtdir}/${fdtfile}
else
if load ${devtype} ${devnum} ${load_addr} ${prefix}dtb/allwinner/overlay/${overlay_prefix}-fixup.scr; then
if load ${devtype} ${devnum} ${load_addr} ${fdtdir}/overlay/${overlay_prefix}-fixup.scr; then
echo "Applying kernel provided DT fixup script (${overlay_prefix}-fixup.scr)"
source ${load_addr}
fi

View File

@@ -17,6 +17,15 @@ setenv devnum "0"
setenv rootdev "/dev/mmcblk${devnum}p1"
setenv earlycon "off"
# Remember the default u-boot fdtfile
setenv deffdt_file ${fdtfile}
# Remember the default u-boot fdtdir
setenv deffdt_dir "${prefix}dtb"
if test "$fdtdir" = ""; then setenv fdtdir "${deffdt_dir}";fi
setenv vendor "allwinner"
# Print boot source
itest.b *0x28 == 0x00 && echo "U-boot loaded from SD"
itest.b *0x28 == 0x01 && echo "U-boot loaded from NAND"
@@ -31,13 +40,42 @@ if test "${devtype}" = "mmc"; then
setenv rootdev "/dev/mmcblk${mmc_bootdev}p1"
fi
echo "Boot script loaded from ${devtype}"
if test -e ${devtype} ${devnum} ${prefix}armbianEnv.txt; then
load ${devtype} ${devnum} ${load_addr} ${prefix}armbianEnv.txt
env import -t ${load_addr} ${filesize}
fi
# Delete the vendor's name from the fdtfile variable and record the result
# after the file with the environment variables has been read
if setexpr subfdt sub ${vendor}/ "" ${fdtfile};then
setenv fdtfile ${subfdt}
fi
# In this shell, we can only check the existence of the file.
# Make a check of reasonable ways to find the dtb file.
# Set the true value of the paths.
if test -e ${devtype} ${devnum} "${fdtdir}/${fdtfile}"; then
echo "Load fdt: ${fdtdir}/${fdtfile}"
else
echo "The file ${fdtfile} was not found in the path ${fdtdir}"
if test -e ${devtype} ${devnum} "${deffdt_dir}/${vendor}/${fdtfile}"; then
setenv fdtdir "${deffdt_dir}/${vendor}"
echo "Load fdt: ${fdtdir}/${fdtfile}"
else
if test -e ${devtype} ${devnum} "${deffdt_dir}/${vendor}/${deffdt_file}"; then
setenv fdtdir "${deffdt_dir}/${vendor}"
setenv fdtfile "${deffdt_file}"
echo "Load fdt: ${fdtdir}/${fdtfile}"
else
if test -e ${devtype} ${devnum} "${deffdt_dir}/${deffdt_file}"; then
setenv fdtdir "${deffdt_dir}"
setenv fdtfile "${deffdt_file}"
echo "Load fdt: ${fdtdir}/${fdtfile}"
fi
fi
fi
fi
if test "${console}" = "display"; then setenv consoleargs "console=tty1"; fi
if test "${console}" = "serial"; then setenv consoleargs "console=ttyS0,115200"; fi
if test "${console}" = "both"; then setenv consoleargs "console=ttyS0,115200 console=tty1"; fi
@@ -50,7 +88,10 @@ fi
setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs} hdmi.audio=EDID:0 disp.screen0_output_mode=${disp_mode} consoleblank=0 loglevel=${verbosity} ubootpart=${partuuid} ubootsource=${devtype} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs}"
if test "${disp_mem_reserves}" = "off"; then setenv bootargs "${bootargs} sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16"; fi
if test "${disp_mem_reserves}" = "off"; then
setenv bootargs "${bootargs} sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16"
fi
if test "${docker_optimizations}" = "on"; then setenv bootargs "${bootargs} cgroup_enable=memory"; fi
load ${devtype} ${devnum} ${ramdisk_addr_r} ${prefix}uInitrd
@@ -58,11 +99,11 @@ load ${devtype} ${devnum} ${kernel_addr_r} ${prefix}zImage
if test -e ${devtype} ${devnum} "${prefix}.next"; then
echo "Found mainline kernel configuration"
load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
load ${devtype} ${devnum} ${fdt_addr_r} ${fdtdir}/${fdtfile}
fdt addr ${fdt_addr_r}
fdt resize 65536
for overlay_file in ${overlays}; do
if load ${devtype} ${devnum} ${load_addr} ${prefix}dtb/overlay/${overlay_prefix}-${overlay_file}.dtbo; then
if load ${devtype} ${devnum} ${load_addr} ${fdtdir}/overlay/${overlay_prefix}-${overlay_file}.dtbo; then
echo "Applying kernel provided DT overlay ${overlay_prefix}-${overlay_file}.dtbo"
fdt apply ${load_addr} || setenv overlay_error "true"
fi
@@ -75,9 +116,10 @@ if test -e ${devtype} ${devnum} "${prefix}.next"; then
done
if test "${overlay_error}" = "true"; then
echo "Error applying DT overlays, restoring original DT"
load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
load ${devtype} ${devnum} ${fdt_addr_r} ${fdtdir}/${fdtfile}
else
if load ${devtype} ${devnum} ${load_addr} ${prefix}dtb/overlay/${overlay_prefix}-fixup.scr; then
if test -e ${devtype} ${devnum} ${fdtdir}/overlay/${overlay_prefix}-fixup.scr; then
load ${devtype} ${devnum} ${load_addr} ${fdtdir}/overlay/${overlay_prefix}-fixup.scr
echo "Applying kernel provided DT fixup script (${overlay_prefix}-fixup.scr)"
source ${load_addr}
fi

View File

@@ -41,5 +41,4 @@ u-boot-tools
usbutils
vlan
wget
wireless-tools
wpasupplicant

View File

@@ -39,6 +39,5 @@ tzdata
u-boot-tools
usbutils
wget
wireless-tools
wireguard-tools
wpasupplicant

View File

@@ -41,5 +41,4 @@ u-boot-tools
usbutils
vlan
wget
wireless-tools
wpasupplicant

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