Compare commits

...

518 Commits

Author SHA1 Message Date
Werner
e2fc24af15 Revert "linux-rk35xx-vendor: Add and enable LTE em05 driver ( Enables support…"
This reverts commit a6cfb44448.
2025-08-15 19:58:02 +02:00
Rafay Ahmed
a6cfb44448 linux-rk35xx-vendor: Add and enable LTE em05 driver ( Enables support for WWAN cards in Rock 5T/5B+ ) (#8484)
* Added a patch to add the lte_em05 driver

Adds support for the Quectel M2 WWAN card on the Rock 5T/5B+.

* Enable CONFIG_LTE and LTE_RM310 + LTE_EM05

Enables the lte_rm310 and lte_em05 drivers (drivers/net/lte/).

* Delete patch/kernel/rk35xx-vendor-6.1/net-lte-add-lte-em05-driver.patch

Changes in the patch submitted to armbian/linux-rockchip . Only config change needed now after that gets approved.
2025-08-15 19:53:49 +02:00
Igor Pecovnik
e765406935 Orangepizero: drop Crust support that is preventing succesful reboot 2025-08-16 00:53:02 +08:00
FantasyGmm
dfb7c4fa6a Update Qcom RB5 Config 2025-08-14 16:24:57 +02:00
Patrick Yavitz
bf9b1368fe BananaPi BPI-M4-Zero: Add spi0 node
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-13 10:22:27 -04:00
JohnTheCoolingFan
f6553798d4 Remove patch reverting upstream changes in radxa uboot 2025-08-13 15:44:33 +02:00
Qvy-PNG
2adb3dbaa4 improve WiFi support for the sun50iw1 board family
- compile the 8723cs kernel module for Sunxi64 current and edge kernel
- run-tested on the Pine64
2025-08-13 18:43:32 +08:00
Rolf Leggewie
5f3cb7124a config/desktop: temporarily disable mate-sntray-plugin for trixie mate #FTBFS #RC
mate-sntray-plugin:  https://bugs.debian.org/1086771
2025-08-13 18:42:36 +08:00
Rolf Leggewie
eda88e848b lib / prepare-host: debian-archive-keyring is not a host-dependency for RISCv64
This was introduced in 2a8cb5793f as a relaxation to the previous
state when RISCv64 was not yet officially supported by Debian and
lived in Debian Ports.
2025-08-13 18:39:59 +08:00
Patrick Yavitz
d833170688 BPI-CM4/M2S Set default cpufreq MIN / MAX
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-13 05:49:07 -04:00
Patrick Yavitz
94d9b3a5dd BPI-CM4: Remove Improve SDIO WiFi speeds related overlay
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-13 05:49:07 -04:00
Patrick Yavitz
617580ee89 REVERT: Improve SDIO WiFi speeds
The change isn't consistent and only works in 2 out of 3 units.
When it fails, it does so hard, breaking SDIO.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-13 05:49:07 -04:00
dependabot[bot]
da6546d1b4 build(deps): bump gitpython from 3.1.44 to 3.1.45
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.44 to 3.1.45.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.44...3.1.45)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-13 05:45:57 +02:00
dependabot[bot]
653c659c76 build(deps): bump dtschema from 2025.6.1 to 2025.8
Bumps [dtschema](https://github.com/devicetree-org/dt-schema) from 2025.6.1 to 2025.8.
- [Release notes](https://github.com/devicetree-org/dt-schema/releases)
- [Commits](https://github.com/devicetree-org/dt-schema/compare/v2025.06.1...v2025.08)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-13 05:43:44 +02:00
dependabot[bot]
9e37cbd5a3 build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 4662f28b04a04c9b3c760178bc00690771ba6fe1 to f963b3f3562b00b6d2dd25efc390eb04e51ef6c6.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](4662f28b04...f963b3f356)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: f963b3f3562b00b6d2dd25efc390eb04e51ef6c6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-13 05:43:22 +02:00
dependabot[bot]
750a1d2264 build(deps): bump pip from 25.1.1 to 25.2
Bumps [pip](https://github.com/pypa/pip) from 25.1.1 to 25.2.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/pip/compare/25.1.1...25.2)

---
updated-dependencies:
- dependency-name: pip
  dependency-version: '25.2'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-13 05:42:55 +02:00
dependabot[bot]
27e0b70190 build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-13 05:42:34 +02:00
dependabot[bot]
6009ffaf5c build(deps): bump rich from 14.0.0 to 14.1.0
Bumps [rich](https://github.com/Textualize/rich) from 14.0.0 to 14.1.0.
- [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/v14.0.0...v14.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-13 05:42:08 +02:00
Rolf Leggewie
a65a5e896d extensions: add missing "install" instruction to APA extension 2025-08-11 18:25:21 +02:00
Patrick Yavitz
639811006d SpacemiT: Add CONFIG_HW_RANDOM=y to EDGE defconfig
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-11 12:21:05 -04:00
Patrick Yavitz
1e1a42ad2b SpacemiT: Activate AppArmor in the EDGE defconfig
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-11 12:21:05 -04:00
Patrick Yavitz
e7b1c34909 BananaPi BPI-F3: Add loglevel=1 to cmdline
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-11 12:21:05 -04:00
Patrick Yavitz
1dee550888 SpacemiT: Add edge defconfig
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-11 12:21:05 -04:00
Patrick Yavitz
925e22c093 SpacemiT: Add edge patches
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-11 12:21:05 -04:00
Patrick Yavitz
2425801a79 SpacemiT: Update u-boot patches
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-11 12:21:05 -04:00
Patrick Yavitz
fbfb2bb0fe BananaPi BPI-F3: Add edge support to conf file
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-11 12:21:05 -04:00
Patrick Yavitz
ac87dedeb4 SpacemiT: Add edge support to spacemit.conf
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-11 12:21:05 -04:00
Lane Jennison
2080f24aef linux-uefi-arm64-cloud.config: enable ACPI so things boot 2025-08-11 18:26:11 +08:00
Ricardo Pardini
27262ada13 linux-uefi-arm64-cloud.config: update config, no changes 2025-08-11 18:26:11 +08:00
amazingfate
94a72b9993 linux-image: provide wireguard-modules 2025-08-11 17:37:52 +08:00
JohnTheCoolingFan
2d9cce1846 Move rock-5-cmio revert patch to a board folder 2025-08-10 19:41:22 +02:00
JohnTheCoolingFan
99716df075 Add patch reverting https://github.com/radxa/u-boot/pull/148 2025-08-10 14:06:06 +02:00
Werner
5967b0b1e7 Bump version 2025-08-10 18:55:22 +08:00
Igor Pecovnik
534b97f702 Debian Trixie: declare as supported 2025-08-07 22:17:51 +02:00
juanesf
83f33fa122 Migrate Radxa Cubie A5E to mainline 6.16 (#8447)
* migrate u-boot and kernel to mainline

* Add patches for 6.17

* fix compile for patches addes

* Orderer patches, switch kernel config to sunxi64, recreate some patches for fix build

* Update linux-sunxi64-edge.config after pm-domain & sun55i-gmac200 activate

* enable wifi and bluetooth

* revert linux-sunxi64-edge.config

- Revert linux-sunxi64-edge.config
- Add modules: CONFIG_IOMMUFD, CONFIG_SUN50I_IOMMU, CONFIG_SUN55I_PCK600.

* drop sunxi-dev-6.14 and cleanup involved patches

* Update radxa-cubie-a5e.csc

make change proposed by igorpecovnik
2025-08-07 22:17:15 +02:00
Igor Pecovnik
750d4eda7d Xradio: adjust to support kernel compilation for 6.16+ 2025-08-07 19:40:40 +02:00
Vasco Guita
ef28357561 fix(armbian-firstlogin): use PRESET_USER_KEY instead of PRESET_ROOT_KEY for user SSH key 2025-08-07 14:32:52 +08:00
chainsx
ca4dc8085a filogic: fix build u-boot 2025-08-06 12:58:20 +02:00
Jesse R Codling
e72eb537c5 Use binman-atf-mainline for RockPi-4C+ 2025-08-06 10:50:55 +02:00
Jesse R Codling
4c2d8b66c9 set ROCKCHIP_TPL unconditionally for binman builds
required for boards with u-boot option CONFIG_ROCKCHIP_EXTERNAL_TPL,
should be ignored for boards without. See armbian/build#8449
2025-08-06 10:50:55 +02:00
Jesse R Codling
a8a1042391 additional commenting on binman-atf-mainline BOOT_SCENARIO 2025-08-06 10:50:55 +02:00
Jesse R Codling
c6944b49aa rock-4se: binman boot scenario with mainline ATF
This should be a long-term solution to armbian/community#39.
Adds a rockchip64 BOOT_SCENARIO for binman with mainline ATF and puts it
to use for the rock4-se board config.

Tested on my hardware, boots successfully.
2025-08-06 10:50:55 +02:00
igorpecovnik
19ed979e87 Automatic board configs status synchronise 2025-08-05 19:50:41 +02:00
Jianfeng Liu
f17caa7104 repo: add loong64 support 2025-08-05 15:12:06 +02:00
Patrick Yavitz
f022f38041 KickPi K2B: Add KASLR Support
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-05 07:39:19 -04:00
Patrick Yavitz
8a7eeb93ad KickPi K2B: Community Maintained
I doubt this will receive a lot of attention, so change to
community maintained.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-05 07:39:19 -04:00
Patrick Yavitz
6f08f2d0d8 aic-bluetooth: Targeted process management and error handling
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-05 07:39:19 -04:00
Patrick Yavitz
09f263f751 AIC8800 Extension: Increase support to Linux 6.16.y
fc7cbdd179

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-05 07:39:19 -04:00
Patrick Yavitz
50d2ee3883 Update ATF to lts-v2.12.5
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-05 07:39:19 -04:00
Patrick Yavitz
9d515dec3d Add AIC8800 SDIO Extension
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-05 07:39:19 -04:00
Patrick Yavitz
756a48c080 Add AIC8800 Bluetooth Service and Script
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-05 07:39:19 -04:00
Patrick Yavitz
9f4f78ba94 Add KickPi K2B U-Boot Support
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-05 07:39:19 -04:00
Patrick Yavitz
879202b837 Add KickPi K2B DTS
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-05 07:39:19 -04:00
Patrick Yavitz
723f813a64 Add KickPi K2B board.conf
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-05 07:39:19 -04:00
Martin Schmiedel
57739cfeb5 MBa8MPxL: fix overlays for lvds and camera
- now they are built and packaged.

Signed-off-by: Martin Schmiedel <martin.schmiedel@tq-group.com>
2025-08-05 13:20:13 +02:00
igorpecovnik
71df622c56 Automatic board configs status synchronise 2025-08-05 13:19:59 +02:00
Jianfeng Liu
ca5e61f777 fix build dep gcc-loongarch64-linux-gnu introduced by new arch loong64 2025-08-05 11:33:56 +08:00
Jianfeng Liu
124da14067 kenrel-debs: use dynamic kernel image name installed by installkernel 2025-08-04 17:34:54 +08:00
Jianfeng Liu
947b035fc5 add yt6801 dkms extension 2025-08-04 17:34:24 +08:00
Jianfeng Liu
0439d3ed70 install pahole before linux-headers for better dkms 2025-08-04 17:34:24 +08:00
Jianfeng Liu
87e8054373 loong64: add patches for intel xe driver with non 4K page size 2025-08-04 17:34:24 +08:00
Jianfeng Liu
fb363e8829 add initial loong64 support 2025-08-04 17:34:24 +08:00
Patrick Yavitz
dda6950c34 Re-enable h616 RTC patches on current
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-03 15:44:33 -04:00
Patrick Yavitz
e408731b30 BananaPi BPI-M4-Zero: Add KASLR Support
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-03 15:44:33 -04:00
Jianfeng Liu
b3912bb03a uefi-arm64: bump to 6.16 2025-08-03 09:37:30 +08:00
Rolf Leggewie
bda921595b minor spelling mistakes 2025-08-02 19:23:38 +08:00
Jianfeng Liu
4e41a549b0 mainline-kernel: bump 6.16 to released and add future release v6.17-rc1 2025-08-01 20:43:19 +02:00
Patrick Yavitz
222fa181ad BananaPi BPI-M4-Zero: DEFAULT_OVERLAYS="bananapi-m4-sdio-wifi-bt"
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-08-01 10:33:42 -04:00
Vladimir Panov
0d11f67c23 Don't attempt to copy id_ecdsa if it is not needed. 2025-07-31 11:08:31 +08:00
Igor Pecovnik
4ae394cc4d Debian oldstable: drop security and backport repository from packages lists
It does not exists for Bullseye nor Buster, which are both anyway deprecated, but we have a user reqests.
2025-07-30 15:49:42 +02:00
c127
413a42c5e6 orangepi5pro: dts: Fix incorrect GRF node name (Update U-Boot to v2025.07 for eMMC support) (#8441)
* feat(board/orangepi5pro): Update U-Boot to v2025.07 for eMMC support

Updated the U-Boot patch from v2024.04 to v2025.07, this change
finally enables booting from eMMC on the Orange Pi 5 Pro.

The device tree source for the board has also been refactored to
support the new U-Boot version and clean up peripheral definitions.

* orangepi5pro: dts: Fix incorrect GRF node name

The GRF node was misspelled as 'sysgrf' instead
of the correct 'sys_grf'.

This commit corrects the phandle to the proper value.
2025-07-30 08:17:02 +02:00
Igor
8141ce38a6 BLK_DEV_DM is set as a module (m) while DM_INIT is forced built-in (y)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-30 08:15:01 +02:00
Patrick Yavitz
84c0b23e01 Sunxi64: Add CONFIG_THERMAL_GOV_USER_SPACE=y
Noticed dmesg error on the Tritium H5
[    2.354290] thermal thermal_zone0: binding cdev cpufreq-cpu0 to trip 3 failed: -22
[    2.354350] thermal thermal_zone0: binding cdev cpufreq-cpu0 to trip 4 failed: -22

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-30 08:15:01 +02:00
Patrick Yavitz
793030a869 Sunxi64: Correct invalid symbol value 'm'
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-30 08:15:01 +02:00
Patrick Yavitz
6676bd04bf Sunxi64: Change some usb net drivers from =y to =m
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-30 08:15:01 +02:00
Patrick Yavitz
98f792136e Sunxi64: Switch some drivers from =y to =m
Resolve some nitpicks to appease our AI overload

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-30 08:15:01 +02:00
Patrick Yavitz
8610013bc2 Sunxi64: Add CONFIG_TARGET_CORE=m
CONFIG_TCM_IBLOCK=m
CONFIG_TCM_FILEIO=m
CONFIG_TCM_PSCSI=m
CONFIG_LOOPBACK_TARGET=m
CONFIG_ISCSI_TARGET=m

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-30 08:15:01 +02:00
Patrick Yavitz
3dd9a2fb7b Sunxi64: Add CONFIG_MOTORCOMM_PHY=y
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-30 08:15:01 +02:00
Patrick Yavitz
865265ff62 Sunxi64: Update CONFIG_INPUT* JOYSTICK and MOUSE
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-30 08:15:01 +02:00
Patrick Yavitz
47aedd86b9 Sunxi64: Bring back USB_NET_DRIVERS* and other misc
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-30 08:15:01 +02:00
Patrick Yavitz
4a12c64fc8 Sunxi64: Set CONFIG_PREEMPT=y and CONFIG_CONNECTOR=y
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-30 08:15:01 +02:00
Patrick Yavitz
456825942c REVERT: linux-sunxi64-current.config to d502356
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-30 08:15:01 +02:00
Patrick Yavitz
c352a17a9f Sunxi64: Update CONFIG_NET, NFS and misc
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-30 08:15:01 +02:00
Patrick Yavitz
51dd2f3b69 Sunxie64: Remove CONFIG_VIRTIO_FS=m
Come back to it at a later date.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-30 08:15:01 +02:00
Patrick Yavitz
603f12a087 Sunxi64: Enable more I2C, IIO, SENSORS and other misc bits
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-30 08:15:01 +02:00
Julian Sikorski
6d4464a7c5 Fix up 6.6.98 to 6.6.99 patch to apply on top of odroid kernel 2025-07-30 07:29:37 +02:00
Julian Sikorski
7743cca89d Update odroidxu4-current to 6.6.100 2025-07-30 07:29:37 +02:00
Werner
449336a149 Revert "feat(board/orangepi5pro): Update U-Boot to v2025.07 for eMMC support …"
This reverts commit 53189d4c5e.
2025-07-29 19:07:22 +02:00
dependabot[bot]
d512a18cce build(deps): bump oras from 0.2.33 to 0.2.37
Bumps [oras](https://github.com/oras-project/oras-py) from 0.2.33 to 0.2.37.
- [Release notes](https://github.com/oras-project/oras-py/releases)
- [Changelog](https://github.com/oras-project/oras-py/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oras-project/oras-py/compare/0.2.33...0.2.37)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 12:34:49 +02:00
Muhammed Efe Cetin
530faf4c3c fix nanopi r6s udev network mapping 2025-07-29 09:09:49 +02:00
c127
53189d4c5e feat(board/orangepi5pro): Update U-Boot to v2025.07 for eMMC support (#8417)
Updated the U-Boot patch from v2024.04 to v2025.07, this change
finally enables booting from eMMC on the Orange Pi 5 Pro.

The device tree source for the board has also been refactored to
support the new U-Boot version and clean up peripheral definitions.
2025-07-29 08:32:58 +02:00
Patrick Yavitz
92d0fbe38a BananaPi BPI-M4-Zero: Remove u-boot-v2025.01 patching
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-28 13:04:42 -04:00
Patrick Yavitz
11821aebf9 BananaPi BPI-M4-Zero: Update DTS files
Mostly a fixup for the emac1 node, which I am unable to test.
https://forum.armbian.com/topic/53058-banana-pi-bpi-m4-zero-sun50i-h618-emac1-internal-phy-not-detected-%E2%80%9Cno-phy-found%E2%80%9D/

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-28 13:04:42 -04:00
Patrick Yavitz
e85633b25a BananaPi BPI-M4-Zero: Update u-boot to v2025.07
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-28 13:04:42 -04:00
Igor Pecovnik
cbeb0992b4 Bullseye: drop backport repository as it doesn't exists anymore 2025-07-28 17:17:58 +02:00
Paolo Sabatino
96fe7dee19 bump rockchip edge to kernel 6.16 2025-07-28 20:45:52 +08:00
retro98boy
67e4ab7475 SMART AM40: add PHY LED configuration 2025-07-26 11:16:33 +02:00
Hsun Lai
2576cd1d8e add community support for MediaTek Filogic device (BananaPi R4 Router) 2025-07-26 08:49:45 +02:00
Michał Dziekoński
f7b1a70dbb rock-5c: Enable thermal sensors for current
Signed-off-by: Michał Dziekoński <michal.dziekonski+github@gmail.com>
2025-07-26 06:24:59 +02:00
Hsun Lai
61b3aa2cbe lckfb-taishanpi: update u-boot patches, add current&edge kernel support 2025-07-25 06:36:14 +02:00
Hsun Lai
cb934081e0 station-m3: add current kernel, update u-boot patches 2025-07-25 09:46:49 +08:00
SuperKali
0db3964abd cloud-images: add wireguard support kernel side 2025-07-24 18:34:54 +02:00
Igor Pecovnik
2629e21026 Rockchip EDGE: fix broken patch 2025-07-24 18:34:36 +02:00
Patrick Yavitz
29f6dc14a2 Sunxi64: Enable additional CONFIG_NET* modules
Also:
CONFIG_W1_MASTER_UART=m

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-23 06:27:33 -04:00
Rolf Leggewie
c2a9fff520 lib / prepare-host: fix quoting inconsistency 2025-07-23 10:53:09 +02:00
Rolf Leggewie
f72bd55b12 lib / prepare-host: make installation of gcc-arm-linux-gnueabi conditional
* do not install gcc-arm-linux-gnueabi unless targetting arm64 arch
  suggested by coderabbitAI (https://github.com/armbian/build/pull/8260#discussion_r2118608963)
  reviewed and implemented by leggewie
2025-07-23 10:53:09 +02:00
Igor Pecovnik
67aa2d55e4 Wireless drivers: bump commit hash, add information about deprecations 2025-07-23 10:52:37 +02:00
Jianfeng Liu
c093f2e581 fix bluetooth hci_dev quirks API change since v6.16-rc7 2025-07-23 16:32:36 +08:00
Patrick Yavitz
f0d1697c55 BananaPi BPI-F3: Update linux-6.6.95 to 99
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-22 14:11:38 -04:00
Jianfeng Liu
05581e4b6b fix firstlogin failed to create password on sid 2025-07-22 18:35:27 +02:00
Igor Pecovnik
2f852e68e5 Bump kernels for imx6, mvebu, xu4 and move wdk2023 to eos 2025-07-22 10:36:24 +02:00
Rolf Leggewie
9632e5bb29 temporarily deactivate some MATE packages unavailable due to RC bugs
mate-sntray-plugin:  https://bugs.debian.org/1086771
mate-applet-appmenu: https://bugs.debian.org/1091049
2025-07-22 10:35:46 +02:00
Rolf Leggewie
887d3ebd9d fix list of packages to install for trixie xmonad. #FTBFS 2025-07-22 10:35:46 +02:00
Igor Pecovnik
4fc1fc84e0 Rockchip64 EDGE: fix broken patch 2025-07-22 10:35:00 +02:00
dependabot[bot]
a86e808c73 build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 055970845dd036d7345da7399b7e89f2e10f2b04 to 4662f28b04a04c9b3c760178bc00690771ba6fe1.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](055970845d...4662f28b04)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: 4662f28b04a04c9b3c760178bc00690771ba6fe1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-22 08:13:33 +02:00
Patrick Yavitz
556e638982 Sunxi64: Enable CONFIG_PPS_CLIENT_*
Also tick on:
CONFIG_SPI_LOOPBACK_TEST=m
CONFIG_SPI_SLAVE=y
CONFIG_SPI_SLAVE_TIME=m
CONFIG_SPI_SLAVE_SYSTEM_CONTROL=m
CONFIG_SPMI=y
CONFIG_SPMI_HISI3670=m

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-21 18:43:44 +02:00
EvilOlaf
7c395a3d2e rockchip64: bump edge to 6.16.0-rc7 2025-07-21 13:30:20 +02:00
Rolf Leggewie
54b1272bc2 config: update plasma-workspace packages definition for Qualcomm RB5
Since July of 2024 plasma-workspace package in Debian has usurped
plasma-workspace-wayland package

c9080bcf02
2025-07-21 16:06:45 +08:00
Rolf Leggewie
ca41c7f991 config: update desktop packages for plucky 2025-07-21 16:04:05 +08:00
Rolf Leggewie
2f0f366812 config/desktop: drop obsolete apt-xapian-index package from builds
https://bugs.debian.org/1100760
2025-07-21 16:04:05 +08:00
Rolf Leggewie
8699a679d2 config/desktop/trixie: drop obsolete pavumeter package from builds
https://bugs.debian.org/1088796
2025-07-21 16:04:05 +08:00
Rolf Leggewie
31cd0fd939 config / luckfox-core3566: don't nullify MODULES var
Setting MODULES="" overrides any module list inherited from the family
configuration; this may unintentionally lose essential vendor-kernel modules
(e.g. rockchip-rga, fusb302, etc.).
2025-07-21 15:53:37 +08:00
Rolf Leggewie
3e9ccedf9b config / luckfox-core3566: incorporate some settings from obsolete core3566.csc
https://github.com/armbian/build/issues/8230
2025-07-21 15:53:37 +08:00
Rolf Leggewie
df767b89f9 config: drop core3566 board config in favor of luckfox-core3566. Closes: #8230
https://wiki.luckfox.com/Core3566/ (maker)
https://www.waveshare.com/core3566.htm (reseller)
2025-07-21 15:53:37 +08:00
Patrick Yavitz
1d89b0e1e0 Sunxi64: Update CONFIG_SECURITY
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-20 11:58:13 -04:00
Patrick Yavitz
a359c5808d Sunxi64: Set DRM_PANFROST/LIMA to =m
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-20 11:58:13 -04:00
Patrick Yavitz
a680b5b713 Add BPI-M4-Zero DTS to DT dir and remove from patch series
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-20 11:58:13 -04:00
Patrick Yavitz
b7047a6e46 Sunxi64: Enable Armbian Auto-Patching
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-20 11:58:13 -04:00
Igor Pecovnik
486b41f0d6 U-boot: drop referencing to Denx Git as they have some weird protection that doesn't like our CI
Sources are defined globally, so we don't need to define them here again.
2025-07-20 17:22:51 +02:00
Hsun Lai
2b705a82be add support for DshanPi A1 (RK3576) 2025-07-19 03:38:14 +08:00
Ayush
b14ca1137f config: kernel: linux-k3-beagle-current-rt: Enable M4 remoteporc (#8395)
- PocketBeagle 2 and BeaglePlay requires this driver.
- The M4 core supports ZephyrRTOS and FreeRTOS along with bare-metal.
- Is already enabled in current and edge branch

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-07-18 11:30:07 -05:00
Ayush Singh
78bb6fec02 config: boards: pocketbeagle2: Add current-rt branch
- Using RT kernel is a common thing on pocketbeagle 2. So add current-rt
  branch similar to what is being done for the base k3 family.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-07-18 17:48:43 +02:00
Igor Pecovnik
fecc8ae217 Plymouth: add most recent Armbian logo 2025-07-18 17:44:07 +02:00
igorpecovnik
5efa4a16df tools: Bump SHELLFMT_VERSION from 3.11.0 to 3.12.0 2025-07-18 17:43:52 +02:00
Igor
58cef978c3 Clean build repository readme file, update logo, declutter (#8391) 2025-07-18 17:43:17 +02:00
Hsun Lai
ae6c70aa3e remove unused kernel config 2025-07-18 17:42:53 +02:00
Igor Pecovnik
797898d83f Meson64 Current: adjust broken patch 2025-07-18 17:42:40 +02:00
Ayush
26100134eb Enable M4 remoteporc on K3 BeagleBoards (#8378)
- PocketBeagle 2 and BeaglePlay requires this driver.
- The M4 core supports ZephyrRTOS and FreeRTOS along with bare-metal.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-07-18 09:56:46 -05:00
Werner
1edd0ab513 rpi4b: bump edge to 6.16 (#8390) 2025-07-18 05:43:39 +02:00
Exodus
7df44a4fbc Sunxi64:enable CONFIG_KEYBOARD_*
enable CONFIG_KEYBOARD_SUN4I_LRADC needed by keys overlay for orangepizero2w expansion board
2025-07-16 12:04:14 -04:00
Patrick Yavitz
ca607502c8 Sunxi64: Add INPUT_TOUCHSCREEN and INPUT_MISC
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-16 10:59:56 -04:00
Patrick Yavitz
26640e54a3 Sunxi64: Update CONFIG_CAN_* and CONFIG_CPU_FREQ_*
https://github.com/armbian/build/pull/8368#pullrequestreview-3020920865

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-16 04:11:36 -04:00
dependabot[bot]
8155cc5b0b build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from cf79a64fed8a943fb1073260883d08fe0dfb4e56 to 055970845dd036d7345da7399b7e89f2e10f2b04.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](cf79a64fed...055970845d)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: '055970845dd036d7345da7399b7e89f2e10f2b04'
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-15 04:36:49 +02:00
Patrick Yavitz
d5c863a14b REVERT: BananaPi BPI-M4-Zero: Install upstream wireless-regdb
This should be installed system wide.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-14 11:33:19 -04:00
Patrick Yavitz
a55b776f68 Sunxi64: Update INET_CONFIG
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-14 11:33:19 -04:00
Patrick Yavitz
c69c10c698 Sunxi64: Add DRM and VIDEO modules
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-14 11:33:19 -04:00
Patrick Yavitz
9a99ee8ec7 Sunxi64: Add CONFIG_SUNXI_GMAC support
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-14 11:33:19 -04:00
Patrick Yavitz
ac5dda465f Sunxi64: Remove phantom network usb interface
And tick on a few misc bits

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-14 11:33:19 -04:00
Patrick Yavitz
bc19c134ef BananaPi BPI-M4-Zero: Install upstream wireless-regdb
Prevent dmesg spam: brcmf_set_channel set chanspec xxxxxxx fail

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-14 11:33:19 -04:00
Patrick Yavitz
2a38243de9 Update the linux-sunxi64-*.config(s)
This was required in order to get the wif-pwrseq and bluetooth
functioning correctly on the BPI-M4-Zero. I suspect it will
have no negative results on other units. But of course this
needs to be tested.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-14 11:33:19 -04:00
Patrick Yavitz
957414d95b Sunxi64: Disable Allwinner H616 RTC support patches
These two patches muddle up Bluetooth which depends on RTC
functioning properly.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-14 11:33:19 -04:00
Igor Pecovnik
1b2428e390 Synhronize x86 config with Ubuntu kernel 2025-07-14 11:00:29 +02:00
Igor
94ba2acee3 UEFI arm64: add cloud branch to the board config
While adding cloud branch, we forget to add this to the board config. Everything else exists and images were already tested on netcup VPS instances.
2025-07-14 10:59:37 +02:00
Andrei Aldea
370bedb42d Add option for number of threads used by build system (#8346)
* Add option for number of threads used by build system

Attempt to fix https://github.com/armbian/build/issues/6907

* Add CPUTHREADS to replace USEALLTHREADS

Defaults to 150% as was always the case, otherwise allow user to override number of threads.
2025-07-13 09:33:48 +02:00
Jianfeng Liu
3a9babee14 deploy missing qemu binary when adding repo key 2025-07-11 16:59:45 +02:00
Khusika Dhamar Gusti
84725a77ac orangepi5-ultra: Correct HDMI audio naming
Reference:
ff9e781d2c/external/config/sources/families/rockchip-rk3588.conf (L180-L181)

Signed-off-by: Khusika Dhamar Gusti <khusikadhamar@gmail.com>
2025-07-11 16:59:21 +02:00
Khusika Dhamar Gusti
f095ea486d orangepi5-ultra: Build bcmdhd
Required patches: https://github.com/armbian/bcmdhd-dkms/pull/4

Signed-off-by: Khusika Dhamar Gusti <khusikadhamar@gmail.com>
2025-07-11 16:59:21 +02:00
Khusika Dhamar Gusti
26e7667afd orangepi5-ultra: Support vendor builds
Required patches: https://github.com/armbian/linux-rockchip/pull/370

Signed-off-by: Khusika Dhamar Gusti <khusikadhamar@gmail.com>
2025-07-11 16:59:21 +02:00
c127
15e454b2c5 Initial Support for Orange pi 5 pro board (#8348)
* Add initial support for Orangepi 5 Pro

Tested and Working:
Wireless & Bluetooth
USB 2.0 + USB 3.1
HDMI 2.1
Gigabit Ethernet (PCIe to RJ45 - Need drivers YT6801)
NVMe PCIe 2.0
MicroSD
Audio Controller es8388 - Audio Out
FAN PWM
LEDs PWM

Not Working:
Onboard Microphone
HDMI 2.0 (DP-HDMI - rockchip,rk3588-dp No Driver)

Not Tested:
Camera 1,2
eMMC

* OPi 5 Pro: Ethernet Driver Installation on First Boot

Implemented a simple script to install the driver
during first boot using the installation headers
included in the image. Takes just a few seconds
on first boot.

Disclaimer: Attempted installation in a chroot env but failed.

* fix: Make first-boot Ethernet driver install more robust

The `eth-driver-firstboot.service` would sometimes fail on first boot with a "Resource temporarily unavailable" error. This happened when another process had a lock on `dpkg`.

To fix this, the installation script now waits for any `dpkg` locks to be released before attempting to install the driver package. It also includes a retry mechanism (3 attempts) in case of a transient failure.

This ensures the network driver is successfully installed, providing a better out-of-box experience.
2025-07-11 16:57:29 +02:00
d93921012
fa8604ee1a feat: Add CONFIG_BACKLIGHT_GPIO=m for TinyDRM backlight
This is required for gpio-backlight when using the Tiny DRM driver with
SPI-interface LCD panels
2025-07-11 16:53:28 +02:00
TheSnowfield
b93dd78102 sakurapi-rk3308b: add pcm5102a dt overlay 2025-07-11 17:43:14 +08:00
Ayush Singh
996e934d2e config: boards: pocketbeagle2: Update kernel and u-boot
- Minor kernel bump.
- u-boot contains fixes for SD Card support

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-07-10 20:43:27 +08:00
Ayush Singh
58940b38e2 config: boards: pocketbeagle2: Add current branch
- The edge branch will soon move to 6.16, so adding the current branch
  now.
- The kernel config is just a copy of edge config since both kernels are
  the same right now.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-07-10 20:43:27 +08:00
Rolf Leggewie
9144aaf91b lib / distro-specific.sh: add --batch and --yes switches to gpg call
suggestion from coderabbit and indeed it sounds like a good, robust idea
2025-07-10 20:40:37 +08:00
Rolf Leggewie
9fe445b44d Revert "rootfs: allow APA to handle GPG keys when it is active during the build"
This reverts commit 034e9253cd.
2025-07-10 20:40:37 +08:00
dependabot[bot]
8942b049b7 build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from e8772ff27de71367c2771ef3e8b5b2075b3f8282 to cf79a64fed8a943fb1073260883d08fe0dfb4e56.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](e8772ff27d...cf79a64fed)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: cf79a64fed8a943fb1073260883d08fe0dfb4e56
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-08 06:38:33 +02:00
Rolf Leggewie
e7b21f6d97 lib / main-config.sh: enable APA extension for sid Release builds 2025-07-08 01:42:38 +08:00
brentr
224b35ab28 Restore RockPI-S audio again (#8360)
* set clocks to the old default rate if the codec never calls set_sysclk

After mainline kernel commit 21cfbeae7d7c54a6cdea4b00096150f438f4fbde
rockchip i2s requires that soc codecs call set_sysclk to explicity select a rate.
This patch simply reverts to the old behavior if the codec does call set_sysclk.
(rather that failing in that case with a bogus rate of 0hz)

Also adds rk3308 vendor ASoC support to 6.16 kernel

* Require use of device tree overlay to enable pcm5102a CODEC
2025-07-06 10:50:50 -07:00
veduco
0cc8ccf3c6 Fix odroid-c4 overlays, edge kernel
Add periphs_pinctrl fragment
2025-07-05 16:19:28 +08:00
Patrick Yavitz
bff6d4db5b Meson64: Defconfig: Enable CONFIG_RANDOMIZE_BASE=y
KASLR, or Kernel Address Space Layout Randomization, is a
security mechanism used in operating system kernels to randomize
the memory locations of kernel code and data. This makes it
significantly harder for attackers to exploit memory corruption
vulnerabilities by preventing them from knowing the exact
addresses of kernel components.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-04 20:04:03 -04:00
Ayush Singh
91ce0eee6e boards: pocketbeagle2: Enable USB serial
- Enable USB serial by default.
- Allows serial access without needing extra UART cable.
- Also USB serial is much faster than using the UART debug port.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-07-04 16:22:57 +02:00
Patrick Yavitz
5da43c1644 Meson64: Defconfig; Enable CONFIG_RTL8723DS=m
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-04 04:50:37 -04:00
Patrick Yavitz
5604b431d5 Gateway GZ80x: blacklist meson_nand
It loads the mmc-pwrseq twice and produces pinctrl errors.

[    9.860451] meson-axg-pinctrl ff634000.bus:pinctrl@480: pin BOOT_0 already requested by ffe07000.mmc; cannot claim for ffe07800.nand-controller
[    9.867791] meson-axg-pinctrl ff634000.bus:pinctrl@480: error -EINVAL: pin-11 (ffe07800.nand-controller)
[    9.870272] systemd[1]: Reached target usb-gadget.target - Hardware activated USB gadget.
[    9.877181] meson-axg-pinctrl ff634000.bus:pinctrl@480: error -EINVAL: could not request pin 11 (BOOT_0) from group emmc_nand_d0 on device pinctrl-meson
[    9.898837] meson-nand ffe07800.nand-controller: Error applying setting, reverse things back

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-04 04:50:37 -04:00
Patrick Yavitz
ba8487ed52 Gateway GZ80x: Add bluetooth support
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-04 04:50:37 -04:00
Patrick Yavitz
8fff7110f7 Gateway GZ80x: Add bluetooth firmware
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-04 04:50:37 -04:00
Patrick Yavitz
8a19f9aae1 Gateway GZ80x: Add bluetooth support to $board.conf
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-04 04:50:37 -04:00
veduco
c5d19faec1 Fix odroid-c4 i2c overlays (#8352)
Add periphs_pinctrl fragment
2025-07-04 05:09:41 +00:00
igorpecovnik
d6eaf2d4b0 Automatic board configs status synchronise 2025-07-03 11:24:59 +02:00
Werner
e470ebe2bb rock-5c: Add gpio names to current and edge dts (#8343)
* rock-5c: add gpio names to `current`

* rock-5c: add gpio names to `edge`. fix pin-32 in `current`

* fix patch header

* fix typo  and formatting for `current`

* fix typo, fix indentations, fix formatting for  `edge`
2025-07-03 05:36:26 +02:00
Ryan L
b31358752c Backport upstream kernel fixes for sun4i-drm and drm_atomic_helper_connector_hdmi_check()
Firstly, the upstream patch for sun4i-drm ensures the HDMI output is initialized successfully.
Secondly, patching drm_atomic_helper_connector_hdmi_check() avoids a null pointer dereference at shutdown or reboot
2025-07-02 12:38:14 +02:00
Ryan L
91574fac14 Add HDMI display nodes and enable DE on Pcduino 1, 2 & 3 board DTS files 2025-07-02 12:38:14 +02:00
Patrick Yavitz
e7506684ad BananaPi BPI-M4-Zero: Revert bluetooth changes from last PR
Although my initial testing appeared to be a success, subsequent
testing finds it to fail more often than it works.

Back to square one.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-07-02 06:32:51 -04:00
hyx0329
6e39531b62 rockchip64-6.16: Partial fix of DP alt mode on some rk3399 boards
The old method carried along with board-pbp-add-dp-alt-mode.patch only
makes typec work in one(normal) orientation. This patch introduces a
proper extcon driver and makes the workaround cleaner, so orientation
switch is working.

Improvements:
- type-c DP on rk3399 works with both orientations
- type-c USB 3.0 on rk3399 works with both orientations, with minor
  issues, see below

Caveats:
- Powered USB-C hubs may be not recognized, and can be worked around by
  loading a gadget driver, or manually toggling the mode once for each
  connection.
- Some dual-role devices(phone, tablet) may be not recognized.

Affected boards:
- TinkerBoard 2/2S
- Pinebook Pro
- NanoPC T4
- Orange Pi 4
- Orange Pi 4 LTS

Tested on tinkerboard 2s. This patch contains other minor fixes for
tinker2's device tree, including adding a missing fan node, adding color
labels to leds.

The 2 patches adding dp support for nanopc t4 and pinebook pro are also
updated accordingly.

The device trees of Orange Pi 4 / 4 LTS are also updated to match the
new implementation.
2025-07-02 12:12:05 +02:00
dependabot[bot]
544952fb4c build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 666c9d29007687c52e3c7aa2aac6c0ffcadeadc3 to e8772ff27de71367c2771ef3e8b5b2075b3f8282.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](666c9d2900...e8772ff27d)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: e8772ff27de71367c2771ef3e8b5b2075b3f8282
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 09:07:03 +02:00
Mecid Urganci
9f05f1fb72 Rock-5B-Plus: Align Edge 6.16 with upstream 2025-06-30 08:51:47 +02:00
Patrick Yavitz
23de1dac1d Fixup commit: c57969f8cd
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-06-30 08:51:20 +02:00
Patrick Yavitz
6e85c0a9c1 Family: sun50iw9-bpi: Update ATF to lts-v2.12.1
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-06-30 08:51:20 +02:00
Patrick Yavitz
f349c76904 BananaPi BPI-M4-Zero: Update u-boot to v2025.01
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-06-30 08:51:20 +02:00
Patrick Yavitz
8677a9af21 BananaPi BPI-M4-Zero: Add fixed-clock bluetooth fixup
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-06-30 08:51:20 +02:00
Igor Pecovnik
4db95c6122 Allwinner kernel: bump current to 6.12.35 and edge to 6.15.4 2025-06-30 08:45:56 +02:00
Igor Pecovnik
d502356d02 Allwinner 64b: reenable xradio wireless driver 2025-06-29 19:07:44 +02:00
Igor Pecovnik
b8844c9e73 Inovato quadra bootfix, bump uboot for zero3, 2w, add 1.5Gb support, bump atf 2025-06-29 15:19:42 +02:00
Patrick Yavitz
6c55647e90 SpacemiT: Update linux-6.6.93 to 95
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-06-28 14:35:03 -04:00
amazingfate
ff941a6e2d remove wifi patches for kernel v6.16 merged upstream 2025-06-28 15:20:16 +02:00
Suhaas Joshi
a4010867fa ti: family: k3: Change U-boot repository link
Change U-Boot repository link from git.ti.com to Github. In the past,
there have been CI issues caused due to git.ti.com failing.

Signed-off-by: Suhaas Joshi <s-joshi@ti.com>
2025-06-26 17:04:11 +08:00
Andrei Aldea
48e0eeb50b extensions: Add TI's repo and install specified packages in k3-*
Texas Instruments maintains a custom apt repository [0] that contains:
    * tools like k3conf, which run on K3 devices
    * TI's versions of upstream packages (such as mesa)
    * out-of-tree drivers and firmware for graphics, wifi etc

Therefore, add TI's custom repository as the highest priority repository
in the filesystem. Doing this ensures that if apt finds a version of a
package that exists in both upstream Debian and the TI repository, it
picks the latter.

Additionally, introduce K3_PACKAGES variable to store a list of packages
that should be installed by-default in a K3 image. Initialize it to hold
TI's CC33xx packages.

Also set EXTRAWIFI to "no" in `current` image.

[0] https://github.com/TexasInstruments/ti-debpkgs

Co-authored-by: Suhaas Joshi <s-joshi@ti.com>
Signed-off-by: Suhaas Joshi <s-joshi@ti.com>
2025-06-26 17:04:11 +08:00
Werner
dbe1b2bf4f rockchip64: rewrite patches 2025-06-25 22:25:04 +02:00
Igor Pecovnik
b27c86e620 Armbian repository signining: add new key
pub   rsa4096 2025-06-22 [SC] [expires: 2035-06-20]
      8CFA 83D1 3EB2 181E EF58  43E4 1EB3 0FAF 2360 99FE
uid           [ultimate] Armbian Repository Signing Key (Repository Key) <info@armbian.com>
sub   rsa4096 2025-06-22 [E] [expires: 2035-06-20]
2025-06-25 07:50:18 +02:00
Werner
fa9302f162 rockchip64: bump edge to 6.16-rc3 (#8328)
* Fix wifi drivers on kernel v6.16

These patches can get deleted after merged upstream.

* initial commit

* fix header

* remove ssv6051 driver

---------

Co-authored-by: amazingfate <liujianfeng1994@gmail.com>
2025-06-24 15:25:34 +00:00
dependabot[bot]
530fbc86e8 build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from d52d20fa3f981cb852b861fd8f55308b5fe29637 to 666c9d29007687c52e3c7aa2aac6c0ffcadeadc3.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](d52d20fa3f...666c9d2900)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: 666c9d29007687c52e3c7aa2aac6c0ffcadeadc3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 22:04:09 +02:00
Rolf Leggewie
034e9253cd rootfs: allow APA to handle GPG keys when it is active during the build
this is a small first step to mainlining APA into core and let it handle
some packaging and distribution logic
2025-06-23 20:36:23 +02:00
Rolf Leggewie
affc5ef302 extensions: export APA_IS_ACTIVE marker for the current build 2025-06-23 20:36:23 +02:00
Igor Pecovnik
7f9e02b0a2 Nanopi R6/R5: set wan interface to wan1 as otherwise netplan rules won't catch it
https://github.com/armbian/build/blob/main/extensions/network/config-networkd/netplan/10-dhcp-all-interfaces.yaml#L25
2025-06-23 20:35:53 +02:00
Igor Pecovnik
3473794977 Armbian-install: disable Docker when installing images
enable back on exit
2025-06-23 20:34:18 +02:00
Paolo Sabatino
998e540fad further cleanup and fixes for rock-s0 board dts
* enable internal antenna by default
 * remove unnecessary nodes from device tree
2025-06-23 20:29:48 +02:00
Paolo Sabatino
d7dd448ab7 remove unnecessary rk3308 patches
* suggestion from @kwiboo, see discussion in PR 7815
2025-06-23 20:29:48 +02:00
Paolo Sabatino
68284de329 consolidation for rock-s0 board patches
* remove the patches that are shredding upstream device tree
 * consolidation into single patch that apply over upstream dt
 * add pcm5102a device tree overlay for handy usage
2025-06-23 20:29:48 +02:00
Suhaas Joshi
a1ab66c690 ti: config: kernel: Add current RT config file
TI SDK supports images with real-time kernel. Add support for building
such images for the `current` release by adding a config file for it.

The RT image is built with the `current-rt` branch.

Signed-off-by: Suhaas Joshi <s-joshi@ti.com>
2025-06-23 20:27:25 +02:00
dependabot[bot]
09941a398f build(deps): bump dtschema from 2025.2 to 2025.6.1
Bumps [dtschema](https://github.com/devicetree-org/dt-schema) from 2025.2 to 2025.6.1.
- [Release notes](https://github.com/devicetree-org/dt-schema/releases)
- [Commits](https://github.com/devicetree-org/dt-schema/compare/v2025.02...v2025.06.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 20:25:35 +02:00
Paolo Sabatino
6f120bf7fc update tm16xx driver for rockchip64 edge kernel 2025-06-23 20:25:09 +02:00
Ayush Singh
d18ab3c87b config: kernel: linux-k3-beagle-edge: Enable usb eth
- Allows for network share when usb serial is not required.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-06-23 20:24:35 +02:00
Ayush Singh
9d172bf5fa config: kernel: linux-k3-beagle-edge: Enable USB CDC Composite
- BeagleBoard.org boards normally ship with USB cdc enabled to allow
  network sharing and ssh support over usb.
- This is specially important for boards like pocketbeagle2 since it
  does not have built-in wifi.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-06-23 20:24:35 +02:00
Igor
028cdb9c39 Repository signing: add support for dual signing (#8320)
* Repository signing: add support for dual signing
2025-06-23 17:25:48 +02:00
retro98boy
c9835d6aa3 fine3399: move dts from patch file to dedicated dt directory 2025-06-22 23:27:32 +02:00
retro98boy
d3bf2462bc SMART AM40: drop deprecated label property in gpio leds node 2025-06-22 23:27:32 +02:00
retro98boy
7a6e8068ff CAINIAO CNIoT-CORE: fix memory address range 2025-06-22 23:27:32 +02:00
Rolf Leggewie
1faf63924b motd: fix alignments on login screen. Closes: #7984 2025-06-22 23:26:30 +02:00
Igor Pecovnik
3844ef919f Main: adjust broken patches on Meson and Rockchip64 2025-06-21 19:37:37 +02:00
retro98boy
fc8fef06b2 CAINIAO CNIoT-CORE: use ALSA UCM instead of asound.state 2025-06-19 15:05:33 +02:00
retro98boy
99d23b8190 CAINIAO CNIoT-CORE: change sound card name and update DAI links 2025-06-19 15:05:33 +02:00
CaWeissWz
923dc8d7e8 Update linux-bcm2711-legacy.config
Added missing I2C designware slave functionality
2025-06-19 09:52:10 +02:00
CaWeissWz
8062795c00 Update linux-bcm2711-edge.config
Added missing I2C designware slave functionality.
2025-06-19 09:52:10 +02:00
CaWeissWz
057681b37d Update linux-bcm2711-current.config
Remove leading "+" sign on config variable, as this seems to be a typo
2025-06-19 09:52:10 +02:00
Werner
4d953d0b83 Update config/kernel/linux-bcm2711-current.config
reasonable

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-06-19 09:52:10 +02:00
CwWeissWz
6eb849b60e Build Synopsis DesignWare I2C adapter as module in all rpi kernel configurations. 2025-06-19 09:52:10 +02:00
dependabot[bot]
a1168c2635 build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 4140eb99d2cced9bfd78375c2088371853262f79 to d52d20fa3f981cb852b861fd8f55308b5fe29637.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](4140eb99d2...d52d20fa3f)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: d52d20fa3f981cb852b861fd8f55308b5fe29637
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-19 09:32:03 +02:00
Patrick Yavitz
989f25533a BananaPi BPI-CM4: Waveshare CM4-IO-BASE-B: Fixups
This is cosmetic. Cleaning up my mess if you will.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-06-16 06:22:20 +02:00
igorpecovnik
ae9c66bc0d Automatic board configs status synchronise 2025-06-16 06:19:11 +02:00
Werner
a4551ec75d orangepi5-ultra: adjust description (#8304) 2025-06-16 05:40:12 +02:00
Patrick Yavitz
ce02695915 Rockchip64: Defconfig: CONFIG_RTC_DRV_HYM8563=m
Change from "y" to "m"

Before
[    2.423992] rtc-hym8563 1-0051: no valid clock/calendar values available
[    2.424718] rtc-hym8563 1-0051: registered as rtc0
[    2.425770] rtc-hym8563 1-0051: no valid clock/calendar values available
[    2.425789] rtc-hym8563 1-0051: hctosys: unable to read the hardware clock
[    3.817166] rk808-rtc rk808-rtc.5.auto: registered as rtc1

After
[    3.790107] rk808-rtc rk808-rtc.5.auto: registered as rtc0
[    3.801742] rk808-rtc rk808-rtc.5.auto: setting system clock to 2017-08-05T09:48:13 UTC (1501926493)
[    3.919628] rtc-hym8563 1-0051: registered as rtc1

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-06-15 14:11:00 -04:00
Patrick Yavitz
4f69047bcd Add board NanoPi R3S LTS U-Boot Support
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-06-15 14:11:00 -04:00
Patrick Yavitz
5921322e6a Add board NanoPi R3S LTS
The LTS variant has an HDMI port.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-06-15 14:11:00 -04:00
Werner
e9b20c3ed5 AE for cloud, add description for vendor (#8299)
* AE for cloud, add description for vendor

* fixes
2025-06-15 04:40:07 +00:00
igorpecovnik
b39b03b5a5 Automatic board configs status synchronise 2025-06-14 19:32:01 +02:00
Your Name
d5fb671349 rpi4b: bump edge to 6.15.y 2025-06-14 16:32:05 +02:00
Ayush
bc6e97caa9 config: kernel: linux-k3-beagle-edge: PocketBeagle 2 config improvements and move to supported (#8295)
Enables kernel options that are important for making armbian viable for use on PocketBeagle 2.

Can now run all examples present in the beagle examples repo: https://github.com/beagleboard/vsx-examples

Signed-off-by: Ayush Singh <ayush@beagleboard.org> Andrei Aldea <andrei@beagleboard.org>
2025-06-13 10:29:34 -05:00
Werner
15407330c6 Preparation for http proxy caching (#8281)
* always use http for apt repos

* pass possible proxy arguments to docker

* populate lower-case env variables with upper-case ones if not set otherwise
2025-06-13 10:31:24 +02:00
igorpecovnik
0e388bb514 Automatic board configs status synchronise 2025-06-13 00:30:38 +02:00
Jack Huang
214e3ec224 remove imb3588 dts patch
imb3588 dts has been added to linux-rockchip repo

Signed-off-by: Jack Huang <jackhuang021@gmail.com>
2025-06-12 21:45:46 +02:00
Jack Huang
998542060f fix imb3588 board hardware description format
Signed-off-by: Jack Huang <jackhuang021@gmail.com>
2025-06-12 21:45:46 +02:00
Jack Huang
a4f8def161 config: boards/imb3588: add maintainer email
Signed-off-by: Jack Huang <jackhuang021@gmail.com>
2025-06-12 21:45:46 +02:00
Jack Huang
609110ac10 add imb3588 board support
imb3588 board info link:
https://www.sunshine-tek.com/productinfo/1989232.html

Signed-off-by: Jack Huang <jackhuang021@gmail.com>
2025-06-12 21:45:46 +02:00
Ryzer58
0aed5abe02 Sunxi overlays - fix dts peripheral aliases (#8290)
* correct system patch used for aliasing on Allwinner A10, A13 and A20 to ensure consistent allocation of device IDs

* Re-introduce spi overlays for each bus so that when used in conjuction with a device driver overlay, the pins are correctly muxed into SPI mode

* Ensure SPI overlay patches are applied

* Fix typo in patch name

* Move alias patches further down series.conf to ensure they are only called after the intial overlay creation

* Rephrase subject heading to improve clarity

* Fix interface aliases on Allwinner A10 for I2C, SPI and UART

* Fix interface aliases on Allwinner A13 for I2C and UART

* Fix interface aliases on Allwinner A20 for I2C, SPI and UART

* Fix SPI 2 pin names in line with latest revision of the Allwinner A10 device tree

* Fix SPI 2 pin names in line with latest revision of the Allwinner A20 device tree

* Create overlays for each bus on the Allwinner A20 so that the corresponding pins can be set into spi mode

* Create overlays for each bus on the Allwinner A10 so that the corresponding pins can be set into spi mode

* Condense alias path corrections into the intial overlay creation patch instead of applying a further patch on topof it to enact these corrections

* Remove references to our no longer needed addtional overlays

* rename to include 'arm-dts..' for consistency with other dts related patches

* Fix mistake in SPI overlay patches naming which leads to build failure

* Fix typo in application of spi2 overlay that was leading to compilation failure

* Amend the assigned aliases in overlay creation so that the kernel correctly maps the bus/port number to match the physical hardware numbering

* Update pin labels for SPI 2 to use current names as defined in sun4i-a10.dtsi and sun7i-a20.dtsi. fixed typo in sun5i-a13-spi-spidev as compatibility field should be sun5i-a13

* Re-introduce compilation of spi bus overlays on Allwinner A10 and A20 SOCs which are necessary to ensure that the pins are correctly muxed into spi mode
2025-06-11 23:54:06 +02:00
igorpecovnik
c9bbbbb0c6 Automatic board configs status synchronise 2025-06-11 20:19:45 +02:00
The-going
3188743b1a sunxi-6.15: Fix compilation errors caused by patch migration
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2025-06-11 19:40:28 +02:00
The-going
65af1b843b sunxi-6.15: Switching EDGE to v6.15 2025-06-11 19:40:28 +02:00
The-going
6a60311cb1 sunxi-6.15: Add armbian patches 2025-06-11 19:40:28 +02:00
The-going
f2f71b9588 sunxi-6.15: Add drm, media patches 2025-06-11 19:40:28 +02:00
The-going
d08fea5232 sunxi-6.15: remove unused megous patches 2025-06-11 19:40:28 +02:00
The-going
32aeb71980 sunxi-6.15: Add megous patches 2025-06-11 19:40:28 +02:00
Martin Schmiedel
8cfd540d0d MBa8MPxL-RAS314: fix sd-card regulator error
fixes a problem which unpredictable switch of the sd-card voltage

Signed-off-by: Martin Schmiedel <martin.schmiedel@tq-group.com>
2025-06-11 19:30:11 +02:00
Martin Schmiedel
b743487194 IMX8: update uboot to v2024.04
- add patch to reanable binman

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2025-06-11 19:30:11 +02:00
Martin Schmiedel
ddfe4f4106 IMX8: fix build error
- fixes: unrecognized option '-Wl,--no-warn-rwx-segment'
- add a patch to atf that removes the unrecognized linker options

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2025-06-11 19:30:11 +02:00
Igor Pecovnik
18ddabe25f Revert "build(deps): bump oras from 0.2.33 to 0.2.34"
This reverts commit f29414a0ea.
2025-06-10 10:44:22 +02:00
igorpecovnik
7968bd4a43 Automatic board configs status synchronise 2025-06-10 06:44:51 +02:00
djurny
0a001ec1d1 Update boot-mvebu.cmd after review
Remove the 10 sec delay in case "critical error" raised.
2025-06-09 21:18:08 +02:00
djurny
13536bf932 Update boot-mvebu.cmd after review
Follow conventional `if-then-else-fi` constructions by not having `else` followed by semicolon. Hush is accepting, but other commonly used shells do not accept this.
2025-06-09 21:18:08 +02:00
Tom Urlings
abe8102669 mvebu: bootscript load address calculation a.o. 2025-06-09 21:18:08 +02:00
Andy Yan
93a09536aa coolpi-genbook: Add Support for vendor branch
Signed-off-by: Andy Yan <andyshrk@163.com>
2025-06-09 21:17:34 +02:00
igorpecovnik
a7785c8ab7 Automatic board configs status synchronise 2025-06-09 21:17:15 +02:00
dependabot[bot]
f29414a0ea build(deps): bump oras from 0.2.33 to 0.2.34
Bumps [oras](https://github.com/oras-project/oras-py) from 0.2.33 to 0.2.34.
- [Release notes](https://github.com/oras-project/oras-py/releases)
- [Changelog](https://github.com/oras-project/oras-py/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oras-project/oras-py/compare/0.2.33...0.2.34)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-09 21:17:04 +02:00
dependabot[bot]
06b32ab619 build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 115870536a85eaf050e369291c7895748ff12aea to 4140eb99d2cced9bfd78375c2088371853262f79.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](115870536a...4140eb99d2)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: 4140eb99d2cced9bfd78375c2088371853262f79
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-09 21:16:39 +02:00
Ayush Singh
2151ca5d7f boards: pocketbeagle2: Rename config
Since the image is now fixed, enable pocketbeagle2 support

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-06-09 17:58:26 +02:00
Ayush Singh
4a4e0e262b boards: pocketbeagle2: Fix boot failure
- UUID boot does not seem to work on PocketBeagle 2.
- So specify the block device path instead.
- Also without rootwait, the boot will fail.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-06-09 17:58:26 +02:00
Ayush Singh
c0ac2574ac boards: pocketbeagle2: Update kernel and u-boot
- Contains fixes for the boot failure issue due to a broken driver.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-06-09 17:58:26 +02:00
Ayush Singh
189c0ad2ec boards: pocketbeagle2: Fix build
Build fails without OPTEE_PLATFORM defined

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-06-09 17:58:26 +02:00
retro98boy
c66fbec4e2 CAINIAO CNIoT-CORE: switch USB 2.0 access from the Type-C port to the four contacts on the side of the host 2025-06-09 17:34:50 +02:00
retro98boy
22b0414b91 CAINIAO CNIoT-CORE: add internal speaker support 2025-06-09 17:34:50 +02:00
retro98boy
f1354108fb CAINIAO CNIoT-CORE: add spidev to control WS2812 LEDs in user space 2025-06-09 17:34:50 +02:00
retro98boy
fb8f189130 add CAINIAO CNIoT-CORE initial support 2025-06-09 17:34:50 +02:00
retro98boy
66cc1f04d4 pinctrl: meson-g12a: add more pwm_d options 2025-06-09 17:34:50 +02:00
Igor Pecovnik
aa5526a918 Signing key: keep a link to previous location
armbian-config still uses old location and as we don't control keys via package, we need to apply this workaround for newly created images
2025-06-09 09:33:46 +02:00
Ayush Singh
c0da65087a compilation: armbian-kernel: Do not make built-in drivers modules
The current script can overwrite drivers which are set as built-in in
the board-specific config. This is not desirable.

Add a check to ensure we do not convert built-in stuff into modules.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-06-08 18:08:33 +02:00
Igor Pecovnik
54dbbe2785 Trixie: drop non-existing packages 2025-06-08 18:05:07 +02:00
Julian Sikorski
7282020937 Update odroidxu4-current to 6.6.93 2025-06-08 18:04:39 +02:00
The-going
b571ceb46f sunxi: xradio: Switching from del_timer_sync to timer_delete_sync
This was introduced in 6.2 but was removed from the kernel code
in 6.15.
We are currently building cores for sunxi starting from 6.6.
Therefore, a simple replacement without conditions.
2025-06-08 18:04:25 +02:00
The-going
8762476502 patch: misc: uwe5622: fix timer api changes for 6.15 (only sunxi) 2025-06-08 18:04:25 +02:00
The-going
699816ddf2 config-prepare: Initialize an empty KERNEL_DRIVERS_SKIP array unless it exists
If the array exists in this location, initializing an empty array
will destroy all the data that was stored in it.
Do not initialize an empty KERNEL_DRIVERS_SKIP array if it exists.

This allows us to create an array anywhere in the script,
including the user configuration, in a secure way.
2025-06-08 18:04:25 +02:00
Patrick Yavitz
c2d1479fa6 SpacemiT: current: Update to linux-6.6.93
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-06-06 13:29:50 -04:00
hyx0329
28ae76b468 tinkerboard-2: u-boot: bump to v2025.04
This is tested on a tinkerboard 2s.

The u-boot dts for tb2 contains other fixes, and the major ones are:
- add missing basic gpio-fan node
- usb-c altmode fix, dts part
2025-06-04 20:34:12 +02:00
igorpecovnik
e03b1b543c Automatic board configs status synchronise 2025-06-03 09:58:38 +02:00
Ricardo Pardini
c8baf1c888 runners.sh: introduce chroot_sdcard_custom_with_apt_logic() for reuse
- we've too much logic in `chroot_sdcard_apt_get()` we need to re-use
  for eg debfoster or any extensions that need to manipulate the apt
  cache (which is handled via mounts in that function)
- `chroot_sdcard_apt_get()` now accepts a `chroot_command` env var,
  defaulting to `apt-get`
- `chroot_sdcard_custom_with_apt_logic()` splits the params and calls
  `chroot_command=... chroot_sdcard_apt_get ...` allowing for custom
  calls
2025-06-03 09:57:19 +02:00
djurny
0f4303651f Rework after review prepare-host.sh
Use all parameters to display_alert()
```
[🐳|🌱] Running in container [ Adding provisions for container building ]
[🐳|🌱] Adding package to 'host_dependencies' [ python3-setuptools ]
[🐳|🌱] Python2 not available on host release 'noble' [ ancient u-boot versions might/will fail to build ]
```
2025-06-03 09:56:09 +02:00
Tom Urlings
826309f7bc rockchip64/rk3328: U-Boot v2022.04/07 add setexpr
- aimed at nanopi-r2s and nanopineo3
- impacts:
  - boards (re)using 'nanopi-r2s-rk3328_defconfig' (rk3328)
  and:
  - boards using U-Boot v2022.04 or
  - boards using U-Boot v2022.07
- added explicit dependency on python3-setuptools as (at least) U-Boot
  v2022.04 and v2022.07 fail building due to missing 'distutils' for
  boards that use U-Boot v2022.04 or v2022.07
2025-06-03 09:56:09 +02:00
Paolo Sabatino
cc4cb72d40 bump rockchip 32 bit edge kernel to 6.15 2025-06-03 09:53:37 +02:00
Tom Urlings
cdf71df4b8 fix/netplan-dhcp-all-lan-wan-interfaces
- apply dhcp to all interfaces that are renamed to either
  'lanX' or 'wanX' by udev.
- applies to a.o. nanopi-r1, nanopi-r2s.
2025-06-03 09:49:13 +02:00
dependabot[bot]
08c19c021f build(deps): bump setuptools from 80.8.0 to 80.9.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 80.8.0 to 80.9.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/v80.8.0...v80.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-03 09:48:33 +02:00
dependabot[bot]
acc79288f4 build(deps): bump oras from 0.2.31 to 0.2.33
Bumps [oras](https://github.com/oras-project/oras-py) from 0.2.31 to 0.2.33.
- [Release notes](https://github.com/oras-project/oras-py/releases)
- [Changelog](https://github.com/oras-project/oras-py/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oras-project/oras-py/compare/0.2.31...0.2.33)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-03 09:48:24 +02:00
dependabot[bot]
217149cb01 build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/v2.4.1...v2.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-03 09:48:12 +02:00
dependabot[bot]
dcc9d91b94 build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from c6634ca281a9fc05b03bee224ba00910cb78ab6e to 115870536a85eaf050e369291c7895748ff12aea.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](c6634ca281...115870536a)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: 115870536a85eaf050e369291c7895748ff12aea
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-03 09:48:01 +02:00
Ricardo Pardini
f149a11b4b nanopct6(-lts): switch to mainline A-TF; use mainline u-boot also for 'current' branch
- keep vendor u-boot for vendor branch (with rk's BL31)
2025-05-31 11:05:32 +02:00
Igor Pecovnik
166b786fc9 Drop broken patch 2025-05-30 21:18:18 +02:00
Igor Pecovnik
b84e431565 PocketBeagle2: temporally disabling build target 2025-05-30 19:46:43 +02:00
Igor Pecovnik
a55e510628 Rockchip64 current: fixing broken patch 2025-05-30 19:38:09 +02:00
Rolf Leggewie
81d65b09b9 lib distro-specific.sh: move armbian GPG to more common location 2025-05-30 04:06:39 +08:00
Werner
6a825a4446 switch kernel source to mainline (#8252) 2025-05-29 18:30:50 +00:00
Andrei Aldea
85e5e238eb Add Example for custom Kernel Descriptions 2025-05-29 19:30:15 +02:00
Andrei Aldea
557457e4cc Revert Changes to library-functions
Was auto-regenerated
2025-05-29 19:30:15 +02:00
Andrei Aldea
d824a53b58 Add Kernel Version Parsing and Custom Description
Adds ability to set custom descriptions for kernel inside family config and parses for kernel version.
2025-05-29 19:30:15 +02:00
igorpecovnik
4150cd4ac8 Automatic board configs status synchronise 2025-05-29 19:08:37 +02:00
Ricardo Pardini
fcfdfeba06 khadas-vim3: u-boot: bump to v2025.04 final 2025-05-29 18:51:04 +02:00
Igor Pecovnik
b2fd69b34d Enable HiDPI support only if the framebuffer size is detectable 2025-05-29 18:50:43 +02:00
Ricardo Pardini
a268b2dd69 rockchip64-6.15: edge: CONFIG_NETKIT=y
- because, well, Cilium: https://isovalent.com/blog/post/cilium-netkit-a-new-container-networking-paradigm-for-the-ai-era/
  - nb: nas nothing to do with "ai"
2025-05-29 18:50:10 +02:00
Ricardo Pardini
39fef63e73 kernel-debs: if make clean fails (logs to bitbucket), do it again, but show the logs 2025-05-29 18:32:47 +02:00
Ricardo Pardini
d4945ec071 artifacts-obtain: pack_artifact_to_local_cache: force a fsync() before packing 2025-05-29 18:31:50 +02:00
Ricardo Pardini
26e253b4ad mixtible-blade3: u-boot: back to radxa's v2024.03, as .10 breaks GMAC stable MAC patch
- similar to e9708b8c33, but for the Blade3
- this reverts d048673c00 just for the Blade3
- there is little to be gained from .10 anyway on those machines (IMHO)
- it is still vendor 2017.09 after all, dunno why Radxa calls them "2024.x"
2025-05-29 18:30:51 +02:00
Ricardo Pardini
faac26177a odroidhc4: u-boot: 2025.04; use hc4 defconfig for sd as well as mtd 2025-05-29 18:29:11 +02:00
Ricardo Pardini
fb1ac8cb1d nanopct6(-lts): u-boot: bump to v2025.04 final 2025-05-29 18:27:15 +02:00
Ricardo Pardini
9a971ded79 grub: if serialcon is not a tty0 or tty1, include a console=tty0 as first console
- that way one can still get last-resort non-serial console if the serial fails
2025-05-29 18:07:54 +02:00
Ricardo Pardini
03c47689cb docker: 50%+ faster during "enabling all extensions looking for Docker dependencies"
- 7s+ -> 3s
- by using `enable_extensions_with_hostdeps_builtin_and_user "add_host_dependencies" "host_dependencies_known"` instead of `enable_all_extensions_builtin_and_user`
2025-05-29 17:58:28 +02:00
Ricardo Pardini
10570df804 extensions: introduce enable_extensions_with_hostdeps_builtin_and_user()
- this is an alternative to `enable_all_extensions_builtin_and_user()`
- this one greps the files for the hooks we're interested in
2025-05-29 17:58:28 +02:00
Ricardo Pardini
fa0d9ab820 rootfs-to-image: do not use --sparse, it's _very slow_ on certain IO/FS combos
- Revert "rootfs-to-image: preserve sparse files when moving artefacts to final destination with rsync"

This reverts commit 4fd0e0c29d.
2025-05-29 17:55:27 +02:00
Ricardo Pardini
793d0eea41 quartz64a: bump u-boot to v2025.04 final and make it fancy
- UMS mode (use the black USB port)
- Boot order: SD -> NVMe -> SATA -> USB -> eMMC
- Flash LEDs in preboot
- Networking stuff
- Lots of FS's and compression methods
2025-05-29 17:52:53 +02:00
The-going
99afe10bed wifi-rtl8821cu: initial settings where Wi-Fi and bluetooth will both work 2025-05-29 17:50:10 +02:00
The-going
abe1fb8b7e sunxi-6.12: bananapi-m4-berry: delete unused nodes 2025-05-29 17:50:10 +02:00
The-going
ec28db9f0f sunxi-6.12: sun50i-h616: Add the missing digital audio nodes 2025-05-29 17:50:10 +02:00
The-going
0fbc9e4c6b sunxi-6.12: re-extracting armbian patches 2025-05-29 17:50:10 +02:00
The-going
fa6e4bb2d8 sunxi=6.12: re-extracting megous patches 2025-05-29 17:50:10 +02:00
The-going
c25d079a93 sunxi-6.12: Switching to v6.12.30 2025-05-29 17:50:10 +02:00
djurny
f4f14832f5 helios4: fix helios4-wol.service (wake-on-lan) (#8235)
* helios4: fix wake-on-lan (wol)

- added ethtool package
- enable wol on all ethernet interfaces
- support common systemd.net-naming-schemes (ethX/endX/enoX)

* Update helios4-wol.service

Removed test code.

* Update helios4-wol.service

Fix bug after retesting.
2025-05-29 17:46:08 +02:00
Ricardo Pardini
c70ab6079c thinkpad-x13s: bump to jhovold's wip/sc8280xp-6.15 (final) 2025-05-29 09:33:29 +02:00
Ricardo Pardini
560e299512 meson64-6.15: rewrite/rebase patches against 6.15 (final) 2025-05-29 09:33:29 +02:00
Ricardo Pardini
bf2f058d60 mainline-kernel: bump 6.15 to released 2025-05-29 09:33:29 +02:00
Ricardo Pardini
21a9d0c3c8 rockchip64-6.15: add HDMIRX DT patch for NanoPC T6(-LTS) 2025-05-29 09:33:29 +02:00
Ricardo Pardini
6e67114ced rockchip64-6.15(edge): .config: enable VIDEO_SYNOPSYS_HDMIRX_LOAD_DEFAULT_EDID
From the Kconfig:

```
Preload default EDID (Extended Display Identification Data)
branded by Linux Foundation that exposes display modes up
to 4k@30Hz, which have best compatibility with HDMI transmitters.
Enabling this option is recommended for a non-production use-cases.
It will make driver usable out-of-the-box.
For a higher display modes you will need to load customized EDID
from userspace using v4l2-ctl tool or by other means.
Without enabling this option driver will be practically
non-functional until EDID will be loaded from userspace.
Which is a wanted behavior when using this driver in a
commercial product that should utilize own branded EDID.
```
2025-05-29 09:33:29 +02:00
Ricardo Pardini
151d4fcbc9 rockchip64-6.15: add mainline (6.15+) HDMIRX DT patch for CM3588
- rockchip64-6.15: drop pre-mainline HDMIRX DT patch for CM3588
2025-05-29 09:33:29 +02:00
Ricardo Pardini
70eb10e1f5 rockchip64-6.15: fix ssv6051 driver for 6.15
- just hackfixes ref e4c416533f
2025-05-29 09:33:29 +02:00
Ricardo Pardini
2a5e2073ee rockchip64-6.15: rewrite patches against 6.15-rc7 2025-05-29 09:33:29 +02:00
Ricardo Pardini
b8dc3cf4a5 rockchip64-6.15: HACK: drop patches that don't build with 6.15 (predatory, build round) 2025-05-29 09:33:29 +02:00
Ricardo Pardini
a8587217fc rockchip64-6.15: HACK: drop patches that don't apply to 6.15 (predatory, 2nd round) 2025-05-29 09:33:29 +02:00
Ricardo Pardini
50b3a594ed rockchip64-6.15: HACK: drop patches that don't apply to 6.15 (predatory) 2025-05-29 09:33:29 +02:00
Ricardo Pardini
8c9de18898 rockchip64: bump to 6.15 via rename 2025-05-29 09:33:29 +02:00
Ricardo Pardini
c2b9d6edb4 rockchip64: bump edge to 6.15 2025-05-29 09:33:29 +02:00
Ricardo Pardini
53e72aae25 drivers_network: fix uwe5622 for kernel 6.15
- just a ton of hackfixes ref e4c416533f
2025-05-29 09:33:29 +02:00
Ricardo Pardini
0fbaf8dcd3 mainline-kernel.conf.sh: bump 6.15 rc6 -> rc7 2025-05-29 09:33:29 +02:00
Ricardo Pardini
76e3e203a9 drivers_network: driver_rtl8723DS: use armbian/rtl8723ds instead of domin144's fork
- there's a fork under Armbian org now for this driver
2025-05-29 09:33:29 +02:00
Dominik Wójt
96b9fad8c3 drivers_network: fix some wlan drivers compilation 6.15 kernel 2025-05-29 09:33:29 +02:00
Ricardo Pardini
cb3094f9ee thinkpad-x13s: bump to jhovold's wip/sc8280xp-6.15-rc6 2025-05-29 09:33:29 +02:00
Ricardo Pardini
dfa51aecfc mainline-kernel.conf.sh: bump 6.15 rc1 -> rc6
- time flies.
2025-05-29 09:33:29 +02:00
Ricardo Pardini
858bb113e6 meson64-6.15: rewrite/rebase patches against 6.15-rc1 2025-05-29 09:33:29 +02:00
Patrick Yavitz
3a4f484714 meson64-6.15: update hwmon-emc2305-fixups-for-driver.patch for 6.15
Co-authored-by: Ricardo Pardini <ricardo@pardini.net> (rewrite/rebase)
2025-05-29 09:33:29 +02:00
Ricardo Pardini
ef8fcc0dc6 meson64: bump to 6.15 via rename 2025-05-29 09:33:29 +02:00
Ricardo Pardini
061e71d26a meson64: bump edge to 6.15 2025-05-29 09:33:29 +02:00
Ricardo Pardini
18f6660230 uefi-arm64-6.15: rewrite/rebase patches against 6.15-rc1 2025-05-29 09:33:29 +02:00
Ricardo Pardini
36033f660e uefi-arm64: bump to 6.15 via rename 2025-05-29 09:33:29 +02:00
Ricardo Pardini
7bd6c1c66c uefi(all): bump edge to 6.15 2025-05-29 09:33:29 +02:00
igorpecovnik
e77eabcf23 Automatic board configs status synchronise 2025-05-27 16:40:41 +02:00
Igor Pecovnik
0cfdb8c7e4 Allwinner: Replace bc with awk for floating-point comparison in temperature check 2025-05-27 15:55:14 +02:00
EvilOlaf
8ca6cac1ef add _extensions_ folder to _userpatches_ in folder structure 2025-05-27 15:54:41 +02:00
retro98boy
fb82052e99 smart am40: add missing RTC DT node and bump U-Boot version to v2025.04 2025-05-27 15:49:23 +02:00
Patrick Yavitz
6acb600061 Gateway GZ80x: Switch back to u-boot-v2024.10
On v2025.01 and v2025.04 I get the following error

starting USB...
Bus usb@ff500000: dwc3_meson_gxl_get_phys: usb2 ports: 1
probe failed, error -114
No USB controllers found

So revert back to v2024.10 until sorted.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-05-27 15:47:44 +02:00
Ricardo Pardini
83dadd281b rockchip64: bump ATF to 2.13.0, drop upstreamed rk3399 logging patch
- see 6d7f1d4945
2025-05-27 15:44:24 +02:00
Igor Velkov
5815951516 Work if no customize-image.sh file present 2025-05-27 15:43:00 +02:00
Suhaas Joshi
0a90f25707 ti: configs: families: k3: Switch ATF from Debug to Release modes
ATF is currently built in Debug mode for K3 family of devices. This is
due to the fact that K3 Armbian images have been experimental so far.

However, there is work underway to make Armbian a production-capable
environment. Therefore, drop the DEBUG=1 flag from the ATF build
command.

Signed-off-by: Suhaas Joshi <s-joshi@ti.com>
2025-05-27 15:42:12 +02:00
Suhaas Joshi
3ec4a4cdf0 ti: config: families: Compile OPTEE and set it as TEE for U-Boot
Presently, in k3 devices, we are setting TEE=bl31.bin. However TEE
should be set to OPTEE, not ATF.

Therefore, do the following:
    * clone and compile OPTEE
    * add variables for OPTEE platform and `make` arguments in all k3
      board configs
    * use the compiled binary as TEE to compile U-Boot

Signed-off-by: Suhaas Joshi <s-joshi@ti.com>
2025-05-27 15:42:12 +02:00
Suhaas Joshi
e5c6a97d1d ti: config: family: k3: Update baselines for current and edge
Currently `current` picks 6.6.y kernel baseline, and `edge` picks
upstream's 6.12.y tree.

Make `current` pick the current SDK release (which, at the moment, is at
11.00.09 baseline), and make `edge` pick the latest un-released RC's
from TI's tree.

`current` is what most people will use, therefore it should be the same
as our official and tested release. `edge` can be either cutting-edge
(latest RC) or bleeding-edge (latest commit on cicd branch). For now,
keep it cutting-edge.

Signed-off-by: Suhaas Joshi <s-joshi@ti.com>
2025-05-27 15:42:12 +02:00
Patrick Yavitz
5cf5eba923 SpacemiT: Defconfig: Enable audio support
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-05-27 15:39:56 +02:00
dependabot[bot]
5c90963092 build(deps): bump setuptools from 80.4.0 to 80.8.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 80.4.0 to 80.8.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v80.4.0...v80.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-27 15:39:32 +02:00
dependabot[bot]
5d21ca9b79 build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 480f49412651059a414a6a5c96887abb1877de8a to c6634ca281a9fc05b03bee224ba00910cb78ab6e.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](480f494126...c6634ca281)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: c6634ca281a9fc05b03bee224ba00910cb78ab6e
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-27 15:37:52 +02:00
The-going
1bf37853b1 sunxi-6.14: Switching to v6.14.8 2025-05-27 15:37:20 +02:00
The-going
fd60028551 sunxi-6.14: sun50i-h616: Add the missing digital audio node 2025-05-27 15:37:20 +02:00
Exodus
c3d6eebc31 linux-sunxi64-edge enable playstation hid support for dualsense/dualshock 4 updated driver
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2025-05-27 15:37:20 +02:00
The-going
3d56fa93cd bananapi_m4_berry: Change the status to supported
Add the configuration file for the wifi 8821cu module
2025-05-27 15:37:20 +02:00
Igor Pecovnik
ad3fa9fd35 Add missing firmware files 2025-05-26 20:28:23 +02:00
Igor Pecovnik
a160029eb0 Unlocking radios on RPI with a dedicated service 2025-05-26 20:28:23 +02:00
Muhammed Efe Cetin
4ad0fe50b4 khadas-edge2: fix uboot 2025-05-25 17:31:46 +02:00
Hsun Lai
d0f708df8b sakurapi-rk3308b: fix usb20phy_otg&u2phy_host, update the regulator name 2025-05-18 17:44:40 +02:00
alex3d
df6a133a14 partitioning: fix compressed BTRFS creation 2025-05-18 17:43:21 +02:00
Igor Pecovnik
000c787edd mvebu: bump EDGE kernel to 6.12 and disable Active State Power Management 2025-05-16 19:01:48 +02:00
Viacheslav Bocharov
9555f7ef62 Update Realtek RTL8822CS external driver 2025-05-16 19:01:14 +02:00
igorpecovnik
384daea694 tools: Bump ORAS_VERSION from 1.2.2 to 1.2.3 2025-05-16 19:00:58 +02:00
Igor Pecovnik
cbb0343d20 Fix and improve Armbian GH Action
- add forced host initialization
- change to aarch64 build runner by default
2025-05-16 18:58:56 +02:00
Andrei Aldea
56237de5ef Remove duplicate package entries 2025-05-16 18:58:35 +02:00
Andrei Aldea
3bab66e90d Remove references to apt-xapian-index
No longer packaged in newer Debian
2025-05-16 18:58:35 +02:00
Andrei Aldea
e528cfb0a7 Remove Trixie Symlink
Now just points to same content, but copied bookworm
2025-05-16 18:58:35 +02:00
Igor Pecovnik
5216e732cd Revert "add in cache to the image, allowing caching in customize image step"
This reverts commit 9eaa276457.
2025-05-15 16:43:51 +02:00
Exodus
ff1fcf5632 sunxi-6.14: Add module for keys lradc
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2025-05-14 17:19:40 +02:00
The-going
2ab821a786 sunxi-6.14: add overlays pwm2-3, uart2-3-4
co-author: Exodus <zjemcikolege@protonmail.com>

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2025-05-14 17:19:40 +02:00
Exodus
37107d416a sunxi-6.14: orangepi-zero2w: Delete unused ones and fix other nodes.
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2025-05-14 17:19:40 +02:00
Exodus
2bc330845e sunxi-6.14: Add volume up/down keyboard overlay for h616, h618
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2025-05-14 17:19:40 +02:00
The-going
ddb8089a96 sunxi-6.14: Swtching to v6.14.5 and re-export patches 2025-05-14 17:19:40 +02:00
The-going
302803cc47 sunxi-6.14: Switching EDGE to v6.14.4 2025-05-14 17:19:40 +02:00
The-going
8baef8c231 sunxi-6.14: Add armbian patches 2025-05-14 17:19:40 +02:00
The-going
4219f9e13c sunxi-6.14: Add media patches 2025-05-14 17:19:40 +02:00
The-going
fb4b91a169 sunxi-6.14: Add drm patches 2025-05-14 17:19:40 +02:00
The-going
468871e561 sunxi-6.14: Add megous patches 2025-05-14 17:19:40 +02:00
Ben Hoff
9eaa276457 add in cache to the image, allowing caching in customize image step 2025-05-14 17:19:23 +02:00
igorpecovnik
23d6043df0 Automatic board configs status synchronise 2025-05-14 17:19:09 +02:00
Tom Urlings
d027115712 Bootscript enhancements
- Added FDT resize/trim to allow big DT and overlays and still use
  configured load addresses in case `setexpr` not available
- Moved FDT resize and next load address alignment
- Added filename information to load instructions
- Moved all "global" variable determinations to the top of the
  bootscript
2025-05-14 15:56:20 +02:00
Tom Urlings
dc9a1fcea0 Add early exits for critical errors
- Check all load actions
- Add optional early exit with explanation in case a load fails
2025-05-14 15:56:20 +02:00
Tom Urlings
a5fd439a48 Avoid oboe overlap trip during loading of images
https://github.com/armbian/build/issues/8178
- Add switch to turn avoidance on/off
- Increment base address before alignment to resolve the oboe
- oboe observed in U-Boot v2021.04 and in particular with DT loading
2025-05-14 15:56:20 +02:00
Patrick Yavitz
a5808ff60b BananaPi BPI-M4-Zero: codec node not currently required
Remove node temporarily as I believe it will be required in
the future for routing Audio.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-05-14 08:56:39 -04:00
Patrick Yavitz
4aea37cb98 BananaPi BPI-M4-Zero: Enable GPU and add Audio nodes
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-05-14 08:56:39 -04:00
Igor Pecovnik
c53c0e344e Mekotronics: move two boards from community supported to supported 2025-05-14 11:59:33 +02:00
Igor Pecovnik
4dc9b00fb0 Framework: switch Docker default image to Noble 2025-05-14 11:59:12 +02:00
Igor Pecovnik
3213bcb570 Bump build framework version and adjust requirements 2025-05-14 11:59:12 +02:00
dependabot[bot]
0e75df7921 build(deps): bump setuptools from 80.3.1 to 80.4.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 80.3.1 to 80.4.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/v80.3.1...v80.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 08:15:45 +02:00
dependabot[bot]
0f304fc14e build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 4168bb487d5b82227665ab4ec90b67ce02691741 to 480f49412651059a414a6a5c96887abb1877de8a.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](4168bb487d...480f494126)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: 480f49412651059a414a6a5c96887abb1877de8a
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 08:15:31 +02:00
Ricardo Squassina Lee
c897044aeb Update prepare-host.sh
migrate to ntpsec-ntpdate as a more secure implementation of ntpdate and available in Debian and Ubunbtu
2025-05-12 16:54:24 +02:00
igorpecovnik
c693018ebf Automatic board configs status synchronise 2025-05-12 16:53:55 +02:00
Werner
d965e2ac7b orangepi5pro: Fix uboot compilation (#8181)
* add u-boot patchset to fix compilation on noble

* change to same directory as other boards using legacy u-boot

* move orangepi5pro to csc again
2025-05-12 16:53:45 +02:00
Igor Pecovnik
719bae4246 Improve welcoming text for 1st time PR and issues contributors 2025-05-12 16:53:17 +02:00
SuperKali
61fd41333c uboot: mainline board: youyeetoo r1 add uboot patches (#8175) 2025-05-12 15:36:12 +02:00
Igor Pecovnik
6e3ad9bca3 Updating maintainers: switch to new location of JSON file 2025-05-11 23:34:10 +02:00
Igor Pecovnik
e8894a787d Helios4: add fancontrol package and switch to .conf 2025-05-10 16:41:38 +02:00
SuperKali
e8f1b81285 board: youyeetoo-r1 v3 – Bumped U-Boot version and adjusted the order of kernel build targets. (#8173) 2025-05-10 16:38:35 +02:00
Igor Pecovnik
c8588b596c Orangepi5PRO: move to EOS as it has broken u-boot compilation on Noble 2025-05-10 13:29:59 +02:00
djurny
6e985c3d67 Update boot-mvebu.cmd
Changed the DT size back to 256KiB as there is no reason to trim it actually.
2025-05-10 11:21:08 +02:00
djurny
141e23b302 Update boot-mvebu.cmd
- Updated names to reflect function better.
- Followed coding style of rest of the file, e.g. `test` instead of `itest` and `if ... ; then`.
- If `setexpr` fails, use configured addresses - either the ones defined in boot.cmd or set by armbianEnv.txt.
2025-05-10 11:21:08 +02:00
djurny
58dbffba9e Update boot-mvebu.cmd
Fix for https://github.com/armbian/build/issues/8165

Determine the load address for kernel and initial ramdisk based on DT and kernel image size.
2025-05-10 11:21:08 +02:00
djurny
0018d29734 Create helios4_defconfig-0002-enable-setexpr-command.patch
Follow-up for:
- https://github.com/armbian/build/issues/8165
- https://github.com/armbian/build/pull/8166

Enable the `setexpr` command on the U-Boot monitor commandline, to enable calculating the load addresses based on the sizes of the DT, kernel, initial ramdisk.
2025-05-10 11:19:37 +02:00
EvilOlaf
25b887f34f indiedroid-nova: fix uboot compilation on Noble hosts 2025-05-10 11:01:09 +02:00
EvilOlaf
7529927844 odroidxu4: fix uboot compilation for Noble hosts 2025-05-10 11:00:55 +02:00
amazingfate
9ff15f7896 hinlink-h88k: enable uboot serial log 2025-05-08 17:57:14 +08:00
Patrick Yavitz
834de5f4fa SpacemiT: Defconfig: Add CONFIG_TUN=m
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-05-07 07:33:29 +02:00
dependabot[bot]
df450bf30c build(deps): bump setuptools from 80.0.0 to 80.3.1
Bumps [setuptools](https://github.com/pypa/setuptools) from 80.0.0 to 80.3.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v80.0.0...v80.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 00:37:35 +02:00
dependabot[bot]
29a6a7351d build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 5426ecc3f5c2b10effaefbd374f0abdc6a571b2f to 4168bb487d5b82227665ab4ec90b67ce02691741.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](5426ecc3f5...4168bb487d)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: 4168bb487d5b82227665ab4ec90b67ce02691741
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 00:36:39 +02:00
dependabot[bot]
97321a8c3e build(deps): bump yamllint from 1.37.0 to 1.37.1
Bumps [yamllint](https://github.com/adrienverge/yamllint) from 1.37.0 to 1.37.1.
- [Release notes](https://github.com/adrienverge/yamllint/releases)
- [Changelog](https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/adrienverge/yamllint/compare/v1.37.0...v1.37.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 00:36:30 +02:00
dependabot[bot]
9ab14ce717 build(deps): bump oras from 0.2.29 to 0.2.31
Bumps [oras](https://github.com/oras-project/oras-py) from 0.2.29 to 0.2.31.
- [Release notes](https://github.com/oras-project/oras-py/releases)
- [Changelog](https://github.com/oras-project/oras-py/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oras-project/oras-py/compare/0.2.29...0.2.31)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 00:36:09 +02:00
dependabot[bot]
9713086027 build(deps): bump pip from 25.1 to 25.1.1
Bumps [pip](https://github.com/pypa/pip) from 25.1 to 25.1.1.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/pip/compare/25.1...25.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 00:35:51 +02:00
Andrei Aldea
2afc0d783f Add bananapim7 descripion
Fixes interactive build script showing line #2 instead of proper descriptoin.
2025-05-05 20:15:05 +02:00
Franklyn Tackitt
4a8199b992 partitioning: Use btrfs set-default MOUNT/subvolume
This simplifies the code, removing the need to grep/cut the output of btrfs subvolume list
2025-05-05 06:15:50 +02:00
Franklyn Tackitt
76470b1dad partitioning: Rely on the btrfs default subvolume for remounting
This allows changes to the default subvolume in `btrfs_root_add_subvolumes`
 to propagate as needed into the final image.
2025-05-05 06:15:50 +02:00
Franklyn Tackitt
9f37e55980 partitioning: Add BTRFS_ROOT_SUBVOLUME switch
This allows changing the default root subvolume from @ to any user
 defined subvolume name
2025-05-05 06:15:50 +02:00
Tim Surber
2d5eee1560 Remove deprecated CM3588 devicetree 2025-05-05 06:10:40 +02:00
Tim Surber
b3e5f01042 add option to disable kernel patching 2025-05-05 06:09:48 +02:00
Ayush
ec34878cf8 config: boards: pocketbeagle2: Use extlinux (#8130)
Changes to align with standard beagle images. 
- extlinux.conf is much more flexible than uEnv.txt, specially when
  having multiple kernel for development - menu entries are valuable for recovery
- typical beagleboard Debian images have been using extlinux.conf for
  a while.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
Co-authored-by: Andrei Aldea <7153954+Grippy98@users.noreply.github.com>
2025-05-04 07:27:08 -05:00
Rolf Leggewie
723d5f0d6f extensions: add APA extension
using this extension allows for activation of the APA armbian package
archive and installation of the provided binary packages at image
creation time from within the Armbian Build Framework.

The goal of APA is to simplify maintenance of Armbian Core by moving
dependency logic and other packaging information into a separate space
and handle that meta-data with the proper distribution-creation and
-publication tools.  Currently, much of this is done with fragile bash
scripting in Armbian Core instead.

https://github.com/armbian/apa
2025-05-03 10:36:02 +02:00
timsurber
de99717c68 remove mainlined patch in 6.14.5 (#8148) 2025-05-02 18:37:00 +02:00
SuperKali
0e1e0dbbda rockchip64-6.14: Add missing opp nodes (#8048) 2025-04-30 11:27:34 +02:00
Igor Pecovnik
23085db3fb Odroid XU4: fix broken patch 2025-04-30 11:05:17 +02:00
mr-toolcraft
055bf79abb remove unnecessary empty lines 2025-04-30 09:13:56 +02:00
mr-toolcraft
66c57bd6c9 orangepi-5-max: move edge to mainline u-boot 2025-04-30 09:13:56 +02:00
Muhammed Efe Cetin
aeaf329162 orangepi5b: split opi5b board from opi5 board config 2025-04-30 09:11:06 +02:00
Muhammed Efe Cetin
2d73b5830a rockchip64: add multiple SPI images support to armbian-install 2025-04-30 09:10:41 +02:00
Igor Pecovnik
9c5eddffaa Enable video console on amd64 cloud images - for remote console access 2025-04-30 09:06:06 +02:00
Igor Pecovnik
528e7e5ace Enable video console on aarch64 cloud images - for remote console access 2025-04-30 09:06:06 +02:00
Igor Pecovnik
67549541ed Add additional packages to cloud images 2025-04-30 09:06:06 +02:00
Julian Sikorski
c4013438d8 Update odroidxu4-current to 6.6.88 2025-04-30 09:05:28 +02:00
Seele Volleri a.k.a. 33335
e7e55d54cc firefly-itx-3588j: fix optee refuse boot by using rock-5b-defconfig 2025-04-29 00:26:23 +02:00
Micke Prag
34fa6db522 rockchip64: Enable CAN FD driver MCP251XFD 2025-04-29 00:25:49 +02:00
dependabot[bot]
521e956df4 build(deps): bump pip from 25.0.1 to 25.1
Bumps [pip](https://github.com/pypa/pip) from 25.0.1 to 25.1.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/pip/compare/25.0.1...25.1)

---
updated-dependencies:
- dependency-name: pip
  dependency-version: '25.1'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-29 00:25:30 +02:00
dependabot[bot]
3a64aa1883 build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from c34c1c13a740b06851baff92ab9a653d93ad6ce7 to 5426ecc3f5c2b10effaefbd374f0abdc6a571b2f.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](c34c1c13a7...5426ecc3f5)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: 5426ecc3f5c2b10effaefbd374f0abdc6a571b2f
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-29 00:24:54 +02:00
dependabot[bot]
babe06665e build(deps): bump unidecode from 1.3.8 to 1.4.0
Bumps [unidecode](https://github.com/kmike/text-unidecode) from 1.3.8 to 1.4.0.
- [Release notes](https://github.com/kmike/text-unidecode/releases)
- [Commits](https://github.com/kmike/text-unidecode/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-29 00:24:14 +02:00
dependabot[bot]
ba3097e1af build(deps): bump oras from 0.2.28 to 0.2.29
Bumps [oras](https://github.com/oras-project/oras-py) from 0.2.28 to 0.2.29.
- [Release notes](https://github.com/oras-project/oras-py/releases)
- [Changelog](https://github.com/oras-project/oras-py/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oras-project/oras-py/compare/0.2.28...0.2.29)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-29 00:24:04 +02:00
dependabot[bot]
20d163ee44 build(deps): bump setuptools from 79.0.0 to 80.0.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 79.0.0 to 80.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v79.0.0...v80.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-29 00:23:54 +02:00
Igor Pecovnik
5194e0f35a Drop old tag for ATF that was only set in sun50iw9 / H61x 2025-04-27 23:57:49 +02:00
Igor Pecovnik
161ac1b4ee Upgrade Cherryba-m1 to latest u-boot, move patch to new folder 2025-04-27 23:17:28 +02:00
Andy Yan
7a46d099bb lubancat2: bump u-boot to v2025.04
Signed-off-by: Andy Yan <andyshrk@163.com>
2025-04-27 23:10:07 +02:00
Niklas Engvall
55ed3d4b2d V2 - Update the version of U-boot used with Radxa rock 4 se to v2025.04
Added BOOTPATCHDIR=v2025.04
2025-04-27 23:09:23 +02:00
Rolf Leggewie
47a73d027c officially support Banana Pi M2+ 2025-04-27 23:04:42 +02:00
Ricardo Pardini
a4b1eddf94 khadas-vim3: u-boot: bump to 2025.04-rc5; boot SD first; enable setexpr; patch 2025.04 for fileenv; enable squashfs support
- **CHANGE**: This version tries to boot SD first (thus SD -> USB -> NVMe -> eMMC); before it would boot USB before SD
- as Armbian u-boot is possibly deployed to SPI, try to make as compatible as possible; eg enable squashfs support
- enable `setexpr` and `fileenv`, used by HAOS
  - HAOS already has support for booting VIM3 from NVMe: https://github.com/home-assistant/operating-system/pull/3784
- borrowed `fileenv` patch from v2025.01 to .04
- Similar treatment that `odroidm1` got in https://github.com/armbian/build/pull/7769
- note: I will be leaving my VIM3 behind in the other side of the globe, so this is my last chance to test
2025-04-25 19:51:38 +02:00
Niklas Engvall
f4783ec733 Update the version of U-boot used with Radxa rock 4 se to v2025.04 (#8115)
* Update rock-4se.csc

Update the version of U-boot used with rock 4 se.

Tested locally on my board after building an armbian image.

ubuntu@rock-4se:~$ strings /dev/mmcblk1 | grep U-Boot
U-Boot SPL 2025.04-armbian-2025.04-S3482-P4a0b-H3d34-Va9af-Bb703-R448a (Apr 22 2025 - 10:05:17 +0000)
U-Boot phase
U-Boot
FIT image for U-Boot with bl31 (TF-A)

* Use BOOTCONFIG="rock-4se-rk3399_defconfig" and remove BOOTPATCHDIR

* Removed old comment

* Update rock-4se.csc

Revert BOOTCONFIG and update BOOT_FDT_FILE="rk3399-rock-4se.dtd"

* Update rock-4se.csc

Set BOOTCONFIG="rock-4se-rk3399_defconfig"
2025-04-25 19:49:53 +02:00
Igor Pecovnik
cae5701a22 RaspberryPi: add brcm firmware package to fix missing wireless support
This fell out during last packages jungle
2025-04-25 19:49:29 +02:00
libiunc
59e6206f58 Starfive: bump kernel to v6.6 for starfive2 2025-04-24 12:41:51 +02:00
Igor Pecovnik
094a90562c RaspberryPi: suppress warnings for missing firmware
When RTL8152 USB network is enabled as build-in, it will throw out warnings such as:

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8156b-2.fw for built-in driver r8152
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8156a-2.fw for built-in driver r8152
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153c-1.fw for built-in driver r8152
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153b-2.fw for built-in driver r8152
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153a-4.fw for built-in driver r8152
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153a-3.fw for built-in driver r8152
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8153a-2.fw for built-in driver r8152

This should prevent this while keep driver as module.
2025-04-23 21:02:45 +02:00
Igor Pecovnik
3af4354151 Userspace status changes to EOS for bullseye, focal and jammy
Only change associated with this status change is that repository is not updating anymore.
2025-04-22 09:47:43 +02:00
dependabot[bot]
c75632b05e build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from be393a90381e27c9fec2c8c2e02b00f005710145 to c34c1c13a740b06851baff92ab9a653d93ad6ce7.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](be393a9038...c34c1c13a7)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: c34c1c13a740b06851baff92ab9a653d93ad6ce7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 00:07:54 +02:00
dependabot[bot]
7828ae4f48 build(deps): bump setuptools from 78.1.0 to 79.0.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 78.1.0 to 79.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v78.1.0...v79.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 00:07:46 +02:00
Igor Velkov
810ea3eefe Install to nvme: place root volume to separate subvolume when btrfs fs used 2025-04-21 10:24:45 +02:00
EvilOlaf
b83ed148ce sunxi64: bump ATF to latest LTS tag 2025-04-21 10:19:32 +02:00
amazingfate
16e38f9daf Revert "Disable broken AIC8800 wifi driver on Rockchip vendor kernel"
This reverts commit e2b5c430e6.
2025-04-21 08:45:03 +02:00
Igor Pecovnik
84447a0e7e Rockchip - Adjustin broken patch for EDGE kernel 2025-04-20 14:38:09 +02:00
EvilOlaf
dc41c7de51 Add _out of date_ notice to example config 2025-04-20 13:59:54 +02:00
FantasyGmm
76229701ca Adding Variables to Set the Sector Size for UFS Devices 2025-04-19 13:19:13 +02:00
Werner
1c0e3c9b0d Update prepare-host.sh
I don't know. This doesn't feel right. The package exists in Jammy, Noble and Bookworm in both amd64 and arm64 variants so should be good...though it is probably not needed in all constellations. 
Still it is part of the toolchain and not generic packages. If this gets merged as it is this should be revisited.
2025-04-19 13:18:55 +02:00
EvilOlaf
5b6d5b9da1 Revert ATF version bump 2025-04-19 13:18:55 +02:00
EvilOlaf
f365339980 add new host build dependency for noble 2025-04-19 13:18:55 +02:00
Werner
204c646cc6 rockchip64: fix atf build, bump ATF to latest tag 2025-04-19 13:18:55 +02:00
Igor Pecovnik
e2b0922d69 Allwinner: bump to latest 2025-04-19 13:18:22 +02:00
Werner
11c285872e Fix ORAS tooling download due to absense of wget (#8104)
* move `wget` to basic deps
* fix spaces
2025-04-19 13:17:31 +02:00
Igor Pecovnik
00674806d5 Fix ZRAM service due to parameter deprecation in mkfs > 2.40.1 (Trixe / Plucky) 2025-04-19 13:16:47 +02:00
igorpecovnik
b115bf1548 Automatic board configs status synchronise 2025-04-19 07:56:57 +02:00
Franklyn Tackitt
58a3d74eec fix: update jq in apt-utils to use filter arguments
This fixes the issue where jq sometimes fails to compile the filter when parsing
base-files.json
2025-04-19 07:56:05 +02:00
Igor Pecovnik
e2b5c430e6 Disable broken AIC8800 wifi driver on Rockchip vendor kernel 2025-04-19 07:52:17 +02:00
Patrick Yavitz
cdf8eb8a57 BananaPi SM1: Fixup patch name association
Do to my laziness these patches were submitted ugly. My bad.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-04-18 14:11:51 -04:00
Igor Velkov
ab6587ac05 If rootfs placed on btrfs filesystem, place root on @ subvolume
It makes possible to work with snapshots of a root filesystem
2025-04-16 23:33:07 +02:00
The-going
a73e79a73f u-boot: v2025-sunxi: switching to v2025.04
- Fix dram, mmc for h616.
- The prefix is missing if we use OF_UPSTREAM
- upstream: arm64: sun50i-h616: sync with sunxi-6.12 kernel
- upstream: arm64: Add sun50i-h618-bananapi-m4-berry.dts
2025-04-16 23:32:36 +02:00
The-going
b10d00d30e sunxi-6.13: re-export armbian patches after changes 2025-04-16 23:32:36 +02:00
The-going
61ad7cea8b sunxi-6.13: Fix emac0, mdio0 for cip rtl8211F operation
Remove unused nodes that can be added using an overlay.
2025-04-16 23:32:36 +02:00
The-going
c01912967a sunxi-6.13: orangepi-zero2w: Add missing nodes 2025-04-16 23:32:36 +02:00
The-going
83d866af09 sunxi-6.13: Switching to v6.13.11; re-export all patches 2025-04-16 23:32:36 +02:00
Stephen Graf
c5fc8be5e7 sunxi-6.13: Updated patch for sound on H616/618 SoCs
The Linux kernel now provides an analog codec
for H616 SoCs in sun41.codec.c. We will use it.
2025-04-16 23:32:36 +02:00
The-going
f61dc0c13e sunxi-6.13: sun50i-h616: add pwm nodes, pwm pins overlays 2025-04-16 23:32:36 +02:00
The-going
481b407b6b sunxi-6.13: enable TVoutpt, orangepi-zero2w patches; re-export to v6.13.10 2025-04-16 23:32:36 +02:00
The-going
f2c4d417cd sunxi-6.13: cedrus: v4l2: Add NV12,P010,YUV420 AFBC formats
dma: sun6i-dma: add sun50i-h616 support
2025-04-16 23:32:36 +02:00
The-going
c1290520ed sunxi-6.13: panfrost: rework power-domain patches to v2
Also re-export the megous and drm patches to v6.13.9
2025-04-16 23:32:36 +02:00
Mecid
17b9545a20 Switch from rkr5 to rkr5.1 2025-04-16 23:32:25 +02:00
Werner
1469fdad98 add BUILD_DESKTOP to fully automate example config 2025-04-16 23:32:14 +02:00
Werner
c93edf5b4e fix link and create a proper example config 2025-04-16 23:32:14 +02:00
Werner
554580ae34 copy example config at first start 2025-04-16 23:32:14 +02:00
Werner
1d9c78a0b3 remove lib.config mention as it is deprecated 2025-04-16 23:32:14 +02:00
Igor Pecovnik
d181d02f32 Radxa Nio 12l: dropping vendor kernel as its broken and generally in bad shape 2025-04-16 23:11:45 +02:00
青菜萝 卜冬瓜
63362ec932 station-p1: delete the redundant function. 2025-04-14 21:03:17 +02:00
chainsx
f47934f327 blobs: remove station firmware 2025-04-14 21:03:17 +02:00
青菜萝 卜冬瓜
49055f433d station-p1: delete the redundant function. 2025-04-14 21:03:17 +02:00
青菜萝 卜冬瓜
def9e161c5 station-m1: delete the redundant function. 2025-04-14 21:03:17 +02:00
dependabot[bot]
faf34f006b build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 6abeaa506a419f85fa9e681260b443adbeebb3d4 to be393a90381e27c9fec2c8c2e02b00f005710145.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](6abeaa506a...be393a9038)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: be393a90381e27c9fec2c8c2e02b00f005710145
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 21:02:37 +02:00
Igor Pecovnik
ca1f302ec6 Rpi bugfix: Split Debian and Ubuntu packages when installing from Armbian repository
- change name of /etc/kernel/postinst.d/z51-raspi-firmware and check for distribution in runtime. This will prevent conflict with raspi-firmware on Debian, while Ubuntu don't have that.
- install packages depending on Distribution. Ubuntu gets what it was, while Debian gets different packages, mirroed from official Rpi bookwork repo: raspi-firmware raspberrypi-sys-mods bluez-firmware bluez
- bump EDGE kernel to 6.14.y
2025-04-14 16:20:28 +02:00
青菜萝 卜冬瓜
88ab0c5ad0 station-p2: bump u-boot to 2025.04 (#8081) 2025-04-14 09:39:53 +08:00
igorpecovnik
aa952daa87 Automatic board configs status synchronise 2025-04-13 10:18:47 +02:00
chainsx
692b1363d6 sakurapi-rk3308b:bump u-boot to 2025.04 2025-04-13 09:10:53 +02:00
TheSnowfield
56d867fe25 sakurapi-rk3308b: fix uart4 bcm4345c5 bluetooth hci, enable i2c1 2025-04-13 09:10:53 +02:00
TheSnowfield
488f0d04ea sakurapi-rk3308b: ws2812-vleds spi driver dtso for on-board leds 2025-04-13 09:10:53 +02:00
TheSnowfield
4eb31d281f sakurapi-rk3308b: update board dts: fix the display matching & enable spidev for default spi output 2025-04-13 09:10:53 +02:00
FantasyGmm
7c7272654a Add Qcom Robotics RB5 Support 2025-04-12 20:10:35 +02:00
Werner
4d66a92623 nanopi-r3s remove mainlined patch 2025-04-12 20:08:02 +02:00
Werner
9335f08cd3 nanopi-r3s: bump uboot to v2025.04 2025-04-12 20:08:02 +02:00
Werner
e251d84a42 radxa-zero3: bump mainline uboot (#8071) 2025-04-12 20:07:26 +02:00
Werner
66dd52354a rock-3a: bump mainline uboot to v2025.04 2025-04-12 20:06:56 +02:00
Ricardo Pardini
484aac7df2 lib/tools/info: mapper-oci-uptodate: adapt to oras-py 0.2 api change 2025-04-12 20:06:13 +02:00
Ricardo Pardini
9e5ca480d2 lib/tools: Python CLI for ORAS (add non-existing case) 2025-04-12 20:06:13 +02:00
Ricardo Pardini
5d712c242a lib/tools: Python CLI for ORAS (bump to 0.2.y, api change, not too bad) 2025-04-12 20:06:13 +02:00
Ricardo Pardini
52f11d4351 bump python oras 0.1.30 -> 0.2.28 2025-04-12 20:06:13 +02:00
Ricardo Pardini
89eae213a7 lib/tools: Python CLI for ORAS (0.1.y) 2025-04-12 20:06:13 +02:00
Igor Pecovnik
6a86fd7def Fix permissions for label Ready to Merge on approved pull requests 2025-04-12 20:04:11 +02:00
Igor
1684d06eb1 GH Actions label adjustment, fix permissions and enable auto quarter labels (#8078)
* GH Actions: adjust permissions in order to change labels on PR
* Add label by date, check if "Read to merge is present", fix bugs
2025-04-12 19:42:10 +02:00
JohnTheCoolingFan
5795f7202a Fix rtl8189fs driver commit version
Used the commit of the same date which is currently the head of the
`rtl8189fs` branch. The issue was that the rtl8189es `master` branch was
used.
2025-04-12 17:25:21 +03:00
2108 changed files with 459730 additions and 178993 deletions

84
.github/CODEOWNERS vendored
View File

@@ -27,12 +27,12 @@ config/boards/ayn-odin2.csc @FantasyGmm
config/boards/bananapi.conf @DylanHP @janprunk
config/boards/bananapicm4io.conf @pyavitz
config/boards/bananapif3.conf @pyavitz
config/boards/bananapim2plus.csc @leggewie
config/boards/bananapim2plus.conf @leggewie
config/boards/bananapim2pro.conf @igorpecovnik
config/boards/bananapim2s.conf @jeanrhum @pyavitz
config/boards/bananapim2zero.csc @mhawkins-consultant
config/boards/bananapim3.csc @AaronNGray
config/boards/bananapim4berry.csc @The-going
config/boards/bananapim4berry.conf @The-going
config/boards/bananapim4zero.conf @pyavitz
config/boards/bananapim5.conf @igorpecovnik
config/boards/bananapim64.csc @devdotnetorg
@@ -51,12 +51,13 @@ config/boards/firefly-itx-3588j.csc @SeeleVolleri
config/boards/fxblox-rk1.csc @mahdichi
config/boards/gateway-gz80x.conf @pyavitz
config/boards/h96-tvbox-3566.tvb @hqnicolas
config/boards/helios4.csc @Heisath
config/boards/helios4.conf @Heisath
config/boards/helios64.conf @prahal
config/boards/hinlink-h28k.csc @sputnik2019
config/boards/hinlink-ht2.csc @hoochiwetech
config/boards/imb3588.conf @JackHuang021
config/boards/indiedroid-nova.csc @lanefu
config/boards/inovato-quadra.conf @NicoD-SBC
config/boards/inovato-quadra.conf @igorpecovnik
config/boards/jethubj100.conf @adeepn
config/boards/jethubj200.conf @adeepn
config/boards/jethubj80.conf @adeepn
@@ -68,6 +69,7 @@ config/boards/khadas-vim2.conf @igorpecovnik
config/boards/khadas-vim3.conf @NicoD-SBC @rpardini
config/boards/khadas-vim3l.conf @rpardini
config/boards/khadas-vim4.conf @adeepn @rpardini @viraniac
config/boards/kickpik2b.csc @pyavitz
config/boards/lafrite.conf @Tonymac32
config/boards/leez-p710.csc @andyshrk
config/boards/lepotato.conf @Tonymac32
@@ -77,16 +79,13 @@ config/boards/lubancat2.csc @andyshrk
config/boards/mangopi-m28k.csc @sputnik2019
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/mksklipad50.conf @torte71
config/boards/mkspi.csc @redrathnure
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-r3s-lts.conf @pyavitz
config/boards/nanopi-r5s.csc @utlark
config/boards/nanopi-r6c.csc @ColorfulRhino
config/boards/nanopi-r6s.conf @efectn
@@ -122,8 +121,9 @@ config/boards/orangepizeroplus.csc @schwar3kat
config/boards/phytiumpi.conf @chainsx
config/boards/pine64.conf @PanderMusubi
config/boards/pinebook-pro.csc @TRSx80 @ahoneybun
config/boards/pocketbeagle2.csc @Grippy98
config/boards/pocketbeagle2.conf @Grippy98
config/boards/pocketchip-sd.csc @TheSnowfield
config/boards/qcom-robotics-rb5.conf @FantasyGmm
config/boards/qemu-uboot-arm64.csc @rpardini
config/boards/qemu-uboot-x86.csc @rpardini
config/boards/qemu-uefi-x86.conf @davidandreoletti
@@ -132,7 +132,6 @@ config/boards/radxa-e25.csc @krachlatte
config/boards/radxa-e52c.conf @amazingfate
config/boards/radxa-nio-12l.conf @HeyMeco
config/boards/radxa-zero.conf @clee @engineer-80
config/boards/radxa-zero2.csc @monkaBlyat
config/boards/recore.csc @eliasbakken
config/boards/renegade.conf @Tonymac32
config/boards/retro-lite-cm5.csc @ginkage
@@ -169,7 +168,7 @@ config/boards/tritium-h3.conf @Tonymac32
config/boards/tritium-h5.conf @Tonymac32
config/boards/uefi-arm64.conf @rpardini
config/boards/uefi-x86.conf @rpardini
config/boards/visionfive2.eos @libiunc
config/boards/visionfive2.csc @libiunc
config/boards/wsl2-arm64.csc @rpardini
config/boards/wsl2-x86.csc @rpardini
config/boards/x96-mate.tvb @Ressetkk
@@ -184,20 +183,20 @@ config/kernel/linux-k3-*.config @Grippy98 @glneo
config/kernel/linux-k3-beagle-*.config @Grippy98
config/kernel/linux-meson-*.config @hzyitc @juanlufont
config/kernel/linux-meson-s4t7-*.config @adeepn @rpardini @viraniac
config/kernel/linux-meson64-*.config @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee @engineer-80 @igorpecovnik @jeanrhum @jomadeto @monkaBlyat @pyavitz @rpardini @teknoid
config/kernel/linux-meson64-*.config @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee @engineer-80 @igorpecovnik @jeanrhum @jomadeto @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 @CodeChenL @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
config/kernel/linux-rk35xx-*.config @CodeChenL @ColorfulRhino @HeyMeco @JackHuang021 @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @andyshrk @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
config/kernel/linux-rockchip-*.config @paolosabatino
config/kernel/linux-rockchip64-*.config @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @Manouchehri @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
config/kernel/linux-sm8250-*.config @amazingfate
config/kernel/linux-rockchip64-*.config @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @chainsx @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @pyavitz @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
config/kernel/linux-sm8250-*.config @FantasyGmm @amazingfate
config/kernel/linux-sm8550-*.config @FantasyGmm
config/kernel/linux-spacemit-*.config @pyavitz
config/kernel/linux-starfive2-*.config @libiunc
config/kernel/linux-sun55iw3-syterkit-*.config @chainsx
config/kernel/linux-sunxi-*.config @1ubuntuuser @AaronNGray @DylanHP @Janmcha @StephenGraf @TheSnowfield @Tonymac32 @janprunk @lbmendes @leggewie @mhawkins-consultant @sgjava @spendist
config/kernel/linux-sunxi64-*.config @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @The-going @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @spendist @teknoid
config/kernel/linux-sunxi64-*.config @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @PanderMusubi @Ressetkk @The-going @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @igorpecovnik @krachlatte @pyavitz @schwar3kat @sicXnull @spendist @teknoid
config/kernel/linux-thead-*.config @chainsx
config/kernel/linux-tqma-*.config @schmiedelm
config/kernel/linux-uefi-arm64-*.config @rpardini
@@ -207,16 +206,16 @@ config/kernel/linux-wsl2-x86-*.config @rpardini
patch/atf/atf-arm64/ @PeterChrz @rpardini
patch/atf/atf-bcm2711/ @PanderMusubi @teknoid
patch/atf/atf-genio/ @HeyMeco
patch/atf/atf-imx8m/ @schmiedelm
patch/atf/atf-imx8/ @schmiedelm
patch/atf/atf-k3-beagle/ @Grippy98
patch/atf/atf-k3/ @Grippy98 @glneo
patch/atf/atf-phytium-embedded/ @chainsx
patch/atf/atf-rockchip64/ @ColorfulRhino @TRSx80 @ahoneybun @andyshrk @clee @joekhoobyar @paolosabatino @prahal
patch/atf/atf-sm8250/ @amazingfate
patch/atf/atf-rockchip64/ @ColorfulRhino @SuperKali @TRSx80 @Tonymac32 @ahoneybun @andyshrk @clee @joekhoobyar @paolosabatino @prahal
patch/atf/atf-sm8250/ @FantasyGmm @amazingfate
patch/atf/atf-sm8550/ @FantasyGmm
patch/atf/atf-spacemit/ @pyavitz
patch/atf/atf-sun55iw3-syterkit/ @chainsx
patch/atf/atf-sunxi64/ @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @The-going @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @spendist @teknoid
patch/atf/atf-sunxi64/ @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @PanderMusubi @Ressetkk @The-going @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @igorpecovnik @krachlatte @pyavitz @schwar3kat @sicXnull @spendist @teknoid
patch/atf/atf-wsl2-arm64/ @rpardini
patch/kernel/archive/bcm2711-*/ @PanderMusubi @teknoid
patch/kernel/archive/imx8m-*/ @schmiedelm
@@ -224,22 +223,22 @@ patch/kernel/archive/k3-*/ @Grippy98 @glneo
patch/kernel/archive/k3-beagle-*/ @Grippy98
patch/kernel/archive/meson-*/ @hzyitc @juanlufont
patch/kernel/archive/meson-s4t7-*/ @adeepn @rpardini @viraniac
patch/kernel/archive/meson64-*/ @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee @engineer-80 @igorpecovnik @jeanrhum @jomadeto @monkaBlyat @pyavitz @rpardini @teknoid
patch/kernel/archive/meson64-*/ @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee @engineer-80 @igorpecovnik @jeanrhum @jomadeto @pyavitz @rpardini @teknoid
patch/kernel/archive/mvebu-*/ @Heisath
patch/kernel/archive/odroidxu4-*/ @joekhoobyar
patch/kernel/archive/rockchip-*/ @paolosabatino
patch/kernel/archive/rockchip64-*/ @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @Manouchehri @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
patch/kernel/archive/sm8250-*/ @amazingfate
patch/kernel/archive/rockchip64-*/ @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @chainsx @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @pyavitz @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
patch/kernel/archive/sm8250-*/ @FantasyGmm @amazingfate
patch/kernel/archive/sm8550-*/ @FantasyGmm
patch/kernel/archive/spacemit-*/ @pyavitz
patch/kernel/archive/sunxi-*/ @1ubuntuuser @AGM1968 @AaronNGray @DylanHP @IsMrX @Janmcha @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @StephenGraf @The-going @TheSnowfield @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @janprunk @krachlatte @lbmendes @leggewie @mhawkins-consultant @pyavitz @schwar3kat @sgjava @sicXnull @spendist @teknoid
patch/kernel/archive/sunxi-*/ @1ubuntuuser @AGM1968 @AaronNGray @DylanHP @IsMrX @Janmcha @JohnTheCoolingFan @Kreyren @PanderMusubi @Ressetkk @StephenGraf @The-going @TheSnowfield @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @igorpecovnik @janprunk @krachlatte @lbmendes @leggewie @mhawkins-consultant @pyavitz @schwar3kat @sgjava @sicXnull @spendist @teknoid
patch/kernel/archive/uefi-arm64-*/ @PeterChrz @rpardini
patch/kernel/archive/uefi-x86-*/ @davidandreoletti @rpardini
patch/kernel/archive/wsl2-arm64-*/ @rpardini
patch/kernel/archive/wsl2-x86-*/ @rpardini
patch/kernel/genio-1200-*/ @HeyMeco
patch/kernel/phytium-embedded-*/ @chainsx
patch/kernel/rk35xx-vendor-*/ @CodeChenL @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
patch/kernel/rk35xx-vendor-*/ @CodeChenL @ColorfulRhino @HeyMeco @JackHuang021 @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @andyshrk @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
patch/kernel/starfive2-*/ @libiunc
patch/kernel/sun55iw3-syterkit-*/ @chainsx
patch/kernel/thead-*/ @chainsx
@@ -248,7 +247,7 @@ patch/u-boot/legacy/ @chainsx @joekhoobyar @juanlufont @lanefu
patch/u-boot/legacy/u-boot-clearfog/ @Heisath
patch/u-boot/legacy/u-boot-helios4/ @Heisath
patch/u-boot/legacy/u-boot-khadas-edge2-rk3588/ @efectn
patch/u-boot/legacy/u-boot-radxa-rk35xx/ @CodeChenL @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @tdleiyao @vamzii
patch/u-boot/legacy/u-boot-radxa-rk35xx/ @CodeChenL @HeyMeco @JackHuang021 @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @linhz0hz @mahdichi @mattx433 @prahal @rpardini @schwar3kat @sputnik2019 @tdleiyao @vamzii
patch/u-boot/legacy/u-boot-spacemit-k1/ @pyavitz
patch/u-boot/u-boot-beagle/ @Grippy98
patch/u-boot/u-boot-k3-beagle/ @Grippy98
@@ -256,10 +255,10 @@ patch/u-boot/u-boot-k3/ @Grippy98 @glneo
patch/u-boot/u-boot-meson-s4t7/ @adeepn @rpardini @viraniac
patch/u-boot/u-boot-qemu-arm64/ @rpardini
patch/u-boot/u-boot-qemu-x86/ @rpardini
patch/u-boot/u-boot-rockchip64-v2022.04/ @Manouchehri @TRSx80 @TheSnowfield @ahoneybun @paolosabatino
patch/u-boot/u-boot-rockchip64-v2022.04/ @TRSx80 @ahoneybun @paolosabatino
patch/u-boot/u-boot-rockchip64/ @Tonymac32 @andyshrk @clee @igorpecovnik @prahal @redrathnure @sicXnull
patch/u-boot/u-boot-sunxi-crust/ @AGM1968 @Kreyren @NicoD-SBC @PanderMusubi @Tonymac32 @devdotnetorg @schwar3kat @spendist @teknoid
patch/u-boot/u-boot-sunxi/ @1ubuntuuser @AGM1968 @DylanHP @Janmcha @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @StephenGraf @TheSnowfield @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @janprunk @krachlatte @lbmendes @leggewie @mhawkins-consultant @schwar3kat @sgjava @sicXnull @spendist @teknoid
patch/u-boot/u-boot-sunxi-crust/ @AGM1968 @Kreyren @PanderMusubi @Tonymac32 @devdotnetorg @igorpecovnik @schwar3kat @spendist @teknoid
patch/u-boot/u-boot-sunxi/ @1ubuntuuser @AGM1968 @DylanHP @Janmcha @JohnTheCoolingFan @Kreyren @PanderMusubi @Ressetkk @StephenGraf @TheSnowfield @Tonymac32 @devdotnetorg @eliasbakken @igorpecovnik @janprunk @krachlatte @lbmendes @leggewie @mhawkins-consultant @schwar3kat @sgjava @sicXnull @spendist @teknoid
patch/u-boot/u-boot-sunxi/board_bananapim3/ @AaronNGray
patch/u-boot/u-boot-tqma/ @schmiedelm
patch/u-boot/v2022.01/ @teknoid
@@ -267,20 +266,21 @@ patch/u-boot/v2022.07/ @Tonymac32 @igorpecovnik
patch/u-boot/v2022.10/ @NicoD-SBC
patch/u-boot/v2023.07.02/ @clee @engineer-80
patch/u-boot/v2023.10/ @adeepn
patch/u-boot/v2024.01/ @IsMrX @NicoD-SBC @Tonymac32 @rpardini
patch/u-boot/v2024.01/ @Tonymac32 @rpardini
patch/u-boot/v2024.01/board_orangepi5/ @efectn
patch/u-boot/v2024.04-rock5b-radxa/ @amazingfate @linhz0hz
patch/u-boot/v2024.04/ @Tonymac32 @chraac @igorpecovnik @pyavitz @utlark
patch/u-boot/v2024.04/ @Tonymac32 @utlark
patch/u-boot/v2024.07-coolpi-cm5/ @andyshrk
patch/u-boot/v2024.07/ @adeepn @andyshrk @igorpecovnik @monkaBlyat
patch/u-boot/v2024.07/ @adeepn @igorpecovnik
patch/u-boot/v2024.07/board_station-m1/ @150balbes
patch/u-boot/v2024.10/ @HeyMeco @alexl83 @brentr @fridtjof
patch/u-boot/v2024.10/ @alexl83 @brentr @pyavitz
patch/u-boot/v2024.10/board_bigtreetech-cb2/ @JohnTheCoolingFan
patch/u-boot/v2025-sunxi/ @The-going @alexl83 @chraac
patch/u-boot/v2025.01-rc3-coolpi-cm5/ @andyshrk
patch/u-boot/v2025.01/ @ColorfulRhino @SuperKali @ZazaBR @amazingfate @catalinii @efectn @jeanrhum @joekhoobyar @paolosabatino @pyavitz @rpardini @torte71 @vamzii
patch/u-boot/v2025.01/board_bananapim4berry/ @The-going
patch/u-boot/v2025.01/ @ColorfulRhino @efectn @jeanrhum @joekhoobyar @paolosabatino @pyavitz @rpardini @torte71
patch/u-boot/v2025.01/board_h96-tvbox-3566/ @hqnicolas
patch/u-boot/v2025.04/ @SuperKali @Tonymac32 @mlegenovic
patch/u-boot/v2025.04/ @HeyMeco @IsMrX @NicoD-SBC @SuperKali @TheSnowfield @Tonymac32 @ZazaBR @amazingfate @andyshrk @catalinii @fridtjof @igorpecovnik @mlegenovic @pyavitz @rpardini @vamzii
patch/u-boot/v2025.07/ @pyavitz
sources/families/bcm2711.conf @PanderMusubi @teknoid
sources/families/genio.conf @HeyMeco
sources/families/imx8m.conf @schmiedelm
@@ -288,7 +288,7 @@ sources/families/jethub.conf @adeepn
sources/families/k3.conf @Grippy98 @glneo
sources/families/meson-axg.conf @pyavitz
sources/families/meson-g12a.conf @clee @engineer-80
sources/families/meson-g12b.conf @NicoD-SBC @Tonymac32 @jeanrhum @monkaBlyat @pyavitz @rpardini
sources/families/meson-g12b.conf @NicoD-SBC @Tonymac32 @jeanrhum @pyavitz @rpardini
sources/families/meson-gxbb.conf @teknoid
sources/families/meson-gxl.conf @SteeManMI @Tonymac32 @igorpecovnik @jomadeto
sources/families/meson-s4t7.conf @adeepn @rpardini @viraniac
@@ -297,17 +297,17 @@ sources/families/meson8b.conf @hzyitc @juanlufont
sources/families/mvebu.conf @Heisath
sources/families/odroidxu4.conf @joekhoobyar
sources/families/phytium-embedded.conf @chainsx
sources/families/rk35xx.conf @CodeChenL @ZazaBR @amazingfate @andyshrk @catalinii @hoochiwetech @hqnicolas @krachlatte @mattx433 @sputnik2019 @tdleiyao @vamzii
sources/families/rockchip-rk3588.conf @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @chainsx @efectn @fridtjof @ginkage @lanefu @linhz0hz @mahdichi @monkaBlyat @prahal @rpardini @schwar3kat
sources/families/rk35xx.conf @CodeChenL @ZazaBR @amazingfate @andyshrk @catalinii @hoochiwetech @hqnicolas @krachlatte @mattx433 @pyavitz @sputnik2019 @tdleiyao @vamzii
sources/families/rockchip-rk3588.conf @ColorfulRhino @HeyMeco @JackHuang021 @SeeleVolleri @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @chainsx @efectn @fridtjof @ginkage @lanefu @linhz0hz @mahdichi @prahal @rpardini @schwar3kat
sources/families/rockchip.conf @paolosabatino
sources/families/rockchip64.conf @150balbes @JohnTheCoolingFan @Manouchehri @TRSx80 @TheSnowfield @Tonymac32 @ahoneybun @andyshrk @brentr @clee @hqnicolas @igorpecovnik @joekhoobyar @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @sicXnull @torte71 @utlark
sources/families/sm8250.conf @amazingfate
sources/families/rockchip64.conf @150balbes @JohnTheCoolingFan @TRSx80 @TheSnowfield @Tonymac32 @ahoneybun @andyshrk @brentr @clee @hqnicolas @igorpecovnik @joekhoobyar @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @sicXnull @torte71 @utlark
sources/families/sm8250.conf @FantasyGmm @amazingfate
sources/families/sm8550.conf @FantasyGmm
sources/families/spacemit.conf @pyavitz
sources/families/starfive2.conf @libiunc
sources/families/sun50iw1.conf @Kreyren @PanderMusubi @devdotnetorg @eliasbakken
sources/families/sun50iw2.conf @AGM1968 @Tonymac32 @schwar3kat @spendist @teknoid
sources/families/sun50iw6.conf @NicoD-SBC
sources/families/sun50iw6.conf @igorpecovnik
sources/families/sun50iw9-bpi.conf @The-going @pyavitz
sources/families/sun50iw9.conf @AGM1968 @IsMrX @JohnTheCoolingFan @Ressetkk @alexl83 @chraac @krachlatte @sicXnull
sources/families/sun55iw3-syterkit.conf @chainsx

BIN
.github/logo.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -6,8 +6,6 @@ name: "Sync maintainers status"
# spdx-id: GPL-2.0-or-later
# copyright-owner: @igorpecovnik
# Dependencies: lftp, jq
on:
schedule:
- cron: "0 * * * *"
@@ -22,7 +20,7 @@ jobs:
steps:
- name: "Checkout build repo"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: armbian/build
ref: main
@@ -36,16 +34,11 @@ jobs:
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/
# download json that is prepared in https://github.com/armbian/armbian.github.io
curl -o /tmp/armbian_maintainers.json https://github.armbian.com/maintainers.json
- name: "Update maintainers"
run: |

View File

@@ -15,10 +15,13 @@ jobs:
with:
labels: "Good first issue"
issue-opened-msg: |
### Hey @{fc-author} !
### Hey @{fc-author}! 👋
Looks like it's your first time interacting with Armbian here on GitHub.
Thanks for opening your first issue with the Armbian project — were glad to have you here! 🧡
Your input doesnt just help us improve the project — it benefits everyone who uses Armbian.
Welcome and thank you for taking the time to report an issue :heart:.
If you'd like to stay informed about project updates or collaborate more closely with the team,
you can optionally share some personal contact preferences at [armbian.com/update-data](https://www.armbian.com/update-data/).
This helps us keep in touch without relying solely on GitHub notifications.
Don't forget to star :star: the repo.
Also, dont forget to star the repo to support the work — and welcome aboard! 🚀

View File

@@ -24,7 +24,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v5

View File

@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Get repo
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Send push to Discord

View File

@@ -14,7 +14,7 @@ jobs:
if: ${{ github.repository == 'armbian/build' && github.event.label.id == '6210849975' }}
steps:
- name: Get repo
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Discord webhook

View File

@@ -1,54 +1,69 @@
name: Automatic Pull Request Labeling
# Sets labels automatically based on:
# - PR size (job: label-size)
# - File categories using .github/labeler config (job: label-category)
# - PR creation date for quarterly tracking (job: label-by-date)
# - Removes "Ready to merge" label on PR update (job: label-remove)
run-name: 'Set labels - PR #${{ github.event.pull_request.number }} ("${{ github.event.pull_request.title }}")'
#
# 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
# Grant required permissions globally
permissions:
contents: read # Required for checking changed files
pull-requests: write # Required for labeling PRs
issues: write # Required for adding/removing labels
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
- name: Checkout the pull request
uses: actions/checkout@v5
- name: Check for label using GH CLI
id: check
run: |
gh pr view ${{ github.event.pull_request.number }} --json labels -q '.labels[].name' | grep -q 'Ready to merge' && echo "has_label=true" >> $GITHUB_OUTPUT || echo "has_label=false" >> $GITHUB_OUTPUT
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Remove "Ready to merge" label
if: steps.check.outputs.has_label == 'true'
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' }}
name: "Category Labels"
runs-on: ubuntu-latest
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
steps:
- uses: actions/checkout@v4
# Checks out the repository to read files for matching with labeler config
- uses: actions/checkout@v5
# Applies labels based on the .github/labeler.yml config
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
label-size:
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: "Size label"
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
name: "Size Label"
runs-on: ubuntu-latest
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
steps:
- name: size-label
uses: "pascalgn/size-label-action@v0.5.5"
# Automatically adds size labels based on total changed lines
- name: Label by size
uses: pascalgn/size-label-action@v0.5.5
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
@@ -58,3 +73,41 @@ jobs:
"50": "medium",
"250": "large"
}
label-by-date:
name: "Date label (Quarters)"
runs-on: ubuntu-latest
if: ${{ github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'synchronize' }}
steps:
# Determines the label (02, 05, 08, 11) based on PR creation month
- name: Determine quarter label
env:
PR_CREATED_AT: ${{ github.event.pull_request.created_at }}
run: |
echo "PR created at: $PR_CREATED_AT"
# Extract the numeric month (e.g., 04 for April)
MONTH=$(date -d "$PR_CREATED_AT" +%m | sed 's/^0*//')
echo "Month extracted: $MONTH"
# Determine quarter-end label based on month
if [ "$MONTH" -le 2 ] || [ "$MONTH" -eq 12 ]; then
LABEL="02"
elif [ "$MONTH" -le 5 ]; then
LABEL="05"
elif [ "$MONTH" -le 8 ]; then
LABEL="08"
else
LABEL="11"
fi
# Set as environment variable for next step
echo "LABEL=${LABEL}" >> $GITHUB_ENV
# Adds the quarter label to the PR
- name: Add quarter label
uses: PauMAVA/add-remove-label-action@v1.0.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
add: "${{ env.LABEL }}"

View File

@@ -28,16 +28,16 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@6abeaa506a419f85fa9e681260b443adbeebb3d4 # v46.0.3
uses: tj-actions/changed-files@f963b3f3562b00b6d2dd25efc390eb04e51ef6c6 # v46.0.3
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: a13xp0p0v/kconfig-hardened-check
path: kconfig-hardened-check

View File

@@ -1,5 +1,11 @@
on: pull_request_review
name: Label approved pull requests
permissions:
contents: read # Required for checking changed files
pull-requests: write # Required for labeling PRs
issues: write # Required for adding/removing labels
jobs:
labelWhenApproved:
if: ${{ github.repository_owner == 'armbian' }}

View File

@@ -24,13 +24,13 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@6abeaa506a419f85fa9e681260b443adbeebb3d4 # v46.0.3
uses: tj-actions/changed-files@f963b3f3562b00b6d2dd25efc390eb04e51ef6c6 # v46.0.3
- name: List all changed files
run: |

View File

@@ -14,10 +14,13 @@ jobs:
- uses: plbstl/first-contribution@v3
with:
pr-opened-msg: |
### Hey @{fc-author} !
### Hey @{fc-author}! 👋
Looks like it's your first pull reqests to Armbian codebase.
Thanks for submitting your first pull request to the Armbian project — we're excited to have you contributing! 🧡
Your effort doesnt just improve Armbian — it benefits the entire community of users and developers.
Welcome and thank you for contributing :heart: :heart: :heart:.
If you'd like to stay informed about project updates or collaborate more closely with the team,
you can optionally share some personal contact preferences at [armbian.com/update-data](https://www.armbian.com/update-data/).
This helps us keep in touch without relying solely on GitHub notifications.
Don't forget to star :star: the repo.
Also, dont forget to star the repo if you havent already — and welcome aboard! 🚀

View File

@@ -28,12 +28,12 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@v2.4.1
uses: ossf/scorecard-action@v2.4.2
with:
results_file: results.sarif
results_format: sarif

View File

@@ -63,7 +63,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Get current ${{ matrix.tool.PROJECT_NAME }} version
id: get-version-current

275
README.md
View File

@@ -1,233 +1,78 @@
<p align="center">
<a href="#build-framework">
<img src=".github/armbian-logo.png" alt="Armbian logo" width="144">
</a><br>
<strong>Armbian Linux Build Framework</strong><br>
<br>
<a href=https://github.com/armbian/build/graphs/contributors><img alt="GitHub contributors" src="https://img.shields.io/github/contributors-anon/armbian/build?logo=stackexchange&label=Contributors&style=for-the-badge&branch=main&logoColor=white"></a>
<a href=https://github.com/armbian/os><img alt="Artifacts generation" src="https://img.shields.io/github/actions/workflow/status/armbian/os/complete-artifact-matrix-all.yml?logo=dependabot&label=CI%20Build&style=for-the-badge&branch=main&logoColor=white"></a>
<a href=https://github.com/armbian/build/commits/main><img alt="GitHub last commit (branch)" src="https://img.shields.io/github/last-commit/armbian/build/main?logo=github&label=Last%20commit&style=for-the-badge&branch=main&logoColor=white"></a>
</p>
<h2 align="center">
<img src="https://raw.githubusercontent.com/armbian/.github/master/profile/logo.png" alt="Armbian logo" width="25%">
<br><br>
</h2>
## What does this project do?
### Purpose of This Repository
- Builds custom **kernel**, **image** or a **distribution** optimized for low-resource hardware,
- Include filesystem generation, low-level control software, kernel image and **bootloader** compilation,
- Provides a **consistent user experience** by keeping system standards across different platforms.
The **Armbian Linux Build Framework** creates minimal, efficient, and fully [customizable operating system images](https://docs.armbian.com/#key-features) based on **Debian** or **Ubuntu**. It is designed specifically for **low-resource single board computers (SBCs)** and other embedded devices.
## Getting started
This toolchain compiles a custom **Linux kernel**, **bootloader**, and **root filesystem**, providing fine-grained control over:
### Requirements for self hosted
- Kernel versions and configuration
- Bootloader selection and customization
- Filesystem layout and compression
- Additional firmware, overlays, and device trees
- System optimizations for performance and size
- x86_64 / aarch64 machine
- at least 2GB of memory and ~35GB of disk space for VM, container or bare metal installation
- [Armbian / Ubuntu Jammy 22.04.x](https://github.com/armbian/sdk) for native building or any Docker capable Linux for containerised
- Windows 10/11 with WSL2 subsystem running Ubuntu Jammy 22.04.x
- Superuser rights (configured sudo or root access).
- Make sure your system is up-to-date! Outdated Docker binaries, for example, can cause trouble.
The framework supports **native**, **cross**, and **containerized** builds for multiple architectures (`x86_64`, `aarch64`, `armhf`, `riscv64`), and is suitable for development, testing, production deployment, or automation pipelines.
For stable branch use `--branch=v25.02`
It ensures **consistency across devices** while remaining modular and extensible through a variety of configuration files, templates, and user patches.
### Quick Start
```bash
apt-get -y install git
git clone --depth=1 --branch=main https://github.com/armbian/build
git clone https://github.com/armbian/build
cd build
./compile.sh
```
### Resources
[Documentation](https://docs.armbian.com/Developer-Guide_Overview/) • [Website](https://www.armbian.com) • [Blog](https://blog.armbian.com) • [Community Forums](https://forum.armbian.com)
<a href="#how-to-build-an-image-or-a-kernel"><img src=".github/README.gif" alt="Armbian logo" width="100%"></a>
- Interactive graphical interface.
- Prepares the workspace by installing the necessary dependencies and sources.
- It guides the entire process and creates a kernel package or a ready-to-use SD card image.
### Build Host Requirements
### Build parameter examples
- **Supported Architectures:** `x86_64`, `aarch64`, `riscv64`
- **System:** VM, container, or bare-metal with:
- **≥ 8GB RAM** (less with `KERNEL_BTF=no`)
- **~50GB disk space**
- **Operating System:**
- Armbian / Ubuntu 24.04 (Noble) for native builds
- Any Docker-capable Linux for containerized setup
- **Windows:** Windows 10/11 with WSL2 running Armbian / Ubuntu 24.04
- **Access:** Superuser rights (`sudo` or `root`)
- **Important:** Keep your system up-to-date — outdated tools (e.g., Docker) can cause issues.
Show work-in-progress areas in interactive mode:
### Download
```bash
./compile.sh EXPERT="yes"
```
Prebuilt Armbian OS Images: <https://www.armbian.com/download>
Build minimal CLI Armbian Jammy for Bananapi M5 with LTS kernel:
### Contribute
```bash
./compile.sh \
BOARD=bananapim5 \
BRANCH=current \
RELEASE=jammy \
BUILD_MINIMAL=yes \
BUILD_DESKTOP=no \
KERNEL_CONFIGURE=no
```
Learn how to report issues, suggest improvements, or submit code: [CONTRIBUTING.md](CONTRIBUTING.md)
Build with GitHub actions: ([advanced version](https://github.com/armbian/os/blob/main/.github/workflows/complete-artifact-one-by-one.yml))
### Support
```
name: "Build Armbian"
on:
workflow_dispatch:
jobs:
build-armbian:
runs-on: ubuntu-latest
steps:
- uses: armbian/build@main
with:
armbian_token: "${{ secrets.GITHUB_TOKEN }}" # GitHub token
armbian_release: "jammy" # userspace
armbian_target: "build" # build=image, kernel=kernel
armbian_board: "bananapim5" # build target
```
Generated image will be uploaded to your repository release. Note: GitHub upload file limit is 2Gb.
Armbian offers multiple support channels, depending on your needs:
## More information:
- **Community Forums**
Get help from fellow users and contributors on a wide range of topics — from troubleshooting to development.
👉 [forum.armbian.com](https://forum.armbian.com)
- [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)
- **Discord / IRC/ Matrix Chat**
Join real-time discussions with developers and community members for faster feedback and collaboration.
👉 [Community Chat](https://docs.armbian.com/Community_IRC/)
## Download prebuilt images releases
- **Paid Consultation**
For advanced needs, commercial projects, or guaranteed response times, paid support is available directly from Armbian maintainers.
👉 [Contact us](https://www.armbian.com/contact) to discuss consulting options.
### Point
- [manually released **standard supported** builds](https://www.armbian.com/download/?device_support=Standard%20support) (quarterly)
### Rolling
- [automatically released **staging and standard supported** builds](https://github.com/armbian/os/releases/latest) (daily)
- [automatically released **community maintained** builds](https://github.com/armbian/community/releases/latest) (weekly)
## Compared with industry standards
<details><summary>Expand</summary>
Check similarities, advantages and disadvantages compared with leading industry standard build software.
Function | Armbian | Yocto | Buildroot |
|:--|:--|:--|:--|
| Target | general purpose | embedded | embedded / IOT |
| U-boot and kernel | compiled from sources | compiled from sources | compiled from sources |
| Board support maintenance &nbsp; | complete | outside | outside |
| Root file system | Debian or Ubuntu based| custom | custom |
| Package manager | APT | any | none |
| Configurability | limited | large | large |
| Initramfs support | yes | yes | yes |
| Getting started | quick | very slow | slow |
| Cross compilation | yes | yes | yes |
</details>
## Project structure
<details><summary>Expand</summary>
```text
├── cache Work / cache directory
│   ├── aptcache Packages
│   ├── ccache C/C++ compiler
│   ├── docker Docker last pull
│   ├── git-bare Minimal Git
│   ├── git-bundles Full Git
│   ├── initrd Ram disk
│   ├── memoize Git status
│   ├── patch Kernel drivers patch
│   ├── pip Python
│   ├── rootfs Compressed userspaces
│   ├── sources Kernel, u-boot and other sources
│   ├── tools Additional tools like ORAS
│   └── utility
├── config Packages repository configurations
│   ├── targets.conf Board build target configuration
│   ├── boards Board configurations
│   ├── bootenv Initial boot loaders environments per family
│   ├── bootscripts Initial Boot loaders scripts per family
│   ├── cli CLI packages configurations per distribution
│   ├── desktop Desktop packages configurations per distribution
│   ├── distributions Distributions settings
│   ├── kernel Kernel build configurations per family
│   ├── sources Kernel and u-boot sources locations and scripts
│   ├── templates User configuration templates which populate userpatches
│   └── torrents External compiler and rootfs cache torrents
├── extensions Extend build system with specific functionality
├── lib Main build framework libraries
│   ├── functions
│   │   ├── artifacts
│   │   ├── bsp
│   │   ├── cli
│   │   ├── compilation
│   │   ├── configuration
│   │   ├── general
│   │   ├── host
│   │   ├── image
│   │   ├── logging
│   │   ├── main
│   │   └── rootfs
│   └── tools
├── output Build artifact
│   └── deb Deb packages
│   └── images Bootable images - RAW or compressed
│   └── debug Patch and build logs
│   └── config Kernel configuration export location
│   └── patch Created patches location
├── packages Support scripts, binary blobs, packages
│   ├── blobs Wallpapers, various configs, closed source bootloaders
│   ├── bsp-cli Automatically added to armbian-bsp-cli package
│   ├── bsp-desktop Automatically added to armbian-bsp-desktopo package
│   ├── bsp Scripts and configs overlay for rootfs
│   └── extras-buildpkgs Optional compilation and packaging engine
├── patch Collection of patches
│   ├── atf ARM trusted firmware
│   ├── kernel Linux kernel patches
| |   └── family-branch Per kernel family and branch
│   ├── misc Linux kernel packaging patches
│   └── u-boot Universal boot loader patches
| ├── u-boot-board For specific board
|    └── u-boot-family For entire kernel family
├── tools Tools for dealing with kernel patches and configs
└── userpatches User: configuration patching area
├── lib.config User: framework common config/override file
├── config-default.conf User: default user config file
├── customize-image.sh User: script will execute just before closing the image
   ├── atf User: ARM trusted firmware
   ├── kernel User: Linux kernel per kernel family
   ├── misc User: various
   └── u-boot User: universal boot loader patches
```
</details>
## Contribution
### Want to help?
We always need those volunteering positions:
- [Code reviewer](https://forum.armbian.com/staffapplications/application/23-code-reviewer/)
- [Build framework maintainer](https://forum.armbian.com/staffapplications/application/9-build-framework-maintainer/)
- [Test Automation Engineer](https://forum.armbian.com/staffapplications/application/19-test-automation-engineer/)
Just apply and follow!
## Support
For commercial or prioritized assistance:
- Book an hour of [professional consultation](https://calendly.com/armbian/consultation)
- Consider becoming a [project partner](https://forum.armbian.com/subscriptions/)
- [Contact us](https://armbian.com/contact)!
Free support:
Find free support via [general project search engine](https://www.armbian.com/search), [documentation](https://docs.armbian.com), [community forums](https://forum.armbian.com/) or [IRC/Discord](https://docs.armbian.com/Community_IRC/). Remember that our awesome community members mainly provide this in a **best-effort** manner, so there are no guaranteed solutions.
## Contact
- [Forums](https://forum.armbian.com) for Participate in Armbian
- IRC: `#armbian` on Libera.chat / oftc.net
- Matrix: [https://forum.armbian.com/topic/40413-enter-the-matrix/](https://forum.armbian.com/topic/40413-enter-the-matrix/)
- Discord: [https://discord.gg/armbian](https://discord.gg/armbian)
- Follow [@armbian](https://twitter.com/armbian) on 𝕏 (formerly known as Twitter), <a rel="me" href="https://fosstodon.org/@armbian">Mastodon</a> or [LinkedIn](https://www.linkedin.com/company/armbian).
- Bugs: [issues](https://github.com/armbian/build/issues) / [JIRA](https://armbian.atlassian.net/jira/dashboards/10000)
- Office hours: [Wednesday, 12 midday, 18 afternoon, CET](https://calendly.com/armbian/office-hours)
## Contributors
### Contributors
Thank you to all the people who already contributed to Armbian!
@@ -235,24 +80,6 @@ Thank you to all the people who already contributed to Armbian!
<img src="https://contrib.rocks/image?repo=armbian/build" />
</a>
### Also
- [Current and past contributors](https://github.com/armbian/build/graphs/contributors), our families and friends.
- [Support staff](https://forum.armbian.com/members/2-moderators/) that keeps forums usable.
- [Friends and individuals](https://armbian.com/authors) who support us with resources and their time.
- [The Armbian Community](https://forum.armbian.com/) helps with their ideas, reports and [donations](https://www.armbian.com/donate).
## Armbian Partners
Armbian's partnership program helps to support Armbian and the Armbian community! Please take a moment to familiarize yourself with our Partners:
- [Click here to visit our Partners page!](https://armbian.com/partners)
- [How can I become a Partner?](https://forum.armbian.com/subscriptions)
## Star History
[![Star History Chart](https://api.star-history.com/svg?repos=armbian/build&type=Date)](https://star-history.com/#armbian/build&Date)
## License
This software is published under the GPL-2.0 License license.
Armbian's [partnership program](https://forum.armbian.com/subscriptions) helps to support Armbian and the Armbian community! Please take a moment to familiarize yourself with [our Partners](https://armbian.com/partners).

View File

@@ -1 +1 @@
25.05.0-trunk
25.11.0-trunk

View File

@@ -115,7 +115,7 @@ runs:
passphrase: ${{ inputs.armbian_pgp_password }}
- name: "Checkout Armbian os"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: armbian/os
fetch-depth: 0
@@ -123,7 +123,7 @@ runs:
path: os
- name: "Checkout Armbian build framework"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: armbian/build
ref: ${{ inputs.armbian_branch }}
@@ -131,7 +131,7 @@ runs:
path: build
- name: "Checkout customisations"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
clean: false
@@ -172,6 +172,10 @@ runs:
# go to build folder
cd build
# default build command below doesn't prepare host dependencies
sudo ./compile.sh requirements
sudo chown -R $USER:$USER .
# execute build command
./compile.sh "${{ inputs.armbian_target }}" \
REVISION="${{ env.ARMBIAN_VERSION }}" \

View File

@@ -1,52 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFUG8p4BEADGlseGFmdjjfmoXtHpZxqgYHGweCnGZ05LiGgEVgbv5SrTsJsy
O8H8RyBPxgbpKEY+JCV1IlYQPaE3Til1+kqmR4XNKbufjEuqAV4VJW3267tYRuJ3
08E70q7kpQSsEAWLVY+xV/l5stAupp4/wF5BPdAjW7gLuicPnqoKK0jcfrjuvd45
WFhpjL1Sdd0PnILehz0to6R2H9MsW+VYYPFztdjBM/78UD8grMcCm/7Mz8ENRKCn
TKrgj4bpWA0kPEHNBfaoQQUk5fCJYNMLvLMIGZcWeGOPo+yFnl4C6qTEgs0g7/0E
56ycaQDJ+gBCH9YNa8j3eH/t1vMN0ERXiOQf6WXgRihOD1fcnZFmczQFT3GGhv3y
+/cUpsUlmhhJ6tetiuXNuTfrl3M+99qUq5/8iiq292MCmn5s0BEOiyfQ2l2uZmjy
DUO+4lL9o3MX0W5Xp1puE2p42b+w458aDKuuFvBzVMiU51Js6DZnahxu2s+NDztD
gut7p+P60UBCbltXEB0ZIyWTAkKCwIlapZ9yDiHqXiNluTdBiFWGyU3xlb4fuQzw
lwvmS3yz4Ak5GCdDpiLmJoHOKV6q85VaI4T3gixx4JwEfdincOGfepSWFmbEsDuV
x5vbDV5Dwb3oAg80zp3W/uNyX7G41uIGDNzZL82p2XtgGzkjhEbKAnNavwARAQAB
tD1JZ29yIFBlY292bmlrIChManVibGphbmEsIFNsb3ZlbmlhKSA8aWdvci5wZWNv
dm5pa0BnbWFpbC5jb20+iQI4BBMBAgAiBQJVBvKeAhsDBgsJCAcDAgYVCAIJCgsE
FgIDAQIeAQIXgAAKCRCT1oifnw541T6WD/0X+LD9Gm1NVgZhrH35oQ3zstENrTjD
6LF+kT+zhe6QR9bAdOmeb7Je423y/UY3nSaJlS/OWsJs89tXUyE2jbxtLApN6OMT
ZsIxjgyg3fjbHV/lw/xGp+cqHjX+Ay5QZudJVxGJN7WJaRGxymjop7EX4CHiidGZ
PZoDT23WArLia7E8MLB/oK3wW6k9Qlc2SrhldzpuSmOwHQX9pxmy9dgfZa2a9w1c
EvktDnrizPmfxwYaC38FKRqz1I8CnPMESVJ+6mLEYxWJvJANuVvrhqOtjkY6yI0u
SOFHsmgci+3X2c7WWhloKub/Pf7TtM6tl6RCHfKvnsrTZPvxP1/CgzQiAITWppBl
olnSRHXp3notCF1rVbgInwVuCZCuWPJvHC6R3t9/UgESao0tEwr4mw7jNwtszWou
4rYzjEAME/O/kBBWPbDURm/4R8l0XSnG0zhePKv5iCzeQbIzUeAD1Dcvk7falgnl
9FX9/LZCY1kEwFMf2DG03lwG7c4ICSVAz0pNEPZdqpyCl82VKkDne8PA0Rb/uPIO
QY3aDu8bgcPQuokmRRL4rwdnRCVr0AFDZhVQnUjcdy8AvEPeye2fNdLhte+KUWiy
FNWp2vW2LbJ9GxPstaFihXZBcCEpGWsNHebDd1KmNGyPKcqzaIfzHPLP8+ee2deK
A95PVzV3iTL+ObkCDQRVBvKeARAAvGaKCHDGl0eC7fFok5sPq1WattpqQ9QL0BgZ
95VQLn+7/1nXmKsDfCwCvnBGqLXzPQyvWhCbCTN9oYkqokBX2Ch1zOIABynw+UCM
+KyZcmciYZIF21OstWMM0nQ06jno5Hq1vSHlgTkaaYWZYoqXocMCS9llvI2NVG34
bcak1hAh9EkfmThVttDeGZP+osqt2mefpCAVITP1eQWU3RUBpOKNpthpLxMhy+l7
m8tmkLH3FuqwZvVjY241w1o4AWVpJD/JdOuAfHtf7/UDPchSZLe9Ea8Y+bnkiZxg
SROtFrRzbVwP1Id4RKT44BwKMrXu8GiZAPvQq5CvINqZDMqiqq4+jFJPMVortuxX
skRh1dVYOioH1muzeHf560/BLW+mBuEd+xE0gd6SXRgPiflROylpJCb9Qxi8Ofq6
FEHBfJ8mHz49d60qyXZNdNlxLhA3dfOvaahFBgXwNSwjak0zf6RpufAkh8Si5jc3
Qh7lpuwsBelyNu7tBbL2y8WnUez/+aeX9sBSqs78mfpDdLAGnIlT9YcjkHl5W385
jjhBAhpAgiLIsdSRKcc2CI34Vf775cLLIYrcBrjVMLYBwEiZHOPO90Lnizgx1l5t
1wG2Aa5OarTTUPIgMiTUtKPQ8BmcjGMZiavdJwqGUziDD+hMKcxPUMjyYiu+ngkH
1ROuCxMAEQEAAYkCHwQYAQIACQUCVQbyngIbDAAKCRCT1oifnw541Wm7D/sG0ouM
71c5mT+egff+QxfExy+JB4/vL1pLSHbMR8AtAJLN+Yh6EzeGmW2tga0Bk9AxEekQ
raXrMFhZSpT98qJnnDpdozfeIAyTwziw9K9opB0dU/+M3sVidkJ5mv4LW6CJaaY3
rsom0TIjaxBvXqSeadJF4WGUHzg3ew+8ah0ZG8SDZu19ketN2cnTMAtgO+53Epjq
pk3uMF5hNaEHt9wVj2tq/anLEsl4T5U/ekQndxcTEsV2KIVSoye35ye4aam1gWhW
9JIFtShhEtXD/5Ovtj706YLTP84U8yHStzM6LLGpqM8bb1QsBUWRUhIKidltmO9K
jX6rJZuhwkcVJJYRdbetEXbiSIyeNZy7bBe4En+fVcN0ekBD36LhMcVL8F1Mntr1
L5xf0cFEpFpEodQUvcayNgpI2y7EIPjKmKhVwW5dx36Q0CsCnwcC+Kg6BNzliI9I
s+oA2AVIanFPvjvSwfG9pH+2/u+KB4HT2Ux1FBbBi5GAwo+cu1d4XAc5bZHdPnAV
tnIN9dKRusZ8IGHWEd8Pw0kRepuNhSmSNALQkS6B+ppQZtmoGsBCqJeMPxQxj+yI
/bL3dmA2UXxnGJ3vs2ybFyHG3aoovKJfWVytxOJfG7qj1ACrOYOXekWlcw5lEiYF
cckukNqqFv/CXh+BZFlQT4DDvJlY0/KQFFKogQ==
=I/P8
mQINBGhX5xgBEADO7xrNcDzUMpV+c5kxZQwIZxfyZXF2RaMi4VFuwLye0z4F40dS
Do6uzSEuWNcE/O8T4fyAj5YAnUEDRwaotwLHaTiJnsFVCAdmpMLj3HFIbRXNbiad
xoK1wc7sPx/YVIXV22CZH/vBjTNK/A89diDB+TFb48bENQkeBhRcgT9+bEYIeAqd
vTHYUXFuItQHBXqFzm/slUw5y69Wk6VotsHnWjueH/ZVLVYU3CkEUdAiqZjvlKC+
ILAwQ1YGGNamXOQQ/eVQTkaG5Q8m8noJsFdG8sX/Be4BQZaqMkygdFMYCBfzDdKw
jT0E9F5WlGd8a6yvWF6NM0fpXO57tVdQRA9eb3Dgavy6deZxB+gYrdeMZevP0ZF3
rYiOur4tY2y8Wwd4IDigjZvRGwA6LoQt56FHzzyQRzw0234NVl9kmO8z8pXk+bhk
oYa02UmrsSBCaVQZQ1X6aWc9kAaoF3Kauf3crExl16c8KpfEpQoJPejemQPCxIDC
aSjAa2L4/1OUqhlreBR3CVYX4cymfe4EuSWANI853Z3YwBDbIyWe9mes+xfWy1YS
F267Z+L4Zmn88vuVrwS35MvQjc0cycVVFEUUKDYYfWvAUJfmhlEmAJWIvbgoLQnK
kWWR8bPwftwIKiutyd+zrW/ub8ModC6AYPPABG6XwrkfSE4T9HpNflYpiwARAQAB
tEJBcm1iaWFuIFJlcG9zaXRvcnkgU2lnbmluZyBLZXkgKFJlcG9zaXRvcnkgS2V5
KSA8aW5mb0Bhcm1iaWFuLmNvbT6JAlMEEwEKAD0WIQSM+oPRPrIYHu9YQ+Qesw+v
I2CZ/gUCaFfnGAIbAwUJEswDAAULCQgHAwQVCgkIBRYCAwEAAh4FAheAAAoJEB6z
D68jYJn+L14QAKvYBJUYMQyPZjH+vKISiE7Y0gMRr8npuSPyanwrL/FFBRYP0k8G
uSp8PF0Br35rtWUv3rWEzPTauL2B0y69B16gP+Ey8E16AISBuT/baD9JGXMQedWW
gOEM9Xn9/4hRfaTm04E9YPFdspqfhWIT1hocAzQdcuKZzUpDrxMpsBfodpLYe4fG
HmoQc7ZU+jetnJgZwWqhdMioMMHCVOQKZ5zEB5+zRLthsqBRAelr8Heayb6JvIPB
RJw36xajw2UXTS/VfeksrNhzzFL1E3Tz5/Oy50VzAGnr9NmcUTlZUU6knWvMONrU
2trcuULZs5LZGFHGVJky02UMjURuIuhG/2UC7cdRIuLcpqYfKe38vexUlKEa9RTH
qigYYDyUyan2kSTKbu4g3D6wZKtuDnRL+D2057yJsdI/8lNPj39xkmN9/oKGqVrG
0wxT40deUU10OydxWRHMtOlWhhZOMBK0t+vc60keE3oReAHCdN/aVWXj1bof3pVC
JHB43FTE53W1EYaPvyVljvtFiVhobvuB1VSr7+Q8sMFivRJUm3lc272uATpqmk9D
tiZ6k6r9DAnVjdQBYQHFkkqvBfGEmRPHJQUu5a2+XBhW9k4YAtlSS+vzASWmAGGw
xgw8sAUEI3Of+kzPZKUtB3XZ4lSq8D+LpN7fp6E4YWxkO1Df+iyzvSgjuQINBGhX
5xgBEADAPE9/L3VF6IBQmK+MJoQHGxXQn/bYOV3CbkFmev49rug1vqTIqhuFSddD
qnFI1ElG8ylZMFlQtACJ6xn1Jzcs+oPWCjfR3lYcA2ITVFKy7HnlEEZcBPO2VLkA
8LwGlp0iFQSZ/LQym5GAHofkB77mUq/xWnlul+5gEqpX3zLxZ8i6sdNOeFCYemOr
Elgfnyo09bmE9pxby9jNKpnaUbPzjGbDhiSy4DpnCbBQ6ANxgBDssSldBFOXzjgM
gkqoSgW48O8JMtG5yPkj8oCnf4tgbVU4+kK4fU+PlRmv6NY2FZ5p/R70tO68kRV7
eZ5WxLBzf96qD09DFfNCSs/gdiN5ldsRL3FWO7vM0NdjoRxpiwMGxJfBJ/zVVOjq
v1bR2EkmYaeorGpwwl1F6hpCGa3ls8olEZXfLN31SLPm8DNFGiDcT5TsU3igp1CM
LF9oFYrIsBTb9PcJMsFMD8Z953FH9FjHCaXRx6pyuSW0ue89e2UiGYElSWWyozB8
VoiUdvhYmue4Z/7OqorP8+rSXcEWkY9pgBCI0MlqnJ/fk4/PFOTACunbYq+eI8UD
fB01UNRwKX2NDsJ39+Ve9i09lK+NKAqjHSCGkEJPNrOCImFCwBdga7UPIys8q/Og
fkDXW/SxYly6yEcROdXbApsRZBI2xuvgDCy3akv1BvAUfqDB2QARAQABiQI8BBgB
CgAmFiEEjPqD0T6yGB7vWEPkHrMPryNgmf4FAmhX5xgCGwwFCRLMAwAACgkQHrMP
ryNgmf790A//Qm3UXMMhOBdN1T2gjkvWuQBlovsuCLHpmDrH2DOlHJVYbZQr5wl3
ug1AOVOLLPyaOzhHUpu99S0fhlOWkejI06TCp9sAtnOg/ukgsX5B6lnC9weHVsrY
1priVn9+aAUBOx8El0Wq6Ddy3HvrHz9nM5WzcV/rqR+tRWvHK2Ns1i8cCxQp40w7
s2GsDmWA7ForInDbUFmsQMvLlGgXYYchjOVlbY5DbIKLbWFjbyKTk5ojo0vkCvS0
qvuy2U/VlMhLE1MMyLYp89tPMa6qvkI6qolsTiksm5Aef8k146a3qntWH6n8wC/k
3hnQajlCJwgRVfs5IYc8EErGD4Oh0nTUlBlnPzypQPXT1ZGYYkVwMLCuG2sbSl8o
txbqrOIypBHzCyv717+0h2ZRqNT6HAe2UR/VJtWLra2J3Dnso1UEQOZgkFVAnNzE
T3Flsrrrnu/VidtEfkB6WCKD5FITzx5nBy0yljhSSunVpBP4BxB+Jj3s9dNz0V0a
EXnaN01l2s56TOhZHaqNdULC0jFjbKPszAsClPFMHk3QMP7+X5sD7usM363ETXvj
KCAuXDKvlFXUlhFEIxs+1pM3ffAofVmDs689QaSTuYkIeFBC1zlKXJYYBloD7jiJ
Yz76o/X/S3BlVpU2vTldkzwa/S4KIxS5/XU1o+tfKRzfWwOl4YDh2TE=
=nzf6
-----END PGP PUBLIC KEY BLOCK-----

View File

@@ -13,6 +13,11 @@ BOOT_FDT_FILE="amlogic/meson-g12b-bananapi-cm4-cm4io.dtb"
BOOTBRANCH_BOARD="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
# CPUFREQ (/etc/default/cpufrequtils)
CPUMIN=1000000
CPUMAX=2400000
GOVERNOR=performance
function post_family_tweaks_bsp__bananapi_rtl_bt() {
if [[ -d "$SRC/packages/bsp/bananapi/rtl_bt" ]]; then
mkdir -p "${destination}"/lib/firmware/updates/rtl_bt

View File

@@ -2,16 +2,15 @@
BOARD_NAME="BananaPi BPI-F3"
BOARDFAMILY="spacemit"
BOARD_MAINTAINER="pyavitz"
KERNEL_TARGET="current"
KERNEL_TARGET="current,edge"
BOOT_FDT_FILE="spacemit/k1-bananapi-f3.dtb"
BOOTDELAY=1
SRC_EXTLINUX="yes"
SRC_CMDLINE="earlycon=sbi console=tty1 console=ttyS0,115200"
SRC_CMDLINE="earlycon=sbi console=tty1 console=ttyS0,115200 loglevel=1"
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
@@ -24,9 +23,7 @@ function post_family_tweaks_bsp__bananapi_f3_extras() {
display_alert "$BOARD" "Installing boot firmware" "info"
run_host_command_logged cp -fv $SRC/packages/blobs/riscv64/spacemit/esos.elf "${destination}"/lib/firmware
fi
display_alert "$BOARD" "Force load wireless" "info"
run_host_command_logged mkdir -pv "${destination}"/etc/modules-load.d
run_host_command_logged echo "8852bs" > "${destination}"/etc/modules-load.d/${BOARD}.conf
}

View File

@@ -13,6 +13,11 @@ BOOT_FDT_FILE="amlogic/meson-g12b-a311d-bananapi-m2s.dtb"
BOOTBRANCH_BOARD="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
# CPUFREQ (/etc/default/cpufrequtils)
CPUMIN=1000000
CPUMAX=2400000
GOVERNOR=performance
function post_family_tweaks_bsp__bananapi_rtl_bt() {
if [[ -d "$SRC/packages/bsp/bananapi/rtl_bt" ]]; then
mkdir -p "${destination}"/lib/firmware/updates/rtl_bt

View File

@@ -0,0 +1,26 @@
# Allwinner H618 quad core 2/4GB RAM 8GB eMMC SoC WiFi\Bt HDMI SPI USB-C
BOARD_NAME="BananaPi M4 Berry"
BOARDFAMILY="sun50iw9-bpi"
BOARD_MAINTAINER="The-going"
BOOTCONFIG="bananapi_m4_berry_defconfig"
BOOTPATCHDIR="v2025-sunxi"
BOOTBRANCH_BOARD="tag:v2025.04"
OVERLAY_PREFIX="sun50i-h616"
BOOT_FDT_FILE="sun50i-h618-bananapi-m4-berry.dtb"
BOOT_LOGO="desktop"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools hostapd"
function post_family_tweaks_bsp__bananapi_module_conf() {
mkdir -p "${destination}"/etc/modprobe.d/
display_alert "$BOARD" "Configuring rtl8821cu wifi module" "info"
cp -f "${SRC}"/packages/bsp/wifi-rtl8821cu/etc/modprobe.d/8821cu.conf \
"${destination}"/etc/modprobe.d/8821cu.conf
}

View File

@@ -1,35 +0,0 @@
# Allwinner H618 quad core 2/4GB RAM 8GB eMMC SoC WiFi\Bt HDMI SPI USB-C
BOARD_NAME="BananaPi M4 Berry"
BOARDFAMILY="sun50iw9-bpi"
BOARD_MAINTAINER="The-going"
BOOTCONFIG="bananapi_m4_berry_defconfig"
BOOTPATCHDIR="v2025.01/board_bananapim4berry"
BOOTBRANCH_BOARD="tag:v2025.01"
OVERLAY_PREFIX="sun50i-h616"
BOOT_FDT_FILE="sun50i-h618-bananapi-m4-berry.dtb"
BOOT_LOGO="desktop"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools"
function post_family_tweaks_bsp__bananapi_module_conf() {
mkdir -p "${destination}"/etc/modprobe.d/
display_alert "$BOARD" "Configuring rlt8821cu wifi module" "info"
cat <<-EOF > "${destination}"/etc/modprobe.d/8821cu.conf
# https://github.com/morrownr/8821cu-20210916/blob/main/8821cu.conf
#
# To see all options that are available:
#
# for f in /sys/module/8821cu/parameters/*;do echo "\$(basename \$f): \$(sudo cat \$f)";done
#
blacklist rtw88_8821cu
#
options 8821cu rtw_led_ctrl=2
EOF
}

View File

@@ -5,13 +5,14 @@ BOARD_MAINTAINER="pyavitz"
BOOTCONFIG="bananapi_m4zero_defconfig"
OVERLAY_PREFIX="sun50i-h616"
BOOT_FDT_FILE="sun50i-h618-bananapi-m4-zero.dtb"
DEFAULT_OVERLAYS="bananapi-m4-sdio-wifi-bt"
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.04"
BOOTPATCHDIR="v2024.04"
BOOTBRANCH_BOARD="tag:v2025.07"
BOOTPATCHDIR="v2025.07"
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools"
function post_family_tweaks_bsp__bananapi_firmware() {

View File

@@ -1,3 +1,4 @@
# Rockchip RK3588 octa core 8-32GB RAM SoC 2*2.5GBe eMMC USB3 NvME WIFI
source "${SRC}/config/boards/armsom-sige7.csc"
BOARD_NAME="Banana Pi M7"
BOARD_MAINTAINER="amazingfate"

View File

@@ -0,0 +1,18 @@
# Mediatek MT7988a quad core Cortex-A73 4/8GB RAM 8GB EMMC mPci USB3.0 4xGBE
BOARD_NAME="Banana Pi R4"
BOARDFAMILY="filogic"
BOARD_MAINTAINER=""
KERNEL_TARGET="current"
KERNEL_TEST_TARGET="current"
BOOTCONFIG="mt7988a_bananapi_bpi-r4-sdmmc_defconfig"
BOOT_FDT_FILE="mediatek/mt7988a-bananapi-bpi-r4-sd.dtb"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS0,115200n1 earlyprintk loglevel=8 initcall_debug=0 swiotlb=512 cgroup_enable cgroup_memory=1 init=/sbin/init"
function post_family_tweaks__bpi-r4() {
display_alert "Applying eth blobs"
mkdir -p "$SDCARD/lib/firmware/mediatek/mt7988"
cp -v "$SRC/packages/blobs/filogic/firmware/mediatek/mt7988/mt7988_wo_0.bin" "$SDCARD/lib/firmware/mediatek/mt7988/mt7988_wo_0.bin"
cp -v "$SRC/packages/blobs/filogic/firmware/mediatek/mt7988/mt7988_wo_1.bin" "$SDCARD/lib/firmware/mediatek/mt7988/mt7988_wo_1.bin"
}

View File

@@ -16,3 +16,5 @@ KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
SERIALCON="ttyS2"
ATF_BOARD="generic"
OPTEE_ARGS=""
OPTEE_PLATFORM="k3-j721e"

View File

@@ -15,3 +15,5 @@ KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
SERIALCON="ttyS2"
ATF_BOARD="lite"
OPTEE_ARGS="CFG_TEE_CORE_LOG_LEVEL=1"
OPTEE_PLATFORM="k3-am62x"

View File

@@ -13,6 +13,8 @@ KERNEL_TARGET="current"
KERNEL_TEST_TARGET="current"
SERIALCON="ttyS2"
ATF_BOARD="lite"
OPTEE_ARGS=""
OPTEE_PLATFORM="k3-am62x"
# Use these branches until BeagleY-AI goes upstream
function post_family_config_branch_current__beagley_ai_use_beagle_kernel_uboot() {

View File

@@ -0,0 +1,107 @@
# Amlogic A311D 2GB RAM 16GB eMMC GBE USB3 RTL8822CS WiFi/BT
BOARD_NAME="CAINIAO CNIoT-CORE"
BOARDFAMILY="meson-g12b"
BOARD_MAINTAINER=""
BOOTCONFIG="cainiao-cniot-core_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost on the CAINIAO CNIoT-CORE
FULL_DESKTOP="yes"
SERIALCON="ttyAML0"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="amlogic/meson-g12b-a311d-cainiao-cniot-core.dtb"
PACKAGE_LIST_BOARD="alsa-ucm-conf" # Contain ALSA UCM top-level configuration file
BOOTBRANCH_BOARD="tag:v2025.04"
BOOTPATCHDIR="v2025.04" # This has a patch that adds support for CAINIAO CNIoT-CORE.
function post_family_config__use_repacked_fip() {
declare -g UBOOT_TARGET_MAP="u-boot.bin"
unset write_uboot_platform
function write_uboot_platform() {
dd if="$1/u-boot.bin" of="$2" bs=512 seek=1 conv=fsync 2>&1
}
}
function fetch_sources_tools__get_vendor_fip_and_gxlimg_source() {
fetch_from_repo "https://github.com/retro98boy/cainiao-cniot-core-linux.git" "cainiao-cniot-core-linux" "commit:30273c25aeabf75f609cff2c4fa7264335c295a8"
fetch_from_repo "https://github.com/repk/gxlimg.git" "gxlimg" "commit:0d0e5ba9cf396d1338067e8dc37a8bcd2e6874f1"
}
function build_host_tools__install_gxlimg() {
# Compile and install only if git commit hash changed
cd "${SRC}/cache/sources/gxlimg" || exit
# need to check if /usr/local/bin/gxlimg to detect new Docker containers with old cached sources
if [[ ! -f .commit_id || $(git rev-parse @ 2> /dev/null) != $(< .commit_id) || ! -f /usr/local/bin/gxlimg ]]; then
display_alert "Compiling" "gxlimg" "info"
run_host_command_logged make distclean
run_host_command_logged make
install -Dm0755 gxlimg /usr/local/bin/gxlimg
git rev-parse @ 2> /dev/null > .commit_id
fi
}
function post_uboot_custom_postprocess__repack_vendor_fip_with_mainline_uboot() {
display_alert "${BOARD}" "Repacking vendor FIP with mainline u-boot.bin" "info"
BLOBS_DIR="${SRC}/cache/sources/cainiao-cniot-core-linux"
EXTRACT_DIR="${BLOBS_DIR}/extract"
AML_ENCRYPT="${SRC}/cache/sources/amlogic-boot-fip/khadas-vim3/aml_encrypt_g12b"
if [ ! -f "$AML_ENCRYPT" ]; then
display_alert "${BOARD}" "amlogic-boot-fip/khadas-vim3/aml_encrypt_g12b not exist" "err"
exit 1
fi
mv u-boot.bin raw-u-boot.bin
rm -f "${EXTRACT_DIR}/bl33.enc"
# The current version of gxlimg has a problem with the handling of bl3x,
# which may cause the produced fip to fail to boot.
# see https://github.com/repk/gxlimg/issues/19
# run_host_command_logged gxlimg -t bl3x -s raw-u-boot.bin "${EXTRACT_DIR}/bl33.enc"
run_host_x86_binary_logged "$AML_ENCRYPT" --bl3sig \
--input raw-u-boot.bin \
--output "${EXTRACT_DIR}/bl33.enc" \
--level v3 --type bl33
run_host_command_logged gxlimg \
-t fip \
--bl2 "${EXTRACT_DIR}/bl2.sign" \
--ddrfw "${EXTRACT_DIR}/ddr4_1d.fw" \
--ddrfw "${EXTRACT_DIR}/ddr4_2d.fw" \
--ddrfw "${EXTRACT_DIR}/ddr3_1d.fw" \
--ddrfw "${EXTRACT_DIR}/piei.fw" \
--ddrfw "${EXTRACT_DIR}/lpddr4_1d.fw" \
--ddrfw "${EXTRACT_DIR}/lpddr4_2d.fw" \
--ddrfw "${EXTRACT_DIR}/diag_lpddr4.fw" \
--ddrfw "${EXTRACT_DIR}/aml_ddr.fw" \
--ddrfw "${EXTRACT_DIR}/lpddr3_1d.fw" \
--bl30 "${EXTRACT_DIR}/bl30.enc" \
--bl31 "${EXTRACT_DIR}/bl31.enc" \
--bl33 "${EXTRACT_DIR}/bl33.enc" \
--rev v3 u-boot.bin
if [ ! -s u-boot.bin ]; then
display_alert "${BOARD}" "FIP repack produced empty u-boot.bin" "err"
exit 1
fi
}
function post_family_tweaks_bsp__cainiao-cniot-core() {
display_alert "${BOARD}" "Installing ALSA UCM configuration files" "info"
# Use ALSA UCM via GUI: Install a desktop environment such as GNOME, PipeWire, and WirePlumber.
# Use ALSA UCM via CLI: alsactl init && alsaucm set _verb "HiFi" set _enadev "HDMI" set _enadev "Speaker"
# playback via HDMI: aplay -D plughw:cainiaocniotcor,0 /usr/share/sounds/alsa/Front_Center.wav
# playback via internal speaker: aplay -D plughw:cainiaocniotcor,1 /usr/share/sounds/alsa/Front_Center.wav
install -Dm644 "${SRC}/packages/bsp/cainiao-cniot-core/cainiao-cniot-core-HiFi.conf" "${destination}/usr/share/alsa/ucm2/Amlogic/axg-sound-card/cainiao-cniot-core-HiFi.conf"
install -Dm644 "${SRC}/packages/bsp/cainiao-cniot-core/cainiao-cniot-core.conf" "${destination}/usr/share/alsa/ucm2/Amlogic/axg-sound-card/cainiao-cniot-core.conf"
if [ ! -d "${destination}/usr/share/alsa/ucm2/conf.d/axg-sound-card" ]; then
mkdir -p "${destination}/usr/share/alsa/ucm2/conf.d/axg-sound-card"
fi
ln -sfv /usr/share/alsa/ucm2/Amlogic/axg-sound-card/cainiao-cniot-core.conf \
"${destination}/usr/share/alsa/ucm2/conf.d/axg-sound-card/cainiao-cniot-core.conf"
}

View File

@@ -6,6 +6,6 @@ BOOT_LOGO="desktop"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current,edge" # in case different then kernel target
FORCE_BOOTSCRIPT_UPDATE="yes"
BOOTBRANCH_BOARD="tag:v2024.01"
BOOTPATCHDIR="v2024.01"
BOOTBRANCH_BOARD="tag:v2025.04"
BOOTPATCHDIR="v2025.04"
BOARD_MAINTAINER="IsMrX"

View File

@@ -5,7 +5,7 @@ BOARD_MAINTAINER="andyshrk"
BOARD_FIRMWARE_INSTALL="-full"
BOOT_SOC="rk3588"
BOOTCONFIG="coolpi-cm5-genbook-rk3588_defconfig"
KERNEL_TARGET="edge"
KERNEL_TARGET="edge,vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-coolpi-cm5-genbook.dtb"
@@ -15,13 +15,13 @@ BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
# Mainline U-Boot
function post_family_config_branch_edge__coolpi-genbook_use_mainline_uboot() {
function post_family_config__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
declare -g BOOTPATCHDIR="v2025.01-rc3-coolpi-cm5"
declare -g BOOTBRANCH_BOARD="tag:v2025.01"
declare -g BOOTBRANCH_BOARD="tag:v2025.04"
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

@@ -1,66 +0,0 @@
# 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 RK3576 SoC octa core 4-32GB SoC 2*GBe eMMC USB3 NvME WIFI
BOARD_NAME="100ASK DShanPI A1"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="dshanpi-a1-rk3576_defconfig"
KERNEL_TARGET="vendor"
KERNEL_TEST_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3576-100ask-dshanpi-a1.dtb"
BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
function post_family_tweaks__dshanpi-a1_naming_audios() {
display_alert "$BOARD" "Renaming dshanpi-a1 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-dp0-sound", ENV{SOUND_DESCRIPTION}="DP0 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-es8316-sound", ENV{SOUND_DESCRIPTION}="ES8316 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
return 0
}

View File

@@ -1,14 +1,15 @@
# Rockchip RK3588j Octa core 4GB-32GB eMMC GBE HDMI HDMI-IN PCIe SATA USB3 WiFi 4G 5G
BOARD_NAME="Firefly ITX-3588J"
BOARDFAMILY="rockchip-rk3588"
BOOT_SOC="rk3588"
BOARD_MAINTAINER="SeeleVolleri"
BOOTCONFIG="rock-5b-rk3588_defconfig"
KERNEL_TARGET="vendor"
BOOTCONFIG="rk3588_defconfig"
BOOT_FDT_FILE="rockchip/rk3588-firefly-itx-3588j.dtb"
BOOT_LOGO="desktop"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
declare -g UEFI_EDK2_BOARD_ID="firefly-itx-3588j" # This _only_ used for uefi-edk2-rk3588 extension
function post_family_tweaks_bsp__firefly_itx_3588j() {
display_alert "$BOARD" "Installing rk3588-bluetooth.service" "info"

View File

@@ -5,15 +5,25 @@ BOARD_MAINTAINER="pyavitz"
BOOTCONFIG="amper_gateway_am-gz80x_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
BOOTBRANCH_BOARD="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
BOOTBRANCH_BOARD="tag:v2024.10"
BOOTPATCHDIR="v2024.10"
BOOT_FDT_FILE="amlogic/meson-axg-amper-gateway-am-gz80x.dtb"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyAML0,115200n8 clk_ignore_unused loglevel=7"
HAS_VIDEO_OUTPUT="no"
MODULES_BLACKLIST="rtw88_8723d rtw88_8723ds meson_nand"
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools"
function post_family_tweaks_bsp__gateway_gz80x_firmware() {
if [[ -d "$SRC/packages/bsp/gateway-gz80x/rtl_bt" ]]; then
mkdir -p "${destination}"/lib/firmware/updates/rtl_bt
display_alert "$BOARD" "Installing bluetooth firmware" "info"
cp -fr $SRC/packages/bsp/gateway-gz80x/rtl_bt/* "${destination}"/lib/firmware/updates/rtl_bt/
fi
}
function post_family_tweaks_bsp__gateway_gz80x_udev() {
mkdir -p "${destination}"/etc/udev/rules.d
display_alert "$BOARD" "Install zwave udev rule" "info"
display_alert "$BOARD" "Installing zwave udev rule" "info"
echo 'KERNEL=="ttyAML2", NAME="tts/%n", SYMLINK+="zwave", GROUP="dialout", MODE="0660"' > "${destination}"/etc/udev/rules.d/10-zwave.rules
}

View File

@@ -10,3 +10,8 @@ HAS_VIDEO_OUTPUT="no"
FORCE_BOOTSCRIPT_UPDATE="yes"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
function post_family_config__helios4_extra_packages() {
add_packages_to_image "fancontrol"
add_packages_to_image "ethtool"
}

View File

@@ -0,0 +1,14 @@
# Rockchip RK3588 SoC with 4/8/16GB RAM, 16GBB/32GB/64GB/128GB EMMC, m.2 SATA, USB3, USB2, 2xGbE, WIFI6, BT5.1, LCDS, MIPI, eDP, HDMI
BOARD_NAME="IMB3588"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="JackHuang021"
BOOTCONFIG="imb3588_defconfig"
BOOT_SOC="rk3588"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-yx-imb3588.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"

View File

@@ -1,12 +1,15 @@
# Allwinner H6 quad core 2GB SoC WiFi eMMC
BOARD_NAME="Inovato Quadra"
BOARDFAMILY="sun50iw6"
BOARD_MAINTAINER="NicoD-SBC"
BOARD_MAINTAINER="igorpecovnik"
BOOTCONFIG="tanix_tx6_defconfig"
CRUSTCONFIG="tanix_tx6_defconfig"
BOOT_FDT_FILE="sun50i-h6-inovato-quadra.dtb"
KERNEL_TARGET="legacy,current,edge"
BOOT_FDT_FILE="allwinner/sun50i-h6-inovato-quadra.dtb"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
#BOOTBRANCH="tag:v2025.04"
#BOOTPATCHDIR="v2025-sunxi"
#OVERLAY_PREFIX="sun50i-h6"
BOOT_LOGO="desktop"
FULL_DESKTOP="yes"
SRC_EXTLINUX="yes"

View File

@@ -33,7 +33,7 @@ function post_family_config__uboot_kedge2() {
display_alert "$BOARD" "Configuring ($BOARD) u-boot" "info"
declare -g BOOTSOURCE='https://github.com/khadas/u-boot.git'
declare -g BOOTBRANCH='branch:khadas-edges-v2017.09'
declare -g BOOTBRANCH="commit:df276095a29a02f8e7ce4f451770c06486106594"
declare -g BOOTPATCHDIR="legacy/u-boot-khadas-edge2-rk3588"
declare -g BOOTCONFIG="khadas-edge2-rk3588s_defconfig"
declare -g SRC_EXTLINUX="yes" # For now, use extlinux. Thanks Monka

View File

@@ -12,8 +12,8 @@ BOOT_LOGO="desktop"
BOOT_FDT_FILE="amlogic/meson-g12b-a311d-khadas-vim3.dtb" # there is also a s922x dtb, but vim3 is a311d only
ASOUND_STATE="asound.state.khadas-vim3"
BOOTBRANCH_BOARD="tag:v2024.01"
BOOTPATCHDIR="v2024.01" # this has 'board_khadas-vim3' which has a patch to boot USB/NVMe/SCSI first
BOOTBRANCH_BOARD="tag:v2025.04"
BOOTPATCHDIR="v2025.04" # this has 'board_khadas-vim3' which has a patch to boot USB/NVMe/SCSI first
declare -g KHADAS_OOWOW_BOARD_ID="VIM3" # for use with EXT=output-image-oowow
@@ -53,6 +53,12 @@ function post_config_uboot_target__extra_configs_for_khadas_vim3() {
display_alert "u-boot for ${BOARD}" "u-boot: enable gpio LED support" "info"
run_host_command_logged scripts/config --enable CONFIG_LED
run_host_command_logged scripts/config --enable CONFIG_LED_GPIO
display_alert "u-boot for ${BOARD}" "u-boot: enable more cmdline commands" "info" # for extra compat with eg HAOS
run_host_command_logged scripts/config --enable CONFIG_CMD_SQUASHFS
run_host_command_logged scripts/config --enable CONFIG_CMD_SETEXPR
run_host_command_logged scripts/config --enable CONFIG_CMD_FILEENV # added via cmd-fileenv-read-string-from-file-into-env.patch
run_host_command_logged scripts/config --enable CONFIG_CMD_CAT
run_host_command_logged scripts/config --enable CONFIG_CMD_XXD
display_alert "u-boot for ${BOARD}" "u-boot: enable networking cmds" "info"
run_host_command_logged scripts/config --enable CONFIG_CMD_NFS
run_host_command_logged scripts/config --enable CONFIG_CMD_WGET

View File

@@ -0,0 +1,51 @@
# Allwinner H618 quad core 1/2/4GB RAM SoC WiFi SPI USB-C
BOARD_NAME="KickPi K2B"
BOARDFAMILY="sun50iw9-bpi"
BOARD_MAINTAINER="pyavitz"
BOOTCONFIG="kickpi_k2b_defconfig"
OVERLAY_PREFIX="sun50i-h616"
BOOT_FDT_FILE="sun50i-h618-kickpi-k2b.dtb"
BOOT_LOGO="desktop"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FORCE_BOOTSCRIPT_UPDATE="yes"
BOOTBRANCH_BOARD="tag:v2025.07"
BOOTPATCHDIR="v2025.07"
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools"
# AIC8800
AIC8800_TYPE="sdio"
enable_extension "radxa-aic8800"
# AIC8800 Wireless
function post_family_tweaks_bsp__aic8800_wireless() {
display_alert "$BOARD" "Installing AIC8800 Tweaks" "info"
mkdir -p "${destination}"/etc/modprobe.d
mkdir -p "${destination}"/etc/modules-load.d
# Add wireless conf
cat > "${destination}"/etc/modprobe.d/aic8800-wireless.conf <<- EOT
options aic8800_fdrv_sdio aicwf_dbg_level=0 custregd=0 ps_on=0
options aic8800_bsp_sdio aic_fw_path=/lib/firmware/aic8800_fw/SDIO/aic8800
EOT
# Add needed bluetooth modules
cat > "${destination}"/etc/modules-load.d/aic8800-btlpm.conf <<- EOT
hidp
rfcomm
bnep
aic8800_btlpm_sdio
EOT
# Add AIC8800 Bluetooth Service and Script
if [[ -d "$SRC/packages/bsp/aic8800" ]]; then
mkdir -p "${destination}"/etc/systemd/system
mkdir -p "${destination}"/usr/bin
cp -f "$SRC/packages/bsp/aic8800/aic-bluetooth" "${destination}"/usr/bin
chmod +x "${destination}"/usr/bin/aic-bluetooth
cp -f "$SRC/packages/bsp/aic8800/aic-bluetooth.service" "${destination}"/etc/systemd/system
fi
}
# Enable AIC8800 Bluetooth Service
function post_family_tweaks__enable_aic8800_bluetooth_service() {
display_alert "$BOARD" "Enabling AIC8800 Bluetooth Service" "info"
chroot_sdcard systemctl --no-reload enable aic-bluetooth.service
}

View File

@@ -2,20 +2,27 @@
BOARD_NAME="LCKFB Taishan Pi"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-zero3-rk3566_defconfig"
KERNEL_TARGET="vendor"
BOOT_FDT_FILE="rockchip/rk3566-taishanpi-v10.dtb"
BOOTCONFIG="lckfb-tspi-rk3566_defconfig"
BOOT_SOC="rk3566"
KERNEL_TARGET="vendor,current,edge"
KERNEL_TEST_TARGET="current,vendor"
BOOT_FDT_FILE="rockchip/rk3566-lckfb-tspi.dtb"
BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
# Override family config for this board; let's avoid conditionals in family config.
function post_family_config__tspi_use_radxa_vendor() {
BOOTSOURCE='https://github.com/radxa/u-boot.git'
BOOTBRANCH='branch:rk35xx-2024.01'
BOOTPATCHDIR="u-boot-radxa-latest"
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
display_alert "$BOARD" "Mainline U-Boot overrides for $BOARD - $BRANCH" "info"
BOOTDELAY=1
BOOTSOURCE="https://github.com/u-boot/u-boot"
BOOTBRANCH="tag:v2025.04"
BOOTPATCHDIR="v2025.04"
BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
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 seek=64 conv=notrunc status=none
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
}
}

View File

@@ -16,8 +16,8 @@ function post_family_config_branch_edge__lubancat_2_use_mainline_uboot() {
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
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:v2025.04"
declare -g BOOTPATCHDIR="v2025.04"
# 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,4 +1,4 @@
# Rockchip RK3566 quad core
# Rockchip RK3566 quad core 4/8GB RAM SoC WIFI/BT eMMC USB2 USB3 NVMe PCIe GbE HDMI SPI
BOARD_NAME="Luckfox Core3566"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
@@ -11,6 +11,9 @@ BOOT_FDT_FILE="rockchip/rk3566-luckfox-core3566.dtb"
IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
BOOTFS_TYPE="fat" # Only for vendor/legacy
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
MODULES_BLACKLIST_LEGACY="bcmdhd"
# Override family config for this board; let's avoid conditionals in family config.
function post_family_config__luckfox-core3566_use_vendor_uboot() {

View File

@@ -1,7 +1,7 @@
# Rockchip RK3588 SoC octa core 4-16GB SoC 1GBe eMMC USB3 SATA WiFi/BT
declare -g BOARD_NAME="Mekotronics R58 MiniPC"
declare -g BOARDFAMILY="rockchip-rk3588"
declare -g BOARD_MAINTAINER="monkaBlyat"
declare -g BOARD_MAINTAINER=""
declare -g KERNEL_TARGET="vendor"
declare -g BOOTCONFIG="mekotronics_r58-rk3588_defconfig" # generic ebv-ish defconfig
declare -g BOOT_FDT_FILE="rockchip/rk3588-blueberry-minipc-linux.dtb" # Specific to this board

View File

@@ -1,7 +1,7 @@
# Rockchip RK3588 SoC octa core 4-16GB SoC 2x1GBe eMMC USB3 NVMe SATA 4G WiFi/BT HDMI DP HDMI-In RS232 RS485
declare -g BOARD_NAME="Mekotronics R58X-4G"
declare -g BOARDFAMILY="rockchip-rk3588"
declare -g BOARD_MAINTAINER="monkaBlyat"
declare -g BOARD_MAINTAINER=""
declare -g KERNEL_TARGET="vendor"
declare -g BOOTCONFIG="mekotronics_r58x-rk3588_defconfig" # vendor u-boot; with NVMe and a DTS
declare -g BOOT_FDT_FILE="rockchip/rk3588-blueberry-edge-v12-linux.dtb" # Specific to this board

View File

@@ -1,7 +1,7 @@
# Rockchip RK3588 SoC octa core 4-16GB SoC 2x1GBe eMMC USB3 NVMe SATA WiFi/BT HDMI DP HDMI-In RS232 RS485
declare -g BOARD_NAME="Mekotronics R58X"
declare -g BOARDFAMILY="rockchip-rk3588"
declare -g BOARD_MAINTAINER="monkaBlyat"
declare -g BOARD_MAINTAINER=""
declare -g KERNEL_TARGET="vendor"
declare -g BOOTCONFIG="mekotronics_r58x-rk3588_defconfig" # vendor u-boot; with NVMe and a DTS
declare -g BOOT_FDT_FILE="rockchip/rk3588-blueberry-edge-v10-linux.dtb" # Specific to this board

View File

@@ -12,8 +12,13 @@ declare -g UEFI_EDK2_BOARD_ID="blade3" # This _only_ used for uefi-edk2-rk3588 e
# Vendor u-boot; use the default family (rockchip-rk3588) u-boot. See config/sources/families/rockchip-rk3588.conf
function post_family_config__vendor_uboot_mekotronics() {
display_alert "$BOARD" "Configuring $BOARD vendor u-boot" "info"
display_alert "$BOARD" "Configuring $BOARD vendor u-boot (using Radxa's older next-dev-v2024.03)" "info"
declare -g BOOTDELAY=1 # build injects this into u-boot config. we can then get into UMS mode and avoid the whole rockusb/rkdeveloptool thing
# Override the stuff from rockchip-rk3588 family; Meko's have a patch for stable MAC address that breaks with Radxa's next-dev-v2024.10+
declare -g BOOTSOURCE='https://github.com/radxa/u-boot.git'
declare -g BOOTBRANCH='branch:next-dev-v2024.03' # NOT next-dev-v2024.10
declare -g BOOTPATCHDIR="legacy/u-boot-radxa-rk35xx"
}
function post_family_config_branch_edge__different_dtb_for_edge() {

View File

@@ -30,16 +30,22 @@ function post_family_tweaks__nanopct6_naming_audios() {
}
# 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"
function post_family_config__nanopct6_use_mainline_uboot() {
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
display_alert "$BOARD" "u-boot overrides for $BOARD / $BRANCH" "info"
# To reuse ATF code in rockchip64_common, let's change the BOOT_SCENARIO and call prepare_boot_configuration() again
BOOT_SCENARIO="tpl-blob-atf-mainline"
prepare_boot_configuration
declare -g BOOTCONFIG="nanopc-t6-rk3588_defconfig"
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline
declare -g BOOTBRANCH="tag:v2025.04-rc1"
declare -g BOOTBRANCH="tag:v2025.04"
declare -g BOOTPATCHDIR="v2025.04"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
declare -g UBOOT_TARGET_MAP="BL31=bl31.elf 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
@@ -55,12 +61,13 @@ function post_family_config_branch_edge__nanopct6_use_mainline_uboot() {
# U-boot 2025.04+ can detect and set fdtfile automatically across T6 and T6-LTS boards.
# So if using mainline u-boot, unset BOOT_FDT_FILE to let u-boot handle it.
# That way, both variants can boot from the same image; lets keep the -lts board file for vendor kernel/u-boot.
function post_family_config_branch_edge__t6_and_t6_lts_auto_dtb_name_via_uboot_detection() {
function post_family_config__t6_and_t6_lts_auto_dtb_name_via_uboot_detection() {
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
unset BOOT_FDT_FILE
}
function pre_config_uboot_target__nanoptc6_patch_uboot_dtsi_for_ums() {
[[ "${BRANCH}" != "edge" ]] && return 0
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for UMS" "info" # avoid a patch, just append to the dtsi file
cat <<- EOD >> arch/arm/dts/rk3588-nanopc-t6-u-boot.dtsi # Append to the t6 u-boot dtsi file with stuff for enabling gadget/otg/peripheral mode
@@ -69,6 +76,9 @@ function pre_config_uboot_target__nanoptc6_patch_uboot_dtsi_for_ums() {
&usbdp_phy0 { status = "okay"; };
&usb_host0_xhci { dr_mode = "peripheral"; maximum-speed = "high-speed"; status = "okay"; };
EOD
# Append to the t6 u-boot dtsi file with stuff for enabling gadget/otg/peripheral mode
# Append to the t6 u-boot dtsi file with stuff for enabling gadget/otg/peripheral mode
# Append to the t6 u-boot dtsi file with stuff for enabling gadget/otg/peripheral mode
}
@@ -85,7 +95,7 @@ function pre_config_uboot_target__nanopct6_patch_rockchip_common_boot_order() {
}
function post_config_uboot_target__extra_configs_for_nanopct6_mainline_environment_in_spi() {
[[ "${BRANCH}" != "edge" ]] && return 0
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable board-specific configs (env in SPI)" "info"
run_host_command_logged scripts/config --enable CONFIG_DM_PMIC_FAN53555
@@ -134,7 +144,7 @@ function post_config_uboot_target__extra_configs_for_nanopct6_mainline_environme
# Include fw_setenv, configured to point to the correct spot on the SPI Flash
PACKAGE_LIST_BOARD="libubootenv-tool" # libubootenv-tool provides fw_printenv and fw_setenv, for talking to U-Boot environment
function post_family_tweaks__config_nanopct6_fwenv() {
[[ "${BRANCH}" != "edge" ]] && return 0
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
display_alert "Configuring fw_printenv and fw_setenv" "for ${BOARD} and u-boot ${BOOTBRANCH}" "info"
# Addresses below come from CONFIG_ENV_OFFSET and CONFIG_ENV_SIZE in defconfig
cat <<- 'FW_ENV_CONFIG' > "${SDCARD}"/etc/fw_env.config

View File

@@ -0,0 +1,30 @@
# Rockchip RK3566 quad core 2GB RAM eMMC 2x GbE USB3 HDMI
BOARD_NAME="NanoPi R3S LTS"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER="pyavitz"
BOOTCONFIG="nanopi-r3s-lts-rk3566_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current,edge"
BOOT_FDT_FILE="rockchip/rk3566-nanopi-r3s-lts.dtb"
IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
function post_family_config__use_mainline_uboot() {
if [[ "$BRANCH" != "current" && "$BRANCH" != "edge" ]]; then
return 0
fi
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
BOOTCONFIG="nanopi-r3s-lts-rk3566_defconfig"
BOOTSOURCE="https://github.com/u-boot/u-boot"
BOOTBRANCH="tag:v2025.04"
BOOTPATCHDIR="v2025.04"
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

@@ -19,8 +19,8 @@ function post_family_config__use_mainline_uboot() {
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
BOOTCONFIG="nanopi-r3s-rk3566_defconfig"
BOOTSOURCE="https://github.com/u-boot/u-boot"
BOOTBRANCH="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
BOOTBRANCH="tag:v2025.04"
BOOTPATCHDIR="v2025.04"
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"

View File

@@ -1,7 +1,7 @@
# Rockchip RK3399 hexa core 1GB/4GB RAM SoC 2 x GBE USB3 USB-C
BOARD_NAME="NanoPi R4S"
BOARDFAMILY="rockchip64" # Used to be rk3399
BOARD_MAINTAINER="Manouchehri"
BOARD_MAINTAINER=""
BOOTCONFIG="nanopi-r4s-rk3399_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -30,7 +30,7 @@ function post_family_tweaks__nanopir5c_udev_network_interfaces() {
mkdir -p $SDCARD/etc/udev/rules.d/
cat <<- EOF > "${SDCARD}/etc/udev/rules.d/70-persistent-net.rules"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="0001:01:00.0", NAME:="lan"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="0002:01:00.0", NAME:="wan"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="0001:01:00.0", NAME:="lan1"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="0002:01:00.0", NAME:="wan1"
EOF
}

View File

@@ -26,11 +26,11 @@ function post_family_config__uboot_config() {
}
function post_family_tweaks__nanopir5s_udev_network_interfaces() {
display_alert "$BOARD" "Renaming interfaces WAN LAN1 LAN2" "info"
display_alert "$BOARD" "Renaming interfaces WAN1 LAN1 LAN2" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
cat <<- EOF > "${SDCARD}/etc/udev/rules.d/70-persistent-net.rules"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="fe2a0000.ethernet", NAME:="wan"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="fe2a0000.ethernet", NAME:="wan1"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="0000:01:00.0", NAME:="lan1"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="0001:01:00.0", NAME:="lan2"
EOF

View File

@@ -22,12 +22,12 @@ function post_family_tweaks__nanopi_r6c_naming_audios() {
}
function post_family_tweaks__nanopi_r6c_naming_udev_network_interfaces() {
display_alert "$BOARD" "Renaming NanoPi R6C network interfaces to 'wan' and 'lan'" "info"
display_alert "$BOARD" "Renaming NanoPi R6C network interfaces to 'wan1' and 'lan1'" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
cat <<- EOF > "${SDCARD}/etc/udev/rules.d/70-persistent-net.rules"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="fe1c0000.ethernet", NAME:="wan"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="0003:31:00.0", NAME:="lan"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="fe1c0000.ethernet", NAME:="wan1"
SUBSYSTEM=="net", ACTION=="add", KERNELS=="0003:31:00.0", NAME:="lan1"
EOF
}

View File

@@ -28,9 +28,9 @@ function post_family_tweaks__nanopir6s_naming_udev_network_interfaces() {
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:="wan"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="r8169", KERNELS=="0003:31:00.0", NAME:="lan1"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="r8169", KERNELS=="0004:41:00.0", NAME:="lan2"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", KERNELS=="fe1c0000.ethernet", NAME:="lan2"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="r8169", KERNELS=="0003:31:00.0", NAME:="wan"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="r8169", KERNELS=="0004:41:00.0", NAME:="lan1"
EOF
}

View File

@@ -2,7 +2,7 @@
BOARD_NAME="Odroid HC4"
BOARDFAMILY="meson-sm1"
BOARD_MAINTAINER="igorpecovnik"
BOOTCONFIG="odroid-c4_defconfig" # for the SD card; but also 'odroid-hc4_defconfig', see below at pre_config_uboot_target
BOOTCONFIG="odroid-hc4_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost
@@ -12,8 +12,8 @@ BOOT_FDT_FILE="amlogic/meson-sm1-odroid-hc4.dtb"
PACKAGE_LIST_BOARD="lm-sensors fancontrol" # SPI, sensors, manual fan control via 'pwmconfig'
# Newer u-boot for the HC4. There's patches in `board_odroidhc4` for the defconfigs used in the UBOOT_TARGET_MAP below.
BOOTBRANCH_BOARD="tag:v2024.04"
BOOTPATCHDIR="v2024.04"
BOOTBRANCH_BOARD="tag:v2025.04"
BOOTPATCHDIR="v2025.04"
# We build u-boot twice: C4 config for SD cards, and HC4 (with SATA/PCI/SPI) config for SPI.
UBOOT_TARGET_MAP="
@@ -39,22 +39,6 @@ function post_uboot_custom_postprocess__odroid_hc4_uboot() {
uboot_g12_postprocess "${SRC}"/cache/sources/amlogic-boot-fip/odroid-hc4 g12a
}
# switch defconfig according to target, so we can still use the same post_config_uboot_target for both.
function pre_config_uboot_target__odroidhc4_defconfig_per_target() {
case "${target_make}" in
"armbian_target=spi "*)
BOOTCONFIG="odroid-hc4_defconfig"
;;
"armbian_target=sd "*)
BOOTCONFIG="odroid-c4_defconfig"
;;
*)
exit_with_error "Unknown target_make: '${target_make}', unknown BOOTCONFIG."
;;
esac
display_alert "setting BOOTCONFIG for target" "${target_make}: '${BOOTCONFIG}'" "info"
}
# Enable extra u-boot .config options, this way we avoid patching defconfig
function post_config_uboot_target__extra_configs_for_odroid_hc4() {
display_alert "u-boot for ${BOARD}" "u-boot: enable preboot & pci+usb start in preboot" "info"

View File

@@ -16,6 +16,29 @@ IMAGE_PARTITION_TABLE="gpt"
enable_extension "bcmdhd"
BCMDHD_TYPE="sdio"
# Mainline U-Boot for edge kernel
function post_family_config_branch_edge__orangepi5max_use_mainline_uboot() {
display_alert "$BOARD" "Mainline U-Boot overrides for $BOARD - $BRANCH" "info"
unset BOOT_FDT_FILE # boot.scr will use whatever u-boot detects and sets 'fdtfile' to
declare -g BOOTCONFIG="orangepi-5-max-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 U-Boot
declare -g BOOTBRANCH="tag:v2025.04"
declare -g BOOTPATCHDIR="v2025.04"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
function write_uboot_platform() {
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
}
function write_uboot_platform_mtd() {
flashcp -v -p "$1/u-boot-rockchip-spi.bin" /dev/mtd0
}
}
function post_family_tweaks__orangepi5max_naming_audios() {
display_alert "$BOARD" "Renaming orangepi5max audios" "info"

View File

@@ -1,11 +1,11 @@
# Rockchip RK3588 octa core whatever fixme
# Rockchip RK3588 octa core 4/8/16GB RAM SoC SPI NVMe 2x USB2 2x USB3 HDMI HDMI-in
BOARD_NAME="Orange Pi 5 Ultra"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOOTCONFIG="orangepi-5-ultra-rk3588_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current,edge"
KERNEL_TARGET="vendor,current,edge"
KERNEL_TEST_TARGET="vendor,current,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-orangepi-5-ultra.dtb"
@@ -13,24 +13,15 @@ BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
#enable_extension "bcmdhd"
enable_extension "bcmdhd"
BCMDHD_TYPE="sdio"
# for testing purpose only. needs adaption to mainline once this makes it into 6.15 or .16
function post_family_config_branch_edge__orangepi5-ultra_use_custom_source() {
KERNEL_MAJOR_MINOR="6.14" # Major and minor versions of this kernel.
KERNELSOURCE='https://github.com/jimmyhon/linux.git'
KERNELBRANCH='branch:integrate-6.15'
KERNELPATCHDIR='integrate-6.15'
EXTRAWIFI=no # due to absence of our own fixups 3rd party wifi drivers break
}
function post_family_tweaks__orangepi5ultra_naming_audios() {
display_alert "$BOARD" "Renaming orangepi5ultra audios" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio"' > $SDCARD/etc/udev/rules.d/90-naming-audios.rules
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi1-sound", ENV{SOUND_DESCRIPTION}="HDMI1 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-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-es8388-sound", ENV{SOUND_DESCRIPTION}="ES8388 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
return 0
@@ -54,4 +45,4 @@ function post_family_tweaks__orangepi5ultra_enable_bluetooth_service() {
display_alert "$BOARD" "Enabling ap6611s-bluetooth.service" "info"
chroot_sdcard systemctl enable ap6611s-bluetooth.service
return 0
}
}

View File

@@ -0,0 +1,57 @@
# Rockchip RK3588S octa core 4/8/16GB RAM SoC eMMC USB3 USB-C GbE
BOARD_NAME="Orange Pi 5B"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOOTCONFIG="orangepi-5b-rk3588s_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="edge,vendor"
KERNEL_TEST_TARGET="vendor,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588s-orangepi-5b.dtb"
BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
declare -g BLUETOOTH_HCIATTACH_PARAMS="-s 115200 /dev/ttyS9 bcm43xx 1500000" # For the bluetooth-hciattach extension
enable_extension "bluetooth-hciattach" # Enable the bluetooth-hciattach extension
function post_family_tweaks_bsp__orangepi5b_copy_usb2_service() {
if [[ $BRANCH == "edge" || $BRANCH == "current" ]]; then
return
fi
display_alert "Installing BSP firmware and fixups"
# Add USB2 init service. Otherwise, USB2 and TYPE-C won't work by default
cp $SRC/packages/bsp/orangepi5/orangepi5-usb2-init.service $destination/lib/systemd/system/
return 0
}
function post_family_tweaks__orangepi5b_enable_usb2_service() {
if [[ $BRANCH == "edge" || $BRANCH == "current" ]]; then
return
fi
display_alert "$BOARD" "Installing board tweaks" "info"
# enable usb2 init service
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable orangepi5-usb2-init.service >/dev/null 2>&1"
return 0
}
function post_family_tweaks__orangepi5b_naming_audios() {
if [[ $BRANCH == "edge" || $BRANCH == "current" ]]; then
return
fi
display_alert "$BOARD" "Renaming orangepi5b 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-dp0-sound", ENV{SOUND_DESCRIPTION}="DP0 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
}

View File

@@ -5,7 +5,7 @@ BOARD_MAINTAINER=""
BOOTCONFIG="orangepi_5_pro_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOTCONFIG_SATA="orangepi_5_pro_sata_defconfig"
BOOT_SOC="rk3588"
KERNEL_TARGET="vendor"
KERNEL_TARGET="vendor,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588s-orangepi-5-pro.dtb"
@@ -49,9 +49,151 @@ function post_uboot_custom_postprocess__create_sata_spi_image() {
dd if=u-boot.itb of=rkspi_loader_sata.img seek=16384 conv=notrunc
}
function post_family_config_branch_edge__orangepi5pro_use_mainline_uboot() {
display_alert "$BOARD" "Mainline U-Boot overrides for $BOARD - $BRANCH" "info"
declare -g BOOTCONFIG="orangepi-5-pro-rk3588s_defconfig"
declare -g BOOTDELAY=1
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git"
declare -g BOOTBRANCH="tag:v2025.07"
declare -g BOOTPATCHDIR="v2025.07"
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 u-boot-rockchip-spi.bin"
declare -g INSTALL_HEADERS="yes"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
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
}
}
# Install Ethernet Driver during first boot
function pre_customize_image__orangepi5pro_add_phy_driver() {
local deb_file="tuxedo-yt6801_1.0.28-1_all.deb"
local service_name="eth-driver-firstboot.service"
display_alert "Setting up Ethernet driver build for first boot" "$BOARD" "info"
# Pre-install dependencies
chroot_sdcard apt-get update
chroot_sdcard apt-get install -y dkms build-essential
# Create directory and download .deb (Not installing due to chroot issue with dkms and kernel headers)
chroot_sdcard mkdir -p /usr/local/share/eth-driver
chroot_sdcard wget "https://github.com/dante1613/Motorcomm-YT6801/raw/main/tuxedo-yt6801/${deb_file}" -O "/usr/local/share/eth-driver/${deb_file}"
# Make script to Auto-Install Ethernet Driver Only on first boot
cat << 'EOF' > "${SDCARD}/usr/local/bin/install-eth-driver.sh"
#!/bin/bash
set -e
DEB_FILE="/usr/local/share/eth-driver/tuxedo-yt6801_1.0.28-1_all.deb"
LOG_FILE="/var/log/eth-driver-install.log"
# Wait for dpkg locks to be released
wait_for_dpkg() {
echo "Checking package manager locks..." >> $LOG_FILE
# Wait for up to 1 minute
local timeout=60
local start_time=$(date +%s)
while true; do
# Check if we've exceeded timeout
local current_time=$(date +%s)
if [ $((current_time - start_time)) -gt $timeout ]; then
echo "Timeout waiting for locks to be released. Continuing anyway..." >> $LOG_FILE
break
fi
# Check for dpkg locks
if lsof /var/lib/dpkg/lock >/dev/null 2>&1 || \
lsof /var/lib/apt/lists/lock >/dev/null 2>&1 || \
lsof /var/cache/apt/archives/lock >/dev/null 2>&1 || \
lsof /var/cache/debconf/config.dat >/dev/null 2>&1; then
echo "Waiting for package manager locks to be released... ($(date))" >> $LOG_FILE
sleep 1
continue
else
echo "All package manager locks are available" >> $LOG_FILE
break
fi
done
}
# Install driver package without internet
install_driver() {
echo "Starting driver install" >> $LOG_FILE
local max_attempts=3
local attempt=1
local success=false
while [ $attempt -le $max_attempts ]; do
echo "Installation attempt $attempt of $max_attempts" >> $LOG_FILE
# Always wait for dpkg locks before attempting
wait_for_dpkg
# Try to install the package
if dpkg -i $DEB_FILE >> $LOG_FILE 2>&1; then
echo "Installation successful on attempt $attempt" >> $LOG_FILE
success=true
break
else
echo "Installation attempt $attempt failed" >> $LOG_FILE
sleep 5
attempt=$((attempt + 1))
fi
done
if [ "$success" = true ]; then
echo "Ethernet driver installed correctly." >> $LOG_FILE
# Clean up files
rm -f $DEB_FILE
# Disable service
systemctl disable eth-driver-firstboot.service
return 0
else
echo "Failed to install driver after $max_attempts attempts." >> $LOG_FILE
# Don't exit with error to avoid service failure
return 0
fi
}
# Execute installation
install_driver
EOF
# Make executable script
chmod +x "${SDCARD}/usr/local/bin/install-eth-driver.sh"
# Creating the service
cat << EOF > "${SDCARD}/etc/systemd/system/${service_name}"
[Unit]
Description=Install YT6801 Ethernet driver on first boot
After=systemd-modules-load.service
Before=network.target network-online.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/install-eth-driver.sh
RemainAfterExit=true
[Install]
WantedBy=multi-user.target
EOF
# Enable service for First Boot
chroot_sdcard systemctl enable "${service_name}"
display_alert "Ethernet driver setup complete" "Will be installed on first boot (offline)" "info"
}
# Override family config for this board; let's avoid conditionals in family config.
function post_family_config__orangepi5pro_use_vendor_uboot() {
BOOTSOURCE='https://github.com/orangepi-xunlong/u-boot-orangepi.git'
BOOTBRANCH='branch:v2017.09-rk3588'
BOOTPATCHDIR="legacy/u-boot-orangepi5-rk3588"
}
BOOTPATCHDIR="legacy"
}

View File

@@ -11,7 +11,7 @@ HAS_VIDEO_OUTPUT="yes"
SERIALCON="ttyS0,ttyGS0"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"
CRUSTCONFIG="orangepi_zero_defconfig"
# CRUSTCONFIG="orangepi_zero_defconfig" # Crust is failing https://github.com/armbian/build/issues/8197
function orange_pi_zero_enable_xradio_workarounds() {
/usr/bin/systemctl enable xradio_unload.service

View File

@@ -3,9 +3,8 @@ BOARD_NAME="Orange Pi Zero2W"
BOARDFAMILY="sun50iw9"
BOARD_MAINTAINER="chraac"
BOOTCONFIG="orangepi_zero2w_defconfig"
BOOTBRANCH="tag:v2024.04"
BOOTPATCHDIR="v2024.04"
BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
BOOTBRANCH="tag:v2025.04"
BOOTPATCHDIR="v2025-sunxi"
BOOT_LOGO="desktop"
OVERLAY_PREFIX="sun50i-h616"
KERNEL_TARGET="current,edge"

View File

@@ -3,8 +3,10 @@ BOARD_NAME="Orange Pi Zero3"
BOARDFAMILY="sun50iw9"
BOARD_MAINTAINER="alexl83 chraac"
BOOTCONFIG="orangepi_zero3_defconfig"
OVERLAY_PREFIX="sun50i-h616"
BOOTBRANCH="tag:v2025.04"
BOOTPATCHDIR="v2025-sunxi"
BOOT_LOGO="desktop"
OVERLAY_PREFIX="sun50i-h616"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FORCE_BOOTSCRIPT_UPDATE="yes"

View File

@@ -0,0 +1,52 @@
#Texas Instruments AM62 dual core 1GB USB2 DDR4
BOARD_NAME="PocketBeagle 2"
BOARDFAMILY="k3"
BOARD_MAINTAINER="Grippy98"
BOOTCONFIG="am6232_pocketbeagle2_a53_defconfig"
BOOTFS_TYPE="fat"
TIBOOT3_BOOTCONFIG="am6232_pocketbeagle2_r5_defconfig"
TIBOOT3_FILE="tiboot3-am62x-hs-fs-evm.bin"
DEFAULT_CONSOLE="serial"
KERNEL_TARGET="edge"
KERNEL_TEST_TARGET="edge"
SERIALCON="ttyS2,ttyGS0"
ATF_BOARD="lite"
SRC_EXTLINUX="yes"
SRC_CMDLINE="root=/dev/mmcblk1p2 rootwait console=ttyS2,115200n8 console=ttyGS0,115200n8 modules-load=dwc2,g_cdc"
BOOT_FDT_FILE="ti/k3-am6232-pocketbeagle2.dtb"
OPTEE_PLATFORM="k3-am62x"
function current_beagle_kernel_uboot() {
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel
declare -g KERNEL_MAJOR_MINOR="6.12"
declare -g KERNELBRANCH="branch:v6.12.24-ti-arm64-r43"
declare -g LINUXFAMILY="k3-beagle" # Separate kernel package from the regular `k3` family
declare -g BOOTSOURCE="https://github.com/beagleboard/u-boot" # BeagleBoard u-boot
declare -g BOOTBRANCH="branch:v2025.07-am6232-pocketbeagle2"
}
#Until PB2 goes upstream, use this branch
function post_family_config_branch_current__pocketbeagle2_use_beagle_kernel_uboot() {
display_alert "$BOARD" " beagleboard (current branch) u-boot and kernel overrides for $BOARD / $BRANCH" "info"
current_beagle_kernel_uboot
}
function post_family_config_branch_current-rt__pocketbeagle2_use_beagle_kernel_uboot() {
display_alert "$BOARD" " beagleboard (current-rt branch) u-boot and kernel overrides for $BOARD / $BRANCH" "info"
current_beagle_kernel_uboot
}
#Until PB2 goes upstream, use this branch
function post_family_config_branch_edge__pocketbeagle2_use_beagle_kernel_uboot() {
display_alert "$BOARD" " beagleboard (next branch) u-boot and kernel overrides for $BOARD / $BRANCH" "info"
declare -g KERNELSOURCE="https://github.com/beagleboard/linux" # BeagleBoard kernel
declare -g KERNEL_MAJOR_MINOR="6.12"
declare -g KERNELBRANCH="branch:v6.12.24-ti-arm64-r43"
declare -g LINUXFAMILY="k3-beagle" # Separate kernel package from the regular `k3` family
declare -g BOOTSOURCE="https://github.com/beagleboard/u-boot" # BeagleBoard u-boot
declare -g BOOTBRANCH="branch:v2025.07-am6232-pocketbeagle2"
}

View File

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

View File

@@ -0,0 +1,123 @@
# Qualcomm Robotics RB5 Configuration
declare -g BOARD_NAME="Qualcomm Robotics RB5"
declare -g BOARD_MAINTAINER="FantasyGmm"
declare -g BOARDFAMILY="sm8250"
declare -g KERNEL_TARGET="current,edge"
declare -g KERNEL_TEST_TARGET="edge"
declare -g EXTRAWIFI="no"
declare -g BOOTCONFIG="none"
declare -g IMAGE_PARTITION_TABLE="gpt"
# Reserve for ABL Boot
# declare -g BOOTIMG_CMDLINE_EXTRA="clk_ignore_unused pd_ignore_unused console=tty0 console=ttyMSM0,1500000n8 pcie_pme=nomsi panic=30 allow_mismatched_32bit_el0 mem_sleep_default=s2idle"
# declare -g -a ABL_DTB_LIST=("qrb5165-rb5")
# Use the full firmware, complete linux-firmware plus Armbian's (for qcom/a650_sqe.fw)
declare -g BOARD_FIRMWARE_INSTALL="-full"
declare -g SERIALCON="${SERIALCON:-tty1}"
declare -g GRUB_CMDLINE_LINUX_DEFAULT="clk_ignore_unused pd_ignore_unused console=tty0 arm64.nopauth efi=noruntime console=ttyMSM0,1500000n8 pcie_pme=nomsi panic=30 allow_mismatched_32bit_el0 mem_sleep_default=s2idle"
declare -g BOOT_FDT_FILE="qcom/qrb5165-rb5.dtb"
declare -g SECTOR_SIZE="4096"
enable_extension "grub"
enable_extension "grub-with-dtb" # important, puts the whole DTB handling in place.
function qcom-robotics-rb5_is_userspace_supported() {
[[ "${RELEASE}" == "noble" ]] && return 0
[[ "${RELEASE}" == "trixie" ]] && return 0
return 1
}
function post_family_tweaks_bsp__qcom-robotics-rb5_add_services() {
if ! qcom-robotics-rb5_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"
# USB Gadget Network service
mkdir -p $destination/usr/local/bin/
mkdir -p $destination/usr/lib/systemd/system/
mkdir -p $destination/etc/initramfs-tools/scripts/init-bottom/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/setup-usbgadget-network.sh $destination/usr/local/bin/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/remove-usbgadget-network.sh $destination/usr/local/bin/
install -Dm644 $SRC/packages/bsp/usb-gadget-network/usbgadget-rndis.service $destination/usr/lib/systemd/system/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/usb-gadget-initramfs-hook $destination/etc/initramfs-tools/hooks/usb-gadget
install -Dm655 $SRC/packages/bsp/usb-gadget-network/usb-gadget-initramfs-premount $destination/etc/initramfs-tools/scripts/init-premount/usb-gadget
install -Dm655 $SRC/packages/bsp/usb-gadget-network/dropbear $destination/etc/initramfs-tools/scripts/init-premount/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/kill-dropbear $destination/etc/initramfs-tools/scripts/init-bottom/
}
function post_family_tweaks__qcom-robotics-rb5_enable_services() {
if ! qcom-robotics-rb5_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 usbgadget-rndis.service
return 0
}
function post_family_tweaks__qcom-robotics-rb5_extra_packages() {
if ! qcom-robotics-rb5_is_userspace_supported; then
if [[ "${RELEASE}" != "" ]]; then
display_alert "Missing userspace for ${BOARD}" "${RELEASE} does not have the userspace necessary to support the ${BOARD}" "warn"
fi
return 0
fi
if [[ "${RELEASE}" == "noble" ]]; then
do_with_retries 3 chroot_sdcard_apt_get_update
do_with_retries 3 chroot_sdcard_apt_get_install software-properties-common
fi
if [[ "${RELEASE}" == "noble" ]]; then
display_alert "Adding qcom-mainline PPA For" "${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.sources.disabled "${SDCARD}"/etc/apt/sources.list.d/armbian.sources
do_with_retries 3 chroot_sdcard_apt_get_update
display_alert "Installing ${BOARD} tweaks" "warn"
do_with_retries 3 chroot_sdcard_apt_get_install vulkan-tools mesa-vulkan-drivers mtools zstd alsa-ucm-conf qbootctl qrtr-tools unudhcpd
# disable armbian repo back
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.sources "${SDCARD}"/etc/apt/sources.list.d/armbian.sources.disabled
if [[ "${DESKTOP_ENVIRONMENT}" == "kde-plasma" ]]; then
display_alert "Adding Extra KDE Package" "${BOARD}" "info"
do_with_retries 3 chroot_sdcard_apt_get_install plasma-workspace plasma-desktop plasma-systemmonitor plasma-nm kde-standard kde-spectacle kinfocenter kscreen krfb kfind filelight \
dolphin clinfo wayland-utils
fi
if [[ "${RELEASE}" == "noble" ]]; then
chroot_sdcard systemctl enable qbootctl.service
fi
# No driver support for suspend
chroot_sdcard systemctl mask suspend.target
}
function post_family_tweaks_bsp__qcom-robotics-rb5_bsp_firmware_in_initrd() {
display_alert "Adding to bsp-cli" "${BOARD}: firmware in initrd" "info"
declare file_added_to_bsp_destination # Will be filled in by add_file_from_stdin_to_bsp_destination
# Using Elish's firmware for now
add_file_from_stdin_to_bsp_destination "/etc/initramfs-tools/hooks/qcom-robotics-rb5-firmware" <<- 'FIRMWARE_HOOK'
#!/bin/bash
[[ "$1" == "prereqs" ]] && exit 0
. /usr/share/initramfs-tools/hook-functions
for f in /lib/firmware/qcom/sm8250/Thundercomm/RB5/* ; do
add_firmware "${f#/lib/firmware/}"
done
add_firmware "qcom/sm8250/a650_zap.mbn" # Extra one for dpu
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}"
}

View File

@@ -16,9 +16,9 @@ function post_family_config__quartz64_a_use_mainline_uboot() {
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
declare -g BOOTBRANCH="tag:v2024.07"
declare -g BOOTPATCHDIR="v2024.07/board_${BOARD}"
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
declare -g BOOTBRANCH="tag:v2025.04"
declare -g BOOTPATCHDIR="v2025.04"
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
@@ -30,3 +30,65 @@ function post_family_config__quartz64_a_use_mainline_uboot() {
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
}
}
# Quartz64a's OTG port is the BLACK one, on top of the USB3 port. Use an USB-A cable; not all cables work.
function pre_config_uboot_target__quartz64a_patch_uboot_dtsi_for_ums() {
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for UMS" "info" # avoid a patch, just append to the dtsi file
cat <<- UBOOT_BOARD_DTSI_OTG >> arch/arm/dts/rk3566-quartz64-a-u-boot.dtsi
&usb_host0_xhci { dr_mode = "otg"; };
UBOOT_BOARD_DTSI_OTG
}
# "rockchip-common: boot SD card first, then NVMe, then SATA, then USB, then mmc"
# On quartz64a, mmc0 is the eMMC, mmc1 is the SD card slot
function pre_config_uboot_target__quartz64a_patch_rockchip_common_boot_order() {
declare -a rockchip_uboot_targets=("mmc1" "nvme" "scsi" "usb" "mmc0" "pxe" "dhcp" "spi") # for future make-this-generic delight
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: adjust boot order to '${rockchip_uboot_targets[*]}'" "info"
sed -i -e "s/#define BOOT_TARGETS.*/#define BOOT_TARGETS \"${rockchip_uboot_targets[*]}\"/" include/configs/rockchip-common.h
regular_git diff -u include/configs/rockchip-common.h || true
}
# A better equivalent to patching a defconfig, do changes to .config via code.
# For UMS/RockUSB to work in u-boot, &usb_host0_xhci { dr_mode = "otg" } is required. See 0002-board-rockchip-ODROID-M1-override-kernel-DT-for-xhci-otg-dr_mode.patch
function post_config_uboot_target__extra_configs_for_quartz64a() {
[[ "${BRANCH}" == "edge" || "${BRANCH}" == "current" ]] || return 0
display_alert "u-boot for ${BOARD}" "u-boot: enable preboot & flash leds in preboot" "info"
run_host_command_logged scripts/config --enable CONFIG_USE_PREBOOT
run_host_command_logged scripts/config --set-str CONFIG_PREBOOT "'echo armbian leds; led diy-led on; led work-led on; sleep 0.1; led diy-led off; led work-led off; sleep 0.1; led diy-led on;'" # double quote
display_alert "u-boot for ${BOARD}" "u-boot: enable EFI debugging command" "info"
run_host_command_logged scripts/config --enable CMD_EFIDEBUG
run_host_command_logged scripts/config --enable CMD_NVEDIT_EFI
display_alert "u-boot for ${BOARD}" "u-boot: enable more compression support" "info"
run_host_command_logged scripts/config --enable CONFIG_LZO
run_host_command_logged scripts/config --enable CONFIG_BZIP2
run_host_command_logged scripts/config --enable CONFIG_ZSTD
display_alert "u-boot for ${BOARD}" "u-boot: enable gpio LED support" "info"
run_host_command_logged scripts/config --enable CONFIG_LED
run_host_command_logged scripts/config --enable CONFIG_LED_GPIO
display_alert "u-boot for ${BOARD}" "u-boot: enable networking cmds" "info"
run_host_command_logged scripts/config --enable CONFIG_CMD_NFS
run_host_command_logged scripts/config --enable CONFIG_CMD_WGET
run_host_command_logged scripts/config --enable CONFIG_CMD_DNS
run_host_command_logged scripts/config --enable CONFIG_PROT_TCP
run_host_command_logged scripts/config --enable CONFIG_PROT_TCP_SACK
display_alert "u-boot for ${BOARD}" "u-boot: enable more cmdline commands" "info" # for extra compat with eg HAOS
run_host_command_logged scripts/config --enable CONFIG_CMD_SQUASHFS
run_host_command_logged scripts/config --enable CONFIG_CMD_SETEXPR
run_host_command_logged scripts/config --enable CONFIG_CMD_FILEENV # added via cmd-fileenv-read-string-from-file-into-env.patch
run_host_command_logged scripts/config --enable CONFIG_CMD_CAT
run_host_command_logged scripts/config --enable CONFIG_CMD_XXD
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enabling UMS/RockUSB Gadget functionality" "info"
declare -a enable_configs=("CONFIG_CMD_USB_MASS_STORAGE" "CONFIG_USB_GADGET" "USB_GADGET_DOWNLOAD" "CONFIG_USB_FUNCTION_ROCKUSB" "CONFIG_USB_FUNCTION_ACM" "CONFIG_CMD_ROCKUSB" "CONFIG_CMD_USB_MASS_STORAGE")
for config in "${enable_configs[@]}"; do
run_host_command_logged scripts/config --enable "${config}"
done
# Auto-enabled by the above, force off...
run_host_command_logged scripts/config --disable USB_FUNCTION_FASTBOOT
}

View File

@@ -2,10 +2,10 @@
BOARD_NAME="radxa cubie a5e"
BOARDFAMILY="sun55iw3"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-a5e_defconfig"
BOOTCONFIG="radxa-cubie-a5e_defconfig"
OVERLAY_PREFIX="sun55i-a527"
#BOOT_LOGO="desktop"
KERNEL_TARGET="dev"
KERNEL_TARGET="edge"
BOOT_FDT_FILE="dtb/allwinner/sun55i-a527-radxa-a5e.dtb"
IMAGE_PARTITION_TABLE="gpt"
#IMAGE_PARTITION_TABLE="msdos"
@@ -14,9 +14,42 @@ BOOTSTART="1"
BOOTSIZE="512"
ROOTSTART="513"
function post_family_tweaks__radxa_cubie-a5e() {
display_alert "Applying wifi firmware"
pushd "$SDCARD/lib/firmware"
ln -s "aic8800/SDIO/aic8800D80" "aic8800_sdio" # use armbian-firmware
popd
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools"
# AIC8800
AIC8800_TYPE="sdio"
enable_extension "radxa-aic8800"
# AIC8800 Wireless
function post_family_tweaks_bsp__aic8800_wireless() {
display_alert "$BOARD" "Installing AIC8800 Tweaks" "info"
mkdir -p "${destination}"/etc/modprobe.d
mkdir -p "${destination}"/etc/modules-load.d
# Add wireless conf
cat > "${destination}"/etc/modprobe.d/aic8800-wireless.conf <<- EOT
options aic8800_fdrv_sdio aicwf_dbg_level=0 custregd=0 ps_on=0
#options aic8800_bsp_sdio aic_fw_path=/lib/firmware/aic8800_fw/SDIO/aic8800
EOT
# Add needed bluetooth modules
cat > "${destination}"/etc/modules-load.d/aic8800-btlpm.conf <<- EOT
hidp
rfcomm
bnep
aic8800_btlpm_sdio
EOT
# Add AIC8800 Bluetooth Service and Script
if [[ -d "$SRC/packages/bsp/aic8800" ]]; then
mkdir -p "${destination}"/etc/systemd/system
mkdir -p "${destination}"/usr/bin
cp -f "$SRC/packages/bsp/aic8800/aic-bluetooth" "${destination}"/usr/bin
chmod +x "${destination}"/usr/bin/aic-bluetooth
cp -f "$SRC/packages/bsp/aic8800/aic-bluetooth.service" "${destination}"/etc/systemd/system
fi
}
# Enable AIC8800 Bluetooth Service
function post_family_tweaks__enable_aic8800_bluetooth_service() {
display_alert "$BOARD" "Enabling AIC8800 Bluetooth Service" "info"
chroot_sdcard systemctl --no-reload enable aic-bluetooth.service
}

View File

@@ -2,7 +2,7 @@
BOARD_NAME="Radxa Nio 12L"
BOARDFAMILY="genio"
BOARD_MAINTAINER="HeyMeco"
KERNEL_TARGET="collabora,vendor"
KERNEL_TARGET="collabora"
KERNEL_TEST_TARGET="collabora"
BOOT_FDT_FILE="mediatek/mt8395-radxa-nio-12l.dtb"
enable_extension "grub-with-dtb"

View File

@@ -1,7 +1,7 @@
# Amlogic A311D 4GB RAM eMMC USB3 WiFi BT
BOARD_NAME="Radxa Zero 2"
BOARDFAMILY="meson-g12b"
BOARD_MAINTAINER="monkaBlyat"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-zero2_config"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -25,8 +25,8 @@ function post_family_config__use_mainline_uboot_except_vendor() {
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
BOOTCONFIG="radxa-zero-3-rk3566_defconfig"
BOOTSOURCE="https://github.com/u-boot/u-boot"
BOOTBRANCH="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
BOOTBRANCH="tag:v2025.04"
BOOTPATCHDIR="v2025.04"
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"

View File

@@ -31,8 +31,8 @@ function post_family_config__rock-3a_use_mainline_uboot_except_vendor_and_add_sa
declare -g BOOTCONFIG="rock-3a-rk3568_defconfig"
declare -g BOOTDELAY=1
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot"
declare -g BOOTBRANCH="tag:v2025.01"
declare -g BOOTPATCHDIR="v2025.01"
declare -g BOOTBRANCH="tag:v2025.04"
declare -g BOOTPATCHDIR="v2025.04"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already

View File

@@ -2,20 +2,13 @@
BOARD_NAME="Rock 4SE"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER=""
BOOTBRANCH_BOARD="tag:v2023.10-rc2"
#BOOTCONFIG="rock-4se-rk3399_defconfig" ## irony being we chose mainline uboot because of support for this board but its broken
BOOTCONFIG="rock-pi-4-rk3399_defconfig"
BOOTPATCHDIR='v2023.10-rc2'
BOOTPATCHDIR="v2025.04"
BOOTBRANCH_BOARD="tag:v2025.04"
BOOTCONFIG="rock-4se-rk3399_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3399-rock-pi-4b.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_FDT_FILE="rockchip/rk3399-rock-4se.dtb"
BOOT_SCENARIO="binman-atf-mainline"
BOOT_SUPPORT_SPI="yes"
BL31_BLOB="rk33/rk3399_bl31_v1.36.elf"
DDR_BLOB="rk33/rk3399_ddr_933MHz_v1.30.bin"
function post_family_config___mainline_uboot() {
declare -g UBOOT_TARGET_MAP="ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB} BL31=$RKBIN_DIR/$BL31_BLOB spl/u-boot-spl u-boot.bin flash.bin;;idbloader.img u-boot.itb"
}

View File

@@ -8,6 +8,7 @@ KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588s-radxa-cm5-rpi-cm4-io.dtb"
BOOTPATCHDIR="legacy/u-boot-radxa-rk35xx/board_rock-5-cm-rpi-cm4-io"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"

View File

@@ -8,6 +8,7 @@ KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588s-radxa-cm5-io.dtb"
BOOTPATCHDIR="legacy/u-boot-radxa-rk35xx/board_rock-5-cmio"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"

View File

@@ -33,13 +33,13 @@ 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 BOOT_FDT_FILE="rockchip/rk3588-rock-5b-plus.dtb" # With 6.16 its available upstream
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 BOOTBRANCH="tag:v2025.04" #
declare -g BOOTPATCHDIR="v2025.04" # 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

View File

@@ -10,7 +10,7 @@ BOOT_LOGO="desktop"
BOOTBRANCH_BOARD="tag:v2024.01"
BOOTPATCHDIR="v2024.01"
BOOTCONFIG="rock-4c-plus-rk3399_defconfig"
BOOT_SCENARIO="spl-blobs"
BOOT_SCENARIO="binman-atf-mainline"
BOOT_SUPPORT_SPI=yes
DDR_BLOB="rk33/rk3399_ddr_933MHz_v1.30.bin"

View File

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

View File

@@ -13,3 +13,6 @@ KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
SERIALCON="ttyS2"
ATF_BOARD="lite"
OPTEE_ARGS="CFG_TEE_CORE_LOG_LEVEL=1"
OPTEE_PLATFORM="k3-am62x"
CC33XX_SUPPORT="yes"

View File

@@ -14,3 +14,5 @@ KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
SERIALCON="ttyS2"
ATF_BOARD="lite"
OPTEE_ARGS=""
OPTEE_PLATFORM="k3-am64x"

View File

@@ -14,3 +14,5 @@ KERNEL_TEST_TARGET="current"
SERIALCON="ttyS2"
ATF_BOARD="generic"
ATF_K3_USART_OFFSET="K3_USART=0x8"
OPTEE_ARGS="CFG_CONSOLE_UART=0x8"
OPTEE_PLATFORM="k3-j784s4"

View File

@@ -14,3 +14,5 @@ KERNEL_TEST_TARGET="current"
SERIALCON="ttyS2"
ATF_BOARD="j784s4"
ATF_K3_USART_OFFSET="K3_USART=0x8"
OPTEE_ARGS="CFG_CONSOLE_UART=0x8"
OPTEE_PLATFORM="k3-j784s4"

View File

@@ -16,3 +16,5 @@ KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
SERIALCON="ttyS2"
ATF_BOARD="generic"
OPTEE_ARGS=""
OPTEE_PLATFORM="k3-j721e"

View File

@@ -5,13 +5,13 @@ BOARD_MAINTAINER=""
BOOTCONFIG="am40-rk3399_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
MODULES_CURRENT="extcon_usbc_virtual_pd"
MODULES_EDGE="extcon_usbc_virtual_pd"
MODULES_CURRENT="extcon-usbc-virtual-pd"
MODULES_EDGE="extcon-usbc-virtual-pd"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3399-am40.dtb"
BOOTBRANCH_BOARD="tag:v2024.10"
BOOTPATCHDIR="v2024.10"
BOOTBRANCH_BOARD="tag:v2025.04"
BOOTPATCHDIR="v2025.04"
BOOT_SCENARIO="binman"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS2,1500000 console=tty0"

View File

@@ -15,7 +15,6 @@ function post_family_tweaks__station_m1() {
display_alert "$BOARD" "Installing board tweaks" "info"
cp -R $SRC/packages/blobs/rtl8723bt_fw/* $SDCARD/lib/firmware/rtl_bt/
cp -R $SRC/packages/blobs/station/firmware/* $SDCARD/lib/firmware/
}
# Mainline U-Boot

View File

@@ -2,8 +2,9 @@
BOARD_NAME="Station M3"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="chainsx"
KERNEL_TARGET="vendor"
BOOTCONFIG="rock-5a-rk3588s_defconfig"
KERNEL_TARGET="vendor,current"
KERNEL_TEST_TARGET="vendor"
BOOTCONFIG="roc-pc-rk3588s_defconfig"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588s-roc-pc.dtb"

View File

@@ -13,12 +13,3 @@ BOOT_SCENARIO="tpl-spl-blob"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS2,1500000 console=tty0"
ASOUND_STATE="asound.state.station-p1"
function post_family_tweaks__station_p1() {
display_alert "$BOARD" "Installing board tweaks" "info"
cp -R $SRC/packages/blobs/rtl8723bt_fw/* $SDCARD/lib/firmware/rtl_bt/
cp -R $SRC/packages/blobs/station/firmware/* $SDCARD/lib/firmware/
return 0
}

View File

@@ -2,6 +2,7 @@
BOARD_NAME="Station P2"
BOARDFAMILY="rockchip64"
BOOT_SOC="rk3568"
BOOTCONFIG="roc-pc-rk3568_defconfig"
BOARD_MAINTAINER=""
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
@@ -11,23 +12,6 @@ BOOT_FDT_FILE="rockchip/rk3568-roc-pc.dtb"
ASOUND_STATE="asound.state.station-p2"
IMAGE_PARTITION_TABLE="gpt"
# Mainline U-Boot
function post_family_config__station_p2_use_mainline_uboot() {
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
declare -g BOOTCONFIG="generic-rk3568_defconfig" # Use generic defconfig which should boot all RK3568 boards
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
declare -g BOOTBRANCH="tag:v2024.07"
declare -g BOOTPATCHDIR="v2024.07/board_${BOARD}"
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
# Disable stuff from rockchip64_common; we're using binman here which does all the work already
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
}
}
BOOT_SCENARIO="binman"
BOOTBRANCH_BOARD="tag:v2025.04"
BOOTPATCHDIR="v2025.04"

View File

@@ -27,8 +27,8 @@ enable_extension "grub-with-dtb" # important, puts the whole DTB handling in pla
declare -g BOARD_FIRMWARE_INSTALL="-full"
function post_family_config_branch_sc8280xp__jhovolds_wip_kernel() {
declare -g KERNEL_MAJOR_MINOR="6.14" # Major and minor versions of this kernel.
declare -g KERNELBRANCH='branch:wip/sc8280xp-6.14' # @TODO: this is down to 31 patches, from hundreds back in the day. Considering merging this with default arm64 uefi kernel
declare -g KERNEL_MAJOR_MINOR="6.15" # Major and minor versions of this kernel.
declare -g KERNELBRANCH='branch:wip/sc8280xp-6.15' # @TODO: this is up to 47 patches, from 28 around 6.13; wait a bit until speculating about merging with uefi-arm64
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

@@ -9,8 +9,8 @@ FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3399-tinker-2.dtb"
SERIALCON="ttyS2"
BOOT_SCENARIO="spl-blobs" # 'blobless' also works; but some RAM issues found; see rk33/rk3399_ddr_800MHz_v1.27.bin in rockchip64_common.inc
BOOT_SCENARIO="binman" # 'blobless' also works; but some RAM issues found; see rk33/rk3399_ddr_800MHz_v1.27.bin in rockchip64_common.inc
BOARD_FIRMWARE_INSTALL="-full" # Install full firmware, for rtl8822ce firmware and others
BOOTBRANCH="tag:v2021.07" # v2021.07 ...
BOOTBRANCH="tag:v2025.04" # v2025.04 ...
BOOTPATCHDIR='legacy/u-boot-tinkerboard2' # ... with _only_ the patches we need for TB2, not the default rockchip64
DDR_BLOB="rk33/rk3399_ddr_800MHz_v1.27.bin" # Different blob for TB2

View File

@@ -2,6 +2,6 @@
declare -g BOARD_NAME="UEFI arm64"
declare -g BOARDFAMILY="uefi-arm64"
declare -g BOARD_MAINTAINER="rpardini"
declare -g KERNEL_TARGET="legacy,current,edge"
declare -g KERNEL_TARGET="legacy,current,edge,cloud"
declare -g KERNEL_TEST_TARGET="current"
declare -g BOOT_LOGO=desktop

View File

@@ -0,0 +1,6 @@
# loong64 via UEFI for all UEFI-enabled boards
export BOARD_NAME="UEFI loong64"
export BOARDFAMILY="uefi-loong64"
export KERNEL_TARGET="current,edge"
export SERIALCON="ttyS0,115200"
ENABLE_EXTENSIONS="yt6801"

View File

@@ -2,8 +2,8 @@
BOARD_NAME="VisionFive2"
BOARDFAMILY="starfive2"
BOARD_MAINTAINER="libiunc"
KERNEL_TARGET="edge"
BOOT_FDT_FILE="starfive/jh7110-visionfive-v2.dtb"
KERNEL_TARGET="vendor"
BOOT_FDT_FILE="starfive/jh7110-starfive-visionfive-2-v1.3b.dtb"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS0,115200n8 console=tty0 earlycon=sbi rootflags=data=writeback stmmaceth=chain_mode:1 rw"
BOOTCONFIG=none
@@ -23,7 +23,7 @@ function post_family_tweaks__visionfive2_uenv() {
ramdisk_addr_r=0x48100000
# Move distro to first boot to speed up booting
boot_targets=distro mmc1 dhcp
boot_targets=distro mmc1 dhcp
distro_bootpart=1

View File

@@ -2,9 +2,10 @@
BOARD_NAME="Youyeetoo R1 v3"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="SuperKali"
BOOTCONFIG="generic-rk3588_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOTCONFIG="youyeetoo-r1-rk3588s_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TARGET="vendor,current,edge"
KERNEL_TEST_TARGET="vendor,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
IMAGE_PARTITION_TABLE="gpt"
@@ -34,11 +35,11 @@ function post_family_tweaks__youyeetoo_r1_naming_udev_network_interfaces() {
function post_family_config__youyeetoo_r1_use_mainline_uboot() {
display_alert "$BOARD" "Using mainline (next branch) U-Boot for $BOARD / $BRANCH" "info"
declare -g BOOTCONFIG="generic-rk3588_defconfig" # Use generic defconfig which should boot all RK3588 boards
declare -g BOOTCONFIG="youyeetoo-r1-rk3588s_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:v2025.01"
declare -g BOOTPATCHDIR="v2025.01"
declare -g BOOTBRANCH="tag:v2025.04"
declare -g BOOTPATCHDIR="v2025.04"
# 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

@@ -4,9 +4,11 @@ BOARDFAMILY="sun8i"
BOARD_MAINTAINER=""
BOOTCONFIG="zeropi_defconfig"
DEFAULT_OVERLAYS="usbhost1 usbhost2"
BOOTBRANCH="tag:v2025.04"
BOOTPATCHDIR="v2025-sunxi"
MODULES_BLACKLIST="lima"
DEFAULT_CONSOLE="serial"
SERIALCON="ttyS0"
HAS_VIDEO_OUTPUT="no"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="legacy"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -3,80 +3,539 @@
# Please edit /boot/armbianEnv.txt to set supported parameters
#
setenv load_addr "0x300000"
# default values
setenv overlay_error "false"
setenv rootdev "/dev/mmcblk0p1"
setenv rootfstype "ext4"
setenv verbosity "1"
# NOTE
# If you intend to use 'outside' of 'global' variables from U-Boot, make sure that you do not change them!
# The boot logic will attempt a list of 'boot_targets' that all might rely on (environment) variables that
# have been set by U-Boot, either compile-time or as part of U-Boot's default 'bootcmd'.
# Any variable that this bootscript uses needs to be set explicitly and not conflict with any pre-set variables.
# Variables that we might change will be saved in preset_x and variables we use will be copied into l_x.
# default environment variables
setenv align_overlap_oboe_avoidance "on"
setenv align_to "0x00001000"
setenv console "both"
setenv docker_optimizations "on"
setenv earlycon "off"
setenv emmc_fix "off"
setenv spi_workaround "off"
setenv ethaddr "00:50:43:84:fb:2f"
setenv eth1addr "00:50:43:25:fb:84"
setenv eth2addr "00:50:43:84:25:2f"
setenv eth3addr "00:50:43:0d:19:18"
setenv ethaddr "00:50:43:84:fb:2f"
setenv exit_on_critical_errors "on"
setenv fdt_extrasize "0x00010000"
setenv kver
setenv load_addr_calc
setenv overlay_error "false"
setenv preset_fdtdir "${fdtdir}"
setenv preset_fdtfile "${fdtfile}"
setenv preset_kernel_comp_addr_r "${kernel_comp_addr_r}"
setenv preset_kernel_comp_size "${kernel_comp_size}"
setenv rootdev "/dev/mmcblk${devnum}p${distro_bootpart}"
setenv rootfstype "ext4"
setenv spi_workaround "off"
setenv vendor "marvell"
setenv verbosity "1"
echo "Boot script loaded from ${devtype}"
# load addresses
setenv load_addr "0x00300000"
setenv fdt_addr_r "0x02040000" # max size 256 KiB (=dtb+dto+fdt_extrasize)
setenv kernel_addr_r "0x02080000" # max size 16 MiB
setenv ramdisk_addr_r "0x03080000"
if load ${devtype} ${devnum} ${load_addr} ${prefix}armbianEnv.txt; then
env import -t ${load_addr} ${filesize}
# environment run variables
setenv func_align_addr_next '
test "${align_overlap_oboe_avoidance}" = "on" && setexpr l_addr_next ${l_addr_next} + 1 ;
setexpr modulo ${l_addr_next} % ${align_to} ;
if itest ${modulo} -gt 0 ; then
setexpr l_addr_next ${l_addr_next} / ${align_to} ;
setexpr l_addr_next ${l_addr_next} + 1 ;
setexpr l_addr_next ${l_addr_next} * ${align_to} ;
fi'
setenv func_inform 'test "${verbosity}" = "" || itest ${verbosity} -gt 0 && echo "${l_message}"'
setenv func_warn 'echo "** WARNING: ${l_message}"'
setenv func_critical_error '
echo "!! CRITICAL: ${l_message}" ;
if test "${exit_on_critical_errors}" = "on" ; then
false ;
else
true ;
fi'
# set some defaults in case there are no pre-sets
if test "${envfile}" = "" ; then
setenv l_envfile 'armbianEnv.txt'
else
setenv l_envfile "${envfile}"
fi
setenv bootargs "console=ttyS0,115200 root=${rootdev} rootwait rootfstype=${rootfstype} ubootdev=${devtype} scandelay loglevel=${verbosity} usb-storage.quirks=${usbstoragequirks} ${extraargs}"
echo "Boot script loaded from ${devtype} ${devnum}:${distro_bootpart}."
load ${devtype} ${devnum} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
load ${devtype} ${devnum} ${ramdisk_addr_r} ${prefix}uInitrd
load ${devtype} ${devnum} ${kernel_addr_r} ${prefix}zImage
# load (merge) on-disk environment
setenv l_file "${prefix}${l_envfile}"
if test -e ${devtype} ${devnum}:${distro_bootpart} ${l_file} ; then
if load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${l_file} ; then
if env import -t ${load_addr} ${filesize} ; then
setenv l_message "Loaded/imported environment ${l_file} to/from ${load_addr}."
run func_inform
else
setenv l_message "Could not import environment ${l_file} - using default environment!"
run func_warn
fi
else
setenv l_message "Could not load environment ${l_file} - using default environment!"
run func_warn
fi
fi
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
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}
# compose kernel commandline options (bootargs)
setenv consoleargs
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,115200 ${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
if test -e ${devtype} ${devnum} ${prefix}dtb/overlay/${overlay_prefix}-fixup.scr; then
load ${devtype} ${devnum} ${load_addr} ${prefix}dtb/overlay/${overlay_prefix}-fixup.scr
echo "Applying kernel provided DT fixup script (${overlay_prefix}-fixup.scr)"
source ${load_addr}
setenv consoleargs "splash=verbose ${consoleargs}"
fi
part uuid ${devtype} ${devnum}:${distro_bootpart} l_ubootpart
setenv bootargs "root=${rootdev} rootfstype=${rootfstype} rootwait ${consoleargs} consoleblank=0 loglevel=${verbosity} ubootpart=${l_ubootpart} 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
if test "${vendor}" = "allwinner" ; then
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 -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
if test "${vendor}" = "marvell" ; then
# nothing here yet
fi
if test "${vendor}" = "rockchip" ; then
# nothing here yet
fi
# check if we are requested (or are able to) use load address calculation
if test "${load_addr_calc}" = "" ; then
if setexpr load_addr_calc 1 + 1 ; then
setenv load_addr_calc 'on'
else
setenv load_addr_calc 'off'
fi
fi
if test "${load_addr_calc}" != "on" ; then
setenv load_addr_calc 'off'
setenv l_message "Using fixed load addresses."
run func_inform
setenv l_message " fdt_addr_r: ${fdt_addr_r}"
run func_inform
setenv l_message " kernel_addr_r: ${kernel_addr_r}"
run func_inform
setenv l_message " ramdisk_addr_r: ${ramdisk_addr_r}"
run func_inform
fi
if test "${kver}" != "" ; then
setenv l_message "Using version override ${kver} for image loading."
run func_inform
fi
# set a default kernel image type in case 'setexpr' not available
if test "${cpu}" = "armv8" ; then
# aarch64 uses a flat kernel image
setenv l_kernel_image_type "flat"
setenv l_bootfile "Image${kver}"
else
if test "${cpu}" = "armv7" ; then
# aarch32 mostly uses compressed kernel image
setenv l_kernel_image_type "compressed"
setenv l_bootfile "zImage${kver}"
else
# per default use compressed kernel image
setenv l_kernel_image_type "compressed"
setenv l_bootfile "zImage${kver}"
fi
fi
setenv l_ramdiskfile "uInitrd${kver}"
# $fdtdir:
# some boards use "${prefix}dtb/" others use "${prefix}dtb/${vendor}/" as base location for the DT files
# user can also override by specifying an fdtdir=... in armbianEnv.txt
# try any U-Boot built-in (or pre-set) fdtdir as last resort
# $fdtfile:
# some boards use a "filename.dts" others use "${vendor}/filename.dts"
# user can also override by specifying an fdtfile=... in armbianEnv.txt
# strip any leading path components and try any U-Boot built-in (or pre-set) fdtfile as last resort
setenv l_fdtfile_basename
setexpr l_fdtfile_basename sub ".*/" "" "${fdtfile}"
if test "${l_fdtfile_basename}" = "" ; then
setenv l_fdtfile_basename "${fdtfile}"
fi
setenv l_fdtdir "${fdtdir}"
setenv l_fdtfile "${l_fdtfile_basename}"
if test -e ${devtype} ${devnum}:${distro_bootpart} "${l_fdtdir}/${l_fdtfile}" ; then
true
else
setenv l_fdtdir "${prefix}dtb${kver}/${vendor}"
setenv l_fdtfile "${l_fdtfile_basename}"
if test -e ${devtype} ${devnum}:${distro_bootpart} "${l_fdtdir}/${l_fdtfile}" ; then
true
else
setenv l_fdtdir "${prefix}dtb${kver}"
setenv l_fdtfile "${l_fdtfile_basename}"
if test -e ${devtype} ${devnum}:${distro_bootpart} "${l_fdtdir}/${l_fdtfile}" ; then
true
else
setenv l_fdtdir "${fdtdir}"
setenv l_fdtfile "${fdtfile}"
if test -e ${devtype} ${devnum}:${distro_bootpart} "${l_fdtdir}/${l_fdtfile}" ; then
true
else
setenv l_fdtdir "${preset_fdtdir}"
setenv l_fdtfile "${preset_fdtfile}"
if test -e ${devtype} ${devnum}:${distro_bootpart} "${l_fdtdir}/${l_fdtfile}" ; then
true
else
false
fi
fi
fi
fi
fi
if itest $? -ne 0 ; then
setenv l_message "Cannot find DT!"
run func_critical_error || exit
fi
# load the device tree blob
setenv l_file "${l_fdtdir}/${l_fdtfile}"
if load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${l_file} ; then
setenv l_message "Loaded DT ${l_file} to ${fdt_addr_r}."
run func_inform
setenv l_fdt_filesize ${filesize}
fdt addr ${fdt_addr_r}
fdt resize ${fdt_extrasize}
else
setenv l_message "Could not load DT ${l_file}!"
run func_critical_error || exit
fi
# process "overlays=..." from $l_envfile
if test "${overlays}" != "" ; then
setenv l_message "Loading kernel provided DT overlay(s) from ${l_fdtdir}/overlay to ${load_addr} .."
run func_inform
# as some families offer overlays with different (or no) prefixes, try to guess the most commonly seen ones
# just changing overlay_prefix= will not work for all available overlays, as some have prefixes and some do not
setenv each_overlay
for each_overlay in ${overlays} ; do
setenv l_overlay_prefix "${overlay_prefix}"
setenv l_file "${l_fdtdir}/overlay/${l_overlay_prefix}-${each_overlay}.dtbo"
if test -e ${devtype} ${devnum}:${distro_bootpart} ${l_file} ; then
true
else
setenv l_overlay_prefix "${vendor}"
setenv l_file "${l_fdtdir}/overlay/${l_overlay_prefix}-${each_overlay}.dtbo"
if test -e ${devtype} ${devnum}:${distro_bootpart} ${l_file} ; then
setenv l_message "Found DT overlay ${l_overlay_prefix}-${each_overlay} instead of ${overlay_prefix}-${each_overlay} in ${l_fdtdir}/overlay!"
run func_warn
setenv l_message "Consider setting overlay_prefix=${l_overlay_prefix} in your ${l_envfile}."
run func_inform
true
else
setenv l_overlay_prefix "${vendor}-${soc}"
setenv l_file "${l_fdtdir}/overlay/${l_overlay_prefix}-${each_overlay}.dtbo"
if test -e ${devtype} ${devnum}:${distro_bootpart} ${l_file} ; then
setenv l_message "Found DT overlay ${l_overlay_prefix}-${each_overlay} instead of ${overlay_prefix}-${each_overlay} in ${l_fdtdir}/overlay!"
run func_warn
setenv l_message "Consider setting overlay_prefix=${l_overlay_prefix} in your ${l_envfile}."
run func_inform
true
else
false
fi
fi
fi
if itest $? -eq 0 ; then
if load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${l_file} ; then
if fdt apply ${load_addr} ; then
setenv l_message "Applied DT overlay ${each_overlay} (${l_file})."
run func_inform
else
setenv overlay_error "true"
setenv l_message "Could NOT apply DT overlay ${each_overlay} (${l_file})!"
run func_warn
fi
else
setenv l_message "Could NOT load DT overlay ${each_overlay} (${l_file})!"
run func_warn
fi
else
setenv l_message "Could NOT find DT overlay ${each_overlay}!"
run func_warn
fi
done
fi
# process "user_overlays=..." from $l_envfile
if test "${user_overlays}" != "" ; then
setenv l_message "Loading user provided DT overlay(s) from ${prefix}overlay-user to ${load_addr} .."
run func_inform
setenv each_user_overlay
for each_user_overlay in ${user_overlays} ; do
setenv l_file "${prefix}overlay-user/${each_user_overlay}.dtbo"
if test -e ${devtype} ${devnum}:${distro_bootpart} ${l_file} ; then
if load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${l_file} ; then
if fdt apply ${load_addr} ; then
setenv l_message "Applied user DT overlay ${each_user_overlay} (${l_file})."
run func_inform
else
setenv overlay_error "true"
setenv l_message "Could NOT apply user DT overlay ${each_user_overlay} (${l_file})!"
run func_warn
fi
else
setenv l_message "Could NOT load user DT overlay ${each_user_overlay} (${l_file})!"
run func_warn
fi
else
setenv l_message "Could NOT find user DT overlay ${each_user_overlay} (${l_file})!"
run func_warn
fi
done
fi
if test "${overlay_error}" = "true" ; then
setenv l_message "Could not apply DT overlays!"
run func_warn
setenv l_file "${l_fdtdir}/${l_fdtfile}"
if load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${l_file} ; then
setenv l_message "Loaded original DT ${l_file} to ${fdt_addr_r}."
run func_inform
setenv l_fdt_filesize ${filesize}
fdt addr ${fdt_addr_r}
fdt resize ${fdt_extrasize}
else
setenv l_message "Could not load original DT ${l_file}!"
run func_critical_error || exit
fi
else
# process any available DT fixup scripts
setenv l_fixup_scripts "${prefix}fixup.scr"
if test "${overlay_prefix}" != "" ; then
setenv l_fixup_scripts "${l_fdtdir}/overlay/${overlay_prefix}-fixup.scr ${l_fixup_scripts}"
fi
if test "${vendor}" != "" ; then
if test "${vendor}" != "${overlay_prefix}" ; then
setenv l_fixup_scripts "${l_fdtdir}/overlay/${vendor}-fixup.scr ${l_fixup_scripts}"
fi
fi
setenv each_fixup_script
for each_fixup_script in ${l_fixup_scripts} ; do
if test -e ${devtype} ${devnum}:${distro_bootpart} ${each_fixup_script} ; then
if load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${each_fixup_script} ; then
if source ${load_addr} ; then
setenv l_message "Loaded/sourced fixup script ${each_fixup_script} to/at ${load_addr}."
run func_inform
else
setenv l_message "Fixup script ${each_fixup_script} returned an error!"
run func_warn
fi
else
setenv l_message "Could not load fixup script ${each_fixup_script}!"
run func_warn
fi
fi
done
fi
# eMMC fix
if test "${emmc_fix}" = "on"; then
echo "Applying eMMC compatibility fix to the DT"
echo "Applying eMMC compatibility fix to the DT."
fdt rm /soc/internal-regs/sdhci@d8000/ cd-gpios
fdt set /soc/internal-regs/sdhci@d8000/ non-removable
fi
# SPI - SATA workaround
if test "${spi_workaround}" = "on"; then
echo "Applying SPI workaround to the DT"
fdt addr ${fdt_addr}
fdt resize
echo "Applying SPI workaround to the DT."
fdt set /soc/internal-regs/sata@e0000 status "disabled"
fdt set /soc/internal-regs/sata@a8000 status "disabled"
fdt set /soc/spi@10680 status "okay"
fdt set /soc/spi@10680/spi-flash@0 status "okay"
fi
bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
# resize (trim) device tree after all overlays have been applied and fixup scripts have been run
fdt resize
# determine the load address for the kernel image
if test "${load_addr_calc}" = "on" ; then
# get the total size of the DT
setenv l_fdt_totalsize
fdt header get l_fdt_totalsize totalsize
if test "${l_fdt_totalsize}" = "" ; then
# could not get the total size of the DT so calculate it instead
setenv l_message "Calculating DT size."
run func_inform
# 'fdt resize' will align upwards to 4k address boundary
setexpr l_fdt_totalsize ${l_fdt_filesize} / 0x1000
setexpr l_fdt_totalsize ${l_fdt_totalsize} + 1
setexpr l_fdt_totalsize ${l_fdt_totalsize} * 0x1000
if test "${fdt_extrasize}" != "" ; then
setexpr l_fdt_totalsize ${l_fdt_totalsize} + ${fdt_extrasize}
fi
fi
setexpr l_addr_next ${fdt_addr_r} + ${l_fdt_totalsize}
run func_align_addr_next
setenv l_kernel_addr_r ${l_addr_next}
else
setenv l_kernel_addr_r ${kernel_addr_r}
fi
setenv l_file "${prefix}${l_bootfile}"
if load ${devtype} ${devnum}:${distro_bootpart} ${l_kernel_addr_r} ${l_file} ; then
if test "${load_addr_calc}" = "on" ; then
setenv kernel_comp_size ${filesize}
fi
setenv l_message "Loaded ${l_kernel_image_type} kernel image ${l_file} to ${l_kernel_addr_r}."
run func_inform
else
if test "${load_addr_calc}" = "on" ; then
setenv kernel_comp_addr_r "${preset_kernel_comp_addr_r}"
setenv kernel_comp_size "${preset_kernel_comp_size}"
fi
setenv l_message "Could not load ${l_kernel_image_type} kernel image ${l_file}!"
run func_critical_error || exit
fi
# determine the load address for the initial ramdisk
if test "${load_addr_calc}" = "on" ; then
# vmlinux image + 0x38 contain magic (le-double) 'ARMd'
setexpr l_ptr ${l_kernel_addr_r} + 0x00000038
setexpr.w l_magic_lsw *${l_ptr}
setexpr l_ptr ${l_kernel_addr_r} + 0x0000003a
setexpr.w l_magic_msw *${l_ptr}
if test "${l_magic_msw}${l_magic_lsw}" != "" && itest "${l_magic_msw}${l_magic_lsw}" -eq 0x644d5241 ; then
setenv l_kernel_image_type "flat"
else
setenv l_kernel_image_type "compressed"
fi
if test "${l_kernel_image_type}" = "flat" ; then
# vmlinux image + 0x10 contains image_size
setexpr l_ptr ${l_kernel_addr_r} + 0x00000010
setexpr.l l_image_size *${l_ptr}
setenv l_message "Using ${l_kernel_image_type} kernel image image_size 0x${l_image_size} bytes to calculate initial ramdisk load address."
run func_inform
# vmlinux image + 0x08 contains text_offset
setexpr l_ptr ${l_kernel_addr_r} + 0x00000008
setexpr.l l_text_offset *${l_ptr}
setenv l_message "Using ${l_kernel_image_type} kernel image text_offset 0x${l_text_offset} bytes to offset initial ramdisk load address."
run func_inform
setexpr l_addr_next ${l_kernel_addr_r} + ${l_image_size}
run func_align_addr_next
# take into account that U-Boot's booti_setup() might relocate the kernel image
setexpr l_addr_next ${l_addr_next} + ${l_text_offset}
else
setexpr l_addr_next ${l_kernel_addr_r} + ${filesize}
run func_align_addr_next
setenv l_message "Using ${l_kernel_image_type} kernel image filesize 0x${filesize} bytes to calculate initial ramdisk load address."
run func_inform
fi
setenv l_ramdisk_addr_r ${l_addr_next}
else
setenv l_ramdisk_addr_r ${ramdisk_addr_r}
fi
setenv l_file "${prefix}${l_ramdiskfile}"
if load ${devtype} ${devnum}:${distro_bootpart} ${l_ramdisk_addr_r} ${l_file} ; then
if test "${load_addr_calc}" = "on" ; then
setexpr l_addr_next ${l_ramdisk_addr_r} + ${filesize}
run func_align_addr_next
setenv kernel_comp_addr_r ${l_addr_next}
fi
setenv l_message "Loaded initial ramdisk ${l_file} to ${l_ramdisk_addr_r}."
run func_inform
else
if test "${load_addr_calc}" = "on" ; then
setenv kernel_comp_addr_r "${preset_kernel_comp_addr_r}"
setenv kernel_comp_size "${preset_kernel_comp_size}"
fi
setenv l_message "Could not load initial ramdisk ${l_file}!"
run func_critical_error || exit
fi
# attempt to prepare for kernel address space randomization
if kaslrseed ; then
else
setenv l_message "Not able to prepare for KASLR."
run func_inform
fi
setenv l_message "Kernel commandline arguments:"
run func_inform
setenv each_bootarg
for each_bootarg in ${bootargs} ; do
setenv l_message " ${each_bootarg}"
run func_inform
done
if test "${l_kernel_image_type}" = "flat" ; then
booti ${l_kernel_addr_r} ${l_ramdisk_addr_r} ${fdt_addr_r}
else
if test "${l_kernel_image_type}" = "compressed" ; then
bootz ${l_kernel_addr_r} ${l_ramdisk_addr_r} ${fdt_addr_r}
else
# default booting command
bootz ${l_kernel_addr_r} ${l_ramdisk_addr_r} ${fdt_addr_r}
fi
fi
# booting failed, restore environment variables that are not unique
# to this bootmeth
if test "${load_addr_calc}" = "on" ; then
# restore original presets
setenv kernel_comp_addr_r "${preset_kernel_comp_addr_r}"
setenv kernel_comp_size "${preset_kernel_comp_size}"
fi
setenv l_message "Could not boot kernel!"
run func_critical_error || exit
# Recompile with:
# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr

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