Compare commits

...

971 Commits

Author SHA1 Message Date
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
青菜萝 卜冬瓜
d40c922086 station-m3: delete the redundant function. (#8068) 2025-04-12 12:03:41 +08:00
ssp97
99888eb5e2 rk3308: fix uart dma. (#8074) 2025-04-12 11:29:19 +08:00
Patrick Yavitz
0b8d7ffa32 SpacemiT: Defconfig: Enable PPPoe Module
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-04-11 11:07:34 -04:00
Igor Pecovnik
2b48f5c535 Rockchip RK3588: Adjust mainlined patch 2025-04-10 17:40:04 +02:00
juanesf
863a369302 Update linux-sun55iw3-dev.config (#8058)
-Change CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE  to CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND to avoid excessive heat while in low use
2025-04-10 10:29:46 +02:00
Mecid
ff6050e6c7 Genio: Remove merged patch 2025-04-10 10:29:19 +02:00
FantasyGmm
1dfb077e15 Bump SM8250 Edge kernel to 6.14 (#8054) 2025-04-09 19:28:36 +08:00
igorpecovnik
9b7b35bf56 Automatic board configs status synchronise 2025-04-08 22:11:46 +02:00
Igor Pecovnik
813e5ba567 We need to escape $ otherwise this will be executed on host 2025-04-08 21:09:55 +02:00
The-going
47ac70fb27 bananapim4berry: Mark the device as CSC
At this stage, the desktops are functioning normally.
The Ethernet is working; module dwmac-sun8i.
WiFi\Bluetooth - the rtl8821cu module is loaded and
can be configured.
2025-04-08 17:17:22 +02:00
The-going
7c640ba198 sunxi-6.12: bananapi-m4-berry: Fix the launch of Ether, Wifi chips 2025-04-08 17:17:22 +02:00
The-going
5a5fd2d14e sunxi-6.1: sunxi-6.10: sunxi-6.11: Delete as unsupported 2025-04-08 17:17:22 +02:00
The-going
6f76bdaf4e sunxi-6.12: Switching to v6.12.20 2025-04-08 17:17:22 +02:00
The-going
09b0af1cdd sunxi-6.12: Add the missing pins to a separate patch 2025-04-08 17:17:22 +02:00
The-going
748e04ed20 sunxi-6.12: re-export megous, drm patches to v6.12.20 2025-04-08 17:17:22 +02:00
The-going
332d300fd8 sunxi64: Switching CURRENT to v6.12.19, LEGACY to v6.6.75
kernel config by simple copying:
cp linux-sunxi64-current.config linux-sunxi64-legacy.config
cp linux-sunxi64-edge.config linux-sunxi64-current.config

cp linux-sunxi-current.config linux-sunxi-legacy.config
cp linux-sunxi-edge.config linux-sunxi-current.config
2025-04-08 17:17:22 +02:00
The-going
1177443baf sunxi-6.12: re-export armbian patches to v6.12.19 2025-04-08 17:17:22 +02:00
The-going
c8a2c6d8db sunxi-6.12: Add PRCM power domain controller Mali GPU on h616 2025-04-08 17:17:22 +02:00
The-going
cc7df28a64 sunxi-6.12: re-export megous patches to v6.12.19 2025-04-08 17:17:22 +02:00
dependabot[bot]
8d08098c2e build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from b74df86ccb65173a8e33ba5492ac1a2ca6b216fd to 6abeaa506a419f85fa9e681260b443adbeebb3d4.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](b74df86ccb...6abeaa506a)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-08 17:12:03 +02:00
Igor Pecovnik
8e6fd84fe1 Enable rtw88 and rtw89 wireless drivers in kernel 6.12+ configs 2025-04-07 00:31:40 +02:00
EvilOlaf
cefdde835a radxa-zero3: enable wifi extension by default. allow newer kernels 2025-04-06 22:05:47 +02:00
EvilOlaf
ac49262510 nanopi-r3s: bump uboot to v2025.01 for current 2025-04-05 14:41:27 +02:00
EvilOlaf
1e8f4746da nanopi-r3s: cleanup board config 2025-04-05 14:41:27 +02:00
EvilOlaf
736537517f rock-3a: fix u-boot.itb building 2025-04-05 14:41:27 +02:00
EvilOlaf
d4b1021b45 Revert "Revert "rock-3a: remove duplicate code by combining functions""
This reverts commit bd74a136e13527ee8fee251f805ed026127877be.
2025-04-05 14:41:27 +02:00
EvilOlaf
879c3642ce Revert "rock-3a: remove duplicate code by combining functions"
This reverts commit 0b450f287f9796073c5bedc6ecfaafa8eb47c365.
2025-04-05 14:41:27 +02:00
EvilOlaf
0b1dd1815c rock-3a: remove duplicate code by combining functions 2025-04-05 14:41:27 +02:00
EvilOlaf
19dff4d9df radxa-zero3: bump mainline uboot to v2025.01 2025-04-05 14:41:27 +02:00
EvilOlaf
594579f370 radxa-zero3: use mainline uboot for current 2025-04-05 14:41:27 +02:00
Igor Pecovnik
fc86a15517 Cloud QCOW2 images are as small as they can be, but filesystem could / should be larger for start
This adds fixed +16Gb of resize, which doesn't make image any bigger, but when importing this as is, it might be better to not start without any free space. Now its 16Gb - cca. 600Mb.
2025-04-05 14:40:58 +02:00
dependabot[bot]
0ca157ac0a build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 27ae6b33eaed7bf87272fdeb9f1c54f9facc9d99 to b74df86ccb65173a8e33ba5492ac1a2ca6b216fd.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](27ae6b33ea...b74df86ccb)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-05 14:40:44 +02:00
igorpecovnik
95b8c4cc8c Automatic board configs status synchronise 2025-04-01 14:19:58 +02:00
igorpecovnik
3612c5bf09 Automatic board configs status synchronise 2025-03-31 21:38:12 +02:00
Igor Pecovnik
451547b0d4 Add VENDOR color to BSP and artifacts hashing 2025-03-31 21:37:55 +02:00
Ricardo Pardini
4aa306c740 drivers_network: bump rtl8812au for 6.14.y
- https://github.com/aircrack-ng/rtl8812au/pull/1226 landed
2025-03-31 21:37:24 +02:00
Ricardo Pardini
454c49626d Revert "drivers_network: HACK: bump rtl8812au (forked until PR merged upstream)"
This reverts commit 6b74df6f2c.
2025-03-31 21:37:24 +02:00
Chen Jiali
abcc92edce boards: radxa-e20c: add armbian-leds.conf 2025-03-31 21:37:13 +02:00
Ricardo Pardini
34427fb28b odroidm2: u-boot: bump v2025.04-rc4 -> v2025.04-rc5
- patches rewritten, there were no changes
2025-03-31 21:36:58 +02:00
Ricardo Pardini
477ef8e5c6 odroidm2: rewrite patch 001-odroid-m2-fix-for-ethernet.patch, no actual changes (against -rc4)
- Fixes: 896a8090c1 (PR https://github.com/armbian/build/pull/7981)
2025-03-31 21:36:58 +02:00
Ricardo Pardini
e0ef86c777 odroidm2: use standard v2025.04 (drop -rc4) from u-boot patch folder name
- Fixes: 896a8090c1 (PR https://github.com/armbian/build/pull/7981)
2025-03-31 21:36:58 +02:00
dependabot[bot]
15fb8f2178 build(deps): bump rich from 13.9.4 to 14.0.0
Bumps [rich](https://github.com/Textualize/rich) from 13.9.4 to 14.0.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/v13.9.4...v14.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 21:36:35 +02:00
dependabot[bot]
32bc8218a6 build(deps): bump setuptools from 78.0.1 to 78.1.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 78.0.1 to 78.1.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v78.0.1...v78.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 21:36:19 +02:00
Igor Pecovnik
9c206d0175 Drop examples as they are not needed for hooks 2025-03-31 20:50:39 +02:00
coderabbitai[bot]
bd5bf38593 📝 Add docstrings to netkit
Docstrings generation was requested by @igorpecovnik.

* https://github.com/armbian/build/pull/8036#issuecomment-2766658224

The following files were modified:

* `lib/functions/compilation/armbian-kernel.sh`
2025-03-31 20:50:39 +02:00
Igor Pecovnik
f029ab11c4 Enable NETKIT feature for all armbian-kernels => 6.7 2025-03-31 20:50:39 +02:00
Mecid
756dff9912 Make Radxa Nio-12L Standard Support 2025-03-28 20:59:41 +01:00
igorpecovnik
fc536db511 Automatic board configs status synchronise 2025-03-28 14:41:10 +01:00
Mecid
5c391f0e05 Switch canonical to vendor to keep more inline with other families 2025-03-28 12:38:01 +01:00
Mecid
a322285cfb Replace bsdmainutils with bsdextrautils 2025-03-28 12:38:01 +01:00
Mecid
322f86ff69 Add bsdmainutils to host dependencies in prepare-host.sh
for mac80211 in 6.14 which failed requiring hexdump
2025-03-28 12:38:01 +01:00
Mecid
b513a20d22 Add Mediatek Genio Family + Radxa Nio-12L (Genio 1200) 2025-03-28 12:38:01 +01:00
Igor
1ebec53080 Revert "Change to different method of getting changed files" (#8019)
* Revert "Change to different method of getting changed files"

This reverts commit d4022fbbbb.

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

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

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

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

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

The following files were modified:

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

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

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

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

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

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

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

This change fixes CPUFREQ on CB2 on 6.12

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* Create orangepi5-ultra.csc

* fixups

* add notes

* fix u-boot compilation

* Update to v7 patch series

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

* Update rk3588-orangepi-5-ultra.dts

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

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

* disable OPTEE

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

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

* improve comment formatting

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

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

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

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

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

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

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

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

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

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

Also fix a wrong pin number

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* Nanopi R3S - add uboot patch

* Nanopi R3S - add dts

* fix bogus patch header

* Migrate to new patch series

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

Applies and builds fine now against current stable v2024.10

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-07 10:12:26 +01:00
Thomas McKahan
877b5bf385 Add Sweet Potato to xorg conf in family config 2025-01-07 10:12:15 +01:00
Ricardo Pardini
eaf8e5ac37 rk35xx/legacy: rewrite-kernel-config, no changes 2025-01-05 18:46:59 +01:00
Ricardo Pardini
ec421356e2 rk35xx/legacy: rewrite-kernel-patches, no changes 2025-01-05 18:46:59 +01:00
Ricardo Pardini
bc38307b83 rpi5b: drop LINUXFAMILY=bcm2712 as it is exactly the same as bcm2711
- in f3f10a9517 the 16k-page stuff was dropped
  - and that was the only reason for a separate kernel
  - thus drop the change and unify; 2 less kernels to build and same result
2025-01-05 18:46:50 +01:00
Ricardo Pardini
eaa8ab0c91 u-boot: orangepi5pro: fix UBOOT_TARGET_MAP whitespace/newlines and add note 2025-01-05 16:38:43 +01:00
Ricardo Pardini
f16e1408e4 u-boot: orangepi5: fix UBOOT_TARGET_MAP whitespace/newlines and add note 2025-01-05 16:38:43 +01:00
Ricardo Pardini
128ffaa17d u-boot: rock-5a: fix UBOOT_TARGET_MAP whitespace/newlines and add note 2025-01-05 16:38:43 +01:00
Ricardo Pardini
fdde912ebf uboot: debug u-boot directory contents before/after patching
- with DEBUG=yes, allows us to see what is leftover in directory during builds
- with new cleaning in separate commit, there shouldn't be any leftovers _at all_
2025-01-05 16:38:43 +01:00
Ricardo Pardini
d8c6c9044c rockchip64_common: uboot_custom_postprocess(): add logging about BOOT_SUPPORT_SPI and BOOT_SPI_RKSPI_LOADER 2025-01-05 16:38:43 +01:00
Ricardo Pardini
79db9984f1 uboot: completely clean before building each target; slower but correct
- with this, every u-boot build will be a full rebuild.
  - still, building u-boot is pretty fast
  - and it is better to be a bit slower and actually produce correct results
2025-01-05 16:38:43 +01:00
Ricardo Pardini
7aeb48f172 u-boot: add per-target and general metadata files to u-boot package
- incl some indicative fdt/extlinux/gpt info
- include full config and defconfig for each target
- mark the old .config file as legacy (it was always the last-target's config)
- fix: savedefconfig after build, not before (as target_map might change it)
- fix: some very old u-boots (2011, odroidc1) do not have `savedefconfig` at all, so make it optional
- fix: same for `.config` -- very old u-boots worked different (`boards.cfg`?)
2025-01-05 16:38:43 +01:00
Tim Surber
7c5f95ef8c bump arm trusted firmware to 2.12 for rockchip64 2025-01-05 10:29:54 +01:00
Ricardo Pardini
8c20a470a4 rock-s0 / rockpi-s: quote board vars
- so JSON pipeline stops complaining
2025-01-05 10:25:31 +01:00
amazingfate
658a9dcfad sm8250-6.12: add typec support to oneplus-kebab 2025-01-05 10:24:40 +01:00
Ricardo Pardini
87ceaaf635 kernel-debs: headers: postinst: switch from oldconfig to olddefconfig for less messy output; better logging 2025-01-05 10:24:30 +01:00
Ricardo Pardini
3894e92845 v4l2loopback-dkms: do not restrict to desktops only
- undoes baeaee6f20
- as I use this for debugging general dkms issues, even in non-desktops
2025-01-05 10:21:01 +01:00
Tim Surber
4573911cc4 add hdmi rx configuration for friendlyelec cm3588 2025-01-05 10:15:42 +01:00
Ricardo Pardini
97c05825e4 rockchip64/edge: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
c4a8ef49b0 rockchip64/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
88fd7fb8fb sm8250/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
238c41e2bf wsl2-x86/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
9a20071b4c wsl2-x86/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
fe3116be7c wsl2-arm64/edge: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
eb26e63900 wsl2-arm64/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
e6913f6ca4 wsl2-arm64/current: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
b41e444266 wsl2-arm64/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
1eaf4c4250 arm64/wdk2023: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
be5fdca4cc riscv64/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
c9c264f9a4 riscv64/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
2821f6296d riscv64/legacy: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
ee239912bd arm64/legacy: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
8d12eac381 arm64/legacy: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
9de0ce2fb1 arm64/sc8280xp: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
72d7f3f2cf bcm2711/edge: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
3327734703 bcm2711/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
a8d666deca bcm2711/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
8b13537547 bcm2711/legacy: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
8dfe0957a8 bcm2711/legacy: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
635d793beb phytium-embedded/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
da963e6fb6 phytium-embedded/legacy: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
0af0faec6b odroidxu4/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
c2c543f879 odroidxu4/current: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
89044ece69 odroidxu4/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
63d553fa42 mvebu64/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
71732970cd mvebu64/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
b8e32a4d3d mt7623/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
a9e43b670b spacemit/current: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
38b85b842e spacemit/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
d9e6aabf6d x86/legacy: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
6de6506c81 meson/edge: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
2dc4900e3c meson/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
1d30d4c8de meson/current: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
563b6ed525 meson/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
78422a0820 imx8m/current: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
24859d0c20 imx8m/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
c5a80fe474 meson-s4t7/legacy: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
a10205931d imx6/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
e2ed1e4465 imx6/current: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
5c670e08a8 imx6/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
fa430e4eaa sun55iw3-syterkit/legacy: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
12232b8886 k3/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
37f3ffcc85 rockchip/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
c51072306c rockchip/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
69bcec2755 x86/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
072f8a9a27 x86/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
49c9d10b89 mvebu/edge: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
b2b486b71c mvebu/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
e5c2fe21e9 mvebu/current: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
49e235cbce mvebu/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
88d48a3f11 k3/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
2d1f91aa9e sm8250/current: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
ff45955848 sm8250/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
da0f6a77a9 arm64/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
d0c9cb56e2 arm64/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
f2907a8bac starfive/edge: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
86631894a5 starfive/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
cf08645c38 meson64/current: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
f722b1867e meson64/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
12b8b3792d sunxi64/legacy: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
a367c57e10 meson64/edge: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
8576f970e8 meson64/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
fb8767f43c sunxi64/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
48f704141a sunxi64/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
b7653e2b89 sunxi/edge: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
5d6d872323 sunxi/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
ca06f43c84 sunxi/legacy: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
920e18a5de sunxi/legacy: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
e103e2e1da sunxi/current: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
fd967e8de8 sunxi/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
c9e9eb4eeb rk35xx/vendor: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
b9a22a1751 rk35xx/vendor: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
d5f06f99bf rockchip64/current: rewrite-kernel-patches, no changes 2025-01-05 10:15:14 +01:00
Ricardo Pardini
fb979d96d6 rockchip64/current: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
marcone
5ccc94dd56 fix typo 2025-01-04 15:36:06 +01:00
Ricardo Pardini
43ee737f30 runners: fix if_error_find_files_sdcard if looking for full paths (shows DKMS log correctly)
- this should make `dmks`'s `make.log` properly show up in error logs now
2025-01-04 15:35:29 +01:00
Ricardo Pardini
a408e0cbdf cli-docker: avoid argument list too long errors when too many git changes present; fixes #6993 2025-01-03 17:18:10 +01:00
Ricardo Pardini
065eed8a3b rockchip64-6.13: fix mbox formatting of rk356x-fix-pcie2-reset.patch 2025-01-03 17:17:05 +01:00
amazingfate
7267225827 rockchip64-6.13: add missing patch to fix rk356x pcie2 for rc5
The patch changing pcie2 phy driver of rk356x is merged to v6.13-rc5 but
the dts patch in the same series is not merged, which will break pcie2
on rk356x boards.
This patch should be soon deleted since I have reported it upstream.
2025-01-03 01:38:00 +08:00
Ricardo Pardini
b0303e5edc rootfs: fix: don't try to use chroot binaries after qemu was undeployed
- `"${cache_fname}.list"` and `"${cache_fname}.hash_text"` were very old and unused anyway
2025-01-02 13:46:03 +01:00
Patrick Yavitz
b20254123c SpacemiT: Defconfig: Tick on extra wireless and other bits
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 14:01:21 -05:00
Patrick Yavitz
6b7062a9e6 BananaPi BPI-F3: Reduce mods needed to enable Bluetooth
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 14:01:21 -05:00
Patrick Yavitz
57f47eb658 BananaPi BPI-F3: Sort and delete unrelated RISCV patch
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 14:01:21 -05:00
Patrick Yavitz
09fe0008f1 BananaPi BPI-F3: Update to Linux 6.6.68
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 14:01:21 -05:00
Patrick Yavitz
b2d3a326e5 BananaPi BPI-F3: Add bluetooth support
46c7dd0585

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 14:01:21 -05:00
Patrick Yavitz
09c5ab3725 Revert "spacemit: write_uboot_platform: check first, then write down"
This reverts commit c3be1f0b42.
2025-01-01 14:01:21 -05:00
The-going
82898e701f spacemit: write_uboot_platform: check first, then write down
The files included in u-boot are rarely changed or do not
change at all. Compare bit by bit the memory region in which
the file will be located and the file itself. If they match,
then skip the recording.
This saves the life of the memory chip.
2025-01-01 14:01:21 -05:00
Patrick Yavitz
c54410b9ba BananaPi BPI-F3: @armbian.com
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 14:01:21 -05:00
Patrick Yavitz
4c032cac20 BananaPi BPI-F3: Update spacemit defconfig
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 14:01:21 -05:00
Patrick Yavitz
df9ddaf44e BananaPi BPI-F3: Update u-boot and linux patching
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 14:01:21 -05:00
Patrick Yavitz
7b6fcab372 BananaPi BPI-F3: Update family conf
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 14:01:21 -05:00
Patrick Yavitz
3fce01a6dd BananaPi BPI-F3: Update board conf
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 14:01:21 -05:00
Igor Pecovnik
3fff657a70 Debian SID: drop broken package 2025-01-01 19:48:07 +01:00
Igor Pecovnik
6e8e47219d riscv64: enable support in Debian Trixie, enable UEFI grub 2025-01-01 19:47:52 +01:00
Paolo Sabatino
b8f121511b rockchip: fix "snd_soc_component_of_xlate_dai_id" error in dmesg 2025-01-01 19:38:55 +01:00
Paolo Sabatino
54628d7d3e rockchip: bump edge kernel to 6.13-rc5 2025-01-01 19:38:55 +01:00
Paolo Sabatino
371909623d fix rtl8723cs driver compilation on kernel 6.13 2025-01-01 19:38:55 +01:00
bmilde
8007e64ab1 Update linux-uefi-arm64-edge.config
Added module support for newer MediaTek Wifi7 devices
2025-01-01 19:38:44 +01:00
Igor Pecovnik
533310d1de Disable boards in Visionfive2 family as kernel compilation breaks 2025-01-01 19:38:33 +01:00
Patrick Yavitz
5591c5fa63 Add RTW88 88XXAU to meson64 edge defconfig
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 13:31:22 -05:00
Patrick Yavitz
8e621baeb9 RTW88: Add RTL88XXAU support to 6.12.y
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 13:31:22 -05:00
igorpecovnik
b1232edaa2 tools: Bump ORAS_VERSION from 1.2.0 to 1.2.1 2024-12-31 11:52:48 +01:00
Ricardo Pardini
de6b967e47 cli: kernel-dtb: don't output preprocessed dts unless BOOT_FDT_FILE is in <vendor>/<board>.dtb format
- so the .deb can be produced sans-errors for some armhf boards
- some better logging, curb the warnings a bit
2024-12-31 11:52:30 +01:00
Ricardo Pardini
6755e9190a don't ship qemu binary in rootfs cache + armhf image/rootfs building on non-armhf-capable-arm64 hosts (Apple M1+)
- refactor `prepare_host_binfmt_qemu()` out of `prepare_host_noninteractive()` and into `rootfs/qemu-static.sh`
  - further split into more functions and return early to avoid deep nesting
  - implement force import and load of qemu-arm for non-armhf capable arm64 hosts (incl magic numbers)
- enhance `deploy_qemu_binary_to_chroot()` & `undeploy_qemu_binary_from_chroot()`;
  - add 2nd param "caller" for better logging/tracking
  - does sanity-check and preserve existing binary if it exists
- explicitly deploy/undeploy for the 3 cases:
  - image: moved undeploy from `post_debootstrap_tweaks()` into image build proper for consistency
  - rootfs: was leaving trash behind (since post_debootstrap_tweaks never ran for rootfs), now properly undeploys
  - initrd: was already fine, just added caller info
- added `arch-test` host dependency
  - ensure `arch-test ${ARCH}` works during prepare-host
- > tl,dr: "can build 32-bit armv7 armhf using Apple silicon; can use rootfs cache cross-arch reliably"
2024-12-31 11:52:12 +01:00
Jan Volckaert
47cffce299 copy odroid-c4 overlays to meson64-6.12 2024-12-31 11:51:52 +01:00
Jan Volckaert
0224784d01 add support for odroid-c4 mapped to i2c-1
updates after review of initial PR #7622
2024-12-31 11:51:52 +01:00
Jan Volckaert
261ec4530a fix Makefile after rename of meson-g12a-radxa-zero-i2c-ee-m2-gpiox-17-gpiox-18.dtbo to meson-sm1-odroid-c4-i2c-ee-m2-gpiox-17-gpiox-18.dtbo 2024-12-31 11:51:52 +01:00
Jan Volckaert
3321dbd249 rename dts overlay to map on odroid-c4 2024-12-31 11:51:52 +01:00
Jan Volckaert
9b245761dd update documentation for i2c-0 patch for odroid-c4 2024-12-31 11:51:52 +01:00
Jan Volckaert
9f04f9a0a6 add support for i2c-0 on odroid-c4 2024-12-31 11:51:52 +01:00
igorpecovnik
51ab548295 Automatic board configs status synchronise 2024-12-31 11:51:19 +01:00
Ricardo Pardini
0ffa7e7856 thinkpad-x13s: bump to jhovold's wip/sc8280xp-6.13-rc4
- this is down to 16 patches, from hundreds back in the day. Considering merging this with default arm64 uefi kernel
2024-12-31 11:51:09 +01:00
Ricardo Pardini
7e88e7faa7 thinkpad-x13s: bump to jhovold's wip/sc8280xp-6.13-rc3
- this is down to 16 patches, from hundreds back in the day. Considering merging this with default arm64 uefi kernel
2024-12-31 11:51:09 +01:00
Ricardo Pardini
c396b12887 thinkpad-x13s: bump to jhovold's wip/sc8280xp-6.13-rc1
- this is down to 19 patches, from hundreds back in the day. Considering merging this with default arm64 uefi kernel
- cleanup some outdated comments
2024-12-31 11:51:09 +01:00
Ricardo Pardini
6f0afc150c kernel-config: switch to exporting defconfig's for all .config files
- this affects `rewrite-kernel-config` and `kernel-config` CLIs
- this does not actually change the .config's we have, that will happen later / gradually as configs are rewritten
- no more `.defconfig` files are produced (they were in gitignore)
2024-12-31 11:50:59 +01:00
Ricardo Pardini
12f9318373 armbian-kernel: enforce arm64 kernels use 48-bit PA/VA 2024-12-31 11:50:48 +01:00
Ricardo Pardini
cafdca0cc4 armbian-kernel: enable BTF (and CO-RE) for all kernels 2024-12-31 11:50:48 +01:00
Ricardo Pardini
bcc13132ad armbian-kernel: disable module signatures, harder 2024-12-31 11:50:48 +01:00
amazingfate
6cdf1e86fd remove patches disabling sched_ext clean in tools for 6.12 and later kernels 2024-12-30 20:37:08 +01:00
Werner
2ce5f5e391 Bump mainline to rc5 2024-12-30 20:34:07 +01:00
Werner
957af85a65 Remove upstreamed patch
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c?id=v6.13-rc5&id2=v6.13-rc4
2024-12-30 20:34:07 +01:00
Patrick Yavitz
8d4c6d1e8a sunxi-6.12: Add the lost functionality to create __symbols__ nodes. 2024-12-30 20:33:45 +01:00
The-going
d0ec958162 kernel_package_callback_linux_headers: Fix the cleaning process for tools.
In order for the cleanup to be correct for tools, we need to pass
the VMLINUX_BTF variable, which contains the real path to the vmlinux
file we just compiled.

The vmlinux file itself is not involved in cleaning,
but the Makefile checks for its presence and cleaning
is aborted if it is not found.
2024-12-30 20:33:45 +01:00
The-going
1d29712911 sunxi-6.12: Switch to v6.12.6 2024-12-30 20:33:45 +01:00
The-going
ef4982a4f5 sunxi-6.12: Add Fix BigTreetech CB1 tsc2007 ghost touches #7584 2024-12-30 20:33:45 +01:00
The-going
69d8a8074a sunxi-6.12: Switch to v6.12.5 2024-12-30 20:33:45 +01:00
The-going
cd42d8977a sunxi-6.12: Add missing redesigned patches for BananaPi-BPI-M4-Zero
Add the missing fixes from #7568 and re-extracted the patches.
2024-12-30 20:33:45 +01:00
The-going
7c852c5427 sunxi-6.12: update the config, add CONFIG_STACK_TRACER=y
It will be useful for us to receive the trace stack from users.
2024-12-30 20:33:45 +01:00
The-going
5968f6dca1 sunxi-6.12: Add patches to the armbian series
Here, a folder named patches.addon must exist in order for
users to add new patches. These patches will be applied but
they are awaiting more careful consideration.

Let's just sort the sequence a little bit.
2024-12-30 20:33:45 +01:00
The-going
8e656581f0 sunxi-6.12: sorting armbian patches, Switch EDGE to v6.12.4
First of all, we make changes to the core functions and
only then we change the device tree
2024-12-30 20:33:45 +01:00
The-going
8088ffbce7 sunxi-6.12: rebase & re-extract patches for v6.12.4 2024-12-30 20:33:45 +01:00
The-going
3b4a58a337 sunxi-6.12: Add all Armbian patches from archive/sunxi-6.11 2024-12-30 20:33:45 +01:00
The-going
1e5cf62e3a sunxi-6.12: Add megous patches 2024-12-30 20:33:45 +01:00
pykpkg47
bab9b3fbe3 rock-3a:add u-boot image for sata boot
Signed-off-by: pykpkg47 <118465017+pykpkg47@users.noreply.github.com>
2024-12-30 08:27:13 +08:00
amazingfate
606249653c rockchip64-6.13: update infos in 0000.patching_config.yaml to 6.13 2024-12-30 08:24:45 +08:00
amazingfate
b256a94f93 rockchip64-6.13: fix rkvdec resets control at probe 2024-12-30 08:24:45 +08:00
Muhammed Efe Cetin
eae71425dc rockchip64-6.13: fix USB3 on Orange Pi 5 Plus 2024-12-30 08:24:45 +08:00
Muhammed Efe Cetin
d59b4e5c72 rockchip64-6.13: rebase patches 2024-12-30 08:24:45 +08:00
Muhammed Efe Cetin
7827caf238 rockchip64-6.13: add HDMI1 support to Orange Pi 5 Plus 2024-12-30 08:24:45 +08:00
amazingfate
70a8cfe2d4 rockchip64-6.13: add hdmi1 support to rock5b 2024-12-30 08:24:45 +08:00
amazingfate
8017976f37 rockchip64-6.13: remove deprecated display_subsystem node on rk3588
This node is introduced by old version of hdmi pll clock patches, which
is already dropped.
And in new version of patch hdmi pll clock is added to rk3588-base.dtsi
instead of board level devicetree:
https://patchwork.kernel.org/project/linux-rockchip/patch/20241211-vop2-hdmi0-disp-modes-v2-5-471cf5001e45@collabora.com/
2024-12-30 08:24:45 +08:00
amazingfate
f403e61fc3 wireless patches: fix build for kernel 6.13 2024-12-30 08:24:45 +08:00
amazingfate
122a21b9a8 rockchip64-6.13: fix rkvdec2 build error with v6.13-rc4 2024-12-30 08:24:45 +08:00
amazingfate
1e7684887c mainline-kernel: bump 6.13 to rc4 2024-12-30 08:24:45 +08:00
amazingfate
c444c94de1 rockchip64-6.13: revert rk3308 analog codec to vendor code 2024-12-30 08:24:45 +08:00
amazingfate
052010be82 rockchip64-edge remove already mainlined rk3588s-rock-5c.dts 2024-12-30 08:24:45 +08:00
amazingfate
3cda59a4cc rockchip64-edge remove already mainlined rk3566-radxa-zero-3.dtsi 2024-12-30 08:24:45 +08:00
Muhammed Efe Cetin
bec8f26bef rockchip64-edge: remove orphan nanopi r6 devicetrees 2024-12-30 08:24:45 +08:00
Muhammed Efe Cetin
2f65e046a0 rockchip64-edge: remove orphan orangepi5 devicetrees 2024-12-30 08:24:45 +08:00
amazingfate
26c15ce439 wireless patches: fix build for kernel 6.13 2024-12-30 08:24:45 +08:00
amazingfate
92350a0825 rockchip64-edge: bump to 6.13 2024-12-30 08:24:45 +08:00
ARCW
c6cb2a57e9 fixed tinker-edge-r HDMI 4K display bug, bump to linux6.12 branch (#7608) 2024-12-29 20:19:12 +01:00
TheSnowfield
1cd44cceb6 sunxi-6.6: add NextThing C.H.I.P (PocketChip) partial support 2024-12-29 20:18:54 +01:00
dependabot[bot]
8975e51d96 build(deps): bump jinja2 from 3.1.4 to 3.1.5
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-29 20:18:42 +01:00
Paolo Sabatino
d0df3b80f8 rockchip: enable 8189es kernel module 2024-12-29 20:18:28 +01:00
SuperKali
8919d2e4e7 Fix typo on Rock 5 ITX 2024-12-29 20:18:17 +01:00
SuperKali
34b19d5680 Add support kernel edge & current for Rock 5 ITX 2024-12-29 20:18:17 +01:00
amazingfate
f730b0abc7 hinlink-h88k: add spi lcd firmware to bsp package 2024-12-28 22:50:15 +08:00
Paolo Sabatino
06c37e510d Fix uwe5622 "spanning-writes" warning messages in dmesg 2024-12-26 20:30:54 +01:00
Alex Shumsky
4fd0e0c29d rootfs-to-image: preserve sparse files when moving artefacts to final destination with rsync 2024-12-24 22:33:51 +01:00
Viacheslav Bocharov
b80ff2c79a JeteHome: update JetHub D2 dt file to cpu board rev1.3
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-12-24 22:33:31 +01:00
Arend-Jan van Hilten
1ab73573f4 Fix orangepizero wifi and usb otg (#7614) 2024-12-24 22:23:44 +01:00
chainsx
4c61f61a8e add community support for DShanPI-R1 2024-12-24 21:42:18 +08:00
dependabot[bot]
48ad33ed22 build(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](b4b15b8c7c...6f51ac03b9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-24 14:29:11 +01:00
Igor Pecovnik
9b5dc3b046 Odroid XU4: remove deprecated patches 2024-12-24 14:28:42 +01:00
Paolo Sabatino
9d7ab82449 rockchip64: revert rk3308 analog codec to vendor code 2024-12-23 07:00:58 +01:00
igorpecovnik
91978d7e6a Automatic board configs status synchronise 2024-12-22 08:19:56 +01:00
青菜萝 卜冬瓜
666554c1b4 longanpi-4b: fix typo. 2024-12-22 08:19:38 +01:00
amazingfate
bd7da30ca8 coolpi-cm5: fix uboot patch dir 2024-12-22 08:18:45 +01:00
amazingfate
33dc847080 rk35xx-vendor: build DRM_PANEL_MIPI_DBI as builtin
This driver will request firmware by the first compatiable string from
devicetree, which is usually a device specific string not in the driver
code. If this driver is built as module, it can't get loaded because
only the first compatible string is used to probe driver. There is no
such issue if this driver is built in kernel.
2024-12-22 11:12:05 +08:00
amazingfate
fcbad0b426 ghproxy: update GHPROXY_ADDRESS to ghgo.xyz 2024-12-22 00:03:46 +08:00
amazingfate
dedfe43499 rk35xx-vendor: enable CONFIG_DRM_PANEL_MIPI_DBI for spi lcds 2024-12-22 00:03:29 +08:00
amazingfate
c6067e2da6 rk35xx-vendor: rewrite kernel config based on rkr4.1 2024-12-22 00:03:29 +08:00
amazingfate
bff12a6c42 rockchip64: current/edge: build rockchip pmic drivers as built-in 2024-12-21 11:04:31 +08:00
amazingfate
aee268c7a7 rockchip64: current/edge: remove unnecessary kernel configs 2024-12-21 11:04:31 +08:00
amazingfate
720721b9af bootenv: let rk3588 and rk356x share same bootenv to set cma size 2024-12-21 11:04:31 +08:00
amazingfate
0235c1e3a5 rockchip-rk3588: remove current and edge branch 2024-12-21 11:04:31 +08:00
amazingfate
91edf83268 rockchip64-current: bump to 6.12 2024-12-21 11:04:31 +08:00
amazingfate
81aea574ee rockchip64-6.12: disable h264 dec of hantro g1 vpu on rk3588 2024-12-21 11:04:31 +08:00
amazingfate
b0cb8f7c26 rockchip64-edge: merge configs from rockchip-rk3588-edge 2024-12-21 11:04:31 +08:00
amazingfate
cf31e16c07 merge patches of rockchip-rk3588-6.12 to rockchip64-6.12 2024-12-21 11:04:31 +08:00
amazingfate
f5659c4198 rockchip64-edge: rewrite kernel config with kernel 6.12.4 2024-12-21 11:04:31 +08:00
jomadeto
81e8382601 Add new TVBox aml-c400-plus: Magicsee C400 Plus 2024-12-18 21:04:20 +01:00
The-going
500448d588 sunxi-6.6: Switch to v6.6.65 2024-12-18 21:04:10 +01:00
The-going
610171949e sunxi-6.6: re-export armbian patches for v6.6.65 2024-12-18 21:04:10 +01:00
The-going
9f3d078e76 sunxi-6.6: re-export megous patches for v6.6.65 version 2024-12-18 21:04:10 +01:00
The-going
77f7b71fa6 sunxi-6.6: Fix incomplete: Allwinner A10 DTS fix for ARM PMU IRQ and EMAC DMA (#7567) 2024-12-18 21:04:10 +01:00
The-going
270da9d963 sunxi-6.6: Fix incomplete: add community support for LonganPi 3H (#7547) 2024-12-18 21:04:10 +01:00
amazingfate
d3761c761d sm8250: clean up patches for old version of kernel 6.9 and 6.10 2024-12-18 21:04:00 +01:00
amazingfate
b11a6fd872 apt-utils: fix hard-coded GHPROXY_ADDRESS 2024-12-18 21:03:51 +01:00
JohnTheCoolingFan
cbfa3f8376 Add neofetch to fastfetch alias 2024-12-18 22:58:43 +03:00
JohnTheCoolingFan
19de341785 Sunxi-6.11: Fix tsc2007 ghost touches on BTT CB1
Based on ab7b1fa6dd
2024-12-16 15:20:40 +03:00
JohnTheCoolingFan
3be54c32e5 Sunxi-6.6: Fix tsc2007 ghost touches on BTT CB1
Based on ab7b1fa6dd
2024-12-16 15:20:40 +03:00
igorpecovnik
7183513feb Automatic board configs status synchronise 2024-12-16 13:20:05 +01:00
青菜萝 卜冬瓜
942ace8cb3 avaota-a1: fix typo (#7589) 2024-12-16 11:35:20 +01:00
Igor Pecovnik
763a5a3c1d Starfive: adjust kernel config and fix UART driver
sg2042 and jh7100 use the same uart driver

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

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

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

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

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

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

* Ensure that sun4i patches actually implemented

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

* Apply performance monitoring unit IRQ number patch to uboot

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

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

* Add sun4i emac ethernet DMA support to the edge kernel

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

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

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

* Apply EMAC DMA support and PMU fix to edge kernel

---------

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

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

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

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

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

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-12-04 17:08:37 -05:00
igorpecovnik
1285de6bd8 Automatic board configs status synchronise 2024-12-02 09:57:10 +01:00
dependabot[bot]
447c2a4207 build(deps): bump setuptools from 75.3.0 to 75.6.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 75.3.0 to 75.6.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v75.3.0...v75.6.0)

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

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

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

190
.github/CODEOWNERS vendored
View File

@@ -17,27 +17,36 @@ tools/ @iav @neheb @hzyitc @mhoffrog
# The following contents are generated by board configs
config/boards/aml-a311d-cc.conf @Tonymac32
config/boards/aml-c400-plus.conf @jomadeto
config/boards/aml-s905d3-cc.wip @Tonymac32
config/boards/aml-s9xx-box.tvb @SteeManMI
config/boards/armsom-sige1.csc @amazingfate
config/boards/armsom-sige3.csc @amazingfate
config/boards/avaota-a1.csc @chainsx
config/boards/ayn-odin2.eos @FantasyGmm
config/boards/ayn-odin2.csc @FantasyGmm
config/boards/bananapi.conf @DylanHP @janprunk
config/boards/bananapicm4io.conf @pyavitz
config/boards/bananapif3.conf @pyavitz
config/boards/bananapim2plus.csc @leggewie
config/boards/bananapim2pro.conf @igorpecovnik
config/boards/bananapim2s.conf @jeanrhum @pyavitz
config/boards/bananapim2zero.csc @mhawkins-consultant
config/boards/bananapim3.csc @AaronNGray
config/boards/bananapim4berry.csc @The-going
config/boards/bananapim4zero.conf @pyavitz
config/boards/bananapim5.conf @bretmlw
config/boards/bananapim5.conf @igorpecovnik
config/boards/bananapim64.csc @devdotnetorg
config/boards/bananapim7.conf @amazingfate
config/boards/beaglebone-ai64.conf @Grippy98
config/boards/beagleplay.conf @Grippy98
config/boards/beagley-ai.csc @Grippy98
config/boards/bigtreetech-cb1.conf @JohnTheCoolingFan
config/boards/bigtreetech-cb2.conf @JohnTheCoolingFan
config/boards/cherryba-m1.csc @IsMrX
config/boards/clearfogpro.csc @Heisath
config/boards/cm3588-nas.csc @ColorfulRhino
config/boards/coolpi-cm5.csc @andyshrk
config/boards/coolpi-genbook.csc @andyshrk
config/boards/firefly-itx-3588j.csc @SeeleVolleri
config/boards/fxblox-rk1.csc @mahdichi
config/boards/gateway-gz80x.conf @pyavitz
@@ -72,6 +81,8 @@ 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
@@ -82,16 +93,20 @@ config/boards/nanopi-r6s.conf @efectn
config/boards/nanopiair.csc @1ubuntuuser
config/boards/nanopiduo.csc @sgjava
config/boards/nanopim4v2.conf @igorpecovnik
config/boards/nanopineo.csc @spendist
config/boards/nanopineo2.csc @spendist
config/boards/nanopineocore2.csc @AGM1968
config/boards/nanopineoplus2.csc @teknoid
config/boards/odroidc1.conf @juanlufont
config/boards/odroidc2.conf @teknoid
config/boards/odroidc4.conf @igorpecovnik
config/boards/odroidhc4.conf @igorpecovnik
config/boards/odroidm1.conf @rpardini
config/boards/odroidm2.csc @mlegenovic
config/boards/odroidn2.conf @NicoD-SBC
config/boards/odroidxu4.conf @joekhoobyar
config/boards/olimex-teres-a64.conf @Kreyren
config/boards/onecloud.conf @hzyitc
config/boards/olimex-teres-a64.csc @Kreyren
config/boards/onecloud.csc @hzyitc
config/boards/oneplus-kebab.conf @amazingfate
config/boards/orangepi4-lts.conf @paolosabatino
config/boards/orangepi4.csc @paolosabatino
@@ -100,19 +115,23 @@ config/boards/orangepi5.conf @efectn
config/boards/orangepione.conf @StephenGraf
config/boards/orangepipc.csc @lbmendes
config/boards/orangepipcplus.csc @Janmcha
config/boards/orangepizero2.wip @AGM1968 @krachlatte
config/boards/orangepizero2.csc @AGM1968 @krachlatte
config/boards/orangepizero2w.csc @chraac
config/boards/orangepizero3.csc @alexl83 @chraac
config/boards/orangepizeroplus.conf @schwar3kat
config/boards/orangepizeroplus.csc @schwar3kat
config/boards/phytiumpi.conf @chainsx
config/boards/pine64.conf @PanderMusubi
config/boards/pinebook-pro.csc @TRSx80 @ahoneybun
config/boards/pocketbeagle2.csc @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
config/boards/radxa-e20c.csc @mattx433
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
@@ -120,14 +139,17 @@ config/boards/renegade.conf @Tonymac32
config/boards/retro-lite-cm5.csc @ginkage
config/boards/rk3318-box.tvb @paolosabatino
config/boards/rk3328-heltec.csc @sicXnull
config/boards/rock-2a.csc @CodeChenL
config/boards/rock-2f.csc @CodeChenL
config/boards/rock-3a.conf @ZazaBR @amazingfate @catalinii @vamzii
config/boards/rock-5-itx.conf @amazingfate @prahal
config/boards/rock-5a.conf @amazingfate
config/boards/rock-5b-plus.conf @HeyMeco @fridtjof
config/boards/rock-5b.conf @amazingfate @linhz0hz
config/boards/rock-5c.conf @schwar3kat
config/boards/rock-5t.conf @HeyMeco
config/boards/rock-s0.conf @brentr
config/boards/rock64.csc @clee
config/boards/rock64.conf @clee
config/boards/rockpi-4a.csc @clee
config/boards/rockpi-e.conf @paolosabatino
config/boards/rockpi-s.conf @brentr
@@ -137,82 +159,162 @@ config/boards/sakurapi-rk3308b.csc @TheSnowfield
config/boards/sk-am62b.conf @glneo
config/boards/sk-am64b.conf @glneo
config/boards/sk-am68.conf @glneo
config/boards/sk-am69.conf @glneo
config/boards/sk-tda4vm.conf @glneo
config/boards/station-m1.csc @150balbes
config/boards/station-m3.csc @chainsx
config/boards/sweet-potato.conf @Tonymac32
config/boards/thinkpad-x13s.wip @PeterChrz @rpardini
config/boards/thinkpad-x13s.conf @PeterChrz @rpardini
config/boards/tinkerboard.conf @paolosabatino
config/boards/tritium-h3.conf @Tonymac32
config/boards/tritium-h5.conf @Tonymac32
config/boards/uefi-arm64.conf @rpardini
config/boards/uefi-x86.conf @rpardini
config/boards/visionfive2.eos @libiunc
config/boards/wsl2-arm64.csc @rpardini
config/boards/wsl2-x86.csc @rpardini
config/boards/x96-mate.tvb @Ressetkk
config/boards/x96q.tvb @sicXnull
config/boards/xiaomi-elish.conf @amazingfate
config/boards/xiaomi-umi.conf @FantasyGmm
config/boards/youyeetoo-r1-v3.csc @SuperKali
config/kernel/linux-arm64-*.config @FantasyGmm
config/boards/yy3568.csc @hqnicolas
config/kernel/linux-arm64-*.config @PeterChrz @rpardini
config/kernel/linux-bcm2711-*.config @PanderMusubi @teknoid
config/kernel/linux-imx8m-*.config @schmiedelm
config/kernel/linux-k3-*.config @glneo
config/kernel/linux-meson-*.config @hzyitc
config/kernel/linux-genio-*.config @HeyMeco
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 @bretmlw @clee @engineer-80 @igorpecovnik @jeanrhum @monkaBlyat @pyavitz @rpardini @teknoid
config/kernel/linux-meson64-*.config @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee @engineer-80 @igorpecovnik @jeanrhum @jomadeto @monkaBlyat @pyavitz @rpardini @teknoid
config/kernel/linux-mvebu-*.config @Heisath
config/kernel/linux-odroidxu4-*.config @joekhoobyar
config/kernel/linux-phytium-embedded-*.config @chainsx
config/kernel/linux-rk35xx-*.config @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
config/kernel/linux-rk35xx-*.config @CodeChenL @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
config/kernel/linux-rockchip-*.config @paolosabatino
config/kernel/linux-rockchip-rk3588-*.config @ColorfulRhino @HeyMeco @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @efectn @fridtjof @lanefu @linhz0hz @rpardini @schwar3kat
config/kernel/linux-rockchip64-*.config @150balbes @Manouchehri @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @amazingfate @andyshrk @brentr @catalinii @clee @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @paolosabatino @prahal @rpardini @sicXnull @tdleiyao @utlark @vamzii
config/kernel/linux-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 @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 @Tonymac32 @janprunk @lbmendes @mhawkins-consultant @sgjava
config/kernel/linux-sunxi64-*.config @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @teknoid
config/kernel/linux-sunxi-*.config @1ubuntuuser @AaronNGray @DylanHP @Janmcha @StephenGraf @TheSnowfield @Tonymac32 @janprunk @lbmendes @leggewie @mhawkins-consultant @sgjava @spendist
config/kernel/linux-sunxi64-*.config @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @The-going @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @spendist @teknoid
config/kernel/linux-thead-*.config @chainsx
config/kernel/linux-uefi-arm64-*.config @PeterChrz @rpardini
config/kernel/linux-tqma-*.config @schmiedelm
config/kernel/linux-uefi-arm64-*.config @rpardini
config/kernel/linux-uefi-x86-*.config @davidandreoletti @rpardini
config/kernel/linux-wsl2-arm64-*.config @rpardini
config/kernel/linux-wsl2-x86-*.config @rpardini
patch/atf/atf-arm64/ @PeterChrz @rpardini
patch/atf/atf-bcm2711/ @PanderMusubi @teknoid
patch/atf/atf-genio/ @HeyMeco
patch/atf/atf-imx8m/ @schmiedelm
patch/atf/atf-k3-beagle/ @Grippy98
patch/atf/atf-k3/ @Grippy98 @glneo
patch/atf/atf-phytium-embedded/ @chainsx
patch/atf/atf-rockchip64/ @ColorfulRhino @TRSx80 @ahoneybun @andyshrk @clee @joekhoobyar @paolosabatino @prahal
patch/atf/atf-sm8250/ @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-wsl2-arm64/ @rpardini
patch/kernel/archive/bcm2711-*/ @PanderMusubi @teknoid
patch/kernel/archive/imx8m-*/ @schmiedelm
patch/kernel/archive/k3-*/ @Grippy98 @glneo
patch/kernel/archive/k3-beagle-*/ @Grippy98
patch/kernel/archive/meson-*/ @hzyitc @juanlufont
patch/kernel/archive/meson-s4t7-*/ @adeepn @rpardini @viraniac
patch/kernel/archive/meson64-*/ @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee @engineer-80 @igorpecovnik @jeanrhum @jomadeto @monkaBlyat @pyavitz @rpardini @teknoid
patch/kernel/archive/mvebu-*/ @Heisath
patch/kernel/archive/odroidxu4-*/ @joekhoobyar
patch/kernel/archive/sunxi-*/ @1ubuntuuser @AGM1968 @AaronNGray @DylanHP @IsMrX @Janmcha @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @StephenGraf @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @janprunk @krachlatte @lbmendes @mhawkins-consultant @pyavitz @schwar3kat @sgjava @sicXnull @teknoid
patch/kernel/archive/rockchip-*/ @paolosabatino
patch/kernel/archive/rockchip64-*/ @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @Manouchehri @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
patch/kernel/archive/sm8250-*/ @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/uefi-arm64-*/ @PeterChrz @rpardini
patch/kernel/archive/uefi-x86-*/ @davidandreoletti @rpardini
patch/kernel/bcm2711-*/ @PanderMusubi @teknoid
patch/kernel/imx8m-*/ @schmiedelm
patch/kernel/k3-*/ @glneo
patch/kernel/meson-*/ @hzyitc
patch/kernel/meson64-*/ @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @bretmlw @clee @engineer-80 @igorpecovnik @jeanrhum @monkaBlyat @pyavitz @rpardini @teknoid
patch/kernel/mvebu-*/ @Heisath
patch/kernel/odroidxu4-*/ @joekhoobyar
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-*/ @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
patch/kernel/rockchip-*/ @paolosabatino
patch/kernel/rockchip-rk3588-*/ @ColorfulRhino @HeyMeco @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @efectn @fridtjof @lanefu @linhz0hz @rpardini @schwar3kat
patch/kernel/rockchip64-*/ @150balbes @Manouchehri @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @amazingfate @andyshrk @brentr @catalinii @clee @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @paolosabatino @prahal @rpardini @sicXnull @tdleiyao @utlark @vamzii
patch/kernel/sm8250-*/ @FantasyGmm @amazingfate
patch/kernel/sm8550-*/ @FantasyGmm
patch/kernel/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/starfive2-*/ @libiunc
patch/kernel/sun55iw3-syterkit-*/ @chainsx
patch/kernel/thead-*/ @chainsx
sources/families/arm64.conf @FantasyGmm @PeterChrz @rpardini
patch/kernel/wsl2-arm64-*/ @rpardini
patch/u-boot/legacy/ @chainsx @joekhoobyar @juanlufont @lanefu
patch/u-boot/legacy/u-boot-clearfog/ @Heisath
patch/u-boot/legacy/u-boot-helios4/ @Heisath
patch/u-boot/legacy/u-boot-khadas-edge2-rk3588/ @efectn
patch/u-boot/legacy/u-boot-radxa-rk35xx/ @CodeChenL @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @tdleiyao @vamzii
patch/u-boot/legacy/u-boot-spacemit-k1/ @pyavitz
patch/u-boot/u-boot-beagle/ @Grippy98
patch/u-boot/u-boot-k3-beagle/ @Grippy98
patch/u-boot/u-boot-k3/ @Grippy98 @glneo
patch/u-boot/u-boot-meson-s4t7/ @adeepn @rpardini @viraniac
patch/u-boot/u-boot-qemu-arm64/ @rpardini
patch/u-boot/u-boot-qemu-x86/ @rpardini
patch/u-boot/u-boot-rockchip64-v2022.04/ @Manouchehri @TRSx80 @ahoneybun @paolosabatino
patch/u-boot/u-boot-rockchip64/ @Tonymac32 @andyshrk @clee @igorpecovnik @prahal @redrathnure @sicXnull
patch/u-boot/u-boot-sunxi-crust/ @AGM1968 @Kreyren @NicoD-SBC @PanderMusubi @Tonymac32 @devdotnetorg @schwar3kat @spendist @teknoid
patch/u-boot/u-boot-sunxi/ @1ubuntuuser @AGM1968 @DylanHP @Janmcha @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @StephenGraf @TheSnowfield @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @janprunk @krachlatte @lbmendes @leggewie @mhawkins-consultant @schwar3kat @sgjava @sicXnull @spendist @teknoid
patch/u-boot/u-boot-sunxi/board_bananapim3/ @AaronNGray
patch/u-boot/u-boot-tqma/ @schmiedelm
patch/u-boot/v2022.01/ @teknoid
patch/u-boot/v2022.07/ @Tonymac32 @igorpecovnik
patch/u-boot/v2022.10/ @NicoD-SBC
patch/u-boot/v2023.07.02/ @clee @engineer-80
patch/u-boot/v2023.10/ @adeepn
patch/u-boot/v2024.01/ @IsMrX @NicoD-SBC @Tonymac32 @rpardini
patch/u-boot/v2024.01/board_orangepi5/ @efectn
patch/u-boot/v2024.04-rock5b-radxa/ @amazingfate @linhz0hz
patch/u-boot/v2024.04/ @Tonymac32 @chraac @igorpecovnik @pyavitz @utlark
patch/u-boot/v2024.07-coolpi-cm5/ @andyshrk
patch/u-boot/v2024.07/ @adeepn @andyshrk @igorpecovnik @monkaBlyat
patch/u-boot/v2024.07/board_station-m1/ @150balbes
patch/u-boot/v2024.10/ @HeyMeco @alexl83 @brentr @fridtjof
patch/u-boot/v2024.10/board_bigtreetech-cb2/ @JohnTheCoolingFan
patch/u-boot/v2025-sunxi/ @The-going
patch/u-boot/v2025.01-rc3-coolpi-cm5/ @andyshrk
patch/u-boot/v2025.01/ @ColorfulRhino @SuperKali @efectn @jeanrhum @joekhoobyar @paolosabatino @pyavitz @rpardini @torte71
patch/u-boot/v2025.01/board_h96-tvbox-3566/ @hqnicolas
patch/u-boot/v2025.04/ @SuperKali @TheSnowfield @Tonymac32 @ZazaBR @amazingfate @catalinii @mlegenovic @vamzii
sources/families/bcm2711.conf @PanderMusubi @teknoid
sources/families/genio.conf @HeyMeco
sources/families/imx8m.conf @schmiedelm
sources/families/k3.conf @glneo
sources/families/jethub.conf @adeepn
sources/families/k3.conf @Grippy98 @glneo
sources/families/meson-axg.conf @pyavitz
sources/families/meson-g12a.conf @clee @engineer-80
sources/families/meson-g12b.conf @NicoD-SBC @Tonymac32 @jeanrhum @monkaBlyat @pyavitz @rpardini
sources/families/meson-gxbb.conf @teknoid
sources/families/meson-gxl.conf @SteeManMI @Tonymac32 @igorpecovnik @jomadeto
sources/families/meson-s4t7.conf @adeepn @rpardini @viraniac
sources/families/meson.conf @hzyitc
sources/families/meson64.conf @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @bretmlw @clee @engineer-80 @igorpecovnik @jeanrhum @monkaBlyat @pyavitz @rpardini @teknoid
sources/families/meson-sm1.conf @Tonymac32 @igorpecovnik @rpardini
sources/families/meson8b.conf @hzyitc @juanlufont
sources/families/mvebu.conf @Heisath
sources/families/odroidxu4.conf @joekhoobyar
sources/families/phytium-embedded.conf @chainsx
sources/families/rk35xx.conf @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
sources/families/rockchip-rk3588.conf @ColorfulRhino @HeyMeco @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @efectn @fridtjof @lanefu @linhz0hz @rpardini @schwar3kat
sources/families/rk35xx.conf @CodeChenL @ZazaBR @amazingfate @andyshrk @catalinii @hoochiwetech @hqnicolas @krachlatte @mattx433 @sputnik2019 @tdleiyao @vamzii
sources/families/rockchip-rk3588.conf @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @chainsx @efectn @fridtjof @ginkage @lanefu @linhz0hz @mahdichi @monkaBlyat @prahal @rpardini @schwar3kat
sources/families/rockchip.conf @paolosabatino
sources/families/rockchip64.conf @150balbes @Manouchehri @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @amazingfate @andyshrk @brentr @catalinii @clee @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @paolosabatino @prahal @rpardini @sicXnull @tdleiyao @utlark @vamzii
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 @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/sun50iw9-bpi.conf @The-going @pyavitz
sources/families/sun50iw9.conf @AGM1968 @IsMrX @JohnTheCoolingFan @Ressetkk @alexl83 @chraac @krachlatte @sicXnull
sources/families/sun55iw3-syterkit.conf @chainsx
sources/families/sunxi.conf @1ubuntuuser @AaronNGray @DylanHP @Janmcha @StephenGraf @Tonymac32 @janprunk @lbmendes @mhawkins-consultant @sgjava
sources/families/sunxi64.conf @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @teknoid
sources/families/sun5i.conf @TheSnowfield
sources/families/sun7i.conf @DylanHP @janprunk
sources/families/sun8i.conf @1ubuntuuser @AaronNGray @Janmcha @StephenGraf @Tonymac32 @lbmendes @leggewie @mhawkins-consultant @sgjava @spendist
sources/families/thead.conf @chainsx
sources/families/x86.conf @davidandreoletti @rpardini
sources/families/uefi-arm64.conf @PeterChrz @rpardini
sources/families/uefi-x86.conf @davidandreoletti @rpardini

View File

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

View File

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

View File

@@ -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 * * * *"
@@ -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

@@ -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@v4
- 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:
# Checks out the repository to read files for matching with labeler config
- uses: actions/checkout@v4
# 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

@@ -34,7 +34,7 @@ jobs:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@4168bb487d5b82227665ab4ec90b67ce02691741 # v46.0.3
- name: Checkout repository
uses: actions/checkout@v4

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

@@ -30,7 +30,7 @@ jobs:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@4168bb487d5b82227665ab4ec90b67ce02691741 # v46.0.3
- name: List all changed files
run: |

View File

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

View File

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

View File

@@ -26,7 +26,7 @@
- Superuser rights (configured sudo or root access).
- Make sure your system is up-to-date! Outdated Docker binaries, for example, can cause trouble.
For stable branch use `--branch=v24.11`
For stable branch use `--branch=v25.02`
```bash
apt-get -y install git
@@ -184,8 +184,7 @@ Function | Armbian | Yocto | Buildroot |
|    └── 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
├── config-example.conf User: example 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

View File

@@ -1 +1 @@
24.11.0-trunk
25.05.0-trunk

View File

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

View File

@@ -0,0 +1,50 @@
# Amlogic S912 octa core 3Gb RAM SoC eMMC
BOARD_NAME="Magicsee C400 Plus"
BOARDFAMILY="meson-gxl"
BOARD_MAINTAINER="jomadeto"
BOOTSIZE="512"
BOOTFS_TYPE="fat"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
SERIALCON="ttyAML0"
FULL_DESKTOP="yes"
ASOUND_STATE="asound.state.mesongx"
BOOT_FDT_FILE="amlogic/meson-gxm-c400-plus.dtb"
BOOT_LOGO="desktop"
SRC_EXTLINUX="no"
SRC_CMDLINE='rootflags=data=writeback console=ttyAML0,115200n8 console=tty0'
function post_family_config__uboot_aml-c400-plus() {
# This board type relies on the vendor installed u-boot on emmc to boot
display_alert "$BOARD" "Configuring ($BOARD) non-u-boot" "info"
unset BOOTSOURCE
declare -g BOOTCONFIG='none'
}
function post_family_tweaks_bsp__config_aml-c400-plus_bsp() {
: "${destination:?destination is not set}"
# Important: this board has board-specific bsp-cli files in config/optional/boards/aml-c400-plus/_packages/bsp-cli
# that path is hashed by the bsp-cli hashing function automatically
display_alert "${BOARD}" "Adjusting perms of bsp-cli files for ${BOARD} in /root" "info"
run_host_command_logged chmod -v 744 "${destination}"/root/install-aml.sh
run_host_command_logged chmod -v 644 "${destination}"/root/fstab.template
display_alert "${BOARD}" "Removing armbian-install" "info"
run_host_command_logged rm -v "${destination}"/usr/bin/armbian-install
display_alert "${BOARD}" "Adding bsp-cli preinst logic" "info"
# Inline function! So this function is automatically hashed when this hook is hashed.
function aml-c400-plus-bsp-cli-preinst() {
#update of the board bsp-cli package fails because the filesystem type is
#fat and dpkg tries to create a hard link for the existing files as backup
#so rm the files instead in a preinst step
[ -f /boot/armbianEnv.txt ] && rm /boot/armbianEnv.txt
[ -f /boot/aml_autoscript ] && rm /boot/aml_autoscript
[ -f /boot/emmc_autoscript ] && rm /boot/emmc_autoscript
return 0 # short-circuits above, avoid errors
}
preinst_functions+=('aml-c400-plus-bsp-cli-preinst')
if false; then aml-c400-plus-bsp-cli-preinst; fi # so shellcheck stops complaining the function is unused. sorry
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -13,9 +13,9 @@ declare -g SYTERKIT_BOARD_ID="avaota-a1" # This _only_ used for syterkit-allwinn
function post_family_tweaks__avaota-a1() {
display_alert "Applying boot blobs"
cp -v "$SRC/packages/blobs/sunxi/sun50iw3/bl31.bin" "$SDCARD/boot/bl31.bin"
cp -v "$SRC/packages/blobs/sunxi/sun50iw3/scp.bin" "$SDCARD/boot/scp.bin"
cp -v "$SRC/packages/blobs/sunxi/sun50iw3/splash.bin" "$SDCARD/boot/splash.bin"
cp -v "$SRC/packages/blobs/sunxi/sun55iw3/bl31.bin" "$SDCARD/boot/bl31.bin"
cp -v "$SRC/packages/blobs/sunxi/sun55iw3/scp.bin" "$SDCARD/boot/scp.bin"
cp -v "$SRC/packages/blobs/sunxi/sun55iw3/splash.bin" "$SDCARD/boot/splash.bin"
display_alert "Applying wifi firmware"
pushd "$SDCARD/lib/firmware"

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

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

View File

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

View File

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

View File

@@ -0,0 +1,32 @@
# SpacemiT K1 octa core RISC-V SoC 2GB/4GB RAM 8GB/16GB eMMC 4x USB3 2x GbE
BOARD_NAME="BananaPi BPI-F3"
BOARDFAMILY="spacemit"
BOARD_MAINTAINER="pyavitz"
KERNEL_TARGET="current"
BOOT_FDT_FILE="spacemit/k1-bananapi-f3.dtb"
BOOTDELAY=1
SRC_EXTLINUX="yes"
SRC_CMDLINE="earlycon=sbi console=tty1 console=ttyS0,115200"
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
run_host_command_logged scripts/config --enable CONFIG_CMD_BTRFS
}
function post_family_tweaks_bsp__bananapi_f3_extras() {
if [[ -d "$SRC/packages/blobs/riscv64/spacemit" ]]; then
run_host_command_logged mkdir -pv "${destination}"/lib/firmware
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

@@ -1,33 +0,0 @@
# SpacemiT K1 octa core RISC-V SoC 2GB/4GB RAM 8GB/16GB eMMC 4x USB3 2x GbE
BOARD_NAME="Banana Pi F3"
BOARDFAMILY="spacemit"
BOARD_MAINTAINER=""
KERNEL_TARGET="legacy,current"
KERNEL_TEST_TARGET="legacy"
BOOT_FDT_FILE="spacemit/k1-bananapi-f3.dtb"
BOOTDELAY=1
SRC_EXTLINUX="yes"
SRC_CMDLINE="earlycon=sbi console=tty1 console=ttyS0,115200 clk_ignore_unused swiotlb=65536"
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
run_host_command_logged scripts/config --enable CONFIG_CMD_BTRFS
}
function post_family_tweaks_bsp__bananapi_f3_extras() {
if [[ -d "$SRC/packages/blobs/riscv64/spacemit" ]]; then
run_host_command_logged mkdir -pv "${destination}"/lib/firmware
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

@@ -0,0 +1,11 @@
# Allwinner H3 quad core 1Gb RAM SoC Wifi GBE
BOARD_NAME="Banana Pi M2+"
BOARDFAMILY="sun8i"
BOARD_MAINTAINER="leggewie"
BOOTCONFIG="bananapi_m2_plus_h3_defconfig"
DEFAULT_OVERLAYS="analog-codec"
MODULES_CURRENT="g_serial"
MODULES_LEGACY="g_serial"
SERIALCON="ttyS0,ttyGS0"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -1,11 +0,0 @@
# Allwinner H3 quad core 1Gb RAM SoC Wifi GBE
BOARD_NAME="Banana Pi M2+"
BOARDFAMILY="sun8i"
BOARD_MAINTAINER=""
BOOTCONFIG="bananapi_m2_plus_h3_defconfig"
DEFAULT_OVERLAYS="analog-codec"
MODULES_CURRENT="g_serial"
MODULES_LEGACY="g_serial"
SERIALCON="ttyS0,ttyGS0"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"

View File

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

View File

@@ -0,0 +1,35 @@
# 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"
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

@@ -4,7 +4,7 @@ BOARDFAMILY="sun50iw9-bpi"
BOARD_MAINTAINER="pyavitz"
BOOTCONFIG="bananapi_m4zero_defconfig"
OVERLAY_PREFIX="sun50i-h616"
BOOT_FDT_FILE="allwinner/sun50i-h618-bananapi-m4-zero.dtb"
BOOT_FDT_FILE="sun50i-h618-bananapi-m4-zero.dtb"
BOOT_LOGO="desktop"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"

View File

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

View File

@@ -1,8 +1,9 @@
# 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"
BOOT_FDT_FILE="rockchip/rk3588-bananapi-m7.dtb"
# Those are included in armsom-sige7.csc, but this file is parsed directly by the JSON matrix generator and thus those need to be in here
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="vendor,current"
BOARDFAMILY="rockchip-rk3588"

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,49 @@
# Rockchip RK3566 quad core 2GB-8GB GBE eMMC NVMe USB3 WiFi
BOARD_NAME="BigTreeTech CB2"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER="JohnTheCoolingFan"
BOOTCONFIG="bigtreetech-cb2-rk3566_defconfig"
BOOT_SOC="rk3566"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
BOOT_FDT_FILE="rockchip/rk3566-bigtreetech-pi2.dtb"
IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
OVERLAY_PREFIX='rk3566'
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
# TODO: replace with BOOT_SCENARIO=binman when it gets merged and in good shape
function post_family_config__bigtreetech-cb2_uboot_overrides() {
display_alert "$BOARD" "mainline u-boot overrides" "info"
DDR_BLOB="rk35/rk3566_ddr_1056MHz_v1.21.bin"
BL31_BLOB="rk35/rk3568_bl31_v1.44.elf" # NOT a typo, bl31 is shared across 68 and 66
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git"
declare -g BOOTBRANCH="tag:v2024.10"
declare -g BOOTPATCHDIR="v2024.10/board_bigtreetech-cb2"
#declare -g BOOTDIR="u-boot-${BOARD}"
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
function write_uboot_platform() {
dd "if=${1}/u-boot-rockchip.bin" "of=${2}" bs=32k seek=1 conv=notrunc
}
function write_uboot_platform_mtd() {
declare -a extra_opts_flashcp=("--verbose")
if flashcp -h | grep -q -e '--partition'; then
echo "Confirmed flashcp supports --partition -- read and write only changed blocks." >&2
extra_opts_flashcp+=("--partition")
else
echo "flashcp does not support --partition, will write full SPI flash blocks." >&2
fi
flashcp "${extra_opts_flashcp[@]}" "${1}/u-boot-rockchip-spi.bin" /dev/mtd0
}
}
# vim: ft=bash

View File

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

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

View File

@@ -20,7 +20,7 @@ function post_family_config_branch_edge__coolpi-cm5_use_mainline_uboot() {
declare -g BOOTSOURCE="https://github.com/Kwiboo/u-boot-rockchip.git" # Kwiboo U-Boot
unset BOOTBRANCH
unset BOOTPATCHDIR
declare -g BOOTPATCHDIR="v2024.07-coolpi-cm5"
declare -g BOOTBRANCH_BOARD="tag:v2024.07"
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"

View File

@@ -0,0 +1,36 @@
# Rockchip RK3588 SoC octa core 4-16GB SoC eMMC USB3 NVME
BOARD_NAME="CoolPi GenBook"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="andyshrk"
BOARD_FIRMWARE_INSTALL="-full"
BOOT_SOC="rk3588"
BOOTCONFIG="coolpi-cm5-genbook-rk3588_defconfig"
KERNEL_TARGET="edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-coolpi-cm5-genbook.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
# Mainline U-Boot
function post_family_config_branch_edge__coolpi-genbook_use_mainline_uboot() {
display_alert "$BOARD" "mainline (next branch) u-boot overrides for $BOARD / $BRANCH" "info"
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # Mainline U-Boot
unset BOOTBRANCH
declare -g BOOTPATCHDIR="v2025.01-rc3-coolpi-cm5"
declare -g BOOTBRANCH_BOARD="tag:v2025.01"
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
function write_uboot_platform() {
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
}
function write_uboot_platform_mtd() {
flashcp -v -p "$1/u-boot-rockchip-spi.bin" /dev/mtd0
}
}

View File

@@ -0,0 +1,30 @@
# Rockchip RK3568 quad core 1-8GB SoC GBe eMMC USB3
BOARD_NAME="100ASK DShanPI R1"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="dshanpi-r1-rk3568_defconfig"
KERNEL_TARGET="vendor"
KERNEL_TEST_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-dshapi-r1.dtb"
BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
function post_family_config__dshanpi-r1_use_mainline_uboot() {
display_alert "$BOARD" "Mainline U-Boot overrides for $BOARD - $BRANCH" "info"
unset BOOTFS_TYPE # fixes armbian-install and unneeded for modern uboot anyway
declare -g BOOTCONFIG="dshanpi-r1-rk3568_defconfig"
declare -g BOOTDELAY=1
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot"
declare -g BOOTBRANCH="tag:v2024.10"
declare -g BOOTPATCHDIR="v2024.10"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
function write_uboot_platform() {
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
}
}

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

View File

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

View File

@@ -0,0 +1,16 @@
# Marvell Armada 388 2GB ECC RAM SoC 4xSATA 2xUSB3.0 GBE SPI
BOARD_NAME="Helios4"
BOARDFAMILY="mvebu"
BOARD_MAINTAINER="Heisath"
BOOTCONFIG="helios4_defconfig"
BOOTCONFIG_NEXT="helios4_defconfig"
MODULES_LEGACY="marvell_cesa lm75"
MODULES_CURRENT="marvell_cesa lm75"
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"
}

View File

@@ -1,12 +0,0 @@
# Marvell Armada 388 2GB ECC RAM SoC 4xSATA 2xUSB3.0 GBE SPI
BOARD_NAME="Helios4"
BOARDFAMILY="mvebu"
BOARD_MAINTAINER="Heisath"
BOOTCONFIG="helios4_defconfig"
BOOTCONFIG_NEXT="helios4_defconfig"
MODULES_LEGACY="marvell_cesa lm75"
MODULES_CURRENT="marvell_cesa lm75"
HAS_VIDEO_OUTPUT="no"
FORCE_BOOTSCRIPT_UPDATE="yes"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"

View File

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

View File

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

View File

@@ -24,3 +24,15 @@ function post_family_tweaks__hinlink_h88k_naming_audios() {
return 0
}
function post_family_tweaks_bsp__hinlink_h88k_bsp_firmware_in_initrd() {
display_alert "Adding to bsp-cli" "${BOARD}: firmware in initrd" "info"
declare file_added_to_bsp_destination # will be filled in by add_file_from_stdin_to_bsp_destination
add_file_from_stdin_to_bsp_destination "/etc/initramfs-tools/hooks/hinlink-h88k-firmware" <<- 'FIRMWARE_HOOK'
#!/bin/bash
[[ "$1" == "prereqs" ]] && exit 0
. /usr/share/initramfs-tools/hook-functions
add_firmware "hinlink-h88k-240x135-lcd.bin" # firmware for 240x135 spi lcd
FIRMWARE_HOOK
run_host_command_logged chmod -v +x "${file_added_to_bsp_destination}"
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -13,8 +13,8 @@ declare -g SYTERKIT_BOARD_ID="longanpi-4b" # This _only_ used for syterkit-allwi
function post_family_tweaks__longanpi-4b() {
display_alert "Applying boot blobs"
cp -v "$SRC/packages/blobs/sunxi/sun50iw3/bl31.bin" "$SDCARD/boot/bl31.bin"
cp -v "$SRC/packages/blobs/sunxi/sun50iw3/scp.bin" "$SDCARD/boot/scp.bin"
cp -v "$SRC/packages/blobs/sunxi/sun55iw3/bl31.bin" "$SDCARD/boot/bl31.bin"
cp -v "$SRC/packages/blobs/sunxi/sun55iw3/scp.bin" "$SDCARD/boot/scp.bin"
display_alert "Applying wifi firmware"
pushd "$SDCARD/lib/firmware"

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

View File

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

View File

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

View File

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

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,32 @@
# Rockchip RK3566 quad core 2GB RAM eMMC 2x GbE USB3
BOARD_NAME="NanoPi R3S"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
HAS_VIDEO_OUTPUT="no"
BOOTCONFIG="nanopi-r3s-rk3566_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current,edge"
BOOT_FDT_FILE="rockchip/rk3566-nanopi-r3s.dtb"
IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
function post_family_config__use_mainline_uboot() {
if [[ "$BRANCH" != "current" && "$BRANCH" != "edge" ]]; then
return 0
fi
unset BOOT_FDT_FILE # boot.scr will use whatever u-boot detects and sets 'fdtfile' to
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
BOOTCONFIG="nanopi-r3s-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

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

View File

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

View File

@@ -1,7 +1,7 @@
# Allwinner H3 quad core 256/512MB RAM SoC headless
BOARD_NAME="NanoPi Neo"
BOARDFAMILY="sun8i"
BOARD_MAINTAINER=""
BOARD_MAINTAINER="spendist"
BOOTCONFIG="nanopi_neo_defconfig"
MODULES="g_serial"
MODULES_BLACKLIST="lima"

View File

@@ -1,7 +1,7 @@
# Allwinner H5 quad core 256/512MB RAM SoC headless GBE
BOARD_NAME="NanoPi Neo 2"
BOARDFAMILY="sun50iw2"
BOARD_MAINTAINER=""
BOARD_MAINTAINER="spendist"
BOOTCONFIG="nanopi_neo2_defconfig"
MODULES="g_serial"
MODULES_BLACKLIST="lima"

View File

@@ -0,0 +1,27 @@
# Amlogic S805 C1 quad core 1GB RAM SoC GBE
BOARD_NAME="Odroid C1"
BOARDFAMILY="meson8b"
BOARD_MAINTAINER="juanlufont"
KERNEL_TARGET="current"
KERNEL_TEST_TARGET="current"
BOOTDIR='u-boot-odroidc1'
BOOTSOURCE='https://github.com/hardkernel/u-boot.git'
BOOTBRANCH='branch:odroidc-v2011.03'
BOOTPATCHDIR="legacy"
UBOOT_COMPILER="arm-linux-gnueabi-"
UBOOT_USE_GCC='< 4.9'
BOOTCONFIG="odroidc_config"
BOOTSCRIPT="boot-odroid-c1.ini:boot.ini"
UBOOT_TARGET_MAP=';;sd_fuse/bl1.bin.hardkernel sd_fuse/u-boot.bin'
BOOTSIZE="200"
BOOTFS_TYPE="fat"
write_uboot_platform() {
dd if=$1/bl1.bin.hardkernel of=$2 bs=1 count=442 conv=fsync > /dev/null 2>&1
dd if=$1/bl1.bin.hardkernel of=$2 bs=512 skip=1 seek=1 conv=fsync > /dev/null 2>&1
dd if=$1/u-boot.bin of=$2 bs=512 seek=64 conv=fsync > /dev/null 2>&1
dd if=/dev/zero of=$2 seek=1024 count=32 bs=512 conv=fsync > /dev/null 2>&1
}

View File

@@ -1,27 +0,0 @@
# Amlogic S805 C1 quad core 1GB RAM SoC GBE
BOARD_NAME="Odroid C1"
BOARDFAMILY="meson8b"
BOARD_MAINTAINER=""
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
BOOTDIR='u-boot-odroidc1'
BOOTSOURCE='https://github.com/hardkernel/u-boot.git'
BOOTBRANCH='branch:odroidc-v2011.03'
BOOTPATCHDIR="legacy"
UBOOT_COMPILER="arm-linux-gnueabi-"
UBOOT_USE_GCC='< 4.9'
BOOTCONFIG="odroidc_config"
BOOTSCRIPT="boot-odroid-c1.ini:boot.ini"
UBOOT_TARGET_MAP=';;sd_fuse/bl1.bin.hardkernel sd_fuse/u-boot.bin'
BOOTSIZE="200"
BOOTFS_TYPE="fat"
write_uboot_platform() {
dd if=$1/bl1.bin.hardkernel of=$2 bs=1 count=442 conv=fsync > /dev/null 2>&1
dd if=$1/bl1.bin.hardkernel of=$2 bs=512 skip=1 seek=1 conv=fsync > /dev/null 2>&1
dd if=$1/u-boot.bin of=$2 bs=512 seek=64 conv=fsync > /dev/null 2>&1
dd if=/dev/zero of=$2 seek=1024 count=32 bs=512 conv=fsync > /dev/null 2>&1
}

View File

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

View File

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

View File

@@ -1,22 +0,0 @@
# Amlogic S805 quad core 1GB RAM SoC GBE
BOARD_NAME="OneCloud"
BOARDFAMILY="meson8b"
BOARD_MAINTAINER="hzyitc"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
BOOTCONFIG="none"
BOOTSCRIPT="boot-onecloud.cmd:boot.cmd"
BOOTENV_FILE="onecloud.txt"
OFFSET="16"
BOOTSIZE="256"
BOOTFS_TYPE="fat"
# ROOTFS_TYPE="f2fs"
# FIXED_IMAGE_SIZE=7456
BOOT_LOGO=desktop
family_tweaks() {
cp $SRC/packages/blobs/splash/armbian-u-boot-24.bmp $SDCARD/boot/boot.bmp
}

View File

@@ -0,0 +1,22 @@
# Amlogic S805 quad core 1GB RAM SoC GBE
BOARD_NAME="OneCloud"
BOARDFAMILY="meson8b"
BOARD_MAINTAINER="hzyitc"
KERNEL_TARGET="current"
KERNEL_TEST_TARGET="current"
BOOTCONFIG="none"
BOOTSCRIPT="boot-onecloud.cmd:boot.cmd"
BOOTENV_FILE="onecloud.txt"
OFFSET="16"
BOOTSIZE="256"
BOOTFS_TYPE="fat"
# ROOTFS_TYPE="f2fs"
# FIXED_IMAGE_SIZE=7456
BOOT_LOGO=desktop
family_tweaks() {
cp $SRC/packages/blobs/splash/armbian-u-boot-24.bmp $SDCARD/boot/boot.bmp
}

View File

@@ -25,9 +25,14 @@ function post_family_tweaks_bsp__oneplus-kebab_firmware() {
# USB Gadget Network service
mkdir -p $destination/usr/local/bin/
mkdir -p $destination/usr/lib/systemd/system/
mkdir -p $destination/etc/initramfs-tools/scripts/init-bottom/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/setup-usbgadget-network.sh $destination/usr/local/bin/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/remove-usbgadget-network.sh $destination/usr/local/bin/
install -Dm644 $SRC/packages/bsp/usb-gadget-network/usbgadget-rndis.service $destination/usr/lib/systemd/system/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/usb-gadget-initramfs-hook $destination/etc/initramfs-tools/hooks/usb-gadget
install -Dm655 $SRC/packages/bsp/usb-gadget-network/usb-gadget-initramfs-premount $destination/etc/initramfs-tools/scripts/init-premount/usb-gadget
install -Dm655 $SRC/packages/bsp/usb-gadget-network/dropbear $destination/etc/initramfs-tools/scripts/init-premount/
install -Dm655 $SRC/packages/bsp/usb-gadget-network/kill-dropbear $destination/etc/initramfs-tools/scripts/init-bottom/
# Bluetooth MAC addr setup service
install -Dm655 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.sh $destination/usr/local/bin/
@@ -54,20 +59,20 @@ function post_family_tweaks__oneplus-kebab_enable_services() {
return 0
fi
if [[ "${RELEASE}" == "jammy" ]] || [[ "${RELEASE}" == "noble" ]];then
if [[ "${RELEASE}" == "jammy" ]] || [[ "${RELEASE}" == "noble" ]]; then
display_alert "Adding qcom-mainline PPA" "${BOARD}" "info"
do_with_retries 3 chroot_sdcard add-apt-repository ppa:liujianfeng1994/qcom-mainline --yes --no-update
fi
# we need unudhcpd from armbian repo, so enable it
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.list.disabled "${SDCARD}"/etc/apt/sources.list.d/armbian.list
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.sources.disabled "${SDCARD}"/etc/apt/sources.list.d/armbian.sources
do_with_retries 3 chroot_sdcard_apt_get_update
display_alert "$BOARD" "Installing board tweaks" "info"
do_with_retries 3 chroot_sdcard_apt_get_install alsa-ucm-conf qbootctl qrtr-tools unudhcpd mkbootimg
do_with_retries 3 chroot_sdcard_apt_get_install alsa-ucm-conf qbootctl qrtr-tools unudhcpd mkbootimg dropbear-bin
# disable armbian repo back
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.list "${SDCARD}"/etc/apt/sources.list.d/armbian.list.disabled
mv "${SDCARD}"/etc/apt/sources.list.d/armbian.sources "${SDCARD}"/etc/apt/sources.list.d/armbian.sources.disabled
do_with_retries 3 chroot_sdcard_apt_get_update
chroot_sdcard systemctl enable qbootctl.service

View File

@@ -68,7 +68,7 @@ function post_family_tweaks__orangepi3b_naming_audios() {
mkdir -p $SDCARD/etc/udev/rules.d/
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi-sound", ENV{SOUND_DESCRIPTION}="HDMI Audio"' > $SDCARD/etc/udev/rules.d/90-naming-audios.rules
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-rk809-sound", ENV{SOUND_DESCRIPTION}="RK809 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules # vendor dts
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-sound", ENV{SOUND_DESCRIPTION}="RK809 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules # mainline dts
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-sound", ENV{SOUND_DESCRIPTION}="RK809 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules # mainline dts
return 0
}

View File

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

View File

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

@@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="alexl83"
BOOTCONFIG="orangepi-5-plus-rk3588_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="edge,current,vendor"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="vendor,current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
@@ -77,9 +77,9 @@ function post_family_config_branch_current__orangepi5plus_use_mainline_uboot() {
function post_config_uboot_target__extra_configs_for_rock5b_mainline_environment_in_spi() {
[[ "${BRANCH}" != "edge" && "${BRANCH}" != "current" ]] && return 0
display_alert "$BOARD" "u-boot configs for ${BOOTBRANCH} u-boot config BRANCH=${BRANCH}" "info"
display_alert "$BOARD" "u-boot configs for ${BOOTBRANCH} u-boot config BRANCH=${BRANCH}" "info"
run_host_command_logged scripts/config --set-val CONFIG_BOARD_RNG_SEED "y"
run_host_command_logged scripts/config --set-val ARMV8_CRYPTO "n" #broken as per 2024.10-rc3
run_host_command_logged scripts/config --set-val ARMV8_CE_SHA1 "n" #broken as per 2024.10-rc3
run_host_command_logged scripts/config --set-val ARMV8_CRYPTO "n" #broken as per 2024.10-rc3
run_host_command_logged scripts/config --set-val ARMV8_CE_SHA1 "n" #broken as per 2024.10-rc3
run_host_command_logged scripts/config --set-val ARMV8_CE_SHA256 "n" #broken as per 2024.10-rc3
}

View File

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

View File

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

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

@@ -1,59 +0,0 @@
# Rockchip RK3588S octa core 4/8/16GB RAM SoC GBE USB3 WiFi/BT NVMe eMMC
BOARD_NAME="Orange Pi 5 Pro"
BOARDFAMILY="rockchip-rk3588"
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"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588s-orangepi-5-pro.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
KERNEL_UPGRADE_FREEZE="vendor-rk35xx@24.8.1"
function post_family_tweaks__orangepi5pro_naming_audios() {
display_alert "$BOARD" "Renaming orangepi5pro 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
}
function post_family_config_branch_vendor__orangepi5pro_uboot_add_sata_target() {
display_alert "$BOARD" "Configuring ($BOARD) standard and sata uboot target map" "info"
UBOOT_TARGET_MAP="
BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb rkspi_loader.img
BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG_SATA spl/u-boot-spl.bin u-boot.dtb u-boot.itb;; rkspi_loader_sata.img
"
}
function post_uboot_custom_postprocess__create_sata_spi_image() {
display_alert "$BOARD" "Create rkspi_loader_sata.img" "info"
dd if=/dev/zero of=rkspi_loader_sata.img bs=1M count=0 seek=16
/sbin/parted -s rkspi_loader_sata.img mklabel gpt
/sbin/parted -s rkspi_loader_sata.img unit s mkpart idbloader 64 7167
/sbin/parted -s rkspi_loader_sata.img unit s mkpart vnvm 7168 7679
/sbin/parted -s rkspi_loader_sata.img unit s mkpart reserved_space 7680 8063
/sbin/parted -s rkspi_loader_sata.img unit s mkpart reserved1 8064 8127
/sbin/parted -s rkspi_loader_sata.img unit s mkpart uboot_env 8128 8191
/sbin/parted -s rkspi_loader_sata.img unit s mkpart reserved2 8192 16383
/sbin/parted -s rkspi_loader_sata.img unit s mkpart uboot 16384 32734
dd if=idbloader.img of=rkspi_loader_sata.img seek=64 conv=notrunc
dd if=u-boot.itb of=rkspi_loader_sata.img seek=16384 conv=notrunc
}
# Override family config for this board; let's avoid conditionals in family config.
function post_family_config__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"
}

View File

@@ -0,0 +1,57 @@
# Rockchip RK3588S octa core 4/8/16GB RAM SoC GBE USB3 WiFi/BT NVMe eMMC
BOARD_NAME="Orange Pi 5 Pro"
BOARDFAMILY="rockchip-rk3588"
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"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588s-orangepi-5-pro.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
KERNEL_UPGRADE_FREEZE="vendor-rk35xx@24.8.1"
function post_family_tweaks__orangepi5pro_naming_audios() {
display_alert "$BOARD" "Renaming orangepi5pro 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
}
function post_family_config_branch_vendor__orangepi5pro_uboot_add_sata_target() {
display_alert "$BOARD" "Configuring ($BOARD) standard and sata uboot target map" "info"
# Note: whitespace/newlines are significant; BOOT_SUPPORT_SPI & BOOT_SPI_RKSPI_LOADER influence the postprocess step that runs for _every_ target and produces rkspi_loader.img
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb rkspi_loader.img
BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG_SATA spl/u-boot-spl.bin u-boot.dtb u-boot.itb;; rkspi_loader_sata.img"
}
function post_uboot_custom_postprocess__create_sata_spi_image() {
display_alert "$BOARD" "Create rkspi_loader_sata.img" "info"
dd if=/dev/zero of=rkspi_loader_sata.img bs=1M count=0 seek=16
/sbin/parted -s rkspi_loader_sata.img mklabel gpt
/sbin/parted -s rkspi_loader_sata.img unit s mkpart idbloader 64 7167
/sbin/parted -s rkspi_loader_sata.img unit s mkpart vnvm 7168 7679
/sbin/parted -s rkspi_loader_sata.img unit s mkpart reserved_space 7680 8063
/sbin/parted -s rkspi_loader_sata.img unit s mkpart reserved1 8064 8127
/sbin/parted -s rkspi_loader_sata.img unit s mkpart uboot_env 8128 8191
/sbin/parted -s rkspi_loader_sata.img unit s mkpart reserved2 8192 16383
/sbin/parted -s rkspi_loader_sata.img unit s mkpart uboot 16384 32734
dd if=idbloader.img of=rkspi_loader_sata.img seek=64 conv=notrunc
dd if=u-boot.itb of=rkspi_loader_sata.img seek=16384 conv=notrunc
}
# Override family config for this board; let's avoid conditionals in family config.
function post_family_config__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"
}

View File

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

View File

@@ -0,0 +1,30 @@
#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"
ATF_BOARD="lite"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS2,115200n8"
BOOT_FDT_FILE="ti/k3-am6232-pocketbeagle2.dtb"
#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,8 @@
# Allwinner R8(A13) single core 512Mb (NextThing C.H.I.P.) with MMC2 breakout
BOARD_NAME="NextThing C.H.I.P."
BOARDFAMILY="sun5i"
BOARD_MAINTAINER="TheSnowfield"
HAS_VIDEO_OUTPUT="yes"
BOOTCONFIG="CHIP_defconfig"
KERNEL_TARGET="current"
KERNEL_TEST_TARGET="current"

View File

@@ -0,0 +1,117 @@
# 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"
# 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 arm64.nopauth efi=noruntime console=ttyMSM0,115200n8 pcie_pme=nomsi"
declare -g BOOT_FDT_FILE="qcom/qrb5165-rb5.dtb"
declare -g UEFI_PART_ALIGN="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}" == "bookworm" ]] && return 0
[[ "${RELEASE}" == "jammy" ]] && return 0
[[ "${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"
# Bluetooth MAC addr setup service
mkdir -p $destination/usr/local/bin/
mkdir -p $destination/usr/lib/systemd/system/
install -Dm655 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.sh $destination/usr/local/bin/
install -Dm644 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.service $destination/usr/lib/systemd/system/
}
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 bt-fixed-mac.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}" == "jammy" ]] || [[ "${RELEASE}" == "noble" ]]; then
display_alert "Adding qcom-mainline PPA" "${BOARD}" "info"
do_with_retries 3 chroot_sdcard add-apt-repository ppa:liujianfeng1994/qcom-mainline --yes --no-update
fi
if [[ "${RELEASE}" == "noble" ]]; then
display_alert "Adding Mesa PPA For Ubuntu " "${BOARD}" "info"
do_with_retries 3 chroot_sdcard add-apt-repository ppa:oibaf/graphics-drivers --yes --no-update
fi
do_with_retries 3 chroot_sdcard_apt_get_update
do_with_retries 3 chroot_sdcard_apt_get_install vulkan-tools mesa-vulkan-drivers btop mtools zstd
if [[ "${RELEASE}" == "noble" ]]; then
do_with_retries 3 chroot_sdcard_apt_get_install qbootctl
fi
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-wayland plasma-desktop plasma-systemmonitor plasma-nm kde-standard kde-spectacle kinfocenter kscreen krfb kfind filelight \
dolphin clinfo vulkan-tools wayland-utils
fi
if [[ "${RELEASE}" == "noble" ]]; then
chroot_sdcard systemctl enable qbootctl.service
fi
chroot_sdcard systemctl enable bt-fixed-mac.service
# 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

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

View File

@@ -8,5 +8,36 @@ FULL_DESKTOP="no"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3528-radxa-e20c.dtb"
BOOT_SCENARIO="spl-blobs"
WIREGUARD="no"
IMAGE_PARTITION_TABLE="gpt"
function post_family_tweaks_bsp__enable_leds_radxa-e20c() {
display_alert "Creating board support LEDs config for $BOARD"
cat <<- EOF > "${destination}"/etc/armbian-leds.conf
[/sys/class/leds/lan-led]
trigger=netdev
interval=50
brightness=1
link=1
tx=1
rx=1
device_name=end1
[/sys/class/leds/mmc1::]
trigger=mmc1
brightness=1
[/sys/class/leds/sys-led]
trigger=heartbeat
brightness=1
invert=0
[/sys/class/leds/wan-led]
trigger=netdev
interval=50
brightness=1
link=1
tx=1
rx=1
device_name=enp1s0
EOF
}

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