Compare commits

...

1021 Commits

Author SHA1 Message Date
Igor Pecovnik
7d745b9bcd Armbian framework release: freeze sources and set version 2024-08-26 17:54:39 +02:00
Igor Pecovnik
edbf678780 Improved freezing mechanism with README 2024-08-26 17:51:06 +02:00
Igor Pecovnik
c62e086a0b Board config ayn-odin2 temporally disable broken build 2024-08-24 22:12:29 +02:00
Igor Pecovnik
ec76e1282e More elegant solution to prevent kernel upgrades per certain board 2024-08-24 17:15:24 +02:00
Igor Pecovnik
9041c08979 Implement config driven BSP package modification to set last good kernel for a single device
This will prevent upgrading to higher kernels which are known to be broken.
2024-08-24 15:36:19 +02:00
Igor Pecovnik
8f01eea1f8 Mesa fixes applies only to armhf and arm64. Adjusting 2024-08-23 14:06:38 +02:00
Igor Pecovnik
a26eb472f0 Framework: bump tmpfs size as we are going over
Suppress this warning: "Rootfs post-tweaks size is larger than estimated tmpfs size"
2024-08-23 11:43:03 +02:00
Igor Pecovnik
edad72b29f Expand MESA extension fix to Jammy userspace 2024-08-23 11:01:34 +02:00
Igor Pecovnik
71f5662dac Force rootfs cache rebuild - once again. 2024-08-23 06:59:40 +02:00
Igor Pecovnik
c0c7431af4 Enable allow-downgrades to base-files install to allow building images with older version than current
Framework stores our base-files in rootfs cache with version that comes from trunk and when we make stable images for current or previous release, build fails with error  E: Packages were downgraded and -y was used without --allow-downgrades.
2024-08-23 06:59:40 +02:00
Igor Pecovnik
8648d1f39b Expand functions install_deb_chroot and install_artifact_deb_chroot with accepting additional custom parameter
This adds support to pass additonal parameters to package installer.
2024-08-23 06:59:40 +02:00
dependabot[bot]
54b1a2d1e7 build(deps): bump setuptools from 72.1.0 to 72.2.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 72.1.0 to 72.2.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v72.1.0...v72.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-23 06:59:11 +02:00
Igor Pecovnik
71296430fa Framework: disable armbian repository while generating rootfs cache 2024-08-22 16:53:29 +02:00
Igor Pecovnik
27b7f33b9c Debian Trixie Cinnamon: remove deprecated package 2024-08-21 19:37:00 +02:00
Evgenii Zheltonozhskii
e3990e84db Add ATF settings to D1 family config
Without OpenSBI, the uboot compilation fails.
2024-08-21 14:03:09 +02:00
ColorfulRhino
e1a89ad975 rk3588: Rewrite kernel config against 6.11-rc4 2024-08-21 14:02:52 +02:00
ColorfulRhino
8e13c15c04 kernel: mainline: Bump 6.11-rc3 to 6.11-rc4 2024-08-21 14:02:52 +02:00
Julian Sikorski
0cee899233 Update odroidxu4-current to 6.6.47 2024-08-21 14:02:37 +02:00
c0rnelius
433f1241fa Gateway AM-GZ80x: Re-brand as Amper & update u-boot to v2024.04 (#7113)
* Gateway AM-GZ80x: Re-brand as Amper & update u-boot to v2024.04

During a search I noticed other companies are using the same
unit. Lets re-brand to Amper as technically that is the product
brand name.

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>

* Delete old patch set: `patch: u-boot: v2023.10: board_gateway-gz80x`

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>

* Update test target

---------

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
Co-authored-by: Patrick Yavitz <pyavitz@armbian.com>
Co-authored-by: Igor <igor@armbian.com>
2024-08-21 14:00:43 +02:00
Patrick Yavitz
cc0f38aa45 BananaPi M2S: remove fan control
The fan0 and pwm_cd nodes were removed in linux-6.11.y.

1095ad0e92
https://lore.kernel.org/all/20240606-topic-amlogic-upstream-bindings-fixes-dts-v1-1-62e812729541@linaro.org/

Remove the patch now, so it doesn't become a problem later.

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-08-21 07:58:01 -04:00
Alessandro Lannocca
fb72484e79 rockchip-rk3588: current: add rfkill-bt device node to Radxa Rock5b board
Enable proper enumeration of usb-bluetooth modules via M2/NGFF slot
2024-08-21 13:56:46 +02:00
amazingfate
ffbe25e7a5 cli: packages: use iputils-ping instead of inetutils-ping 2024-08-21 13:56:33 +02:00
Igor Pecovnik
c4a5778f25 Build automation: Adjust test targets for remaining boards 2024-08-21 13:15:26 +02:00
Igor Pecovnik
a78e88dff5 Build automation: update kernel test targets for many boards
- remove duplicated MAINTAINER field for BPI m7
- update README
2024-08-21 12:52:25 +02:00
SuperKali
d13f12994e WIP: add initial support for Youyeetoo R1 V3 (#7108)
* youyeetoo r1 v3: add initial support for this board

* arch: arm64 board: youyeetoo r1 v3 replace edge with vendor kernel

* arch: arm64 board: youyeetoo r1 v3 reviews changes:
- Removed patch, see the pr for more details #7108
- Removed old kernel legacy
- WIP: Added DTS code on https://github.com/armbian/linux-rockchip/pull/223

I compiled the OS with latest changes, untested build logs in https://paste.armbian.com/ofidozaqup

* Update: Rename board from V3 to v3 (ARM64, Youyeetoo R1)
- Note: Untested on v1 as I don't have a v1 board available.
2024-08-21 07:52:11 +02:00
Igor
e4d75f29ba Discord announcement: push only when label "Needs review" is set (#7075)
* Discord annoucement: push only when label "Needs review" is set

* Change to label triggering

* actions: Add run-name to `pr-announce` workflow

---------

Co-authored-by: ColorfulRhino <131405023+ColorfulRhino@users.noreply.github.com>
2024-08-20 12:04:51 +02:00
sic
100a004aa5 Add Board X96Q TV Box LPDDR3 H313 (#7101)
* X96-Q TV Box Support

* Update x96q-tvbox.csc

* Rename x96q-tvbox.csc to x96q.tvb
2024-08-20 08:35:00 +02:00
Igor Pecovnik
f8c5736727 Adjust parameters for several boards 2024-08-19 21:24:09 +02:00
Igor Pecovnik
d0305be039 Revert "Temporally move TI build targets to EOS as Git is out of reach"
This reverts commit 49e0ec5d0e.
2024-08-19 15:40:48 +02:00
Igor Pecovnik
9760ad0096 KDE Neon: hack must be implemented only on Ubuntu Noble / Oracular 2024-08-19 12:31:24 +02:00
Alessandro Lannocca
4ffe5bc52f rockchip-rk3588: edge: set CONFIG_SECURITY_DMESG_RESTRICT=y
Advised for KASLR-enabled kernels - no side effect for non-KASLR

rewrite-kernel-config not needed as 6.11-rc3 config was already pristine
2024-08-18 19:00:39 +02:00
Alessandro Lannocca
ecdf04e09c rockchip-rk3588: current: set CONFIG_SECURITY_DMESG_RESTRICT=y
Advised for KASLR-enabled kernels - no side effect for non-KASLR
2024-08-18 19:00:39 +02:00
Alessandro Lannocca
dc27efcfa9 rockchip-rk3588: current: rewrite kernel config 2024-08-18 19:00:39 +02:00
Igor Pecovnik
89d22b10f6 build-framework: Switch to next VERSION and update main README 2024-08-18 10:42:33 +02:00
JohnTheCoolingFan
bed3f85213 Run docker via run_host_command_logged 2024-08-18 10:40:32 +02:00
JohnTheCoolingFan
1045fda3d4 Check for loop devices and a temp container run 2024-08-18 10:40:32 +02:00
JohnTheCoolingFan
69f408236e Revert "Add MKNOD capability to docker container (#6927)"
This reverts commit 8162899d3d.

The capability has nothing top do with the actual issue.
2024-08-18 10:40:32 +02:00
ColorfulRhino
7678009f60 actions: forked-helper: Run only if secret is set
The workflow ran regardless whether `ARMBIAN_SELF_DISPATCH_TOKEN` was set or not, generating errors if the secret could not be found.

In addition, simplify and beautify the workflow.
2024-08-18 10:40:09 +02:00
monkaBlyat
47975703b7 fix ps4 controller led's on vendor kernel 2024-08-18 10:39:57 +02:00
monkaBlyat
213ec10245 fix ps4 controller led's on legacy kernel 2024-08-18 10:39:57 +02:00
monkaBlyat
ac3b86efb9 vendor kernel patch for ds4 controllers 2024-08-18 10:39:57 +02:00
monkaBlyat
54cc6ea4e2 legacy kernel patch for ds4 controllers 2024-08-18 10:39:57 +02:00
ColorfulRhino
30ed9b3a70 rockchip-rk3588-edge: Bump kernel from 6.11-rc2 to 6.11-rc3
Remove one patch that is now included in the latest kernel revision.
2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin
d605d74a02 rockchip-rk3588-{current,edge}: add bluetooth support to Khadas Edge 2 2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin
223b0c9816 rockchip-rk3588-edge: update kernel to v6.11.0-rc2 2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin
0a0eb467de rockchip-rk3588-current: disable HDMIRX by default and add heartbeat LED on OPi5+ 2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin
8ceeb33c3b rockchip-rk3588-current: update kernel to v6.10 2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin
97c79d61fd rockchip-rk3588-edge: add mistakenly removed DTS patches back 2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin
61e10f6f64 rockchip-rk3588-edge: add HDMI & VOP2 back to OPi5 devicetree 2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin
7f2a7ab00b rockchip-rk3588-edge: opi5-plus: update dts patch, disable hdmirx by
default
2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin
b9d7bd9e5b rockchip-rk3588-edge: refresh HDMI TX & RX patches from Collabora and add Hantro VPU back 2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin
53396d202c rockchip-rk3588-edge: update kernel to v6.11.0-rc1 2024-08-18 10:38:50 +02:00
The-going
edd888aa70 sunxi-edge: switch to v6.10.5 2024-08-18 10:38:11 +02:00
The-going
fae2418da9 sunxi-6.10: bugfix the kernel panic for arm architecture
Problem: Linux kernel hangs in early boot on 32-bit ARM platform,
when ftrace 4-byte "mcount" function call location for
"_raw_spin_unlock_irqrestore" function straddles icache lines.

Discussion on the forum:
https://forum.armbian.com/topic/41339-linux-image-legacy-sunxi2451-kernel-6192-is-broken-stuck-at-starting-kernel/?do=findComment&comment=196528
2024-08-18 10:38:11 +02:00
The-going
11c396c183 sunxi-6.10: Add megous patches 2024-08-18 10:38:11 +02:00
Igor Pecovnik
350da61ef2 Mesa extentsion: adjust KDE related troubles with packages downgrade
- one is actually general fix - recommened installation of library before installing rockchip-multimedia
- second is holding package before running upgrade as it wants to pull older library from kde repositories
- remove KDE Neon base files upgrade pin
2024-08-17 17:33:28 +02:00
Igor Pecovnik
54c79a2008 rootfs: add comment to force rootfs rebuild 2024-08-17 15:51:43 +02:00
ColorfulRhino
6e6fbac503 cli: kernel-make: Use build@armbian instead of armbian@next for KBUILD 2024-08-15 20:35:26 +00:00
ColorfulRhino
e8c4bde80f cli: kernel-make: Add note for parallel compression for xz
Source: https://lore.kernel.org/lkml/20200901151002.988547791@linuxfoundation.org/
2024-08-15 20:35:26 +00:00
Alex
314447dffd patches: uboot: Improve KASLR support for v2024.07 (#7078)
Reference patch set: https://patchwork.ozlabs.org/project/uboot/list/?series=411513&state=*

Hopefully, other boards using same uboot-version can benefit from the added support.

**Note for Maintainers -  to enable KASLR seed, you need:**
	- `CONFIG_RANDOMIZE_BASE=y` configured in your kernel .config
	- `CONFIG_CMD_KASLRSEED=y` and` CONFIG_DM_RNG=y` configure in your u-boot .config
	- exposed crypto and rng nodes in you board's device-tree
	- `kasrlseed` command before kernel boot in your boot.cmd
	- `CONFIG_SECURITY_DMESG_RESTRICT=y` in kernel .config is also advisable

* KASRL-supported u-boot 2024.07 for everyone:
- move /chosen/kaslr-seed support patchset to general 2024.07 BOOTPATCHDIR
- attach nanopi-r5c and oprangepi5-plus BOOTPACHDIR to patches/uboot/v2024.07 general dir

* u-boot: patch nanopi-r5c-rk3568_defconfig and orangepi-5-plus-rk3588_defconfig to enable KASLR

* rewrite-uboot-patches nanopi-r5c/orangepi5-plus

* patches: uboot: Improve kaslrseed support for v2024.07

---------

Co-authored-by: ColorfulRhino <131405023+ColorfulRhino@users.noreply.github.com>
2024-08-15 20:31:00 +00:00
Viacheslav Bocharov
4835dcedb5 JetHome: update list of preinstalled packages for JetHub devices 2024-08-15 17:33:56 +03:00
Alex
544e0c505e rockchip64: Enable CONFIG_SECURITY_DMESG_RESTRICT kernel option (#7080)
* rockchip64: edge: rewrite kernel config

* rockchip64: edge: set CONFIG_SECURITY_DMESG_RESTRICT=y
Advised for KASLR-enabled kernels - no side effect for non-KASLR

* rockchip64: current: rewrite kernel config

* rockchip64: current: set CONFIG_SECURITY_DMESG_RESTRICT=y
Advised for KASLR-enabled kernels - no side effect for non-KASLR
2024-08-15 13:43:36 +02:00
Evgenii Zheltonozhskii
0aa2371db5 Support kernel compilation with Clang/LLVM 2024-08-15 13:20:01 +02:00
Alex
63163387c7 rockchip64: refresh drv-spi-spidev-remove-warnings.patch (#7088)
* rockchip64: edge: refresh drv-spi-spidev-remove-warnings.patch

rework to apply cleanly on 6.10.5

* rockchip64: current: refresh drv-spi-spidev-remove-warnings.patch
2024-08-15 13:11:18 +02:00
Viacheslav Bocharov
595ab95a17 JetHome: Update JetHub D2 dts 2024-08-15 12:59:25 +03:00
Alessandro Lannocca
134ae29646 meson64: edge: refresh drv-spi-spidev-remove-warnings.patch
rework to apply cleanly on 6.10.5
2024-08-14 17:39:38 -04:00
Alessandro Lannocca
1ffdab4fe4 meson64: current: refresh drv-spi-spidev-remove-warnings.patch
rework to apply cleanly on 6.6.46
2024-08-14 17:39:38 -04:00
Viacheslav Bocharov
0b16dcd69c Update board config files to include hwclock utility 2024-08-14 19:42:13 +02:00
Viacheslav Bocharov
f2ef37cc81 JetHome: disable suspend systemd target for JetHub D2 2024-08-14 19:42:13 +02:00
Viacheslav Bocharov
06838e7a19 JetHome: Update JetHub D2 dts file 2024-08-14 19:42:13 +02:00
Viacheslav Bocharov
684a49953b JetHome: fix uboot patchset for JetHub D2 2024-08-14 19:42:13 +02:00
Patrick Yavitz
9680254722 Gateway GZ80X: use actual u-boot.bin
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-08-14 13:06:18 -04:00
Viacheslav Bocharov
5224c5b168 JetHome: Put module blacklist in the board configs of the respective boards 2024-08-14 09:03:42 +03:00
Patrick Yavitz
74c507c605 FIXUP: run_host_command_logged removes quotation marks
This breaks the udev rule

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-08-13 14:40:48 -04:00
Patrick Yavitz
6a89c88302 config: boards: gateway-gz80x.conf: cosmetic fixup
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-08-13 14:40:48 -04:00
Patrick Yavitz
81456d31ae U-Boot: Meson AXG and Gateway GZ80X fixups
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-08-13 14:40:48 -04:00
Werner
7e9b85f0d6 cosmetics
typos...
2024-08-13 14:40:48 -04:00
Patrick Yavitz
aff22ad7d5 Add board Alfred Smart Gateway GZ80X Linux support
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-08-13 14:40:48 -04:00
Patrick Yavitz
c201068f30 Add board Alfred Smart Gateway GZ80X U-Boot support
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-08-13 14:40:48 -04:00
Patrick Yavitz
f199faf3de Add board Alfred Smart Gateway GZ80X
Amlogic A113X
1Gb RAM
eMMC 8Gb
USB (1 port)
Ethernet
Wireless Realtek 8189FSTV / Z-WAVE

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-08-13 14:40:48 -04:00
Patrick Yavitz
813bb6a668 Add config: sources: families: meson-axg.conf
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-08-13 14:40:48 -04:00
Werner
da899b2c93 attempt to fix pr announce for all contributors (#7081)
The earlier attempt seem to limit announces to repository members for some reason.
This attempt limits to the repo only, therefore forks should not be affected.
Not sure if it works, but there is only one way to find out.
2024-08-13 17:41:10 +02:00
dependabot[bot]
c8c404038b build(deps): bump pyyaml from 6.0.1 to 6.0.2
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/main/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.1...6.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 12:20:45 +02:00
dependabot[bot]
a9e2c0b322 build(deps): bump actions/upload-artifact from 4.3.5 to 4.3.6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.5 to 4.3.6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](89ef406dd8...834a144ee9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 12:20:02 +02:00
Igor Pecovnik
0051d745fb aic8800 DKMS driver: fix logic when extension is used 2024-08-13 12:18:53 +02:00
33335
cecf6a83b2 chore: Disable OPTEE security partition in U-Boot for Firefly-ITX-3588J board 2024-08-13 09:22:45 +02:00
Igor
869a6615c4 Prevent running announce script in forks (#7073)
* Prevent running announce script in forks
* Add description
* fix typo
---------

Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
2024-08-13 09:21:40 +02:00
Igor Pecovnik
d116232b7a Driver compilation is not supported on kernel 6.10 and up 2024-08-13 09:20:02 +02:00
Zokhoi
c0cf72b403 Add aic8800 driver for Rock 3C variant 2024-08-13 09:20:02 +02:00
Igor Pecovnik
752ba047b3 UEFI kernels: rewrite kernel config for legacy - current - edge 2024-08-12 19:44:20 +02:00
Igor Pecovnik
efb76ce131 RaspberryPi: Rewrite kernel configs for legacy and current 2024-08-12 19:35:56 +02:00
Werner
ac01365708 fix pr being announce multiple times (#7070)
by limiting action to pr opening.
2024-08-12 19:04:25 +02:00
Werner
80873d368e fix link for pr 2024-08-12 17:44:12 +02:00
ARCW
05d7ca03d4 Fixed tinker-edgr-r board GPU bug, drivers:regulator:fan53555:add new device chip id (#6998) 2024-08-12 17:16:11 +02:00
Igor Pecovnik
423868ca26 Bump sunxi legacy and current to latest version 2024-08-12 17:15:40 +02:00
JohnTheCoolingFan
22e3a671a7 BigTreeTech CB1: current: Enable IR Receiver 2024-08-12 17:10:49 +02:00
Kevin Schmidt
08ef1a960f Fix armbian-firmware-full package build.
Include symlinks from linux-firmware.
2024-08-12 10:45:27 +02:00
Alex
1e7b704c84 disable saving state for invalid leds brought up in latest kernels (#7062)
* disable saving state for invalid leds brought up in latest kernels

lrwxrwxrwx 1 root root 0 11 ago 14.44 enP1p1s0-0::lan -> ../../devices/platform/3c0400000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net/lan/enP1p1s0-0::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP1p1s0-1::lan -> ../../devices/platform/3c0400000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net/lan/enP1p1s0-1::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP1p1s0-2::lan -> ../../devices/platform/3c0400000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net/lan/enP1p1s0-2::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP1p1s0-3::lan -> ../../devices/platform/3c0400000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net/lan/enP1p1s0-3::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP2p1s0-0::lan -> ../../devices/platform/3c0800000.pcie/pci0002:00/0002:00:00.0/0002:01:00.0/net/wan/enP2p1s0-0::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP2p1s0-1::lan -> ../../devices/platform/3c0800000.pcie/pci0002:00/0002:00:00.0/0002:01:00.0/net/wan/enP2p1s0-1::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP2p1s0-2::lan -> ../../devices/platform/3c0800000.pcie/pci0002:00/0002:00:00.0/0002:01:00.0/net/wan/enP2p1s0-2::lan
lrwxrwxrwx 1 root root 0 11 ago 14.44 enP2p1s0-3::lan -> ../../devices/platform/3c0800000.pcie/pci0002:00/0002:00:00.0/0002:01:00.0/net/wan/enP2p1s0-3::lan

These leds are not manageable and when restored trow up errors in kernel ring buffer
[   13.964507] leds enP1p1s0-0::lan: Setting an LED's brightness failed (-524)
[   13.989055] leds enP1p1s0-0::lan: Setting an LED's brightness failed (-524)
[   13.989100] leds enP1p1s0-1::lan: Setting an LED's brightness failed (-524)
[   14.021133] leds enP1p1s0-1::lan: Setting an LED's brightness failed (-524)
[   14.021176] leds enP1p1s0-2::lan: Setting an LED's brightness failed (-524)
[   14.070622] leds enP1p1s0-2::lan: Setting an LED's brightness failed (-524)
[   14.073070] leds enP1p1s0-3::lan: Setting an LED's brightness failed (-524)
[   14.097028] leds enP1p1s0-3::lan: Setting an LED's brightness failed (-524)
[   14.097066] leds enP2p1s0-0::lan: Setting an LED's brightness failed (-524)
[   14.132938] leds enP2p1s0-0::lan: Setting an LED's brightness failed (-524)
[   14.132982] leds enP2p1s0-1::lan: Setting an LED's brightness failed (-524)
[   14.154556] leds enP2p1s0-1::lan: Setting an LED's brightness failed (-524)
[   14.157496] leds enP2p1s0-2::lan: Setting an LED's brightness failed (-524)
[   14.197328] leds enP2p1s0-2::lan: Setting an LED's brightness failed (-524)
[   14.197371] leds enP2p1s0-3::lan: Setting an LED's brightness failed (-524)
[   14.214507] leds enP2p1s0-3::lan: Setting an LED's brightness failed (-524)

* fix basename path
2024-08-12 10:45:11 +02:00
Igor Pecovnik
f8dd32f99a sunxi64: temporally disable broken PWM_SUNXI_ENHANCE driver
Need to be fixed after release. Some background in comments https://github.com/armbian/build/pull/6656
2024-08-11 22:09:17 +02:00
JohnTheCoolingFan
a281a983a6 Change BOOT_FDT_FILE for bigtreetech-cb1 on edge 2024-08-11 22:09:17 +02:00
JohnTheCoolingFan
04829f611c Remove sun50iw9-btt board family 2024-08-11 22:09:17 +02:00
JohnTheCoolingFan
02ad725c6f Break the BigTreeTech Ethernet patches into 3 2024-08-11 22:09:17 +02:00
JohnTheCoolingFan
00c3dd58da Rearrange BTT CB1 patches 2024-08-11 22:09:17 +02:00
JohnTheCoolingFan
4ef3450dc5 U-Boot patch for BigTreeTech CB1 ethernet 2024-08-11 22:09:17 +02:00
JohnTheCoolingFan
b7fac21f3f Patches to enable hdmi and emac1 on BigTreeTech CB1 2024-08-11 22:09:17 +02:00
JohnTheCoolingFan
d19f76efbe BigTreeTech CB1 config update
Changed maintainer to th current person
Switched board family to sun50iw9, removed legacy kernel target, removed
DEFAULT_CONSOLE
2024-08-11 22:09:17 +02:00
Werner
77e6c9c8ef Send summaries of PR and merges to main chat (#7060)
* Create pr-announce.yml

* Rename pr-announce.yml to pr-announce.yml

* Create merge-announce.yml
2024-08-11 09:29:12 +02:00
Alex
3ad547fe93 add general 2024.07 patches to nanopi-r5c u-boot (#7056) 2024-08-10 13:43:29 +02:00
Alex
60ec699aea add general 2024.07 patches to orangepi5-plus u-boot (#7057) 2024-08-10 13:42:56 +02:00
The-going
e9cc1a2479 sunxi-6.9: bugfix the kernel panic for arm architecture
Linux kernel hangs in early boot on 32-bit ARM platform,
when ftrace 4-byte "mcount" function call location for
"_raw_spin_unlock_irqrestore" function straddles icache lines.

Discussion of the problem:
https://forum.armbian.com/topic/41339-linux-image-legacy-sunxi2451-kernel-6192-is-broken-stuck-at-starting-kernel/?do=findComment&comment=196528
https://bugzilla.kernel.org/show_bug.cgi?id=219089
2024-08-10 08:12:04 +02:00
The-going
87d667ce9a sunxi-6.9: Add Armbian patches 2024-08-10 08:12:04 +02:00
The-going
06030bae54 sunxi-6.9: Add megous patches to EDGE 2024-08-10 08:12:04 +02:00
M. Efe Çetin
e34789f90b orangepi5: fix SPI flash boot (#7053) 2024-08-09 08:40:04 +02:00
Alex
0a134ffae4 orangepi5-plus: (#7046)
enable KASLR
2024-08-08 07:39:00 +02:00
Alessandro Lannocca
1f672d9faa nanopi-r5c:
bump u-boot to 2024.07
patch in kaslrseed support
enable kaslrseed in nanopi-r5c-rk3568-defconfig
2024-08-08 07:38:23 +02:00
Alessandro Lannocca
b6ae30043d nanopi-r5c: set CONFIG_RANDOMIZE_BASE=y (kaslr) 2024-08-08 07:38:23 +02:00
Alessandro Lannocca
21d3307f8e nanopi-r5c: rewrite-kernel-config 2024-08-08 07:38:23 +02:00
amazingfate
cff7e614f2 uboot: rk3576: add patches to enable tf card boot 2024-08-08 07:38:13 +02:00
Igor Pecovnik
0627bf7fa8 Odroid XU4: Refresh current kernel config 2024-08-08 07:38:03 +02:00
Igor Pecovnik
a9670b1dc5 Odroid XU4: Remove deprecated patches on CURRENT branch 2024-08-08 07:38:03 +02:00
Igor Pecovnik
e6120c941b Clarify label for entering giveaway - code completition, all authors counts. 2024-08-07 21:39:27 +02:00
Martin Schmiedel
96e1752111 MBa8MPxL: update u-boot-tqma
- rework patches on recent changes

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-08-07 21:39:15 +02:00
ColorfulRhino
b8dbe607e5 partitioning: Declare rootpart as local variable
The others like `uefipart` and `bootpart` are also defined as local var. Establish consistency.
2024-08-05 20:39:57 +02:00
ColorfulRhino
1092d60d3e partitioning: Set correct partition type UUID for root filesystem
Previously, only the type "Generic Linux filesystem" was used.
Use the correct type "Linux root ($ARCHITECTURE)" for the root filesystem.
2024-08-05 20:39:57 +02:00
ColorfulRhino
a027c4be37 partitioning: Add check to use legacy BIOS boot partition with GPT only, not MBR
Exit with an error message if trying to add this partition to an MBR disk.
2024-08-05 20:39:57 +02:00
ColorfulRhino
01d8716bf9 partitioning: Output the partitioning options to the debug log 2024-08-05 20:39:57 +02:00
ColorfulRhino
0b6d61f4c4 partitioning: Add some comments to improve readbility 2024-08-05 20:39:57 +02:00
Igor Pecovnik
aaee1bb85f RaspberryPi: bump EDGE kernel to 6.10.y 2024-08-05 20:38:46 +02:00
Igor Pecovnik
a082d95117 imx6: bump EDGE kernel to 6.10.y 2024-08-05 20:38:31 +02:00
Igor Pecovnik
382e4d064a Odroid XU4: bump EDGE kernel to 6.10.y 2024-08-05 20:38:13 +02:00
dependabot[bot]
48128c869f build(deps): bump actions/upload-artifact from 4.3.4 to 4.3.5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](0b2256b8c0...89ef406dd8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 20:38:00 +02:00
Martin Schmiedel
42cc795f4d MBa8MPxL: update imx8m-6.6
- linux-tqma-current.config:  enable HDMI, LVDS, Bluetooth
- imx8_common.inc: use tag instead of branch (v6.6.43)
- fix asound.state.tqma

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-08-05 14:36:51 +02:00
Martin Schmiedel
19ec627e90 MBa8MPxL: fix boot problem after updating uboot.sh
- since 792d9d9d Variables add to environment in post_config_uboot_target function are ignored.
- So setting the variable ATF_LOAD_ADDR doesn't work anymore
- ATF_LOAD_ADDR changed in the uboot patch instead

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-08-05 14:36:51 +02:00
schwar3kat
58b0a55351 Add Linux Mint Virginia and Wilma to supported hosts
Add virginia and wilma in host-release.sh

Add wilma in prepare-host.sh
2024-08-05 09:39:01 +02:00
Igor Pecovnik
f08ae68161 Mvebu: update / refresh current kernel config 2024-08-05 09:38:22 +02:00
Igor Pecovnik
8ea1a4df1b Set fixed mac addresses 2024-08-05 09:38:22 +02:00
Igor Pecovnik
2e9917bc6a Mvebu: Bump kernel config and sources to 6.10.y 2024-08-05 09:38:22 +02:00
Igor Pecovnik
ff8412d676 Add patches to 6.10 folder 2024-08-05 09:38:22 +02:00
Heisath
9ea9e5b97b Move to 6.8 2024-08-05 09:38:22 +02:00
Heisath
72ce5c3f0b Add mvebu 6.7 patches, move to rmk tree 2024-08-05 09:38:22 +02:00
Igor Pecovnik
8662ef1c7b Meson 6.10: adjust patches to align with upstream changes
Need to be tested on hardware
2024-08-05 09:35:43 +02:00
Igor Pecovnik
a6c3bed0a3 Ename KDE Neon on Jammy. It was disabled due to base-files troubles
Official KDE Neon is still based on Jammy
2024-08-04 21:28:53 +02:00
Igor Pecovnik
f0b38dc380 KDE neon downgrades base-files for some reason. Lets prevent this to happen 2024-08-04 21:28:53 +02:00
Igor Pecovnik
87845c0ff1 Armsom5 - switch to vendor branch and add BOARD_MAINTAINER field to suppress warnings 2024-08-04 21:26:03 +02:00
SteeManMI
4fe4599f29 Kernel config fix for Odroid C1 2024-08-04 21:25:36 +02:00
SteeManMI
f27076f7e5 rewrite kernel config 2024-08-04 21:25:36 +02:00
SteeManMI
dcf916ffe8 rewrite kernel patches 2024-08-04 21:25:36 +02:00
SteeManMI
78acfe1a5a Initial changes to move meson edge from 6.9 to 6.10 2024-08-04 21:25:36 +02:00
The-going
8797b2371b shellcheck: SC2070 (error): -n doesn't work with unquoted arguments. 2024-08-04 21:24:46 +02:00
The-going
70686a11a9 bsp: armbian-install: fix the search for eMMC and SD card devices
On different boards, eMMC and SDcard memory devices can have
numbers 0, 1, 2 in any sequence.
SDcard -> 0; eMMC -> 2
SDcard -> 2; eMMC -> 0
SDcard -> 0; eMMC -> 1

eMMC has additional physical partitions such as *boot0,
*boot1 and others.
Use this attribute for unambiguous identification.

Print the type and name of the memory device in the message
to the user.
2024-08-04 21:24:46 +02:00
Igor Pecovnik
1632cf6905 Enable fixed MAC settings for Nanopi R6 series and supress iozone related error 2024-08-04 14:07:42 +02:00
Igor Pecovnik
2aff2c8e5c Add support for wan and lan nic names when setting random mac with NetPlan 2024-08-04 14:07:42 +02:00
Igor Pecovnik
c91668e645 Cosmetic fix: do not show repository keys that doesn't exits 2024-08-03 17:51:52 +02:00
amazingfate
3980fc42ac config: rk35xx: vendor: enable CONFIG_NVMEM_ROCKCHIP_OTP 2024-08-03 17:51:38 +02:00
Igor Pecovnik
c958cdc684 Repo management: drop unused component 2024-08-03 16:09:15 +02:00
Igor Pecovnik
264852642d Packages: move base-files, bsp-desktop and desktop packages to RELEASE specific folders 2024-08-03 16:09:15 +02:00
Nicolas Pereira
4e4b77923d Update board config h96-max to mainline u-boot
since armbian 24.8.0-trunk.205 this board stop working
find a fix on station-p2 for it
2024-08-03 15:34:11 +02:00
Igor Pecovnik
4f92c2ebfc Adjust patches that are broken or they found a way upstream 2024-08-03 15:34:00 +02:00
dependabot[bot]
8ec78921e1 build(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.3 to 2.4.0.
- [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.3.3...v2.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 17:22:58 +02:00
dependabot[bot]
bdda4f353b build(deps): bump setuptools from 71.1.0 to 72.1.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 71.1.0 to 72.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/v71.1.0...v72.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 17:22:23 +02:00
The-going
820d29b657 sunxi-6.6: exclude iio thermal sensors patches
These patches are not needed for the kernel version 6.6 and later.
In addition, they cause minor harm when measuring temperature,
as they additionally calibrate the sensors.
Today, all the work is done by drivers/thermal/sun8i_thermal.c
2024-08-02 17:21:36 +02:00
The-going
d5688b344a sunxi-current: switch to tag:v6.6.43 2024-08-02 17:21:36 +02:00
The-going
c4d458e2c6 mk_format_patch: fix shellcheck SC2045 (error) 2024-08-02 17:21:36 +02:00
The-going
641025e1a4 sunxi-6.6: Switch to v6.6.37, edit incorrect patch messages 2024-08-02 17:21:36 +02:00
The-going
ef444f587a sunxi-6.6: Edit the series.conf file, delete unused ones. 2024-08-02 17:21:36 +02:00
The-going
dbdb03ddb8 sunxi-6.6: armbian: delete unused ones, replace changed ones.
Now the names of the patch files correspond to the entry
in the commit message.
Patches that have been transferred (copied) since time
immemorial and require revision have been removed.
No one wants to deal with them.
2024-08-02 17:21:36 +02:00
The-going
8bc515ff21 sunxi-6.6: megous: Delete unused ones. Update the changed ones. 2024-08-02 17:21:36 +02:00
The-going
82225ac5a1 mk_format_patch: Copy only those patches that have changes in chunks 2024-08-02 17:21:36 +02:00
Ricardo Pardini
0a3411ec05 thinkpad-x13s: bump to jhovold's 6.10 (from -rc7) 2024-08-02 17:20:56 +02:00
Julian Sikorski
3d59517505 Update odroidxu4-current to 6.6.43 2024-08-02 17:20:37 +02:00
Gunjan Gupta
468342d3f7 meson-s4t7: add comment to ensure rebuild of bsp package 2024-07-30 15:39:34 +02:00
Gunjan Gupta
24d1ddce69 Meson-s4t7: update required modules to match fenix 2024-07-30 15:39:34 +02:00
Gunjan Gupta
4d0d2a4c85 kernel: meson-s4t7: update config to match latest fenix changes 2024-07-30 15:39:34 +02:00
SteeManMI
507c89168c Enable CONFIG_POWER_RESET_MESON64 2024-07-29 08:16:37 +02:00
SteeManMI
1c5ed3622a rewrite kernel config 2024-07-29 08:16:37 +02:00
SteeManMI
2f2618f9a5 rewrite kernel patches 2024-07-29 08:16:37 +02:00
SteeManMI
691e7b8b67 Fixes for 6.10: Copied Paolo's rockchip64 overlay compliation fix to meson64 2024-07-29 08:16:37 +02:00
SteeManMI
41fbb0802a Initial changes to move meson64 edge from 6.9 to 6.10 2024-07-29 08:16:37 +02:00
chainsx
882255833e sun55iw3-syterkit: update kernel config 2024-07-29 08:16:20 +02:00
Igor
10b92e2493 Extend mesa-vpu extension to load unpatched Chromium by default (#6657)
* Extend mesa-vpu extension to load unpatches Chromium by default
* Pin only Chromium browser

For future - make separate browser extension
2024-07-29 08:16:00 +02:00
Muhammed Efe Cetin
0c86f76d30 mesa-vpu: install chromium package instead of chromium-browser 2024-07-29 07:55:49 +02:00
Ivan Podogov
8814cc9f3e Switch Retro Lite CM5 back to legacy U-Boot (#7004)
This allows us so successfully boot Armbian, ROCKNIX and Android.
2024-07-28 18:36:04 +01:00
amazingfate
94ef30d4bc bootenv: add rk356x.txt for larger cma size 2024-07-28 14:35:34 +08:00
amazingfate
0579edc21e add chromium v4l2 decoder udev rule for rk3328 hantro decoder 2024-07-28 14:35:34 +08:00
amazingfate
d5cb0d6732 rockchip64-edge: disable hantro g1 h264 decoder on rk356x 2024-07-28 14:35:34 +08:00
amazingfate
e1a64270fa rockchip64-edge: add rkvdec2 for rk356x 2024-07-28 14:35:34 +08:00
amazingfate
e1f75f92cb rockchip64-edge: remove vpu non-coherent-dst-bufs patches 2024-07-28 14:35:34 +08:00
Igor Pecovnik
d2d6892d82 Debian: drop support for Budgie on Trixe / Bookworm. Packages are not anymore in the repo 2024-07-28 08:12:35 +02:00
Igor Pecovnik
759274b7a1 UEFI x86 and arm64: Bump EDGE kernels to 6.10.y 2024-07-27 12:40:25 +02:00
Igor Pecovnik
bf5bbb81cf Awarding regular contributors - adding a special PR tag 2024-07-26 19:25:00 +02:00
amazingfate
d02225dd8e mesa-vpu: install backported mesa from obs for bookworm panthor driver 2024-07-27 00:52:26 +08:00
Igor
2091d1046f Board maintainer = git username 2024-07-25 16:42:46 +02:00
sicXnull
37ef83a6f6 add Heltec HT-M2808 2024-07-25 16:42:46 +02:00
Igor Pecovnik
239f3a5dc3 Repo management: rework to increase reliability and speed
- introduce common repo so we only add packages once
- publish via snapshots to increase reliability
- overwrite packages in case of conflicts
2024-07-25 16:42:23 +02:00
amazingfate
0621b9008f add new board armsom-aim7-io 2024-07-25 16:42:04 +02:00
Igor Pecovnik
a57f4e2cf0 Fix for no network inside Docker container
Force netplan to use DHCP only on interface e* and not also on the docker interface
2024-07-25 16:41:40 +02:00
ARCW
cc8291e6e2 Fixed Tinker-edge-r HDMI 4K bug (#6991) 2024-07-25 16:41:17 +02:00
chainsx
1c7c5d302d fix rk3568-roc-pc 2024-07-25 16:40:28 +02:00
The-going
f878f14dab write_uboot_platform: Fix a false shell message 2024-07-24 14:05:26 +02:00
The-going
6998d836d4 write_uboot_platform: Fix SC2068 (error): Double quote array expansions 2024-07-24 14:05:26 +02:00
The-going
323ba5234e spacemit: write_uboot_platform: Fix the reverse logic 2024-07-24 14:05:26 +02:00
The-going
648bdea785 armbian-install: Display real devices in the selection message. 2024-07-24 14:05:26 +02:00
The-going
95aa15ac53 spasemit: write_uboot_platform: Write to the SD\eMMC with verification
The bootinfo_emmc.bin file never changes.
The FSBL.bin file changes very rarely.

Using only coreutils, compare byte by byte the files
and the memory area in which they should be located.
If there is a match, then don't write anything down,
but just output a message.
Synchronization after each recording action.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2024-07-24 14:05:26 +02:00
The-going
af7b254bb2 armbian-install: EMMC: find real mmcblk device numbered 0, 1, 2
find the eMMC real mmcblk device numbered 0, 1, 2 and
inform the user about it in a message.
Item 6 of the selection menu will be visible if only
one device is found
2024-07-24 14:05:26 +02:00
Patrick Yavitz
0e96084a2e SpacemiT: write_uboot_platform: eMMC Support
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-24 14:05:26 +02:00
Ben Hoff
bb8633f26e modify config to build synopsys module 2024-07-24 14:03:54 +02:00
Ben Hoff
36a12f1b42 add synopsys designware hdmi rx controller 2024-07-24 14:03:54 +02:00
dependabot[bot]
3870e04725 build(deps): bump setuptools from 70.3.0 to 71.1.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 70.3.0 to 71.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/v70.3.0...v71.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-23 11:39:16 +02:00
Julian Sikorski
2eb742bfa5 Update odroidxu4-current to 6.6.41 2024-07-23 11:37:14 +02:00
schwar3kat
129dd4c3aa Fix_rtl8189fs_WiFi_driver (#6984)
Fix wrong commit being pulled for rtl8189fs WiFi driver.

Add CONFIG_RTL8189FS=m to linux-sunxi-current.config and linux-sunxi64-current.config.
2024-07-23 17:16:54 +12:00
Paolo Sabatino
34fe6f183b update rockchip patching config yaml file 2024-07-22 19:18:14 +02:00
Paolo Sabatino
7da7bbf61c rockchip: bump edge kernel to 6.10 2024-07-22 19:18:14 +02:00
Paolo Sabatino
1f7289d67f rockchip64: address changes for mainlined rk3308 audio codec
* the existing patches for rk3308 audio codec have been disabled:
  the rk3308 driver has been mainlined and thus the patches
  don't apply anymore
* add the missing i2s_8ch_0 and _1 i2s nodes
* adjust "acodec" with "codec" device tree labels, to match
  mainline kernel nomenclature
2024-07-22 19:17:52 +02:00
Paolo Sabatino
4ae0a95814 rockchip64: bump edge kernel to 6.10 2024-07-22 19:17:52 +02:00
Paolo Sabatino
f82e6e8d0c rorkchip64: fix rk3328 gpio2 bank addressing 2024-07-22 19:17:52 +02:00
Paolo Sabatino
c1dc5a2be1 rockchip64: fix rk3399 miniloader 2024-07-22 19:10:32 +02:00
Igor Pecovnik
49e0ec5d0e Temporally move TI build targets to EOS as Git is out of reach
TBD:
- establish mirror for 3rd party Git hosts
- revert once starts to work
2024-07-21 18:54:49 +02:00
Ricardo Pardini
f3f89a78ec utils-dpkgdeb: force rebuild of all artifacts, due to https://github.com/armbian/build/pull/6964 (ORAS change) 2024-07-21 10:25:10 +02:00
amazingfate
ec83684f24 mesa-vpu: use kisak mesa ppa instead of oibaf 2024-07-21 10:24:57 +02:00
Ricardo Pardini
e4032228dd oci-oras: fix for ORAS > 1.x, as it now requires HOME to be set (fixes download-artifact)
- it hasn't HOME when run under the matrix-prepare multiprocess launcher, so use TMPDIR
- fixes https://github.com/armbian/build/pull/6964
2024-07-21 10:24:23 +02:00
Ivan Podogov
a6c1308e24 Add board config for Retro Lite CM5 2024-07-20 09:15:24 +02:00
igorpecovnik
e5fe080b0a tools: Bump BATCAT_VERSION from 0.23.0 to 0.24.0 2024-07-20 09:15:13 +02:00
igorpecovnik
f1e63eb8df tools: Bump ORAS_VERSION from 0.16.0 to 1.2.0 2024-07-20 09:14:56 +02:00
dependabot[bot]
8edcf2a0cb build(deps): bump setuptools from 70.2.0 to 70.3.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 70.2.0 to 70.3.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v70.2.0...v70.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-20 09:14:40 +02:00
igorpecovnik
984050a2df tools: Bump SHELLCHECK_VERSION from 0.9.0 to 0.10.0 2024-07-20 09:14:06 +02:00
Ivan Podogov
075b75d023 Enable sound and battery for Retro Lite CM5 (#6971) 2024-07-19 16:14:20 +01:00
amazingfate
5697ba6153 add new board armsom-sige5 2024-07-19 22:49:52 +08:00
amazingfate
e22fe7e7e8 config: rk35xx-vendor: add rk3576 support 2024-07-19 22:49:52 +08:00
amazingfate
7cd7ec3ba4 add new soc rk3576 support family rk35xx 2024-07-19 22:49:52 +08:00
Viacheslav Bocharov
79de940a20 JetHome: Update bsp: fix jethub-init to support /etc/defaults 2024-07-19 15:45:11 +03:00
amazingfate
7cf6f99e75 rk35xx-vendor: bump to latest sdk release rkr3 2024-07-19 14:04:41 +08:00
ColorfulRhino
cc59d8af9e extensions: Add "Extension: ${EXTENSION}: " prefix to some extension logs
Establish some consistency with extension logging. Some extensions use another format:
display_alert "message" "${EXTENSION}" "info"

These were *not* adapted to this new schema.
2024-07-18 12:30:11 +02:00
ColorfulRhino
b6b8a89f10 actions: Create workflow to update shell tools via auto-PR
Some of our scripts download tools from a repo. These can't be bumped by dependabot, so this workflow is a self-created dependabot to bump versions of those tools to stay up-to-date.
This workflow only creates a PR if the version was actually updated.

Tools currently supported:
- Shellcheck (in 2 different files)
- Shellfmt
- oci-oras
- Bat
2024-07-18 11:54:02 +02:00
amazingfate
5bd400a726 add customized GHCR_MIRROR_ADDRESS support 2024-07-18 11:50:42 +02:00
Gunjan Gupta
1e4813cba0 meson-s4t7: fix docker crash when building u-boot and rebase patches 2024-07-18 11:44:41 +02:00
Gunjan Gupta
d7d382db69 meson-s4t7: set u-boot code to use branch instead of specific tag 2024-07-18 11:44:41 +02:00
Patrick Yavitz
ecc3c30943 SpacemiT: Legacy: Wireless RTL8852BS: Fixups
CONFIG_RTW_DEBUG = n
Remove RTW_WARN_LMT
Fix aes_encrypt() redefinition errors

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-18 11:44:12 +02:00
Igor Pecovnik
dbcbede702 Trixie: remove non-existing packages from Budgie desktop 2024-07-18 11:43:56 +02:00
ColorfulRhino
28e859f7ce actions: forked-helper: Don't escape multiline strings
Not needed anymore with GITHUB_OUTPUT.
See https://github.com/orgs/community/discussions/26288#discussioncomment-3876281

Instead, use the `toJSON` function that Actions offers to convert the `event` object to JSON.
2024-07-18 11:43:38 +02:00
ColorfulRhino
7e9adb3811 cli: uboot: Move uboot_cflags variable to before its first use 2024-07-18 11:42:16 +02:00
Patrick Yavitz
c5be5a8537 SpacemiT: BananaPi F3: update to BL v1.0.8
Legacy: use TAG instead of BRANCH (gives us more control)
Current: update DTS files
Current: add needed patches up to v1.0.8
Fixup bluetooth node and disable by default (half broke anyway)
Misc fixups to bananapif3.wip and spacemit.conf file

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-17 03:30:39 -04:00
Patrick Yavitz
36016c8525 patch: atf: atf-spacemit: update to v1.0.7
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-07-17 03:30:22 -04:00
Patrick Yavitz
7f47cc7a53 SpacemiT: BananaPi F3: U-Boot: use TAGS and add SCRIPT support.
A boot.cmd file still needs to be created, but this is
functional.

Overlay support is now baked into the syslinux patch.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-07-17 03:30:22 -04:00
Tony
0898df5db4 Add Libre Computer Alta and Solitude (#6952)
Alta tested OK, Solitude not tesed (hence "WIP")
2024-07-16 11:16:01 -04:00
KREYREN
6d010db7bd Move teres-i in supported
My precious!
2024-07-15 09:36:50 +02:00
Alex Shumsky
9326cc150d u-boot: 2024.07: fix boot from btrfs 2024-07-15 09:12:41 +03:00
Patrick Yavitz
81925b1bba BananaPi CM4/M2S: Bump u-boot to v2024.07
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-15 09:11:37 +03:00
The-going
d05f3b1908 sunxi-6.1: Reverse commit 75317a0, fix real reason inability to load kernel
Reverse commit 75317a0 since this is a special case.

Eliminate the real reason for the inability to boot the kernel.
Linux kernel hangs in early boot on 32-bit ARM platform,
when ftrace 4-byte "mcount" function call location for
"_raw_spin_unlock_irqrestore" function straddles icache lines.

The problem is present for (cross-compiler) GCC 10, 11, 12.
It does not happen when the kernel is compiled with GCC 9,
even when condition (1) is satisfied.

Detailed description:
https://forum.armbian.com/topic/41339-linux-image-legacy-sunxi2451-kernel-6192-is-broken-stuck-at-starting-kernel/?do=findComment&comment=196528
2024-07-14 23:08:40 +02:00
Alessandro Lannocca
d3b1817c2c linux-rk35xx-vendor.config add RTW89_8852be=M 2024-07-14 23:08:27 +02:00
Alessandro Lannocca
95fcd32b16 plain linux-rk35xx-vendor.config rewrite-kernel-config 2024-07-14 23:08:27 +02:00
Jack Thomasson
e7b0c3fb4e firstlogin: quote values if space is legal (#6942) 2024-07-14 07:37:25 +02:00
Igor Pecovnik
c377ba3c2e Desktops: replace missing packages with correct ones 2024-07-13 12:07:10 +02:00
amazingfate
ee145942fe wifi: rtl8852bs: add driver for family instead of board 2024-07-13 17:50:20 +08:00
Ricardo Pardini
62af9ee6ba rockchip-rk3588 / edge: drop patch that landed in 6.10-rc7
- `1022-arm64-dts-rockchip-support-poweroff-on-rock-5a.patch` landed d05f7aff7a
2024-07-13 11:48:38 +02:00
Ricardo Pardini
b0a5d1794d rockchip-rk3588 / edge: rebase onto 6.10-rc7
- **win**: notice how one can actually _spot_ revelevant changes now
 - case in point, `1022-arm64-dts-rockchip-support-poweroff-on-rock-5a.patch` -- will drop it in separate commit
2024-07-13 11:48:38 +02:00
Ricardo Pardini
673bf759e4 mainline-kernel: bump to 6.10-rc7
- just rockchip-rk3588 for now
2024-07-13 11:48:38 +02:00
Ricardo Pardini
ff6d3b51a5 thinkpad-x13s: bump to jhovold's wip/sc8280xp-6.10-rc7 2024-07-13 11:48:21 +02:00
Igor Pecovnik
269d7110b2 Spacemit-k1 / Banananpi F3: adjust u-boot patch to match upstream changes 2024-07-11 20:11:41 +02:00
Igor Pecovnik
0b14407c2f Inovato Quadra: enable correct PIN to get wifi working 2024-07-11 18:02:51 +02:00
Igor Pecovnik
10be812ae6 actions: Remove deprecated action script command rebase
Not needed as it was integrated by GitHub
2024-07-11 18:02:32 +02:00
ColorfulRhino
8270010c1a github: Add new labels, e.g. Good first issue
Some other new labels were added by dependabot and are now synced to labels.yml
2024-07-11 18:02:32 +02:00
ColorfulRhino
6f664c92fd actions: Run YAML formatter over all workflow files 2024-07-11 18:02:32 +02:00
ColorfulRhino
2a27fdd4d0 actions: Small naming changes for some steps 2024-07-11 18:02:32 +02:00
ColorfulRhino
3fff477855 actions: Introduce run names for all workflows
This should make viewing the Action runs in the web UI more pleasant.
2024-07-11 18:02:32 +02:00
ColorfulRhino
f0ac613ebd actions: Add names to auto-labeler jobs 2024-07-11 18:02:32 +02:00
ColorfulRhino
a001fefc57 actions: Fix GITHUB_OUTPUT variables 2024-07-11 18:02:32 +02:00
JohnTheCoolingFan
8162899d3d Add MKNOD capability to docker container (#6927)
* Added MKNOD capability to docker container
* Added comment explaining why MKNOD capability is needed
2024-07-11 16:09:43 +03:00
Viacheslav Bocharov
b739dfdf6b Fix armbian-firstrun service not disabled on start.
Fixes: 7b33243c27

Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-07-11 11:53:15 +03:00
ColorfulRhino
f25fc42e1e wifi: rtl8852bs: Add some comments 2024-07-11 09:55:16 +08:00
amazingfate
9381edb69d wifi: rtl8852bs: fix build for rockchip 2024-07-11 09:55:16 +08:00
Ricardo Pardini
f5a9fc2d92 nanopi-r5s: u-boot: pci enum in preboot; disable armbian-led-state
- pci enum in preboot; required for working m.2 when booting some older kernels
- this board has an overlay (DEFAULT_OVERLAYS="nanopi-r5s-leds") to drive the LEDs, disable armbian-led-state service
2024-07-10 12:46:54 +02:00
ColorfulRhino
de030c7e32 mt7623: Enable various Mediatek-related kernel config options
This enabled more Mediatek drivers for potential better support for the mt7623 SoC.
2024-07-09 18:04:21 +03:00
ColorfulRhino
28233a01c9 mt7623: Bump U-Boot to 2024.07
- Move uboot patch dir to v2024.07 since the `legacy` folder is only for vendor or very old uboots.
2024-07-09 18:04:21 +03:00
ColorfulRhino
c109943205 mt7623: current: Rewrite kernel config 2024-07-09 18:04:21 +03:00
ColorfulRhino
0e0656125d mt7623: Bump legacy 4.19 to current 6.6 kernel
NB: This family only has one board (BananaPi R2) and has not been properly maintained in many years, so 'current' LTS kernel is enough.
No need for 'edge' kernel unless someone plans to step in as maintainer who bumps and tests it on every new kernel release.

- Adjust BananaPi R2 board config (board is mainlined)
- Remove legacy kernel patch folder and kernel config
- Remove unstable WiFi stuff
2024-07-09 18:04:21 +03:00
Lemon
41aa99e657 To modify the PWM-fan temperature control policy of fine3399 to adjust the fan speed to a lower level (#6843)
* To modify the PWM-fan temperature control policy of fine3399 to adjust the fan speed to a lower level
* Integrating support for xiaobaonas boards into the rockchip64-6.9 kernel
2024-07-09 11:33:35 +02:00
The-going
7a054c6286 sunxi-6.1: Add missing GPU trip point 2024-07-09 11:32:22 +02:00
The-going
11d11cf747 sunxi-6.1: Turn on poorly designed patches again.
Poorly designed patches result in the maintainer
having to do extra work.
2024-07-09 11:32:22 +02:00
The-going
75317a0778 sunxi-6.1: Revert: handle entropy from atomic process context
Revert 07b37f227c8daa27e68f57b1c691fab34a06731e commit
For the sunxi (armhf) architecture, this commit results in
an inability to load the kernel. It's actually a crutch
that can break everything tomorrow.
Therefore, freeze the kernel version for better times.
2024-07-09 11:32:22 +02:00
The-going
2d7cbfa7c1 sunxi-6.1: switch to tag:v6.1.97, re-extracting the corrected ones
Fix: dtb dtbo install, wrong select media sensors

Disable incorrectly designed patches.
They need to be aligned with the kernel code.
2024-07-09 11:32:22 +02:00
ColorfulRhino
d638276fcc partitioning: Reduce commit mount option for btrfs and ext4 to 120
Mount option `commit=600` (=10 minutes) seems pretty high.
Reduce it to 120 for ext4 (default for ext4 is `commit=5`)
and 120 for btrfs (default for btrfs is `commit=30`) to reduce
risk of losing data on power loss.

Sources:
- https://www.kernel.org/doc/html/latest/admin-guide/ext4.html
- https://wiki.archlinux.org/title/Btrfs#Commit_interval
- https://btrfs.readthedocs.io/en/latest/Administration.html
2024-07-09 11:31:51 +02:00
dependabot[bot]
718aa52b17 build(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65462800fd...0b2256b8c0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 06:19:56 +02:00
Igor Pecovnik
1f18f0ca28 Trixie: remove / replace missing packages 2024-07-09 06:19:27 +02:00
Ricardo Pardini
37279605ac mekotronics: u-boot: join rockchip-rk3588's default u-boot-radxa-rk35xx scheme
- rebased 2 patches
- moved null patches for dts & defconfigs to `dt` / `defconfig` dirs
- rename defconfigs since we're at it; use board-specific only
- defconfigs re-saved
2024-07-09 06:18:00 +02:00
ColorfulRhino
c84703d3b4 nanopi-r6s: Use mainline U-Boot
The same configuration has been working fine for the similar NanoPi R6C for a while. Users have reported issues with the vendor U-Boot not able to boot.

Ref: https://forum.armbian.com/topic/42105-report-bug-in-nanopi-r6s/
2024-07-08 18:02:22 +02:00
Ricardo Pardini
0347745a34 mixtile-blade3: u-boot: join rockchip-rk3588's default u-boot-radxa-rk35xx scheme
- rebased 3 patches
- moved null patches for dts & defconfigs to `dt` / `defconfig` dirs
- don't rename defconfigs: those are shared with Joshua Riek (ubuntu-rockchip)
- defconfigs re-saved
2024-07-08 17:01:17 +02:00
Ricardo Pardini
8f6cd263d6 thinkpad-x13s: bump to jhovold's wip/sc8280xp-6.10-rc6; add fprintd back to Trixie; fixes
- adapt according to most recent instructions from jhovold:
  - https://github.com/jhovold/linux/wiki/X13s
  - 993ae484d1
2024-07-08 17:01:01 +02:00
ColorfulRhino
39fdf21b98 Beautify shellfmt and add board configs to formatting list (#6910)
* tools: shellfmt: Beautify and add board configs to formatting list
* Format the whole code using `lib/tools/shellfmt.sh`
---------
Co-authored-by: Igor <igor@armbian.com>
2024-07-08 17:00:38 +02:00
Ricardo Pardini
9e5b8592c9 multiple boards: bump u-boot from v2024.07-rcX to v2024.07 final
- after this, all patches were rewritten, but zero changes. success!
2024-07-08 16:55:47 +02:00
Ricardo Pardini
bb8ff7b607 jethubj200: rewrite u-boot patches against v2024.07 final 2024-07-08 16:55:47 +02:00
Ricardo Pardini
f60b3bbfe2 rk3318-box: rewrite u-boot patches against v2024.07-rc5 2024-07-08 16:55:47 +02:00
Ricardo Pardini
07084b64b7 rk322x-box: rewrite u-boot patches against v2024.07-rc5 2024-07-08 16:55:47 +02:00
ColorfulRhino
d399fb9b7f config: distros: Add armhf to Debian Trixie 2024-07-08 16:54:36 +02:00
ColorfulRhino
61fe4bcdda config: distros: Make architecture listing consistent 2024-07-08 16:54:36 +02:00
ColorfulRhino
8056532684 cli: main-config: Move NETWORKING_STACK config after family config
This allows family configs to change the networking stack.
2024-07-08 16:54:36 +02:00
Paolo Sabatino
02e0c14a8a remove rk3288 unused boot binary blob 2024-07-08 13:02:15 +02:00
Paolo Sabatino
89c1411a65 overwrite UBOOT_TARGET_MAP in board conf 2024-07-08 13:02:15 +02:00
Paolo Sabatino
b5c500481d rebase patches with rewrite-uboot-patches 2024-07-08 13:02:15 +02:00
ColorfulRhino
5bb665f965 cli: uboot: Remove HOME workaround for old tinkerboard/xt-q8l-v10 U-Boot
This temporary workaround was only needed for tinkerboard and xt-q8l-v10 version 2022.04 U-Boot. The version has since bumped to 2024.07 and builds fine without this.
2024-07-08 13:02:15 +02:00
Paolo Sabatino
87b90295ea bump rk3288 tinkerboard to uboot v2024.07
* also bump:
 * rk3288 xt-q8l-v10 target
 * rk322x-box target (was already v2024.07-rc5)
 * rk3318-box target (was already v2024.07-rc5)
2024-07-08 13:02:15 +02:00
Ricardo Pardini
ab1e97c069 odroidm1: don't copy paste without changing the function name
Co-authored-by: ColorfulRhino <131405023+ColorfulRhino@users.noreply.github.com>
2024-07-07 17:46:47 +02:00
Ricardo Pardini
268c2e8596 odroidm1: bump to u-boot v2024.07; replace defconfig patches with hook
- bump "armbian" env to reset env in SPI on first run
2024-07-07 17:46:47 +02:00
Ricardo Pardini
4232661c37 u-boot: embed armbian artifact version in CONFIG_LOCALVERSION
- we're hacking at it anyway, so why not use it to uniquely identify the exact build
2024-07-07 13:06:56 +02:00
Igor Pecovnik
3f5d086108 Bananapi M5: Bump u-boot to v2024.07 final 2024-07-07 08:11:47 +02:00
amazingfate
4919e52fea add new board radxa-e52c 2024-07-07 00:51:49 +08:00
Igor Pecovnik
1f5827612e Allwinner: set legacy 6.1.y to last known build tag 2024-07-05 18:59:18 +02:00
Patrick Yavitz
952e680d00 RTW88: 6.6: upstream wireless: fixups
wifi: rtw88: coex: Prevent doing I/O during Wi-Fi power saving
https://patchwork.kernel.org/project/linux-wireless/patch/20240320075047.31810-1-pkshih@realtek.com/

wifi: rtw88: station mode only for SDIO chips
https://patchwork.kernel.org/project/linux-wireless/patch/20240327004155.7172-1-pkshih@realtek.com/

 wifi: rtw88: Set default CQM config if not present
https://lore.kernel.org/all/20240401033019.9664-1-pkshih@realtek.com/

wifi: rtw88: usb: Simplify rtw_usb_write_data
https://patchwork.kernel.org/project/linux-wireless/patch/2479507e-3946-492f-857e-83e54969aad2@gmail.com/#25836118

wifi: rtw88: usb: Fix disconnection after beacon loss
https://patchwork.kernel.org/project/linux-wireless/patch/ecbf0601-810d-4609-b8fc-8b0e38d2948d@gmail.com/

wifi: rtw88: usb: Further limit the TX aggregation
https://patchwork.kernel.org/project/linux-wireless/patch/cb46ea35-7e59-4742-9c1f-01ceeaad36fb@gmail.com/

wifi: rtw88: schedule rx work after everything is set up
https://lore.kernel.org/lkml/96a46df7c4c49b2b033bc7cd8d5cad3306db8ca6.camel@realtek.com/T/

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-07-05 12:36:45 -04:00
Igor Pecovnik
f696f6d182 Adjust Rockpi S patch to align with upstream changes 2024-07-05 14:25:51 +02:00
Viacheslav Bocharov
c27c55b0bc Fix trap-logging to CI ant not GITHUB_ACTIONS
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-07-04 21:35:26 +02:00
Viacheslav Bocharov
d73c4cefab Fix check CI && GITHUB_ACTIONS for GITHUB_OUTPUT to only GITHUB_ACTIONS
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-07-04 21:35:26 +02:00
Viacheslav Bocharov
7875fce1e9 Allow to pass docker login credentials to oras-cli for and CI environment
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-07-04 21:35:26 +02:00
Igor Pecovnik
a2f9e1f1e5 Add a big warning and additional check when wiping target destination 2024-07-04 21:35:12 +02:00
Igor Pecovnik
26867787e5 Armbian-install: add option to wipe target destination 2024-07-04 21:35:12 +02:00
ColorfulRhino
823c03ca26 rockpi-s: Remove legacy kernel 4.4 support
The legacy U-Boot can't be built anymore and 4.4 is EOL.
2024-07-04 21:34:56 +02:00
ColorfulRhino
0bc5d27701 rk35xx: Remove legacy kernel target from board configs (#6881)
Deprecate `legacy`, but only remove from board configs for now.
Print a warning, the whole branch is slated for removal.
2024-07-04 21:34:41 +02:00
Muhammed Efe Cetin
ee62433116 Move OPi5 Plus uboot to Radxa git tree 2024-07-04 21:29:44 +02:00
Muhammed Efe Cetin
35f6fd3238 Move OPi5/5B uboot to Radxa git tree 2024-07-04 21:29:44 +02:00
Ricardo Pardini
fbc60310c6 mekotronics: rk3588: u-boot: borrow patch to fix build on newer gcc 2024-07-04 19:44:55 +02:00
Ricardo Pardini
8ed90ed0e4 mekotronics: rk3588: u-boot: rewrite u-boot patches, no changes
- rewritten against 609a77ef6e99c56aacd4b8d8f9c3056378f9c761 - a specific commit in radxa's next-dev
2024-07-04 19:44:55 +02:00
Ricardo Pardini
7dfb7ede39 mixtile-blade3: remove leftover comment 2024-07-04 19:44:19 +02:00
Ricardo Pardini
fe87175593 mixtile-blade3: use default blobs 2024-07-04 19:44:19 +02:00
Ricardo Pardini
9523967449 mixtile-blade3: rk3588: u-boot: bump to next-dev-v2024.03
- drop 0004-cmd-source-fix-the-error-that-the-command-source-failed-to-execute.patch
- rebase the others
2024-07-04 19:44:19 +02:00
Ricardo Pardini
5048eda353 mixtile-blade3: rk3588: u-boot: rewrite u-boot patches, no changes
- rewritten against ddc91cd08c10f625f7a7c93033042aa4071c78a8 - a specific commit in radxa's next-dev
2024-07-04 19:44:19 +02:00
Igor Pecovnik
ff4e85ec98 Test automation - update testing targets 2024-07-04 10:32:09 +02:00
Igor Pecovnik
f4555df0ba Revert "git: git_ensure_safe_directory(): use env vars instead of changing config"
This reverts commit 11245601d0.
2024-07-03 17:31:05 +02:00
Muhammed Efe Cetin
abe132c233 fix uboot compilation issues on Orange Pi 5/5 Plus 2024-07-03 14:02:42 +02:00
ColorfulRhino
63ad4d935e cli: Improve patching logs for U-Boot and kernel 2024-07-03 14:02:29 +02:00
ColorfulRhino
f83e949c88 rk3528: Use default U-Boot for all rk3528 boards
They all use "hinlink_rk3528_defconfig", but an outdated vendor U-Boot.
Use the default Radxa U-Boot from the rk35xx family.
2024-07-03 14:02:29 +02:00
ColorfulRhino
3b0b5118f6 Lubancat2: Fix U-Boot source and patch dir 2024-07-03 14:02:29 +02:00
Viacheslav Bocharov
654d208053 JetHome: Update JetHub family
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-07-03 11:26:07 +02:00
Igor Pecovnik
b63446e2fb Spacemit: use same kernel config as on known to work image and rename to WIP 2024-07-03 09:27:39 +02:00
Ricardo Pardini
11245601d0 git: git_ensure_safe_directory(): use env vars instead of changing config 2024-07-03 06:49:56 +02:00
ColorfulRhino
ccf17a20e8 Purge s5p6818 board family
The family consists of 4 boards, but hasn't seen any activity in years,
is unmaintained, stuck on EOL Linux 4.14 and the bootloader does
not build.
2024-07-03 06:49:46 +02:00
Ricardo Pardini
d9b67b37d5 u-boot: use pipetty in place of unbuffer
- unbuffer never solved anything; pipetty might
2024-07-03 06:44:16 +02:00
33335
4573778507 fix: firefly-itx-3588j fails to boot, and audio output 2024-07-03 06:43:42 +02:00
Paolo
7876017d0b Bump rk322x-box and rk3318-box to u-boot v2024.07-rc5 (#6855)
* bump rk322x-box and rk3318-box to u-boot v2024.07-rc5

 * leverage uboot relocation for rk3328
 * rework hdmi/vop patches
 * fix some usb issues on rk3318-box

* cleanup rk322x-box and rk3318-box old uboot patches
2024-07-02 23:31:50 +00:00
ColorfulRhino
8003d1b770 rk3588: Integrate BOOTPATCHDIR with rk35xx
They both use the same U-Boot version now.
2024-07-02 23:08:41 +02:00
ColorfulRhino
91a15ba66c rk3588: Disable extra U-Boot CFLAGS
They are not needed anymore since the errors they fixed were fixed upstream in Radxa's uboot source
2024-07-02 23:08:41 +02:00
ColorfulRhino
b358dc7060 rk35xx: Bump Radxa vendor U-Boot to branch:next-dev-v2024.03
Same version as RK3588, can use the same patch dir.
Fixes not being able to build on Ubuntu Noble (GCC13)
2024-07-02 23:08:41 +02:00
ColorfulRhino
7da8ffb20b uboot: Use semantic versioning for 2022.04 and 2022.07
Setuptools >66 only allows for semantic versioning, but old U-Boot
versions don't use semver yet.
This makes compilation fail with an error.
2024-07-02 23:08:41 +02:00
ColorfulRhino
e29b960649 cli: kernel-patching: Print KERNELBRANCH and KERNELPATCHDIR before patching 2024-07-02 23:08:41 +02:00
ColorfulRhino
3831a72e97 cli: uboot-patching: Print BOOTBRANCH and BOOTPATCHDIR before patching 2024-07-02 23:08:41 +02:00
Ricardo Pardini
c5697cf62a bsp-cli/bsp-desktop: hashing fixes
- both artifacts use functions in the bsp/utils-bsp.sh file, which wasn't being hashed
- bsp-cli hashed non-existent 'packages/bsp-cli' directory, remove
- bsp-cli: be verbose when rsync'ing `packages/bsp/common`
- force sync in a few strategic spots
- utils-bsp.sh: be verbose when copying files (incl `config/optional` stuff)
2024-07-02 23:06:42 +02:00
Elias Bakken
d27b98d78b Add recore dts patch to series.conf so it gets applied
Signed-off-by: Elias Bakken <elias@iagent.no>
2024-07-02 23:05:33 +02:00
Muhammed Efe Cetin
5af481865b Fix Khadas Edge 2 uboot build 2024-07-02 23:05:13 +02:00
Igor Pecovnik
0719c990d0 Test automation - adjust kernel test targets. 2024-07-02 12:33:33 +02:00
Ricardo Pardini
a02a6ca680 rootfs: add comment to force rootfs rebuild (#6864) 2024-07-02 12:14:22 +02:00
Igor Pecovnik
44bfe5cc2f Fixing syntax at Recore and add missing board level variables
There was a syntax error when making build targets.
2024-07-02 11:51:31 +02:00
Elias Bakken
4b9d96c11b Add support for Recore A5 to A8 (#6859)
Signed-off-by: Elias Bakken <elias@iagent.no>
2024-07-02 10:49:29 +02:00
Ricardo Pardini
f5c0ec95b9 nanopi-r5s: u-boot: 2024.04: usb otg in u-boot for working UMS/RockUSB 2024-07-02 10:01:31 +02:00
Ricardo Pardini
ce2ba198aa nanopi-r5s: u-boot: 2024.04: boot order: usb -> sd -> nvme -> scsi -> emmc 2024-07-02 10:01:31 +02:00
Ricardo Pardini
8a01bcea6c nanopi-r5s: make u-boot fancy (ums, rockusb, leds, tcp networking stuff)
- use preboot to flash all leds for 100ms, then leave power LED on
2024-07-02 10:01:31 +02:00
dependabot[bot]
d6fd641723 build(deps): bump setuptools from 70.1.1 to 70.2.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 70.1.1 to 70.2.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v70.1.1...v70.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-02 10:01:09 +02:00
Alessandro Lannocca
befac02d7b extend network inactivity timeout to 100 seconds 2024-07-02 10:00:57 +02:00
Alessandro Lannocca
9fe029567f extensions/fs-cryptroot-support.sh:
add 10 seconds network inactivity timeout to dropbear ssh while waiting for cryptroot-unlock password
2024-07-02 10:00:57 +02:00
Alessandro Lannocca
970048441a extensions/fs-cryptroot-support.sh: fix #6857
rework quoting for sed expression manipulating DROPBEAR_OPTIONS in dropbear.conf
2024-07-02 10:00:57 +02:00
Werner
30992cfaaf Bump sunxi-current and sunxi64 to latest tag (#6861)
* Update series.conf
* Delete patch/kernel/archive/sunxi-6.6/patches.megous/tty-serial-8250-dw-Use-fifo-size-from-DTS.patch
* Bump current
* sunxi64: rewrite kernel config
* Bump sunxi-current to latest tag

---------

Co-authored-by: Igor Pecovnik <igor@armbian.com>
2024-07-02 10:00:35 +02:00
Ricardo Pardini
ffe83ab5e8 aml-s9xx-box: move files included in bsp-cli from packages/bsp/aml-s9xx-box to config/optional/boards/aml-s9xx-box/_packages/bsp-cli; fixes #6817
- with this:
  - those files are automatically hashed by the bsp-cli hashing mechanism
  - no need to copy them manually any more
2024-07-01 19:15:54 +02:00
Ricardo Pardini
a0bf4c1a5a aml-s9xx-box: inline bsp-cli preinst function so it's hashed together with the hook; half fixes #6817
- this is technically cheating, but works
- add TODO's ref the manual include'ing of files that are not hashed in the bsp-cli
2024-07-01 19:15:54 +02:00
Aleksey Vasenev
d5df9f06be Fix btrfs and xfs resize 2024-07-01 19:15:27 +02:00
ColorfulRhino
c090ab8d67 SpacemiT: Reqrite kernel configs for legacy and current 2024-07-01 19:15:00 +02:00
ColorfulRhino
6895ea403f SpacemiT: legacy: Rewrite kernel patches 2024-07-01 19:15:00 +02:00
ColorfulRhino
91b514d982 SpacemiT: current: Rewrite kernel patches 2024-07-01 19:15:00 +02:00
ColorfulRhino
71e2ff0727 SpacemiT: Adapt U-Boot patches and rewrite U-Boot patches
Adapt patches to Bianbu Linux U-Boot v1.0.5, then rewrite them.
Also move boot delay to board config like other boards, instead of patched-in.
2024-07-01 19:15:00 +02:00
ColorfulRhino
308eba5d31 cli: dt_makefile_patcher: Allow numbers in configopt regex
This fixes detection of the config option for SpacemiT K1 which is `CONFIG_SOC_SPACEMIT_K1X`.
Otherwise it would not find it because it includes a '1'.
2024-07-01 19:15:00 +02:00
Patrick Yavitz
e8db1ce6d1 SpacemiT: Add proper bluetooth support for RTL8852BS
For both `legacy` and `current` kernel.

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
ColorfulRhino
b572f30472 wifi: Add new SDIO driver rtl8852bs for BananaPi F3
Also add for Armsom Sige5 since it has the same chip built-in.
2024-07-01 19:15:00 +02:00
Patrick Yavitz
432435faa8 BananaPi F3: Add boot firmware blob esos.elf
This gets compiled into the kernel and embedded in the initramfs.
It will also be available on the finished img at /lib/firmware.

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Patrick Yavitz
278269e744 BananaPi F3: Add U-Boot patches
Branch: v2022.10
Source: https://gitee.com/bianbu-linux/uboot-2022.10
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Patrick Yavitz
d66c4d9fce boards: Add board BananaPi F3
RISC-V SpacemiT K1 SoC

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
ColorfulRhino
c91039bc28 SpacemiT: Add SpacemiT Keystone K1 SoC dts files
They will be applied on-the-fly by the dt auto-patcher.
2024-07-01 19:15:00 +02:00
ColorfulRhino
e7e9f5d6cf SpacemiT: current: Add kernel dt auto-patcher 2024-07-01 19:15:00 +02:00
ColorfulRhino
da8ba3961d SpacemiT: legacy: Add kernel dt auto-patcher 2024-07-01 19:15:00 +02:00
Patrick Yavitz
c25ed85fe9 SpacemiT: legacy: Add hwmon support and fix sigaltstack 2024-07-01 19:15:00 +02:00
Patrick Yavitz
e81998fa81 cli: uboot.sh: Copy over itb from atftempdir
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Patrick Yavitz
3440691a51 SpacemiT: Add ATF patches (OpenSBI)
Tag: 1.3
Source: https://gitee.com/bianbu-linux/opensbi
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Patrick Yavitz
93d547d52d SpacemiT: Add current kernel patches
Mainline Linux 6.1.y
https://gitee.com/bianbu-linux

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Patrick Yavitz
f8bc304ee8 SpacemiT: Add current kernel config
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Patrick Yavitz
ca13a228fc SpacemiT: Add current kernel to family config
- Skip all wireless drivers

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Patrick Yavitz
8885d2da79 SpacemiT: Add legacy kernel config
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Patrick Yavitz
70d3c47c3d config: Add new board family config spacemit
SpacemiT K1 SoC used for BananPi F3

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Igor Pecovnik
1bf2aba67b Remove OrangepiZero2 outdated legacy kernel v4.9 2024-07-01 19:14:17 +02:00
Igor Pecovnik
2b494ae46f Add support for multiple wireless devies at firstlogin 2024-06-30 21:23:27 +02:00
Igor Pecovnik
c0c3102be9 Bugifx: addressing two problems at firstlogin script
- removing network manager dependancy
- errors when wireless networking is still not detected
2024-06-30 21:23:27 +02:00
Paolo Sabatino
5a39275285 rockchip: fix rk322x-box uboot boot order 2024-06-30 21:23:16 +02:00
Ricardo Pardini
21a6b2cab3 u-boot: add HOME env for make invocations to avoid binman/Python problems with older u-boot versions
- this avoids trouble building certain older versions with binman
  - as it tries to `os.path.join(os.getenv('HOME'), 'bin')` and gets a `None` and dies
- naming names: `tinkerboard` & `xt-q8l-v10` (BOARDFAMILY=rockchip), which _actually use_ binman & 22.04 combo
2024-06-30 21:23:04 +02:00
Ricardo Pardini
ea70ebe425 xt-q8l-v10: rewrite u-boot patches, no changes 2024-06-30 21:23:04 +02:00
Ricardo Pardini
55ee51e0b6 tinkerboard: rewrite u-boot patches, no changes 2024-06-30 21:23:04 +02:00
Werner
ec8c470da3 radxa-zero3: add edge branch (6.9.y) by picking DT from linux-rockchip#for-next & using Kwiboo's 24.07 u-boot
- u-boot:
   - unset `BOOT_FDT_FILE` for edge branch; that lets Armbian bootscript use the fdtfile auto-detected and set by u-boot
   - unset `BOOTFS_TYPE`, since mainline u-boot can boot ext4 directly
- kernel DTs from https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/tree/arch/arm64/boot/dts/rockchip?h=84a3d3b435e7c109d2141c5bbb9eaab146c94df0

Co-authored-by: Jonas Karlman <jonas@kwiboo.se>
Co-authored-by: Ricardo Pardini <ricardo@pardini.net> (null-patch to bare-dt)
2024-06-30 15:26:29 +02:00
ColorfulRhino
d78a5ad27e meson64: Remove leftover kernel patch folder for 5.10
As per `config/sources/families/include/meson64_common.inc`, the meson64 family is only using kernels 6.1, 6.6 and 6.9.
The kernel patch folder for 5.10 was forgotten to delete when the kernel was bumped.
2024-06-30 14:27:51 +02:00
ColorfulRhino
d068f6f0d9 rockchip64: Remove leftover kernel patch folder for 6.1
As per `config/sources/families/include/rockchip64_common.inc`, the rockchip64 family is only using kernels 6.6 and 6.9.
The kernel patch folder for 6.1 was forgotten to delete when the kernel was bumped.
2024-06-30 14:27:51 +02:00
ColorfulRhino
78b311c3aa rockchip32: Remove leftover kernel patch folders from old kernels
As per `config/sources/families/rockchip.conf`, the rockchip family is only using kernels 6.6 and 6.9.
The following kernel patch folders from old kernels are not used anymore:

- 4.4
- 5.10
- 5.15
- 6.1
2024-06-30 14:27:51 +02:00
ColorfulRhino
35f19090f9 bsp: armbian-firstrun: Remove old htop
They don't work on current versions of `htop`.
2024-06-30 12:27:41 +00:00
ColorfulRhino
1a3ca2735b cli: Remove hostapd reference
The extra package `hostapd` is not used/installed anymore.
2024-06-30 12:27:41 +00:00
ColorfulRhino
58a1113c38 packages: Remove all extras-buildpkgs since they're not used anymore
These extras are leftovers of a legacy from the past.
See https://github.com/armbian/build/issues/6820#issuecomment-2198054353
2024-06-30 12:27:41 +00:00
Ricardo Pardini
a0db55a70e odroidm1: u-boot: rewrite patches, no changes 2024-06-30 13:58:16 +02:00
Ricardo Pardini
1902f9bdcc orangepi3b: remove custom blobs, use defaults 2024-06-30 13:58:16 +02:00
Ricardo Pardini
3215bf9f36 odroidm1: remove custom blobs, use defaults; bump u-boot 2024.04-rc3 to 2024.04 final 2024-06-30 13:58:16 +02:00
Ricardo Pardini
1c712d2516 patch/u-boot/v2024.04: rewrite patches, no changes 2024-06-30 13:58:16 +02:00
ColorfulRhino
c21b416c6e bsp: hardware-optimization: Add check for BOOT_SOC to fix rk322x optimizations
BOARDFAMILY `rk322x` was integrated into the `rockchip` BOARDFAMILY in https://github.com/armbian/build/pull/6092
This integration made the hardware optimization for rk322x not apply anymore.

Also remove a rk322x optimization for an old 4.4 kernel
2024-06-30 10:20:26 +00:00
ColorfulRhino
4738bb4bce rockchip: Remove trace of legacy kernel in family config
The `legacy` kernel does not exist anymore.
2024-06-30 10:20:26 +00:00
ColorfulRhino
0024d662aa rk322x: Remove unused rk322x kernel patch folders
The rk322x board family was intergated into the rockchip family in theis PR: https://github.com/armbian/build/pull/6092

The kernel patch folder are not in use anymore.
2024-06-30 10:20:26 +00:00
ColorfulRhino
0441d2ee1f Remove old torrents which aren't referenced anywhere
- Also remove 10+ years old compilers from `external_toolchains.sh`
2024-06-30 10:12:04 +00:00
ColorfulRhino
227c756abe firefly-itx: Don't use abandoned media U-Boot
The board config file was likely copy-pasted from a former `media` board and thus includes some stuff that is not needed, like the abandoned U-Boot repo which is basically an old fork from Raxda's vendor U-Boot.

- Switch to default rk3588 vendor U-Boot (using a generic rk3588 defconfig)
- Cleanup board config file
2024-06-30 09:29:58 +02:00
ColorfulRhino
744eca2484 Remove unused board family media
All remaining `media` boards have been integrated into the `rockchip64` family.

- Remove the family config
- Remove all kernel patch folders
- Remove all U-Boot patch folders
- Remove all kernel configs
2024-06-30 09:29:58 +02:00
ColorfulRhino
fc279e8e97 quartz64: Integrate into rockchip64 board family
The `media` board family is being deprecated.
2024-06-30 09:29:58 +02:00
ColorfulRhino
eb60d33aba station-p1: Integrate into rockchip64 board family
The `media` board family is being deprecated.
2024-06-30 09:29:58 +02:00
ColorfulRhino
a649f031cb station-m1: Integrate into rockchip64 board family
The `media` board family is being deprecated.
2024-06-30 09:29:58 +02:00
ColorfulRhino
792d9d9dc3 cli: uboot: Include PYTHONPATH in env for compiling U-Boot
- Also group all u-boot make environment variables together for easier maintainability
- Fixes u-boot requiring `pyelftools`
- Fixes commit 04f619dc06
2024-06-30 09:22:17 +02:00
Ricardo Pardini
d29305a05b armbianmonitor -u: rationalize paste server retrying, use ANSI dmesg
- use PIPESTATUS to check all steps for failure
- avoid blaming paste server if data collection failed
2024-06-30 09:07:50 +02:00
Ricardo Pardini
e67b52e00c armbianmonitor: squash shellcheck warnings around the main getopts case statement
- `b` and `B` were never parsed
- an `*` case is added to handle invalid options
2024-06-30 09:07:50 +02:00
Ricardo Pardini
5cdc55292d armbianmonitor: shellfmt, no changes 2024-06-30 09:07:50 +02:00
ColorfulRhino
ab24a00a66 rockchip64: Add ROCKUSB_BLOB for RK3566, RK3568 and update for RK3399
Also move the ROCK_USB variable for RK3588 from rk3588.conf to rockchip64.conf to achieve consistency.
Remove the now obsolete variable for OrangePi 3B
2024-06-30 09:06:39 +02:00
ColorfulRhino
5486af2401 rk3588: Bump ROCK_USB_BLOB to rk3588_spl_loader_v1.16.113.bin 2024-06-30 09:06:39 +02:00
ColorfulRhino
60f5236f03 board: nanopi-r5: Use stable U-Boot 2024.04 instead of rc3
NanoPi R5C and R5S
2024-06-30 09:06:39 +02:00
ColorfulRhino
561f085962 board: nanopi-r5: Use latest blobs on NanoPi R5C and R5S
The release doc does not mention any incompatibilities between versions:
https://github.com/armbian/rkbin/blob/master/patch-notes/RK3568_EN.md
2024-06-30 09:06:39 +02:00
ColorfulRhino
7fcc68e4e7 rockchip64: Sort BOOT_SOC list 2024-06-30 09:06:39 +02:00
ColorfulRhino
6a03945a76 rockchip64: rk3528: Bump default DDR/BL31 blobs for RK3528
This fixes several issues as described in the changelog doc at
https://github.com/armbian/rkbin/blob/master/patch-notes/RK3528_EN.md

The doc does not mention any incompatibilities between versions.
2024-06-30 09:06:39 +02:00
ColorfulRhino
a87bb0addc rockchip64: rk3568: Bump default DDR/BL31 blobs for RK3566 and RK3568
This fixes several issues as described in the changelog doc at
https://github.com/armbian/rkbin/blob/master/patch-notes/RK3568_EN.md

The doc does not mention any incompatibilities between versions.
2024-06-30 09:06:39 +02:00
Andy Yan
1e68000826 extensions/radxa-aic8800: fix aic8800_dkms_file_name for sdio
The aic8800_dkms_file_name for sdio should be aic8800-sdio-dkms.

Signed-off-by: Andy Yan <andyshrk@163.com>
2024-06-29 17:18:44 +02:00
Werner
515fdd73a5 Add Matrix to README (#6826)
because we can
2024-06-29 14:44:39 +02:00
Igor Pecovnik
560993ac7a Odroid XU4: remove deprecated patch 2024-06-29 08:37:38 +02:00
Julian Sikorski
8ca4068c96 Update odroidxu4-current to 6.6.36 2024-06-28 08:39:37 +02:00
Patrick Yavitz
f9a13dcd11 BPI-CM4: bluetooth: fw version 0xb5d66dcb
rtl_bt: Update RTL8822C BT UART firmware to 0xB5D6_6DCB

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-06-28 08:17:12 +02:00
Gunjan Gupta
cea2fc5b46 Lets not spam users with error message on fresh checkout 2024-06-27 23:14:15 +02:00
Alex
7b42317c2c Remove haveged from all distribution (#6781)
Starting from Linux kernel v5.4, the HAVEGED inspired algorithm has been included in the Linux kernel, see the [LKML article](https://lore.kernel.org/lkml/alpine.DEB.2.21.1909290010500.2636@nanos.tec.linutronix.de/T/) and the Linux Kernel [commit](50ee7529ec).
Additionally, since v5.6, as soon as the CRNG (the Linux cryptographic-strength random number generator) gets ready, /dev/random does not block on reads anymore: see this [commit](30c08efec8).

SOURCE: [jirka-h/haveged](https://github.com/jirka-h/haveged/blob/master/README.md)
2024-06-27 23:13:55 +02:00
hzy
eb152f4473 meson: Move board-specific config (Odroid C1) away from family config
Includes change from 7488222b2a
2024-06-27 23:13:31 +02:00
ColorfulRhino
cb7401babf actions: labeler: Fix label colors by removing # prefix 2024-06-27 23:13:20 +02:00
Ricardo Pardini
d1f9ec215a kde-neon: use Neon's "user" repo for Jammy & return it to csc status
- for `noble`: keep on Neon's "testing" repo which now has a "noble" dist (instead of Jammy) - but keep it `eos` as it really doesn't build yet. See https://blog.neon.kde.org/2024/05/09/kde-neon-rebasing-on-ubuntu-noble/ - might take a while still
2024-06-27 23:13:09 +02:00
chainsx
f22f165015 station-m2: update u-boot patches 2024-06-27 23:12:45 +02:00
ColorfulRhino
abf45aff9f github: Add issue reference to pull request template
Make it easier for people to link to relevant tasks or bugs for a PR.
2024-06-27 23:12:33 +02:00
ColorfulRhino
2eb61eeaca github: Add "Task" issue template for project management 2024-06-27 23:12:33 +02:00
ColorfulRhino
a20eb260cb github: Improve bug and feature request templates
- Add feature request label
- Automatically assign the correct label
- Slight label and wording improvements
2024-06-27 23:12:33 +02:00
ColorfulRhino
1e0e72d58f github: Rename issue templates for ordering
See https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#changing-the-order-of-templates
2024-06-27 23:12:33 +02:00
Barry Lind (SteeManMI)
87f37f6a3d aml-s9xx-box: Remove u-boot and update generated extlinux.conf
Changes to be committed:
	modified:   config/boards/aml-s9xx-box.tvb
	modified:   packages/bsp/aml-s9xx-box/boot/extlinux/extlinux.conf.template

The aml-s9xx-box builds use the native TV Box u-boot.  I've had as a
todo item to figure out how to not build and include an unused u-boot.
In a recent PR for a different board the opposite was being done
(adding a u-boot where a board didn't previously ship one), thus
I then had the info to remove it here.
This also changes the generated extlinux.conf to include a fdt line
by adding the boot_fdt_file to the board config file.  This reduces
the effort needed to manually modify the extlinux.conf.
2024-06-27 16:05:14 -04:00
Ricardo Pardini
1ff783d867 fix: partitioning: disable orphan_file (FEATURE_C12) for ext4 filesystems on 1.47+ e2fsprogs host
- otherwise:
  ```
  fsck.ext4 -a -C0 /dev/mmcblk0p1
  /dev/mmcblk0p1 has unsupported feature(s): FEATURE_C12
  e2fsck: Get a newer version of e2fsck!
  ```
- `orphan_file` can only be disabled on recent-enough e2fsprogs, thus check version and compare
2024-06-27 14:25:20 +02:00
Ricardo Pardini
b52b08ffdf rk3588: bump default blobs (DDR:1.16, BL31:1.45); remove board-specific blobs from boards that used those versions
- in practice:
  - boards that didn't specify their own blobs: bump DDR 1.08->1.16 ; BL31 1.28 -> 1.45 (example: rock-5b!)
  - boards that specified 1.16/1.45 individually now follow the defaults (no change)
  - boards that specified a different version: no change; just a TODO suggesting review/removal/go-with-the-defaults
  - Mekotronics boards: bump from 1.11/1.38 to defaults (1.16 / 1.45)
2024-06-27 14:24:00 +02:00
ColorfulRhino
6371e92919 actions: labeler: Add new "GitHub" label for auto-labeling 2024-06-26 18:07:18 +02:00
ColorfulRhino
4c70b0ac9d actions: labeler: Add new "BSP" label for auto-labeling 2024-06-26 18:07:18 +02:00
ColorfulRhino
2daf262ce0 actions: labeler: Add new label "Documentation finished"
Description: "New feature was properly added to docs"
2024-06-26 18:07:18 +02:00
Igor Pecovnik
2a2e609e3c Odroid M1: add a network rule to rename default name 2024-06-25 21:19:36 +02:00
ColorfulRhino
2937ceb6de bootscript: Remove deprecated bootarg "swapaccount=1"
The "swapaccount=" option has been deprecated in 6.1. Disable it in almost all boot scripts except "boot-sun50iw9.cmd" since that one is used in sun50iw9 legacy kernel, which is version 4.9.

Link to kernel commit:
b25806dcd3
2024-06-25 18:11:55 +02:00
ColorfulRhino
d75b1816ff cli: Improve formatting on dts-check scripts with shellfmt.sh 2024-06-25 18:11:43 +02:00
ColorfulRhino
24816c1831 cli: prepare-host: Invert host-release checking for python2
Instead of having to add every new release to the list that does not support python2, inverse this if statement and only check if the build host is Debian bullseye or ubuntu jammy. Every release newer than those do not have python2. Older build hosts are unsupported.
2024-06-25 18:11:43 +02:00
ColorfulRhino
04f619dc06 python: Move python3-setuptools and python3-pyelftools to requirements.txt
Different build hosts have vastly different versions of setuptools and pyelftools depending on the host OS, e.g. Ubuntu 22.04 has setuptools v59 while the latest version at the time of this commit is setuptools v71.

Using Pip instead of APT to download these packages assures that all build hosts use the same version, removing some points of failures and inconsistencies.
2024-06-25 18:11:43 +02:00
ColorfulRhino
235a3b5dd8 python: Re-enable dtschema and yamllint in requirements.txt 2024-06-25 18:11:43 +02:00
ColorfulRhino
5ec9564a0b cli: commands: Ignore cache for dts-check command
This way the dts-check command works even when no changes to the kernel were made.
2024-06-25 18:11:43 +02:00
ColorfulRhino
9ff35b77b9 cli: python-tools: Add toolchain to PATH to fix building wheels 2024-06-25 18:11:43 +02:00
Igor Pecovnik
024c0866ad DTS-check: Python librarires have troubles to build, disabling for now
- Add requirements.txt to Dockerfile generation
2024-06-25 08:53:22 +02:00
Barry Lind (SteeManMI)
2ffbb3bca8 Fix aml-s9xx-box bsp-cli package upgrade
Changes to be committed:
	modified:   aml-s9xx-box.tvb

PR #6659 broke upgrades for the aml-s9xx-box package.  That PR introduced
two new files in /boot which is a fat filesystem on this box.  The
standard package upgrade fails on a fat filesystem when files already
exist. PR #6659 failed to add the files to the remove list.  This
PR does that.
2024-06-25 07:06:57 +02:00
ColorfulRhino
c3756dae68 actions: Use "all-globs" instead of "any-glob" for negated checks
If we want to check if a file is not from one of the listed folders, it needs to be check that
"NOT x AND NOT y AND NOT z" is true, instead of
"NOT x OR NOT y OR NOT z"
2024-06-25 07:06:47 +02:00
ColorfulRhino
3cca9dcaed Fix formatting in scripts by running lib/tools/shellfmt.sh version 3.8.0 2024-06-25 07:06:34 +02:00
ColorfulRhino
7f8576f378 tools: Slightly improve output for shellfmt 2024-06-25 07:06:34 +02:00
ColorfulRhino
a46481c96a tools: Update shellfmt default version to 3.8.0 2024-06-25 07:06:34 +02:00
ColorfulRhino
cade8cf4ab dependabot: Add weekly update check for Pip requirements.txt packages 2024-06-25 07:06:21 +02:00
ColorfulRhino
7aadb808e1 cli: python-tools: Use requirements.txt file for Pip dependencies
This makes dependencies easier to track and opens up the possibility for Dependabot to update them.
2024-06-25 07:06:21 +02:00
ColorfulRhino
de81f10b0d cli: Add command "dts-check"
Validates the dts/dtb file for the selected board and outputs the validation logs to the user.
This can be used when adding a new board, developing or improving a dts file. Should lead to higher quality device trees and patches overall, if used.
Will show warnings/errors if patches patch in some functionalities to a devicetree file without patching in the dt-bindings .yaml at the same time.
2024-06-25 07:06:21 +02:00
ColorfulRhino
663530dcf6 python-tools: Bump pip dependencies to their latest versions
No new major versions
2024-06-25 07:06:21 +02:00
ColorfulRhino
fc30cbe938 kernel: mainline: Bump 6.10-rc4 to 6.10-rc5 2024-06-24 17:03:05 +00:00
ColorfulRhino
dac7d138c1 Revert "distro: trixie: Add riscv64 to supported architectures"
Some packages in the Debian Trixie repo aren't available for the riscv64 architecture yet,
e.g. libgcc-s1 (see https://packages.debian.org/trixie/libgcc-s1)
2024-06-24 18:46:19 +02:00
ColorfulRhino
622170c108 distro: trixie: Add riscv64 to supported architectures 2024-06-24 17:34:45 +02:00
Igor Pecovnik
8618c4bcd5 Rockcchip RK3588: Rename overlay suffix to match reality 2024-06-24 14:54:21 +02:00
Igor Pecovnik
d317e5418e Remove random-mac workaround for rockchip64 family 2024-06-24 12:31:11 +02:00
Igor Pecovnik
7b33243c27 Use netplan mac setting only with systemd-networkd 2024-06-24 12:31:11 +02:00
chainsx
b41d055e96 phytium-embedded: add bpf_syscall support 2024-06-24 12:30:57 +02:00
Igor Pecovnik
0cb5eac44f Helios64: move to supported section 2024-06-24 12:25:28 +02:00
Ricardo Pardini
8bc4335584 networking: main-config: introduce NETWORKING_STACK to control network exts; allow "none"; fix typo
- `NETWORKING_STACK` can be set to `none` (in config phase, pre-extensions) to not-add any networking extensions
- keep defaulting to systemd-networkd if BUILD_MINIMAL and NetworkManager otherwise
- fix typo in extension name
- add `NETWORKING_STACK` to change-tracking
2024-06-24 12:24:15 +02:00
Ricardo Pardini
71d5e192c6 networking: exts: introduce sanity checks, debug info
- protect against enabling networking exts directly
- debug logging
- fix typo in ext name
2024-06-24 12:24:15 +02:00
Alessandro Lannocca
22b894536e Add orangepi5-plus UART overlays - rockchip-rk3588-6.10 2024-06-24 12:23:58 +02:00
Alessandro Lannocca
131eba487e Add orangepi5-plus UART overlays 2024-06-24 12:23:58 +02:00
ColorfulRhino
f94a04e0cf rk3588: Enable current kernel branch for CM3588 NAS and NanoPC T6 2024-06-24 12:22:47 +02:00
Ricardo Pardini
1bedcec012 rockchip-rk3588 6.8/610: add i2c8-m2 overlay
- from vendor kernel
- `i2c8m2`: 40-pin pins 3 & 5 of cm3588-nas & nanopct6
2024-06-23 11:49:22 +02:00
Ricardo Pardini
ee37a0c19a ext: fs-cryptroot-support: don't abuse add_host_dependencies
- use correct hook to make config changes
2024-06-23 11:49:12 +02:00
Igor Pecovnik
e797126638 Networking: set proper hook location for extensions 2024-06-23 09:19:32 +02:00
Igor Pecovnik
75ce67f329 Run shellfmt to complete code 2024-06-22 19:22:24 +02:00
Alex
1341c19ef4 add device-tree-overlay to bsp-cli debian dependencies (#6779)
Fixes issue: [AR-2381](https://armbian.atlassian.net/browse/AR-2381)
2024-06-22 15:32:54 +02:00
Igor Pecovnik
8ccec185be Replace add_packages_to_rootfs with add_packages_to_image as we don't want to make caches for each variant
- also fixes a problem of generating caches all over again
- change cache date scheme name to force rebuild them all
2024-06-22 13:30:28 +02:00
ColorfulRhino
7f111510b4 rockchip-rk3588: edge: Rename rkvdec2 patch for improved clarity 2024-06-22 15:06:10 +08:00
amazingfate
cff6675517 Add chromium v4l2 decoder udev rule for rkvdec2 2024-06-22 15:06:10 +08:00
amazingfate
28193c630a rockchip-rk3588: edge: rewrite patches, no change 2024-06-22 15:06:10 +08:00
amazingfate
f790473789 rockchip-rk3588: edge: add rkvdec2 support 2024-06-22 15:06:10 +08:00
Alex Shumsky
bbd5699e13 partitioning: fix race condition on loop device allocation 2024-06-21 22:14:01 -04:00
Igor Pecovnik
db187a8a0f i3-wm: remove conflicting userspace packages 2024-06-21 11:56:32 +02:00
Igor Pecovnik
9d187dffeb Deboostrap: switch to last known working tag 2024-06-21 11:14:29 +02:00
chainsx
5d934c53e4 add community support for lckfb taishanpi 2024-06-20 20:00:55 +02:00
Alessandro Lannocca
5711d09775 comment network link-state saving prevention 2024-06-20 20:00:33 +02:00
Alessandro Lannocca
7653def211 fix armbian-leds-state-save.sh:
don't  store parameters for networking link establishment (avoid ghost wan/lan/eth link led up on bootup)
2024-06-20 20:00:33 +02:00
Igor Pecovnik
692574592b Add support for displaying multiple IP addresses at first login
If we have more ethernet devices, we want to list them one after another

Before:
IP address: 1.1.1.1
2.2.2.2

After
IP address: 1.1.1.1,2.2.2.2
2024-06-20 19:59:52 +02:00
Igor Pecovnik
942bd4188d Replace Network manager nmtui-connect with own method 2024-06-20 19:59:52 +02:00
Igor Pecovnik
ce16e75642 We can only set fixed map for ethernet devices as netplan wants to have defined AP for wifi. Which we don't have yet. 2024-06-20 19:59:52 +02:00
ColorfulRhino
ed45c8bfee cli: firstlogin: Fix and improve IP address retrieval
This should also include the case if zero retries are left, but the IP address has been found on this last retry.
2024-06-20 19:59:52 +02:00
ColorfulRhino
b6f018a2b1 net: Use resolved for DNS resolution
- Use resolved no matter what manages the network (networkd or NetworkManager)
- Use resolved.conf.d/ directory to set DNS as recommended by resolved itself
- In armbian-firstrun, remove config specific to mvebu64|mt7623 since this is now done by default
2024-06-20 19:59:52 +02:00
ColorfulRhino
6b7284be3e bsp: firstrun: Use Netplan for setting fixed MACs
Also remove `$BRANCH == dev` line since dev branch does not exist anymore
2024-06-20 19:59:52 +02:00
Igor Pecovnik
a65cf4d9bb Remove ifupdown leftovers in the code 2024-06-20 19:59:52 +02:00
ColorfulRhino
56267aa0ad cli: firstlogin: Move IP address retrieval into function and don't run in bg
Trying to run this in the background does not work correctly in its current iteration, setting the correct place on the screen for displaying did not work out.
Includes minor fixes and wording improvements.
2024-06-20 19:59:52 +02:00
Igor Pecovnik
a95bdd920f Refactor automatic configuration at first run 2024-06-20 19:59:52 +02:00
ColorfulRhino
e6fc6d0990 cli: Make IP address retrieval on firstlogin run in the background
Otherwise we have to wait until the while loop finishes.
Also includes some fixes and comments.
2024-06-20 19:59:52 +02:00
ColorfulRhino
d1c6fa6e76 net: Remove NM_IGNORE_DEVICES variable
This variable was originally introduces for the board "Espressobin" (mvebu64): 38db0b55f9
Use a hook in the mvebu64 and mt7623 family config to set ignored devices for NetworkManager instead.
2024-06-20 19:59:52 +02:00
ColorfulRhino
a8a55ddbf2 net: Remove old ifupdown stuff
This stuff is not needed anymore. Things will likely work as expected, even when installing ifupdown2
2024-06-20 19:59:52 +02:00
ColorfulRhino
78bd36b5a6 cli: Use recommended method for symlinking /etc/resolv.conf 2024-06-20 19:59:52 +02:00
ColorfulRhino
497c6dce0e extension: net: Refactor, fix and improve network extensions
- Rename extensions with "net-*" prefix
- Put the extensions into their own folder
- Split off time sync packages into their own extensions to be able to be used separately
- Put their config files into directories instead of using inline `cat <<- EOF >`
- Move some other NetworkManager related stuff into the extension
- Remove unneeded steps
- Install iproute2 by default on all images (for the `ip` command)
2024-06-20 19:59:52 +02:00
Igor Pecovnik
f4b160abde Move Network Manager bits into extensions
- use Chrony with Network Manager
- use timesync with systemd-networkd
- use NetPlan with Network manager only
- move command-not-found to CLI image only
- improve firstlogin ip detection
2024-06-20 19:59:52 +02:00
ZHANG Yuntian
e0762bbbb7 aic8800: update firmware package URL (#6768)
Firmware package was incorrectly marked as machine dependent.
This was fixed in radxa-pkg/aic8800#12, causing the file name to change.

Signed-off-by: ZHANG Yuntian <yt@radxa.com>
2024-06-20 11:26:13 +02:00
ColorfulRhino
5a19cb410e actions: Have auto-labeler check subdirectories
This fixes a lot of labels not getting applied properly.
2024-06-19 20:50:48 +00:00
chainsx
568536a0eb station-m2: use mainline u-boot 2024-06-19 20:50:40 +00:00
ColorfulRhino
f6e3624a60 packages: Enable bash-completion on all images
bash-completion adds the functionality for autocompleting command when pressing <TAB>.
2024-06-19 20:50:31 +00:00
Igor Pecovnik
b2aea3ba42 Debian buster: disable non-existing backports repository 2024-06-18 21:47:21 +02:00
Andy Yan
7919729199 Add support for rk3399 based SBC Leez P710
Signed-off-by: Andy Yan <andyshrk@gmail.com>
Signed-off-by: Andy Yan <andyshrk@163.com>
2024-06-18 10:41:02 +00:00
ColorfulRhino
4819b81154 sm8250: Delete leftover 6.5 and 6.6 kernel patch folders 2024-06-18 11:33:45 +08:00
amazingfate
0b09411c83 bump sm8250-edge to 6.10 2024-06-18 11:33:45 +08:00
amazingfate
cf4495d4ce xiaomi-elish: Generate bluetooth mac address from machine-id Since v6.9 default mac bluetooth address of QCA6390 "00:00:00:00:5a:ad" is no longer usable. So we have to generate a new one. 2024-06-18 11:33:45 +08:00
amazingfate
8365343dd9 sm8250-current: Bump to v6.9 2024-06-18 11:33:45 +08:00
ColorfulRhino
c14e1664b6 kernel: mainline: Bump 6.10-rc3 to 6.10-rc4
Including kernel config rewrite for RK3588
2024-06-17 14:31:00 +02:00
ColorfulRhino
0813594057 board: nanopi-r6s: Add system-power-controller to pmic
Without this, the board can't be powered off with the `poweroff` command.
Also affects NanoPi R6C.
2024-06-17 12:20:06 +00:00
Muhammed Efe Cetin
d2e40d6b0e khadas-edge2: add vendor uboot to images 2024-06-17 14:11:33 +02:00
Muhammed Efe Cetin
9432db1acc rockchip64: add support for OPTEE blobs 2024-06-17 14:11:33 +02:00
ColorfulRhino
01edf1c33e board: orangepi-5-plus: Add latest DDR and BL31 blobs
Also fix function naming
2024-06-17 11:09:20 +00:00
ColorfulRhino
3df4773ad3 board: orangepi-5-plus: Add mainline U-Boot for edge kernel
Also improve board specs list
2024-06-17 11:09:20 +00:00
amazingfate
151e14b6a7 rockchip-rk3588-edge: fix vepu of rk3588 2024-06-17 11:23:52 +02:00
Alex Shumsky
1ab1719e61 uboot-2024.04: fix boot from btrfs fs 2024-06-17 08:24:52 +02:00
Alex Shumsky
fe096b0c16 uboot-2024.01: fix boot from btrfs fs 2024-06-17 08:24:52 +02:00
Muhammed Efe Cetin
85f0469d2b khadas-edge2: rename audios 2024-06-17 08:24:27 +02:00
ColorfulRhino
0bf3ba7607 cli: Fix DEFAULT_OVERLAYS array
Shellcheck errors/warnings were:
In lib/functions/rootfs/distro-agnostic.sh line 155:
	display_alert "Adding to extlinux.conf" "fdtoverlays=${DEFAULT_OVERLAYS[@]}" "debug"
                                                         ^--------------------^ SC2145 (error): Argument mixes string and array. Use * or separate argument.

In lib/functions/rootfs/distro-agnostic.sh line 156:
	echo "  fdtoverlays ${DEFAULT_OVERLAYS[@]}" >> "$SDCARD/boot/extlinux/extlinux.conf"
                        ^--------------------^ SC2145 (error): Argument mixes string and array. Use * or separate argument.

In lib/functions/rootfs/distro-agnostic.sh line 193:
	if [[ -n $DEFAULT_OVERLAYS && -f "${SDCARD}"/boot/armbianEnv.txt ]]; then
             ^---------------^ SC2128 (warning): Expanding an array without an index only gives the first element.
2024-06-16 11:23:15 +00:00
ColorfulRhino
5dcb33a960 actions: Fix typo in actions/labeler labeler.yml (#6745)
It's not "any-globs-to-all-files", but "any-glob-to-all-files"
2024-06-15 09:44:48 +02:00
Igor Pecovnik
5ea4a2c428 Disable autosuspend on Gnome based desktops 2024-06-14 20:51:56 +02:00
Muhammed Efe Cetin
f28bb4e5ae extlinux: add DEFAULT_OVERLAYS support 2024-06-14 20:51:46 +02:00
ColorfulRhino
8d7d6f44c7 actions: Fix typo in actions/labeler labeler.yml 2024-06-14 14:56:22 +00:00
ColorfulRhino
1a468dc390 actions: Add "Documentation" label category to actions/labeler 2024-06-14 14:56:22 +00:00
ColorfulRhino
cf5363c2af actions: Add "Patches" label category to actions/labeler 2024-06-14 14:56:22 +00:00
ColorfulRhino
5b1a3b8ff6 actions: Fix actions/labeler correctly labeling desktop folders 2024-06-14 14:56:22 +00:00
ColorfulRhino
bc8ee48619 rk3588: edge: Update RGA patch
Remove vpu nodes from RGA patch since these are already included in the H.264 support patch.
2024-06-14 13:34:34 +00:00
ColorfulRhino
dddfa9cc35 rk3588: edge: Rewrite kernel patches against 6.10-rc3 2024-06-14 13:34:34 +00:00
ColorfulRhino
c4d3ff5e34 rk3588: edge: Add H.264 decoder support
Add a patch series to support VEPU121/VPU121, which mainly enables hardware decoding for H.264.
It can also decode MPEG2 and VP8 as well as do JPEG encoding.
2024-06-14 13:34:34 +00:00
Alex Shumsky
e127109e2d rockchip64/rk3318-box: move stack further from base addr to allow bigger uboot image 2024-06-14 00:35:08 +02:00
Ricardo Pardini
4a84bf07c4 rockchip-rk3588 6.8.y: nanopct6: Add NanoPC T6 SPI Flash (v6.8.y version) 2024-06-14 00:34:55 +02:00
Viacheslav Bocharov
27351820c7 JetHub D2: Fix patchset 2024-06-14 00:34:34 +02:00
Viacheslav Bocharov
cd2011fa24 re-enable jethub j200 config 2024-06-14 00:34:34 +02:00
Viacheslav Bocharov
24938adafe JetHub D2 (j200) add u-boot 2024.01 patches 2024-06-14 00:34:34 +02:00
Muhammed Efe Cetin
d0684925e3 rockchip-rk3588-edge: add vop2 clocks reset patch 2024-06-14 00:33:52 +02:00
Muhammed Efe Cetin
96eba61177 rockchip-rk3588-edge: re-add edge2 patches and fix mcu fan control
patch
2024-06-14 00:33:52 +02:00
ColorfulRhino
874c09f896 rk3588: Add board NanoPi R6C
With support for the latest mainline U-Boot.
2024-06-14 00:33:04 +02:00
ColorfulRhino
994f376888 rk3588: edge: Set kernel patch folder name to default
Move kernel patch folder to archive/rockchip-rk3588-${KERNEL_MAJOR_MINOR} which is the default.
Also rename kernel config to linux-rockchip-rk3588-${KERNEL_MAJOR_MINOR}
2024-06-12 16:20:42 +00:00
ColorfulRhino
a6b5ea7950 rk3588: Introduce current kernel branch
Since the `edge` kernel branch often uses RC kernels, introduce a more stable `current` branch.
This branch should not be RC kernels and it also should move to an LTS kernel once released.
2024-06-12 16:20:42 +00:00
Ricardo Pardini
117b6fe997 rockchip-rk3588/edge: nanopct6: Add NanoPC T6 SPI Flash (6.10-rc2 version) 2024-06-12 16:20:42 +00:00
ColorfulRhino
6dec7db8a2 rk3588: edge: Rewrite kernel patches 2024-06-12 16:20:42 +00:00
ColorfulRhino
eef5c7046b rk3588: edge: Set kernel config CONFIG_INPUT_RK805_PWRKEY=m
This enables powerkey functionality for the PrangePi 5 Plus and other devices using the RK805
2024-06-12 16:20:42 +00:00
ColorfulRhino
71fe1bde51 rk3588: edge: Rewrite kernel config to 6.10-rc3 2024-06-12 16:20:42 +00:00
ColorfulRhino
16102a5ead kernel: mainline: Bump 6.10-rc2 to 6.10-rc3 2024-06-12 16:20:42 +00:00
amazingfate
b9183f56a4 rk3588: edge: armsom-sige7: Use dts patch instead of bare dts 2024-06-12 16:20:42 +00:00
ColorfulRhino
5de4cd02fd rk3588: edge: Fix HDMI controller driver
The old driver didn't build on 6.10, so the kernel build couldn't finish.
Fix this driver.
2024-06-12 16:20:42 +00:00
ColorfulRhino
8c31cca7ba rk3588: edge: Rewrite kernel patches to 6.10-rc2 2024-06-12 16:20:42 +00:00
ColorfulRhino
031a85736b rk3588: edge: Update thermal and cpufreq support patches
Patches are from the Linux Rockchip Mailing List, submitted by Alexey
Charkov. [1]

Notable improvements from changelog:
- Moved the TSADC enablement to per-board .dts/.dtsi files
- Dropped extra "inefficient" OPPs (same voltage - lower frequencies)
- Dropped second passive cooling trips altogether to keep things simple
- Added a cooling map for passive GPU cooling (in a separate patch)
- Added regulator coupling for EVB1 and QuartzPro64

Also enable automatic fan control on Rock 5B.

[1] https://lore.kernel.org/linux-rockchip/20240506-rk-dts-additions-v4-0-271023ddfd40@gmail.com/
2024-06-12 16:20:42 +00:00
ColorfulRhino
408a0cbbc8 khadas edge 2: Fix patch for 6.10 2024-06-12 16:20:42 +00:00
ColorfulRhino
afe733ced5 orangepi 5: Fix patch for 6.10 and convert from patch to .dts file
This simplifies the process updating to newer kernel versions and makes
it easier to see and edit the actual dts file being used.
2024-06-12 16:20:42 +00:00
ColorfulRhino
de8d91b45f rk3588: edge: Fix dtb overlay compilation and installation
"general-add-overlay-compilation-support.patch" became obsolete in
Linux 6.9 (see AR-2352 [1]). Fix this problem:

- Rename *.dts sources in overlay directory to *.dtso
- Change "target +=" line to "dts-y +=" in overlay Makefile
- Remove "always +=" line in overlay Makefile
- Add .scr compilation support in kernel scripts/Makefile.lib
- Patch kernel scripts/Makefile.dtbinst to avoid flattening overlay
  directory

For the last two points, see
general-add-overlay-compilation-support.patch

Credits for this fix go to @paolosabatino

[1] https://armbian.atlassian.net/browse/AR-2352
2024-06-12 16:20:42 +00:00
ColorfulRhino
40ae7ac877 rk3588: edge: Bump kernel from 6.8 to 6.10
- Bump mainline kernel from 6.10-rc1 to 6.10-rc2
- Remove patches which are now mainlined
- Re-number "fix-initial-PERST-GPIO-value" patch as per number
  ordering seen in 0000.patching_config.yaml
- Rewrite kernel config
2024-06-12 16:20:42 +00:00
Igor Pecovnik
f9940caee4 Odroid XU4: Remove deprecated patches 2024-06-12 16:03:35 +02:00
Igor Pecovnik
a2a6ac1d95 Temporally disable broken build configuration 2024-06-12 16:03:21 +02:00
kernelzru
6ee05aa880 Add audio support to hdmi output (meson)
Add audio support to hdmi output (meson)
2024-06-12 10:57:51 +00:00
Viacheslav Bocharov
192e732244 add jethub j200 config (wip) 2024-06-11 20:08:10 +02:00
Viacheslav Bocharov
3dd2e5c3ec meson64-6.9 kernel: Add jethub j200 2024-06-11 20:08:10 +02:00
Viacheslav Bocharov
9c9bbc6205 pre add jethubj200 bsp 2024-06-11 20:08:10 +02:00
Viacheslav Bocharov
946ed480e7 families/jethub add jethubj200 support 2024-06-11 20:08:10 +02:00
Viacheslav Bocharov
bfe636fc74 families/meson64_common Add jethubj200 support 2024-06-11 20:08:10 +02:00
Igor Pecovnik
0cae55f377 Adjust Rockchip overlay to match changes introduced in 6.9.y 2024-06-11 20:07:50 +02:00
ColorfulRhino
38c8bfcbf4 board:nanopi-r6s: Beautify board config 2024-06-11 18:03:30 +00:00
ColorfulRhino
3ef7d57bd6 board: nanopi-r6s: Update DDR and BL31 blobs
FriendlyElec ships their devices with the latest blobs. Trying to run an Armbian image on this board with the old blobs might cause issues.
2024-06-11 18:03:30 +00:00
lanmarc77
8eb8cc5302 NanoPi Neo3 spidev support (#6689)
* added spi device support for Nano Pi Neo3 with different address
* adjusted Makefile for compilation for Nano Pi Neo3 spi-spidev
2024-06-11 11:50:01 +02:00
chainsx
ec569900fd sun55iiw3-syterkit: update kernel config 2024-06-11 07:32:20 +02:00
Alessandro Lannocca
d706470316 linux-rockchip-rk3588-edge.config minor touches:
- move CONFIG_INPUT_RK805_PWRKEY and CONFIG_PINCTRL_RK805 to modules
- move CONFIG_BT to module
2024-06-11 07:31:38 +02:00
Alessandro Lannocca
05dbbd654a rk-35xx-vendor-6.1 minor touches:
- move CONFIG_INPUT_RK805_PWRKEY and CONFIG_PINCTRL_RK805 to modules
- move CONFIG_BT to module
2024-06-11 07:31:38 +02:00
Ricardo Pardini
05ffbe7f7b s5p6818-legacy: drop un-needed symlink to archive/s5p818-4.14
- `common_defaults_for_mainline` already sets KERNELPATCHDIR='archive/s5p6818-4.14' thus this symlink is not necessary
- 1 step closer to a clean `patch/kernel` dir, when we could finally get rid of `archive/`
2024-06-10 20:36:46 +02:00
Ricardo Pardini
b33c41d76f s5p6818-legacy: rewrite patches, no changes 2024-06-10 20:36:46 +02:00
Igor Pecovnik
36eb4aeeda Oracular i3wm: Remove deprecated packages 2024-06-10 14:08:51 +02:00
33335
116ddedf87 Fix board firefly-itx-3588j bluetooth 2024-06-09 22:08:33 +02:00
Igor Pecovnik
be501aca71 Adjust several desktop targets in order to be able to assemble them
Images were tested for compiling with newly added Action script that generates x86 QEMU images upon (manual for now) execution

https://github.com/armbian/os/actions/workflows/full-distro-build-and-test.yml
2024-06-09 22:07:55 +02:00
ColorfulRhino
96e58d34d9 rockchip64: Move some leftovers from 6.8 to 6.9 patch folder
- Convert patches that add a completely new board to dts file, automatically applied in the dt folder
2024-06-09 18:38:43 +00:00
amazingfate
076fadd559 extensions: image-output-abl: use losetup instead of silly dd 2024-06-09 19:11:58 +02:00
amazingfate
b88be65d98 sm8250: enable ppa for noble to fix qbootctl 2024-06-09 19:11:58 +02:00
ColorfulRhino
0e7e76dcb1 actions: Rename PR-specific workflows with "pr-" prefix 2024-06-09 16:30:45 +00:00
ColorfulRhino
1129cf42be actions: Combine PR labeling jobs into a single workflow 2024-06-09 16:30:45 +00:00
ColorfulRhino
ce73634bf6 actions: Don't run shellcheck if PR message or title was updated
Also fix typos.
2024-06-09 16:30:45 +00:00
ColorfulRhino
5d7637ca0e actions: Don't start build workflow on PR 'reviewer_requested' trigger
The PR build workflow does not need to be started every time a single
reviwer is added, since requesting a review does not change the build.
If the 'Build' label was already added earlier, the build workflow will
have been started already.
2024-06-09 16:30:45 +00:00
ColorfulRhino
bc515b0cc3 actions: Move concurrency canceling to 2nd job for PR build
On every PR, a workflow is started to check if artifacts should be
built. This happens not only once, but many times, e.g. for every
selected reviewer. Since the workflow has `cancel-in-progress`
enabled, workflows are started and immediately cancelled by the
next one, resulting in many notifications.
Move the `cancel-in-progress` concurrency policy to the second job
which starts only after a check is done if the 'Build' label is even
active on the PR. This should greatly reduce "Workflow cancelled"
notifications via GitHub and email (if enabled by the user).

Also make wording more clear.
2024-06-09 16:30:45 +00:00
Ricardo Pardini
3ac7c64d9e odroidhc4: bump to u-boot v2024.04; drop most defconfig patches in favor of hooks
- add `pre_config_uboot_target` hook for switching BOOTCONFIG across the two targets
  - adapt `UBOOT_TARGET_MAP` to not call the defconfig Makefile targets directly, instead, just do a variable assignment (ignored by Make)
  - otherwise, when using the defconfig directly in the `UBOOT_TARGET_MAP`, the `post_config_uboot_target` .config changes are overwritten when Make is called
- only patch left is boot usb-nvme-scsi/sata first (still done in meson64.h)
- remove FIP handling from family file `meson-sm1.conf` into board file hook where it belongs
- u-boot: enable more compression methods, EFI debugging, i2c, leds, tcp networking
- use flashcp for mtd writing

- Unchanged:
  - confirmed as of v2024.04: using the C4 (not HC4) defconfig is still needed to be able to write to mtd when booted from SD
  - also confirmed: one still needs to erase Petitboot using Petitboot, then boot from SD, to be able to flash mainline u-boot to mtd
2024-06-09 18:29:58 +02:00
Alban Browaeys
cbaf67f007 Sync helios64 to its updated 6.9 dts
Also move most node in the same order as upstream to lower the work
required to sync.
2024-06-09 18:29:29 +02:00
Alessandro Lannocca
26345f03d0 double quote variable for consistency 2024-06-09 18:24:38 +02:00
Alessandro Lannocca
717143b472 build xapian-index for synaptic only for stable releases 2024-06-09 18:24:38 +02:00
Alex
eb7b39cc3a Enhance build times disabling command-not-found during rootfs creation (#6616) 2024-06-09 16:00:18 +02:00
Ricardo Pardini
8c26dbf0f6 nanopct6: Kwiboo 24.07 u-boot for edge; bump blobs for all branches
- exclusive for edge / Kwiboo:
  - enable UMS / RockUSB and other gadget stuff
  - enable TCP networking features, wget etc
  - enable EFI debugging stuff
  - store environment in SPI
  - uses preboot to flash led briefly
  - this code pattern is becoming copypasta fast and needs refactor before it spreads too much
- also for all branches (legacy/vendor/edge):
  - nanopct6: updated blobs to DDR v1.16 and BL31 v1.45
2024-06-09 15:36:10 +02:00
ColorfulRhino
6a42d502fa patch: u-boot: Fix patch dirs for CM3588 NAS and Orange Pi 5 2024-06-09 12:59:24 +00:00
Ricardo Pardini
282fb964e5 patching: rewrite: fully stabilize patch index stanzas as well as From lines
- `git format-patch --zero-commit` doesn't affect `index xxx...yyy` lines, only `From: `
  - so use the _classy_ "use a regex with a callback" solution as git format-patch doesn't offer one
- this will make _all_ patches change when rewritten, but hopefully _for the last time_ !
- we need to preserve `index 000000000000..xxx` as zeros, which indicate new file creation, thus:
  - new file creations are rewritten as `index 000000000000..111111111111`
  - non-creations are rewritten as `index 111111111111..222222222222`
- this is the final version of #6455
2024-06-09 10:42:26 +02:00
Igor Pecovnik
d7068fabc9 Inovato-quadra: changing board support status 2024-06-08 06:08:25 +02:00
Igor Pecovnik
d7db1cd26b Add 6.9 compatibility fix for UWE and rewrite rockchip64 kernel config 2024-06-06 15:35:08 +02:00
Igor Pecovnik
8f0596dc8f Wireless drivers: port 8723cs to be compatible with kernel 6.9 2024-06-06 15:35:08 +02:00
kernelzru
9b16fad915 move ugoos x3 dt to 6.9 folder 2024-06-06 13:32:32 +02:00
kernelzru
ea8a6efa4f update meson patches for 6.9 kernel 2024-06-06 13:32:13 +02:00
Igor
f5575f64ac Bump meson and meson64 EDGE kernel to 6.9.y (#6669)
* Bump meson and meson64 EDGE kernel to 6.9.y
* Rename patch folders
* Adjust broken patches, one remaining
* Add overlay support
* meson64: rename overlays to dtso, update makefile
* Update meson-gx-socinfo-sm driver patchset for meson64-6.9:
* add SoC ID patches for S905L, A113X
* fix memory double free in driver
* update dt bindings
---------
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
Co-authored-by: Viacheslav Bocharov <adeep@lexina.in>
2024-06-05 22:20:35 +02:00
Paolo Sabatino
d3ff61144c rockchip: generalize dtb installation makefile 2024-06-05 22:18:51 +02:00
Paolo Sabatino
af5a766940 fix dtb overlay compilation and installation
* rename .dts sources in overlay directory as *.dtso
 * change "target +=" line in "dts-y +=" in overlay Makefile
 * remove "always +=" line in overlay Makefile
 * add .scr compilation support in kernel scripts/Makefile.lib
 * patch kernel scripts/Makefile.dtbinst to avoid flattening overlay
   directory

for the last two points, see
general-add-overlay-compilation-support.patch
2024-06-05 22:18:51 +02:00
Paolo Sabatino
724573bf7a bump rockchip family edge kernel to 6.9 2024-06-05 22:18:51 +02:00
Paolo Sabatino
4d46d0c682 rockchip64: generalize dtb installation makefile 2024-06-05 22:18:24 +02:00
Paolo Sabatino
69ca249262 rockchip64: bump edge kernel to 6.9 2024-06-05 22:18:24 +02:00
Daniel Gonçalves
285ff7583c fix: cloudshell2 dtbo overlay path in boot.ini
Currently, dtbo path in boot.ini is wrong. So we cannot load device tree blob overlays for cloudshell2. This commit fix this path in boot.ini
2024-06-05 21:19:14 +02:00
Ricardo Pardini
d4ee0d3ac9 u-boot-radxa-rk3588/legacy: nanopc_t6_defconfig: disable OPTEE (for OOB working boot with from-factory blobs in eMMC)
- makes it compatible with vendor out-of-box blobs (which include TEE) in the from-factory eMMC
- Armbian itself doesn't ship TEE blobs
- when combining from-factory eMMC blobs with an Armbian SD card, TEE blobs are in practice found by u-boot
- but then proceeds to fail with `optee api revision is too low`
- disable OPTEE in defconfig fixes it, TEE isn't used in any way by Armbian
2024-06-05 21:19:00 +02:00
Ricardo Pardini
e745fcc701 u-boot-radxa-rk3588/legacy: nanopc_cm3588_defconfig: disable OPTEE (for OOB working boot with from-factory blobs in eMMC)
- makes it compatible with vendor out-of-box blobs (which include TEE) in the from-factory eMMC
- Armbian itself doesn't ship TEE blobs
- when combining from-factory eMMC blobs with an Armbian SD card, TEE blobs are in practice found by u-boot
- but then proceeds to fail with `optee api revision is too low`
- disable OPTEE in defconfig fixes it, TEE isn't used in any way by Armbian
2024-06-05 21:19:00 +02:00
Ricardo Pardini
1221009853 u-boot-radxa-rk3588/legacy: rewrite nanopc_cm3588_defconfig -- no changes
- `CONFIG_REGULATOR_RK806=y` seems a leftover that's not really used?
2024-06-05 21:19:00 +02:00
Ricardo Pardini
cb7c48bbad u-boot-radxa-rk3588/legacy: rewrite nanopc_t6_defconfig -- no changes
- `CONFIG_REGULATOR_RK806=y` seems a leftover that's not really used?
2024-06-05 21:19:00 +02:00
Ricardo Pardini
c1731e3213 u-boot-radxa-rk3588/legacy: add 0000.patching_config.yaml and move all null-patches into dt and defconfig dirs as bare files
- DTs and defconfigs should be identical to their null-patch equivalents
2024-06-05 21:19:00 +02:00
Ricardo Pardini
405fb1623b u-boot-radxa-rk3588/legacy: rewrite u-boot patches, no changes 2024-06-05 21:19:00 +02:00
Alex
bb5fd2ab03 RFC: fix #6686: Debian: enable ssh.service and make it work reliably on armbian-firstrun (#6687)
* Revert commits 911c756083 and 30c47f6f6c

* tweak armbian-firstrun.service to run after ssh.service (for host keys generation purposes)
2024-06-05 15:20:34 +02:00
stephengraf
99815c0a88 Sound Allwinner H616 H618 SOCs (#6694)
* Add files via upload

* Update series.armbian

* Update series.conf

* Add files via upload

* Update series.armbian

* Update series.conf

* Update linux-sunxi64-edge.config

* Update linux-sunxi64-current.config
2024-06-05 11:06:46 +02:00
Patrick Yavitz
aa2d4696ca RTL88X2CS: linux 6.9.y support
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-06-04 07:17:44 -04:00
Lemon1151
8f64f05082 Adding support for the fine3399 board 2024-06-03 12:32:02 +02:00
Thomas McKahan
8a0c2866d8 Sweet potato: update config
Fix the typo in dtb
2024-06-03 11:59:45 +02:00
mr-toolcraft
e85fe22477 fix typo 2024-06-03 11:59:32 +02:00
Igor Pecovnik
dfc7cf4a8a Revert Odin2 branch change as new one is changing daily and breaks 2024-06-02 13:50:57 +02:00
Igor Pecovnik
a2c6df5ff8 Revert linux-sm8250-edge changes to config 2024-06-02 12:37:08 +02:00
Igor Pecovnik
d17abdf233 Cleaning kernel patch folder and run kernel rewrite config 2024-06-02 11:54:17 +02:00
Igor Pecovnik
e42979d669 Rewrite RPi 4 kernel config and fix wrong patch folder name 2024-06-02 11:53:58 +02:00
Igor Pecovnik
acb528d457 Bananapi R2 - adjust patch folder, apply config rewrite 2024-06-02 11:53:37 +02:00
Igor Pecovnik
f17391b59a Odroid XU4 - adjust patch folder, apply config rewrite 2024-06-02 11:53:18 +02:00
Seele Volleri
44caaf0504 Add board firefly-itx-3588j 2024-06-02 10:25:39 +02:00
nullname
cc300423e1 Fix issue #6528 opi-zero2w, ethernet PHY not powered (#6617) 2024-06-02 10:23:18 +02:00
Igor
0f66c05886 Proposed board status change for 24.5 (#6654) 2024-06-02 10:21:39 +02:00
青菜萝 卜冬瓜
b4eb13162b longanpi-4b: add support for Sipeed LonganPi 4B (#6658) 2024-06-02 10:13:29 +02:00
Paolo Sabatino
4b51f88e56 rk322x: keep usb resets deasserted on exit
uboot default behaviour is the assert resets when
it has to pass control to the kernel.
This may cause compatibility issues if the kernel
driver is not instructed to properly deassert the resets,
so we change the uboot behaviour for dwc and ehci usb
drivers to deassert reset on exit.
2024-06-02 09:23:31 +02:00
Paolo Sabatino
fa559a7c1d rk322x: fix missing HDMI with vendor kernel
multitool utility uses the legacy/vendor 4.4 kernel
and it was failing to turn on HDMI properly.
Assert and deassert all vop and hmdi resets to clean
up the state on uboot exit seems to solve the issue
2024-06-02 09:23:31 +02:00
Igor Pecovnik
e9ecf4b79c Cleanup UEFI patches, remove deprecated, rename folders 2024-06-01 22:46:45 +02:00
Igor
07047176cc Bump UEFI edge kernels with kernel config rewrite (#6666)
* Bump UEFI edge kernels with kernel config rewrite
* Update wireless drivers that breaks compilation
2024-06-01 22:35:46 +02:00
Igor
0437966dc0 Bump RPi EDGE kernels to 6.9.y (#6665) 2024-06-01 21:20:52 +02:00
Igor Pecovnik
6a765807d1 Bump imx6 edge kernels to 6.9.y 2024-06-01 19:53:27 +02:00
Igor Pecovnik
3406519dee Adjust wireless drivers to build on kernel 6.9.y 2024-06-01 19:13:25 +02:00
Igor Pecovnik
271fe2ff7b Debian Trixie - Remove libu2f-udev, universal 2nd factor (U2F) — transitional package 2024-06-01 18:29:22 +02:00
Igor Pecovnik
f13205fafb Remove libu2f-udev, universal 2nd factor (U2F) — transitional package
This package is not necessary anymore, and can be safely removed: since udev v244, U2F devices are autodetected without needing 3rd party udev rules.
2024-06-01 16:58:02 +02:00
Igor Pecovnik
800f050fcd Bump Odroid XU4 edge to 6.9.y 2024-06-01 15:21:47 +02:00
stephengraf
6b512abfa3 Pinctr dummy regulators (#6676)
* Add files via upload

* Update series.armbian

* Update series.conf

* Update arm-dts-orangepi-one-pinctr-dummy-regulators.patch
2024-06-01 10:01:54 +02:00
amazingfate
fc5e98726b add extension radxa-aic8800 for rock-5c onboard wifi 2024-05-31 00:30:19 +08:00
Lemon
10ce0c9e5f 重命名dd-new-borad-tinker-edge-r.patch -> patch/u-boot/u-boot-rockchip64/add-new-board-tinker-edge-r.patch;添加了对xiaobao-nas的支持 (#6662) 2024-05-29 13:31:51 +02:00
Igor Pecovnik
2ce2ae13d7 Attach Collabora branch to last known working 2024-05-29 10:29:48 +02:00
kernelzru
19821548d6 fixed emmc init 2024-05-26 22:20:57 +02:00
kernelzru
6432932adf update ugoos naming in uboot 2024-05-26 22:20:57 +02:00
kernelzru
1f9f8a5a97 add ugoos x3 support 2024-05-26 22:20:57 +02:00
Andy Yan
13fac2a0dd Add support for rk3568 based board Lubancat2
Signed-off-by: Andy Yan <andyshrk@163.com>
2024-05-26 22:20:37 +02:00
chainsx
ce0f24bcc2 station-m3: use radxa's new u-boot 2024-05-26 22:20:17 +02:00
Igor
a1b2b82d1f Bump version of trunk to next (#6649)
* Bump version of trunk to next
* Update README.md
2024-05-25 22:17:11 +02:00
Igor Pecovnik
92f82686c4 Extend CSC build target config to CURRENT kernel too
To mitigate build automation error ...
2024-05-25 14:27:21 +02:00
Tony
987daf5431 Add config for Libre Computer Sweet Potato (#6660)
* Add config for Libre Computer Sweet Potato

* update meson-gxl.conf for Sweet Potato
2024-05-25 01:24:43 -04:00
Igor Pecovnik
3d1d9180c2 Remove reverse dependency for armbian-config
This utility doesn't need any build dependency and should be able to work standalone
2024-05-22 15:47:16 +02:00
amazingfate
4c3530fac6 Add chromium v4l2 encoder/decoder udev rules 2024-05-22 15:44:28 +02:00
Igor
ddc9982286 Introduce integrated extension for 3D and multimedia (#6646) 2024-05-22 11:42:23 +02:00
Ricardo Pardini
63693c8986 aml-t95z-plus: add board file (and u-boot 2024.04) for T95Z Plus Amlogic tvbox
- we've had kernel patches/DT (from chewitt) for this in meson64 for a long time, but I never sent the board
- uses blobs for the `tartiflette-s912` which is also an DDR3 S912 (VIM2's blobs are DDR4 and won't boot)
- this adds `u-boot 2024.04` support, using chewitt's DT & `000.patching_config.yaml` & a specific BOOTPATCHDIR
- this is a full board as-if it was an SBC, and expects to boot from mainline u-boot;
  - for that to work you've to wipe the eMMC and get rid of the vendor-supplied u-boot
  - if this is not what you want/need, you can use the aml tvbox "board" instead, together with Android u-boot
2024-05-21 22:36:01 +02:00
ARCW
2aa3409b9e fixed Tinker-edge-r gpu bug (#6615) 2024-05-21 20:33:56 +02:00
JohnTheCoolingFan
cf7923c21f Add doas support to is_root_or_sudo_prefix
doas is not compatible with sudo flags. The codebase was checked for
sudo-specific uses of this function, but none were found, all cases were
in the form of `sudo <command>`. Replacing it with `doas <command>`
yields the same result.
2024-05-21 20:27:03 +02:00
Gunjan Gupta
b2cc35d275 Fix slow build issue when building noble images 2024-05-21 20:26:33 +02:00
Gunjan Gupta
1f22aa4977 limit git-sources.json file generation to specific commands 2024-05-21 20:26:33 +02:00
The-going
bcd50b8ecc sunxi-6.6: rework patches for current v6.6.31 2024-05-21 20:26:19 +02:00
The-going
0f89d8b769 sunxi: freeze the kernel version v6.6.31 2024-05-21 20:26:19 +02:00
Igor Pecovnik
7fbfd34ed2 Install wireguard tools also in minimal image 2024-05-21 20:25:33 +02:00
amazingfate
88c749c46f rockchip-rk3588: edge: fix hantro vpu 2024-05-20 16:01:49 +02:00
amazingfate
06aaf81ee6 rockchip-rk3588: drop BOOTFS_TYPE for single root partition image 2024-05-20 16:01:21 +02:00
Julian Sikorski
8ae760c474 Update odroidxu4-current to 6.6.31 2024-05-20 16:01:00 +02:00
Igor Pecovnik
143db3a188 Move Espressobin to EOS group as it does not build anymore
- it is free to be moved back, once troubles are gone.
2024-05-20 15:59:25 +02:00
JohnTheCoolingFan
67147b88cb Revert "Add doas support to is_root_or_sudo_prefix"
This reverts commit 324647c039.
2024-05-20 15:58:51 +02:00
JohnTheCoolingFan
7da42c8a42 Revert "Added a call to losetup -f"
This reverts commit b3d9a17a57.
2024-05-20 15:58:51 +02:00
JohnTheCoolingFan
b3d9a17a57 Added a call to losetup -f
See https://github.com/armbian/build/issues/6568
2024-05-20 08:51:39 +02:00
JohnTheCoolingFan
324647c039 Add doas support to is_root_or_sudo_prefix
doas is not compatible with sudo flags. The codebase was checked for
sudo-specific uses of this function, but none were found, all cases were
in the form of `sudo <command>`. Replacing it with `doas <command>`
yields the same result.
2024-05-20 08:51:39 +02:00
kernelzru
fe6f5879f6 Update mainline-kernel.conf.sh as kernel 6.9 is released 2024-05-19 19:46:32 +02:00
Ricardo Pardini
7fe7dc189d extensions: rk-panthor: mesa-oibaf + DEFAULT_OVERLAYS="panthor-gpu"
- I had worked this before AF sent his oneliner, but I forgot to PR
- Should be the same, except avoids sadness when trying with the wrong kernel/branch
2024-05-19 19:45:04 +02:00
Andy Yan
4487274a0b Add support for RK3588 based Cool PI CM5 EVB
Signed-off-by: Andy Yan <andyshrk@gmail.com>
2024-05-19 19:44:43 +02:00
kernelzru
9d8eb46572 Update boot-odroid-c1.ini
-Clean, remove params for old kernel
-Add option to disable usb autosuspend
-Add display console
2024-05-19 19:42:05 +02:00
amazingfate
302c73dd51 rock-5c: rename wifi interface name to a static one 2024-05-19 19:41:56 +02:00
Ricardo Pardini
aca141f1b9 khadas-vim3: fix stray closing brace in board file
- a stray closing brace, meant for the function, that ends up doing the wrong config change
2024-05-19 19:41:47 +02:00
Ricardo Pardini
40371934d2 lib & config: give shellcheck directions (to /dev/null for dynamic, to repo-relative path for static) for all sourced references
- in preparation for tightening the shellcheck severity level
  - it needs to be able to follow all sources; dynamic ones are ignored, static ones need root-relative prefix
2024-05-19 19:41:35 +02:00
chainsx
5fe762e0a3 Optimize the kernel device tree patch for rk3399-firefly. 2024-05-19 19:41:24 +02:00
Tony
e3f9292566 Update boot-meson-gx.cmd
formatting update
2024-05-19 19:41:05 +02:00
Thomas McKahan
481fca9ebb meson64: fix Lafrite boot
create new boot script free of G12 stuff, using default u-boot load addresses.
La Frite boots from USB as well as eMMC, add ability to get root device via PARTUUID
2024-05-19 19:41:05 +02:00
Igor Pecovnik
e5be2d489d Rockchip64: adjust patch as it doesn't align anymore 2024-05-18 09:47:35 +01:00
Echoo
3096ee452d Add new user to render group 2024-05-18 09:47:24 +01:00
chainsx
7e574bd484 firefly-rk3399: fix patch 2024-05-18 09:47:04 +01:00
chainsx
aa6ed7ce32 firefly-rk3399: move to rockchip64 family 2024-05-17 14:33:21 +01:00
Alex
fe64f1f435 RFC: disable ssh.service - enable ssh.socket AND switch firstlogin reload ssh to restart (#6586)
* reload-or-restart ssh prevents botching if sshd is started by a systemd socket
* restart ssh prevents botching if sshd is started by a systemd socket
* move sshd activation from ssh.service to ssh.socket:
- more realiable, avoids possible race condition on first boot
- supplementary to PR#6586 - and commits ffee50a8a6 and 6725032191
* Add display_alert explaining the change in SSH activation
2024-05-17 15:30:13 +02:00
Janmcha
66b0171516 Update orangepipcplus.csc
Adding myself as maintainer
2024-05-15 10:17:54 +01:00
amazingfate
c1a0942105 rk-multimedia-amazingfate: add noble support 2024-05-15 10:17:14 +01:00
Igor Pecovnik
c72a158876 Remove deprecated patch + updating kernel config with rewrite-kernel-config
Fix media current and edge which hasn't been addressed in https://github.com/armbian/build/pull/6605
2024-05-15 09:15:32 +01:00
Lane Jennison
4c1f2d6b1f board config: rename function to match cm3588 2024-05-15 07:25:02 +01:00
Lane Jennison
371bb6bae0 cm3588-nas: switch edge uboot to kwiboo mainline 2024-05-15 07:25:02 +01:00
chainsx
e27975b8ce station-m2: move to rk35xx family 2024-05-15 07:24:20 +01:00
Igor Pecovnik
d1ba8e2ddb Declare Ubuntu Noble as supported build target 2024-05-14 06:39:38 +01:00
Igor Pecovnik
1cd36b1027 Add glmark2 2024-05-14 06:39:18 +01:00
dependabot[bot]
9fa690c203 build(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.3.3.
- [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.3.1...v2.3.3)

---
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>
2024-05-14 06:12:51 +01:00
Igor Pecovnik
46f73e34b7 Allow downgrade on mesa ppa as otherwise fails on KDE neon 2024-05-14 04:47:12 +01:00
amazingfate
d827ce554c fix armbian-config desktop icon 2024-05-14 04:46:27 +01:00
Muhammed Efe Cetin
3ad7c43bfc rockchip-rk3588-edge: add Hantro G1 VDPU and RGA2 2024-05-13 21:17:29 +02:00
Muhammed Efe Cetin
6ad9fa557b nanopir6: enable GPU on edge kernel 2024-05-13 17:06:25 +01:00
amazingfate
a8890ad578 extensions: add rk-panthor for vendor 6.1 rk3588 kernel 2024-05-13 13:38:42 +01:00
Igor Pecovnik
a5ffc947a3 Use double instead of single quotes as otherwise variable is not expanded 2024-05-13 10:18:00 +01:00
Igor Pecovnik
1b05504c43 Revert "Remove debootstrapped static resolv.conf"
This reverts commit ddcda273a5.
2024-05-12 19:05:04 +02:00
Lane Jennison
a099dfc9c9 RK3588: add generic pwm overlays from vendor kernel 2024-05-12 16:07:23 +01:00
Igor Pecovnik
6f8fd3a68a After enabling Ubuntu Oracular on nightly builds, oibaf extension fails to work
I think we just need to use "devel" key for unknown Ubuntu release.
2024-05-12 16:04:15 +01:00
Alessandro Lannocca
ddcda273a5 Remove debootstrapped static resolv.conf 2024-05-12 15:24:54 +01:00
Werner
31b9907678 Rename orangepi3b.csc to orangepi3b.eos
Ethernet is supposedly broken by design.

While Xunlong is working on a hw revision of this board it is to be expected that it will be released under the same name which will then ultimately contribute to users confusion why on some boards eth works and on others not. Therefore get rid of this one altogether.
2024-05-12 15:23:35 +01:00
Ricardo Pardini
10f9e7c9dc rk35xx: drop vendor-boogie-panthor BRANCH; it has been integrated into vendor
- This reverts commit 5f59fe63f1
2024-05-12 13:06:24 +01:00
Ricardo Pardini
33d2ee8fd6 multiple boards: fixes for board file syntax / missing vars (fixing JSON matrix prepare)
- BOARD_MAINTAINER must exist
- Every board file needs some variables defined, since they're parsed directly (and sources/includes are not resolved)
2024-05-12 13:04:47 +01:00
Gunjan Gupta
83a288f5c2 VIM1S/VIM4: initialize video firmware symlink 2024-05-12 15:02:59 +05:30
Muhammed Efe Cetin
8827b0db51 rockchip-rk3588-edge: opi5-plus: update edge patches 2024-05-11 21:27:03 +01:00
Igor Pecovnik
baeaee6f20 Use oibaf and v4l2 in desktops only 2024-05-11 21:02:24 +01:00
Alex
1977a47fb4 added 'console' statement to config/sources/families/rockchip64.txt (#6578) 2024-05-11 21:59:44 +02:00
Alex
9063417d90 Treat sid and unstable as synonyms in distro-specific.sh (#6582)
Credits: @going --> https://forum.armbian.com/topic/37503-kali-linux-as-supported-distro/
2024-05-11 21:59:17 +02:00
Muhammed Efe Cetin
18e65527f7 Pin oibaf packages on mesa-oibaf extension 2024-05-11 17:35:41 +01:00
Ricardo Pardini
fb17a2a84f armbian-kernel: drop DEBUG_KERNEL/DEBUG_INFO disables; force EXPERT=y and bring back CONFIG_GPIO_SYSFS=y for all kernels
- we had `_DEBUG=n` forced, which conflicted with `_EXPERT=y`;
  - some important SBC features (like _GPIO_SYSFS) depend on _EXPERT=y
- we've plans to enable BTF/CO-RE kernels soon, so removing the non-debug enforcement makes some sense
  - also, .config's will be free to determine debug config, nothing's changing in those here
- remove the `_EMBEDDED` special case handling, we can do that as well now
- add a separate hook to renable `CONFIG_GPIO_SYSFS=y`; it was a victim of `EXPERT=n` in some kernels
- this does not include rewrites of all the .configs -- those should be done in a separate batch -- either way effect is the same, hooks will always override .config's
  - during rewrites, a large number of new options will show up, since `_EXPERT=y` is used as dependency for many of Kernel's experimental-ish features
2024-05-11 17:35:27 +01:00
Igor Pecovnik
1c4919f14f Several kernel config automatic rewrite
./compile.sh rewrite-kernel-config BOARD=board BRANCH=branch
2024-05-11 17:32:27 +01:00
kernelzru
96bed4e609 Update meson edge to 6.8 kernel (#6575)
* Meson8b update kernel to 6.8
* Fix error in clean tools 6.8 kernel
2024-05-11 16:09:44 +02:00
Joshua Riek
de82b6ffd3 Add initial support for the Orange Pi 5 Pro (#6506)
* Add initial support for the Orange Pi 5 Pro
* Enable MotorComm network driver in rk35xx legacy and vendor kernel config
* Resolve conflicts
---------
Co-authored-by: Igor Pecovnik <igor@armbian.com>
2024-05-11 13:23:07 +02:00
Igor Pecovnik
514c6a48e8 Return Noble armhf arch as it works
- remove kinetic, lunar, mantic
- fix armhf sid, noble, oracular
2024-05-11 12:15:22 +01:00
kernelzru
7488222b2a Fix booting odroid c1 u-boot, compiled with latest GCC's 2024-05-11 08:07:28 +01:00
amazingfate
5162b6e6e1 rk35xx-vendor: enable AHCI_DWC for rk3568 sata 2024-05-11 08:07:17 +01:00
Ricardo Pardini
dde0e0f62c main-config.sh: workaround: set the default ARCH to arm64 (replacing armhf)
- armhf was disabled for some releases and now we get spurious failures building certain artifacts (firmware)

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2024-05-11 00:12:46 +01:00
Igor
0ba8771891 Proposed board status change for 24.5 (#6569)
* Odroid C1 received some update
* Zero 3W is maintained by Radxa
* Rock5 itx will be platinum
* Plus version nobody mentioned - save some build resources
* Enabled rock5c
* Enable other two rock5
* Adjust testing targets
2024-05-10 19:58:33 +02:00
Igor Pecovnik
ae469d6503 Change the way repository is getting updated 2024-05-10 13:25:27 +01:00
Ricardo Pardini
649569eccd thinkpad-x13s: drop steev's kernel; switch to jhovold's wip/sc8280xp-6.9-rcX
- update .config according to jhovold's defconfig, but keep network filesystems enabled
2024-05-10 13:25:14 +01:00
Igor Pecovnik
017acb063c Add Ubuntu Oracular 2024-05-10 13:25:00 +01:00
amazingfate
1fd390ecfa armsom rk3588 boards: use radxa's new uboot 2024-05-10 13:24:44 +01:00
Igor Pecovnik
f0fcb29465 Create output/info early in host prepare for storing JSON files and remove JSON 2024-05-10 13:24:18 +01:00
Gunjan Gupta
63ebab6b33 Freeze git sources for v24.02 release 2024-05-10 13:24:18 +01:00
Gunjan Gupta
7dabd9300d Add ability to freeze git resources 2024-05-10 13:24:18 +01:00
chainsx
b78efedefd phytium_embedded: update phytium u-boot binary 2024-05-10 13:02:17 +01:00
kernelzru
b8cb535327 Fix u-boot build for odroid c1 + fix onboard usb hub on odroid c1 (#6559)
* Fix odroid c1 u-boot build with GCC > 4.9
* Fix odroid c1 usb onboard hub
* u-boot add olddefconfig for odroidc c1
* fix build on armbian
* Update meson_common.inc
2024-05-09 17:47:36 +02:00
bmilde
db0c5d2de9 Update linux-rockchip-rk3588-edge.config
Enable bcachefs filesystem support in rk3588 kernel config (copied from rockpro64 edge config)
2024-05-09 16:46:39 +01:00
chainsx
4e1877bbe1 phytium_embedded: update kernel config from phytium repo 2024-05-09 16:45:42 +01:00
ssp97
c56aa2d34d rockchip-rk3308-current: sakura pi rk3308b adds kernel 6.6 and 6.8 support 2024-05-09 16:44:47 +01:00
Igor Pecovnik
fc7638592c Fix for line numbers in patched patch file
https://github.com/armbian/build/pull/6560
2024-05-09 16:38:38 +02:00
amazingfate
1ff445fa3d rock5c: fix rk3582 with disabled rkvdec node 2024-05-09 16:51:40 +08:00
monkaBlyat
77cd0a71cc enable android binder on rk3588 edge config for android container support 2024-05-08 17:13:02 +02:00
voapilro
3bb74af9db Fix memory size detection for 1.5GB Orange Pi Zero 3 board on v2024.01 u-boot release 2024-05-08 07:30:31 +01:00
amazingfate
503ba57fcc add armsom-sige1 support 2024-05-07 12:15:41 +01:00
amazingfate
3b4f9c8bcc add rock-5-itx board 2024-05-07 12:15:28 +01:00
Igor Pecovnik
75845cab4e Odroid: remove deprecated patches 2024-05-07 11:34:21 +01:00
Paolo Sabatino
45dd07d4c5 rockchip64: rework drm hunk due to mainlined patch 2024-05-07 00:37:03 +01:00
Julian Sikorski
c9cde1e49a Update odroidxu4-current to 6.6.30 2024-05-06 15:50:41 +01:00
Julian Sikorski
c6b77cba61 Adapt the GPIO names patches to upstream commit 724ba67 2024-05-06 15:50:41 +01:00
Julian Sikorski
f7bacd7590 Drop changes already added in odroid commit a633520 from the upstream patch 2024-05-06 15:50:41 +01:00
Julian Sikorski
44180c6a10 Drop add-con11-gpiomem.patch as there is nothing to patch 2024-05-06 15:50:41 +01:00
Julian Sikorski
e08e0e294a Switch odroidxu4-current kernel to 6.6 2024-05-06 15:50:41 +01:00
Paolo Sabatino
253331a7cd rockchip64: add some HDMI clock and timing fixes 2024-05-06 15:50:23 +01:00
Paolo Sabatino
3c8bb09e8b rockchip64: remove rk3318-box patch hunk 2024-05-06 15:50:14 +01:00
Paolo Sabatino
887a8d7a66 rockchip: update kernel config to latest 2024-05-06 15:50:14 +01:00
Paolo Sabatino
8e1c6a83bb rockchip64: add kernel reset props for rk3318-box 2024-05-06 15:50:14 +01:00
Paolo Sabatino
e5ccdf4cb1 rockchip: remove unwanted patch 2024-05-06 15:50:14 +01:00
Paolo Sabatino
a81ddf97e5 rockchip: add usb reset props in kernel for rk322x 2024-05-06 15:50:14 +01:00
Paolo Sabatino
5657ec0798 rockchip: add reset props for usb on rk322x 2024-05-06 15:50:14 +01:00
Paolo Sabatino
f9c5617ce1 rockchip64: add reset props to rk3318-box uboot 2024-05-06 15:50:14 +01:00
Paolo Sabatino
a5ef5c651d rockchip64: rk3318-box use vendor ddrbin 2024-05-06 15:50:14 +01:00
Barry Lind (SteeManMI)
2b1fae5d74 cpufrequtils cleanup after PR6507
In PF6507 the use of cpufrequtils was removed and the functionality put into armbian-hardware-optimization
This commit removes the remaining now unused installs of the deprecated cpufrequtils package

 Changes to be committed:
	modified:   config/cli/bullseye/main/packages
	modified:   config/cli/common/main/packages
	modified:   config/cli/jammy/main/packages
2024-05-06 09:54:22 -04:00
Gunjan Gupta
2c0fef166f Removing myself as maintainer for allwinner and rpi boards 2024-05-03 23:10:18 +05:30
FantasyGmm
cffc13366f Update Odin2 Config, Use the preset config 2024-05-04 01:18:48 +08:00
Gunjan Gupta
a14578f355 Meson S4/T7: Allow building on arm64 platform 2024-05-03 16:36:48 +01:00
Gunjan Gupta
c7492bedc1 VIM1S/VIM4: always use symlinks from /boot for booting 2024-05-03 16:35:53 +01:00
Gunjan Gupta
dcde85f9a1 Add pcie support to initramfs 2024-05-03 16:35:53 +01:00
Igor Pecovnik
aa073ea563 Remove deprecated rk3588-edge patches 2024-05-02 23:43:37 +01:00
Igor Pecovnik
6ce5fd9667 Remove deprecated fonts from desktop and retire armhf for Trixie and Noble 2024-05-02 20:01:45 +01:00
Alex
993b8db9a2 Make debian/trixie debootstrap-able again (#6538)
Ref: Debian Bug report logs - #1069787
Credit: Mark Hindley <leepen@debian.org>

The debian/tests/debian-testing autopkgtest has been broken on 64bit archs by
the t64 transition in trixie. Specifically the test includes gnupg as an
additional package.  Gnupg depends on gpg-agent which depends on
libnpth0. However, in trixie, libnpth0 is now provided by libnpth0t64 which
debootstrap doesn't handle.

I suggest changing the test to include gpgv which avoids the t64 transition
whilst providing similar functional coverage.
2024-05-01 20:54:29 +01:00
yangchaohong
b1f648ee75 Fix PCIe for RK35xx+Fix ROCK5A PCIe device tree 2024-05-01 08:30:43 +01:00
Paolo Sabatino
fb7484f3f9 rockchip: bump rk322x u-boot to v2024.01
* update the defconfig and accomodate upstream changes
 * introduce hdmi/vop/phy drivers and enable hdmi
 * fix clock driver
2024-05-01 08:29:03 +01:00
Igor Pecovnik
8402d9b4c8 Switch Radxa u-boot to more recent branch
- remove deprecated patches

It affects all boards that uses Radxa u-boot branch

@amazingfate
Perhaps also adjust armsom7 to this change to have less code maint?
2024-04-30 16:19:37 +08:00
Martin Pietryka
5c15e3f3e1 odroidn2: u-boot: fix eMMC stability
This includes a patch that sets the maximum frequency to 24 MHz in U-Boot
which improves reliability as previously U-Boot would randomly fail
reading from the eMMC.

Signed-off-by: Martin Pietryka <martin@pietryka.at>
2024-04-29 02:26:59 +08:00
Ricardo Pardini
1184c6d0e3 multiple boards: drop hooks adding 'python3-pyelftools' & libgnutls28-dev hostdeps, now included in standard core deps 2024-04-29 02:26:38 +08:00
Ricardo Pardini
1d819c7b86 prepare-host.sh: deps: add libgnutls28-dev, needed for some u-boot builds 2024-04-29 02:26:38 +08:00
Ricardo Pardini
6a242ab149 prepare-host.sh: deps: Noble dropped python3-distutils; fixes #6527
- keep it for older releases
2024-04-29 02:26:38 +08:00
Ricardo Pardini
981b1939db prepare-host.sh: deps: replace liblz4-tool with lz4
- should fix sid and trixie, which dropped the metapackage
2024-04-29 02:26:38 +08:00
amazingfate
a1ae7139c0 Add rock5c support 2024-04-28 02:14:16 +08:00
amazingfate
33b3aabbd9 armsom-sige7: sync edge devicetree with mainline 2024-04-28 02:11:41 +08:00
青菜萝 卜冬瓜
27f6b21955 Add full desktop support and change to .conf support. 2024-04-26 21:27:22 +08:00
hongruichen
8733093045 Squashed commit of the following:
commit 3c141f345220f5f2018adc208c2cd1d815dde91f
Merge: 41f554c56 4df3bddd6
Author: chr <chraac@gmail.com>
Date:   Thu Apr 18 20:42:26 2024 +0800

    Merge branch 'main' into dev-zero2w

commit 41f554c56393b100aaf27a7d0704ed5da8c10cc2
Author: chraac <chraac@gmail.com>
Date:   Mon Apr 15 21:24:26 2024 +0800

    split uboot patch into separated files

commit 5fa75455b77c8b76a750683fcd30160e7e344bf0
Author: chraac <chraac@gmail.com>
Date:   Thu Apr 11 10:18:35 2024 +0800

    wip

commit 266fe2e5546c98c20de7a6b3773cc7fcbdbbb781
Merge: ed22ba9ab 27a07d918
Author: chr <chraac@gmail.com>
Date:   Sun Apr 14 23:41:23 2024 +0800

    Merge branch 'main' into dev-zero2w

commit ed22ba9ab27e883bf8bd760b228b2f041497fea7
Author: chraac <chraac@gmail.com>
Date:   Wed Apr 10 23:26:25 2024 +0800

    move the u-boot patch to common parent folder

commit 80c3b23897b9723f732f4509b2dd0987bc142585
Merge: e23673e08 aee4c495a
Author: chr <chraac@gmail.com>
Date:   Wed Apr 10 13:12:15 2024 +0800

    Merge branch 'main' into dev-zero2w

commit e23673e084d03d375f09eb625cd83af852779b51
Author: chraac <chraac@gmail.com>
Date:   Tue Apr 9 23:44:16 2024 +0800

    rename old i2c overlays

commit 50e895c2aaec3b36611f7968f970d7a4c09253c5
Author: chraac <chraac@gmail.com>
Date:   Mon Apr 8 21:10:22 2024 +0800

    add overlay to enable gpu

commit 88a2a780af0ff2c53456e4c110958b0a4fae2538
Author: chraac <chraac@gmail.com>
Date:   Mon Apr 8 10:21:04 2024 +0800

    rename overlay and add pin binding

commit c4cf96be5f7bac4c563f7f162a075833faa49eee
Author: chraac <chraac@gmail.com>
Date:   Sun Apr 7 22:09:48 2024 +0800

    change overlay prefix back to 'sun50i-h616'

commit 72d6bf25531d870b90648d1853525820ed42d24e
Author: chraac <chraac@gmail.com>
Date:   Sat Apr 6 22:36:28 2024 +0800

    bump uboot version

commit 346d27611e0c493353e608e15eaad4f59b4ec9bd
Author: chraac <chraac@gmail.com>
Date:   Fri Apr 5 12:38:38 2024 +0800

    add dto overlay with h618 prefix

commit 62a6d90574c91def7b7bbcfaf00f8c49a3210ef8
Merge: 85c909511 e83d1a0ea
Author: chr <chraac@gmail.com>
Date:   Thu Apr 4 22:24:19 2024 +0800

    Merge branch 'main' into dev-zero2w

commit 85c909511d12cf04a0354211766269a510e964c4
Author: chraac <chraac@gmail.com>
Date:   Wed Apr 3 12:36:25 2024 +0800

    remove driver skip

commit 498e177c8981b7c9038abb3a0cb4c0d6a2dcf6bc
Author: chraac <chraac@gmail.com>
Date:   Mon Apr 1 23:35:18 2024 +0800

    update board maintainer

commit acccdf70a2690475511f28132a350ecb7707b424
Merge: 8cc50e576 6ced5cc02
Author: chraac <chraac@gmail.com>
Date:   Mon Apr 1 15:29:47 2024 +0800

    Merge branch 'main' into dev-zero2w

commit 8cc50e5762be9ed9a085278ad1ce1b79cf83a937
Author: chraac <chraac@gmail.com>
Date:   Sun Mar 31 23:58:48 2024 +0800

    add sun50i-h618-cpu-dvfs.dtsi

commit 7e9f7a8757a811918ba0cf406994fb17b33a30d9
Author: chraac <chraac@gmail.com>
Date:   Sat Mar 30 15:28:00 2024 +0800

    format zero2w dts

commit b32369dd18cf93b65b83ee6360a6fdcb79434f18
Author: chraac <chraac@gmail.com>
Date:   Sat Mar 30 11:09:00 2024 +0800

    wip -> csc

commit 12b76decdfe6bfd7e7a9110f8c2607a1db4b7ef4
Author: chraac <chraac@gmail.com>
Date:   Fri Mar 29 18:41:49 2024 +0800

    enable hdmi

commit bad08f83d1f19f430593ae9794238d2001a97114
Author: chraac <chraac@gmail.com>
Date:   Fri Mar 29 16:59:42 2024 +0800

    compact the u-boot patch

commit 4ab2fb50ae3b865f3423e5134ac8fad3fa11e6a1
Author: chraac <chraac@gmail.com>
Date:   Fri Mar 29 12:07:08 2024 +0800

    add skip driver and add patch for kernel 6.7

commit 8747eb35b3fee796ea33a3e1b027b158dd6f6e10
Author: chraac <chraac@gmail.com>
Date:   Fri Mar 29 10:57:35 2024 +0800

    remove unused patch of u-boot

commit 3afa2cd61f31dfbd5a41d054331125dc2052bb16
Author: chraac <chraac@gmail.com>
Date:   Thu Mar 28 21:57:20 2024 +0800

    use single patch for u-boot

commit bb83471dc5413e498d0bd0191ee28a7e9f667fbc
Author: chraac <chraac@gmail.com>
Date:   Thu Mar 28 20:45:38 2024 +0800

    update u-boot tag

commit d26508f299225471fb143515ab5f83dc6e3246a6
Author: chraac <chraac@gmail.com>
Date:   Wed Mar 27 23:26:39 2024 +0800

    revert unused changes

commit 9292534923f1d8071ba8f4023925a38c46c5d810
Author: chraac <chraac@gmail.com>
Date:   Wed Mar 27 23:20:02 2024 +0800

    fix temp too high on boot, and do not override the BOOTPATCHDIR!!!

commit 4e6f5b36d121ddb6436214784084c059701cd371
Author: chraac <chraac@gmail.com>
Date:   Wed Mar 27 11:16:33 2024 +0800

    wip

commit ce8cf00ddf8f3c9f77013a53f23d63a111184db7
Author: chraac <chraac@gmail.com>
Date:   Fri Mar 22 10:53:25 2024 +0800

    fix overheat issue by increasing the critical temp

commit bce1034a48b02bd8184126009bdb10ab2a13d062
Author: chraac <chraac@gmail.com>
Date:   Thu Mar 21 21:16:22 2024 +0800

    remove unused changes

commit 6c356a8aa8de75b0a3dcd4eb9ee5b1c4b86cf5cb
Author: chraac <chraac@gmail.com>
Date:   Thu Mar 21 10:34:57 2024 +0800

    fix diff

commit dfe5cce8b5ce7717df4705adcbe1d0505350e640
Merge: ae1a5f22e 2cd46aceb
Author: chraac <chraac@gmail.com>
Date:   Thu Mar 21 10:13:59 2024 +0800

    Merge tag 'v24.2.1' into dev-zero2w

commit ae1a5f22eaddf52ccb6e1f11052a8d3b6df439e6
Author: chraac <chraac@gmail.com>
Date:   Wed Mar 20 23:23:45 2024 +0800

    simpilfy dts

commit abec25c16e89cda29ae8f39a34c5e29eebe51319
Author: chraac <chraac@gmail.com>
Date:   Wed Mar 20 18:54:43 2024 +0800

    fix gpu therminal error

commit fe377d22db11163fd22a25e348f0872f235f3634
Author: chraac <chraac@gmail.com>
Date:   Mon Mar 18 23:24:41 2024 +0800

    use patch for uboot

commit 639c9998a95114ea8bf094b9892a824f117119fd
Author: chraac <chraac@gmail.com>
Date:   Mon Mar 18 20:40:53 2024 +0800

    fix cpu freq

commit b8f661dad97739aa6c19cb608aebc5b0b652f140
Author: chraac <chraac@gmail.com>
Date:   Mon Mar 18 19:04:53 2024 +0800

    change dts according to orangepi offical repo

commit b6d8c78c667b5e969889e743073f216528542e3a
Author: chraac <chraac@gmail.com>
Date:   Sat Mar 16 12:03:43 2024 +0800

    booted!

commit 09cd4af6e5
Author: Igor Pecovnik <igor.pecovnik@gmail.com>
Date:   Thu Feb 29 19:03:07 2024 +0100

    Updated broken commit ids for Raspberry-pi kernel

commit 0e6911f30b
Author: Igor Pecovnik <igor.pecovnik@gmail.com>
Date:   Thu Feb 29 17:49:27 2024 +0100

    Create output/info early in host prepare for storing JSON files

commit 2630001fbd
Author: Gunjan Gupta <viraniac@gmail.com>
Date:   Mon Feb 12 21:44:40 2024 +0530

    Freeze git sources for v24.02 release

commit 20491dcb2e
Author: Gunjan Gupta <viraniac@gmail.com>
Date:   Mon Feb 12 21:43:49 2024 +0530

    Add ability to freeze git resources

commit 5084cd6eff
Merge: c72537f21 25b0a833f
Author: Igor Pecovnik <igor.pecovnik@gmail.com>
Date:   Thu Feb 29 17:09:57 2024 +0100

    Merge branch 'main' into v24.02

commit c72537f21f
Merge: 080d23446 fa3c79675
Author: Igor Pecovnik <igor.pecovnik@gmail.com>
Date:   Tue Feb 13 22:15:50 2024 +0100

    Merge branch 'main' into v24.02

commit 080d234467
Author: Igor Pecovnik <igor.pecovnik@gmail.com>
Date:   Sun Feb 11 00:13:37 2024 +0100

    Set version
2024-04-26 20:53:33 +08:00
Igor
07800f9a4a Revert "python-tools: Bump pip dependencies to their latest versions"
This reverts commit c46e99ec60.
2024-04-26 20:46:42 +08:00
Igor
aa9fea7797 Revert "cli: Add command "dts-check""
This reverts commit 54618c1bd3.
2024-04-26 20:46:42 +08:00
ColorfulRhino
54618c1bd3 cli: Add command "dts-check"
Validates the dts/dtb file for the selected board and outputs the validation logs to the user.
This can be used when adding a new board, developing or improving a dts file. Should lead to higher quality device trees and patches overall, if used.
2024-04-26 18:18:56 +08:00
ColorfulRhino
c46e99ec60 python-tools: Bump pip dependencies to their latest versions
No new major versions
2024-04-26 18:18:56 +08:00
Lane Jennison
6f33e4f9ca armbian-hardware-optimize: add thought-provoking FIXMEs to inspire the next generation of tuners 2024-04-26 18:18:03 +08:00
Lane Jennison
704261529c revert some boards to original (again) 2024-04-26 18:18:03 +08:00
Lane Jennison
1a4083fce8 kernel config: revert default governor change back on ondemand 2024-04-26 18:18:03 +08:00
Thomas Kaiser
26dec02ea1 Fully replace Armbian's former limited utilization of cpufrequtils package 2024-04-26 18:18:03 +08:00
Thomas Kaiser
71bd6633c6 Fix RK3588 NAS performance 2024-04-26 18:18:03 +08:00
青菜萝 卜冬瓜
35d7b325f8 add support for allwinner T527 Avaota-A1 (#6495) 2024-04-26 09:22:17 +02:00
Paolo Sabatino
3c649d2e9d rockchip64: cleanup rk3318-box hdmi patches
* remove phy functions to avoid future clashes
 * use existing phy .configure function
2024-04-26 15:21:56 +08:00
青菜萝 卜冬瓜
f413800cd8 add current kernel support for phytium-embedded (#6522) 2024-04-26 09:21:37 +02:00
Igor Pecovnik
f20c4b6de5 Fixing broken DT for h96 tvbox 3566 2024-04-26 15:20:45 +08:00
igorpecovnik
07a7a802d4 Automatic board configs status synchronise 2024-04-26 15:10:43 +08:00
Nicolas Pereira
d75bc9f94e HDMI sound & audio fix
Fixed dmesg sound error - shifting to jammy gnome
2024-04-25 20:27:49 -04:00
FantasyGmm
2a12c44e7b Odin2 Use Custom ABL, boot from TF Card (#6517)
* Update sm8250: kernel add legacy and edge branch
* Update Odin2:Using a new boot method,boot from sd
2024-04-24 11:10:53 +02:00
Igor Pecovnik
741e95c1c1 Move Sakura Pi u-boot patch into dedicated folder
This way we prevent to interfeer with some other boards. Previos solution broke Radxa Rock 0 patching ... https://paste.armbian.com/gatasibigi

https://github.com/armbian/build/pull/6497
2024-04-23 17:24:14 +08:00
TheSnowfield
b5e6e4837e rockchip-rk3308-current: add support for sakura pi rk3308b 2024-04-23 16:12:04 +08:00
Nicolas Pereira
702b5e592e board rk3566-h96-tvbox wifi fix, Led and IR enable
kernel 6.6 and 6.1
2024-04-22 15:19:41 -04:00
dependabot[bot]
327a6664a4 build(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](5d5d22a312...65462800fd)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-23 03:05:07 +08:00
dependabot[bot]
2987f3c23c build(deps): bump pascalgn/size-label-action from 0.5.0 to 0.5.2
Bumps [pascalgn/size-label-action](https://github.com/pascalgn/size-label-action) from 0.5.0 to 0.5.2.
- [Release notes](https://github.com/pascalgn/size-label-action/releases)
- [Commits](https://github.com/pascalgn/size-label-action/compare/v0.5.0...v0.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-23 03:04:51 +08:00
Igor Pecovnik
60250d17af After bumping rk3319-box u-boot to most recent versions, we need pure-python3 library for parsing ELF and DWARF
https://github.com/armbian/build/pull/6509
2024-04-23 01:50:49 +08:00
Pete
4b53634475 Add UDOO USB patch for newer kernels (#6505) 2024-04-22 16:00:47 +02:00
amazingfate
a38146df55 rk35xx-vendor: enable panthor gpu driver 2024-04-22 13:55:14 +02:00
Paolo Sabatino
7bc069d681 move rockchip patches into rk3318_box directory 2024-04-22 12:39:09 +02:00
Paolo Sabatino
efee17f217 rockchip64: bump rk3318-box uboot to v2024.01
* bump uboot version to v2024.01
 * add hdmi, vop driver for rk3328, enable hdmi
 * add inno hdmi phy driver
2024-04-22 12:39:09 +02:00
FantasyGmm
3f928f799c Update sm8250: kernel add legacy and edge branch 2024-04-22 18:11:07 +08:00
Werner
8b9431b8f6 It's Mastodon
While Fosstodon is the instance, Mastodon is the software used.
2024-04-22 12:06:32 +08:00
ColorfulRhino
a4aa9972d8 rockchip: Remove old edge kernel patch folder 6.7 2024-04-20 23:36:35 +08:00
amazingfate
5b867a1cbd add pcie support to orangepi rk3399 2024-04-20 23:36:06 +08:00
Antony Kurniawan
4df3bddd64 ramlog: harden the zram mounting
this is to improve the score of /var/log for FILE-6374 in Lynis audit
2024-04-17 10:44:55 +00:00
Nicolas Pereira
5e008a8f9b Board h96-tvbox-3566 Bring Up 2024-04-16 19:59:36 -04:00
Nicolas Pereira
f3f76904ca board rk3566-h96-tvbox bring up 2024-04-16 19:59:36 -04:00
Nicolas Pereira
2110f728a0 add-board-h96-tvbox-3566 2024-04-16 19:59:36 -04:00
Nicolas Pereira
265394e6a5 board rk3566-h96-tvbox bring up 2024-04-16 19:59:36 -04:00
Nicolas Pereira
fe55d11946 add-board-h96-tvbox-3566 2024-04-16 19:59:36 -04:00
Nicolas Pereira
84b1303442 Board h96-tvbox-3566 Bring Up 2024-04-16 19:59:36 -04:00
Nicolas Pereira
ce10170cbf h96-TVbox-rk3566 Board Bring Up 2024-04-16 19:59:36 -04:00
Nicolas Pereira
e5adbd3ced h96-TVbox-rk3566 Board Bring Up 2024-04-16 19:59:36 -04:00
Nicolas Pereira
3963188d0f h96-TVbox-rk3566 Board Bring Up 2024-04-16 19:59:36 -04:00
Igor Pecovnik
96abb9e944 Update failing patch 2024-04-17 02:28:24 +08:00
Brent Roman
7343ca42f7 Restore WiFi functionality to the RockPi-S
Reverts the part of 7b2c985363 that deprecated the RTL8723 driver.
The RTW88 driver for the RTL8723DS **does not work**
See issue Jira AR-2121
2024-04-16 00:36:19 +08:00
Muhammed Efe Cetin
27a07d918e rockchip-rk3588-edge: opi5b: add support for pcie wifi 2024-04-12 18:19:00 +02:00
brentr
04a5ff3be0 Corrected documentation error in Rockchip overlays (#6490)
The overlay enabling operation @1.3ghz for the RK3308-b silicon
is rk3308-b@1.3ghz -- not rk3308-bs@1.3ghz
2024-04-12 18:18:32 +02:00
M. Efe Çetin
a709de93a1 Enable vendor kernel branch on Khadas Edge 2 (#6492)
* Enable vendor kernel branch on Khadas Edge 2
2024-04-12 18:17:45 +02:00
Muhammed Efe Cetin
5e8b13b8bc rk35xx: vendor: enable Khadas MCU on kernel config 2024-04-12 08:47:40 +02:00
ColorfulRhino
f0c27bd69b kernel 6.6: swiotlb: Reduce the default size if no ZONE_DMA bouncing needed
With CONFIG_DMA_BOUNCE_UNALIGNED_KMALLOC enabled, the arm64 kernel still
allocates the default SWIOTLB buffer (64MB) even if ZONE_DMA is disabled
or all the RAM fits into this zone. However, this potentially wastes a
non-negligible amount of memory on platforms with little RAM.

Reduce the SWIOTLB size to 1MB per 1GB of RAM if only needed for
kmalloc() buffer bouncing.
2024-04-11 08:31:26 -04:00
ColorfulRhino
573d84a3e2 meson64-6.6: swiotlb: Reduce the default size if no ZONE_DMA bouncing needed
With CONFIG_DMA_BOUNCE_UNALIGNED_KMALLOC enabled, the arm64 kernel still
allocates the default SWIOTLB buffer (64MB) even if ZONE_DMA is disabled
or all the RAM fits into this zone. However, this potentially wastes a
non-negligible amount of memory on platforms with little RAM.

Reduce the SWIOTLB size to 1MB per 1GB of RAM if only needed for
kmalloc() buffer bouncing.

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-04-11 08:31:26 -04:00
Muhammed Efe Cetin
6cf0d5cf7d rockchip-rk3588-edge: opi5: fix typec and add support for GPU 2024-04-11 14:07:59 +02:00
ColorfulRhino
aee4c495a1 board: cm3588-nas: Device tree fixes & improvements
- Add &spi0, &i2c4, &i2c5 for the pin-conections (all disabled)
- Remove &spi1 since it's not available on the board
- vcc_3v3_sd_s0: remove unevaluated property flasgs"enable-active-low", it's unneeded since the default assumed is Active low (linux/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml)
- analog-sound: remove unevaluated property "simple-audio-card,hp-pin-name"
- &sdhci: remove "max-frequency = <200000000>;" since this value already defined as default in rk3588s.dtsi
- Rename node "button@1" to "button-user"
- Move "status" property to bottom, even if disabled
- Improve comments
2024-04-08 17:53:37 +00:00
ColorfulRhino
5a70a8a42b board: cm3588-nas: Add detailed GPIO labels
Reference was the official CM3588 NAS schematic revision 2309. Some GPIOs like USB, sdmmc or SPI-NOR are not listed.
2024-04-08 17:53:37 +00:00
Igor
1d803e8067 Unlock Code and Thunderbird from all distributions (#6481)
* Change optional / all_distributions into per distro
2024-04-08 00:34:28 +02:00
Igor Pecovnik
9682cf3b00 Drop package for building and distributing Python packages from standard images
They break Noble and we actually don't need them.
2024-04-07 16:10:11 +02:00
aiamadeus
aca32104dc rockchip: update dts patches for orangepi r1-plus 2024-04-07 13:23:44 +02:00
Ricardo Pardini
a2c81c22e8 batcat: skip running batcat, with a warning, if running on riscv64
- someone go add riscv64 to https://github.com/sharkdp/bat
2024-04-07 13:23:34 +02:00
Ricardo Pardini
fd7003125e shellcheck: skip running shellcheck, with a warning, if running on riscv64
- someone go add riscv64 to https://github.com/koalaman/shellcheck
2024-04-07 13:23:34 +02:00
Ricardo Pardini
cd0820a0d5 prepare-host: add libffi-dev host dependency, needed for Python3 setuptools (when prebuilt wheel not found)
- fixes errors that show up only when building on non-arm64/amd64, when there's no prebuilt wheel (eg on riscv64)
2024-04-07 13:23:34 +02:00
Ricardo Pardini
9bef0a5e5a oci-oras: use ORAS 1.2.0-beta.1 for riscv64 2024-04-07 13:23:34 +02:00
Ricardo Pardini
41b99ec2b1 rootfs-create: if debootstrap second stage fails, find debootstrap.log and show it so we know what the error is
- runner: let `if_error_find_files_sdcard` be a simple filename (different debootstraps put debootstrap.log in different places)
2024-04-07 13:22:11 +02:00
Ricardo Pardini
26c8af80a6 userspace: cli: common: move config_desktop's packages from debootstrap to main
- don't ask me why this was in there, or why there are desktop pkgs being installed during debootstrap
- debootstrap has limited dep resolution capabilities, do this later with apt, not debootstrap
2024-04-07 13:22:01 +02:00
Ricardo Pardini
3ca6c6b9e2 userspace: desktop: common: gnome: remove 'libpulsedsp' which is gone from noble 2024-04-07 13:21:51 +02:00
Ricardo Pardini
1409c2e622 userspace: debian: xfce: remove 'ayatana-indicator-printers' which is gone from trixie 2024-04-07 13:21:51 +02:00
Ricardo Pardini
3e4b2d3a03 rk-multimedia-amazingfate: add libv4l-rkmpp and gstreamer1.0-rockchip for desktop builds 2024-04-07 13:21:42 +02:00
Ricardo Pardini
28e1b946c9 kernel-debs: linux-libc-dev: add Conflicts: linux-libc-dev
- can't remember if should add `Replaces: linux-libc-dev` as well

Maybe-fixes: 22511b31cf
2024-04-07 13:21:33 +02:00
Ricardo Pardini
5c18ce8f28 rock-5b: move edge (only) to mainline/Kwiboo u-boot 2024.04; store env in SPI (12Mb offset, with userspace support) 2024-04-07 13:21:22 +02:00
monkaBlyat
7f2c891968 add bluedevil for bluetooth support 2024-04-07 09:24:32 +02:00
Igor Pecovnik
4744775aa7 Disable mtd-tools on Armbian Noble for armhf architecture
Broken dependency which will unlikely to be fixed and IIRC this is not needed for armhf anyway.
2024-04-06 09:50:48 +02:00
Igor
5c84edbc11 Fixing packages dependencies and small optimisations (#6472)
* Fixing packages dependencies and small optimisations
* Disable printer-driver-all as its missing from Trixie and disable not needed tools
* Remove more apps
2024-04-06 08:57:03 +02:00
amazingfate
01508f7c78 add new board bananapim7 2024-04-06 01:27:54 +02:00
ColorfulRhino
69e7cffe0f board: cm3588-nas: Add support for mainline kernel 🦜🎉
- Add dts file (based on and improved upon the NanoPC-T6 dts, originally authored by Thomas McKahan)
- Both Edge and Collabora kernels are supported
2024-04-06 00:39:57 +02:00
ColorfulRhino
f3cc7f603d board: cm3588-nas: Update blobs, use ext4 boot, update info 2024-04-06 00:39:57 +02:00
ColorfulRhino
42c87ef5d0 rk3588-edge: Fix PCIe bifurification issues
One patch also fixes Combo PHY.

Many thanks goes to the geniuses Sebastian Reichel and Michal Tomek. Without their brainpower, PCIe bifurification on the RK3588, like the mode used by the CM3588, would still be broken.
2024-04-06 00:39:57 +02:00
ColorfulRhino
8dddccb0e5 rk3588-edge: Introduce patch numbering logic
Sorting the patches to group them by category:
000* for general patches
00** for SoC related patches
01** for GPU/HDMI related patches
08** for wireless patches
1*** for board patches
101* for Rock-5B, 1012* for Rock-5A and so on
2024-04-06 00:39:57 +02:00
ColorfulRhino
21dedb068a rk3588-edge: Rewrite kernel patches against 6.8.3 2024-04-06 00:39:57 +02:00
ColorfulRhino
38ceb096a1 rk3588-collabora: Bump to 6.9
The default collabora kernel branch is a rolling branch and will be rebased.
2024-04-06 00:39:57 +02:00
Ricardo Pardini
e83d1a0eab kernel-debs: fix: don't try to package linux-libc-dev if only packaging dtb
Fixes: 22511b31cf
2024-04-03 18:31:43 +02:00
Ricardo Pardini
d26394904f mekotronics: mainline u-boot experiment using generic-rk3588_defconfig, gated by MEKO_USE_MAINLINE_UBOOT=yes
- Kwiboo's `rk3xxx-2024.04` -- also works with mainline's `next`
- works! (sd/emmc only ofc)
2024-04-03 18:30:48 +02:00
Ricardo Pardini
ac163dc962 mekotronics: mainline u-boot (next branch, generic-rk3588_defconfig)
- works! (sd/emmc only ofc)
2024-04-03 18:30:48 +02:00
Ricardo Pardini
180b79cddc kernel-dtbs: output a somewhat-diffable preprocessed dtc-massaged version of the DTS
- useful for diffs across the same kernel, much less so across
2024-04-03 18:30:37 +02:00
Patrick Yavitz
7df2f46a91 RTW88: 6.x.y fixups
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-04-03 11:59:06 -04:00
195375690@qq.com
cf21bb9c64 enable CONFIG_SND_SOC_ROCKCHIP_SAI=y for rk3528 hdmi audio 2024-04-03 20:46:02 +08:00
Ricardo Pardini
5f59fe63f1 rockchip-rk3588: introduce vendor-boogie-panthor experimental BRANCH/kernel
- original: https://github.com/hbiyik/linux-rockchip.git (branch `rk-6.1-rkr1-panthor-v6`)
- I picked the commits on top of clean armbian/linux-rockchip `6.1-rkr1` as of 2024-04-01
  - At https://github.com/rpardini/armbian-linux-rockchip-rk3588/tree/armbian-rk-6.1-rkr1-plus-boogie-panthor-v6
  - Diff: https://github.com/armbian/linux-rockchip/compare/rk-6.1-rkr1...rpardini:armbian-linux-rockchip-rk3588:armbian-rk-6.1-rkr1-plus-boogie-panthor-v6

- rockchip-rk3588: introduce `boogie-bsp` BRANCH
- rockchip-rk3588: copy linux-rk35xx-vendor.config into linux-rk35xx-boogie-bsp.config
- rockchip-rk3588: update linux-rk35xx-boogie-bsp.config, no changes
- rockchip-rk3588: linux-rk35xx-boogie-bsp.config: `CONFIG_DRM_PANTHOR=m`
- rockchip-rk3588: linux-rk35xx-boogie-bsp.config: convert to defconfig
- rockchip-rk3588: rename to `BRANCH=vendor-boogie-panthor` for "clarity" (lol)
- rockchip-rk3588: vendor-boogie-panthor: force SERIALCON, full firmware (for blob needed for panthor) & mesa-oibaf extension
- rockchip-rk3588: vendor-boogie-panthor: enable amazingfated-rk35xx extension sans-panfork
2024-04-02 21:10:06 +02:00
Ricardo Pardini
e39839e6a0 extensions: (v3) amazingfated-rk35xx, now rk-multimedia-amazingfate - panfork-free
- simply skips if not on Jammy
- deploys Chromium + Widevine if desktop
2024-04-02 21:10:06 +02:00
Ricardo Pardini
0c76cf03af extensions: mesa-oibaf extension by @monkaBlyat - mainline mesa PPA for Ubuntu
- does nothing on Debian
2024-04-02 21:10:06 +02:00
Ricardo Pardini
309825efe8 config: allow to build BRANCHes not listed in KERNEL_TARGET as long as the config is valid
- useful for `collabora` and other experimental kernels, we don't want to have to add it to each individual board's KERNEL_TARGES one by one
- but we don't want to allow typos in BRANCH to emit very strange unrelated errors
2024-04-02 21:10:06 +02:00
Ricardo Pardini
025eb5454e rockchip64_common: move SERIALCON defaulting logic to a (verbose) hook for flexibility 2024-04-02 21:10:06 +02:00
Ricardo Pardini
016ca2eebe rockchip64_common: shellfmt, no changes 2024-04-02 21:10:06 +02:00
Ricardo Pardini
5e943dede7 main-config: fix: avoid errors when BRANCH contains a dash; convert to underscore 2024-04-02 21:10:06 +02:00
Ricardo Pardini
1074c969e8 Revert "rockchip-rk3588: it's vendor boogie panthor time (experimental) (#6459)"
This reverts commit 43cf339c6c.
2024-04-02 21:10:06 +02:00
Ricardo Pardini
43cf339c6c rockchip-rk3588: it's vendor boogie panthor time (experimental) (#6459)
* main-config: fix: avoid errors when BRANCH contains a dash; convert to underscore

* rockchip64_common: shellfmt, no changes

* rockchip64_common: move SERIALCON defaulting logic to a (verbose) hook for flexibility

* config: allow to build BRANCHes not listed in KERNEL_TARGET as long as the config is valid

- useful for `collabora` and other experimental kernels, we don't want to have to add it to each individual board's KERNEL_TARGES one by one
- but we don't want to allow typos in BRANCH to emit very strange unrelated errors

* extensions: mesa-oibaf extension by @monkaBlyat - mainline mesa PPA for Ubuntu

- does nothing on Debian

* extensions: (v3) amazingfated-rk35xx, now `rk-multimedia-amazingfate` - panfork-free

- simply skips if not on Jammy
- deploys Chromium + Widevine if desktop

* rockchip-rk3588: introduce `vendor-boogie-panthor` experimental BRANCH/kernel

- original: https://github.com/hbiyik/linux-rockchip.git (branch `rk-6.1-rkr1-panthor-v6`)
- I picked the commits on top of clean armbian/linux-rockchip `6.1-rkr1` as of 2024-04-01
  - At https://github.com/rpardini/armbian-linux-rockchip-rk3588/tree/armbian-rk-6.1-rkr1-plus-boogie-panthor-v6
  - Diff: https://github.com/armbian/linux-rockchip/compare/rk-6.1-rkr1...rpardini:armbian-linux-rockchip-rk3588:armbian-rk-6.1-rkr1-plus-boogie-panthor-v6

- rockchip-rk3588: introduce `boogie-bsp` BRANCH
- rockchip-rk3588: copy linux-rk35xx-vendor.config into linux-rk35xx-boogie-bsp.config
- rockchip-rk3588: update linux-rk35xx-boogie-bsp.config, no changes
- rockchip-rk3588: linux-rk35xx-boogie-bsp.config: `CONFIG_DRM_PANTHOR=m`
- rockchip-rk3588: linux-rk35xx-boogie-bsp.config: convert to defconfig
- rockchip-rk3588: rename to `BRANCH=vendor-boogie-panthor` for "clarity" (lol)
- rockchip-rk3588: vendor-boogie-panthor: force SERIALCON, full firmware (for blob needed for panthor) & mesa-oibaf extension
- rockchip-rk3588: vendor-boogie-panthor: enable amazingfated-rk35xx extension sans-panfork
2024-04-02 20:30:38 +02:00
aiamadeus
d193307e16 rockchip: rewrite dts for rock3c 2024-04-02 15:34:17 +02:00
Igor Pecovnik
f3f10a9517 RPi5 has troubles booting when faster memory access is enabled
Lets (temporally) disable this feature as it doesn't work well and wait until things are fixed upstream / research problem deeper some other day.
2024-04-02 15:33:13 +02:00
c0rnelius
cc19b82444 DE: KDE: add package kscreen (#6462)
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
Co-authored-by: Patrick Yavitz <pyavitz@armbian.com>
2024-04-02 09:32:10 -04:00
Patrick Yavitz
0b7af65340 BananaPi CM4/M2S: FIXUPS
BPI-CM4
No change in functionality. Fixup adjustments.

BPI-M2S
The fan on the unit is constantly running. So lets set thermal
trip points and add the ability to control when we want it to
kick on. By default it is set to power on at 60*C.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-04-01 20:46:38 +02:00
dependabot[bot]
41c909194f build(deps): bump tj-actions/changed-files from 43 to 44
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 43 to 44.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v43...v44)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 20:46:29 +02:00
SteeManMI
d4093bd18e Bump meson64 edge from 6.7 to 6.8 (#6454)
* Bump meson64 edge from 6.7 to 6.8

 Changes to be committed:
	modified:   config/sources/families/include/meson64_common.inc
	renamed:    patch/kernel/archive/meson64-6.7 -> patch/kernel/archive/meson64-6.8
	modified:   patch/kernel/archive/meson64-6.8/board-bananapi-cm4-cm4io-fixes.patch
	modified:   patch/kernel/archive/meson64-6.8/general-input-touchscreen-Add-D-WAV-Multitouch.patch
	new file:   patch/kernel/archive/meson64-6.8/kernel-6.8-tools-cgroup-makefile.patch

* updates from rewrite-kernel-patches

* updates from rewrite-kernel-config
2024-04-01 07:43:40 -04:00
ColorfulRhino
6ced5cc026 meson-s4t7: Fix custom_kernel_config: hash modification has to happen inside the first function call
Will be ignored on second time the function is called
2024-03-30 21:09:12 +01:00
ColorfulRhino
ee8a3d9675 Kernel config hooks: Use custom_kernel_config instead of armbian_kernel_config
Since `armbian_kernel_config` is "NOT for user consumption. Do NOT use this hook, this is internal to Armbian."
`custom_kernel_config`  is able to overwrite previously set values.
2024-03-30 21:09:12 +01:00
ColorfulRhino
f9acd1cc96 meson-s4t7: Enable DEBUG_KERNEL to work around issues with Khadas common_drivers 2024-03-30 21:09:12 +01:00
Ricardo Pardini
8d426f6c29 rockpro64: bump u-boot to v2024.04-rc4; use binman-produced bins
- `mmc-sdhci-allow-disabling-sdma-in-spl.patch` has landed in 3cd664dc92
- remove `CONFIG_SPL_MMC_SDHCI_SDMA=n`, as fix has landed in 3b804b370d (thanks Kwiboo for the pointer)
- use binman-produced binaries
- use `flashcp -p` to write fast to spi
- bump ATF (TF-A) to lts-v2.8.16
- configure /etc/fw_env.config userspace to SPI env coordinates
  - configure /etc/fw_env.config userspace to SPI env coordinates
  - include libubootenv-tool userspace for fw_printenv and fw_setenv
- use `bs=32k seek=1` instead of `seek=64` suggested by Kwiboo (thanks!) for speedy writing
- add a check for the u-boot.bin size (992KiB) suggested by Kwiboo (thanks!)
  - really a close call: we're at 994.920 bytes right now

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
Co-authored-by: Jonas Karlman <jonas@kwiboo.se>
2024-03-30 12:17:39 +01:00
Igor Pecovnik
9905082d4e Changing file to force full rootfs cache rebuild due to upstream backdoor 2024-03-29 20:22:54 +01:00
ColorfulRhino
3b73b5fd81 kernel-config: Fix forced option IKCONFIG
Also rewrite some kernel configs to reflect this fix
2024-03-29 15:57:40 +00:00
ColorfulRhino
b57767fd1b bcm2711: rewrite-kernel-config for legacy, current, edge 2024-03-29 15:57:40 +00:00
ColorfulRhino
c20d074f58 uefi: rewrite-kernel-config for arm64/riscv64/x86, current & edge 2024-03-29 15:57:40 +00:00
ColorfulRhino
46d913cce1 rk3588-edge, rk35xx-vendor, rk35xx-legacy: rewrite-kernel-config 2024-03-29 15:57:40 +00:00
ColorfulRhino
7ded1f7d7d kernel-config: Force-enable CONFIG_IKCONFIG_PROC=y
to make the kernel config available on the running machine via /proc/config.gz
2024-03-29 15:57:40 +00:00
ColorfulRhino
01be9ecbf9 kernel-config: Update forced kernel options with kernel version checks
This makes the process even more automatic, requiring less manual changes in the config in case of having to solve dependency chains.
2024-03-29 15:57:40 +00:00
ColorfulRhino
bb3837b675 kernel-config: Move config check to init function
- Also change run_kernel_make_dialog oldconfig to run_kernel_make olddefconfig
2024-03-29 15:57:40 +00:00
ColorfulRhino
d504aa1be2 rockchip64-edge: rewrite kernel config 2024-03-29 15:57:40 +00:00
ColorfulRhino
f8e7d33d69 kernel-config: Fix forced disabling of debug options
Disable CONFIG_EXPERT as well since DEBUG_KERNEL=y is a dependency for EXPERT=y, meaning DEBUG_KERNEL would be re-enabled automatically if EXPERT is enabled
2024-03-29 15:57:40 +00:00
ColorfulRhino
4d744e8638 kernel-config: Only force disable kernel option if it was enabled
This prevents misconfigurations which would be automatically deleted in the next run of `kernel-config`
2024-03-29 15:57:40 +00:00
ColorfulRhino
9f127751f1 kernel-config: Check and repair kernel config after forcing options
Manually forcing kernel options with 'call_extensions_kernel_config()' can introduce missing dependencies or misconfigurations. This commit introduces a function which checks the config, re-establishes its sanity if necessary and outputs any changes to the user.
This also makes `./compile.sh kernel-config` (exiting without changes) and `./compile.sh rewrite-kernel-config` ouput the same config file. Previously, this was not the case.
2024-03-29 15:57:40 +00:00
Julian Sikorski
44d8ac4651 Update odroidxu4-current to 6.1.83 2024-03-29 13:12:01 +01:00
Ricardo Pardini
4c3f878bb4 rockchip64-edge (6.8.y): enable CONFIG_RTW88_PCI and all the RTW88 PCI cards
- needed for the Tinkerboard-2 (8822CE)
- didn't touch SDIO or USB ones
2024-03-29 13:11:25 +01:00
ColorfulRhino
42874201c4 cli: Update shellcheck 0.9.0 --> 0.10.0 2024-03-28 14:07:32 +01:00
amazingfate
4887035522 rk3588-edge: rock-5a: fix poweroff and enable m.2 E slot 2024-03-28 14:07:22 +01:00
amazingfate
7d94527a8d enable gpu node for sige7, h88k and rock5a 2024-03-28 14:07:22 +01:00
Igor Pecovnik
86df0089fc sunxi legacy v6.1: remove deprecated patch 2024-03-27 21:20:53 +01:00
Patrick Yavitz
b0bb6b4e31 RTW88: remove patches upstreamed
6.1.y

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-27 19:45:10 +01:00
Patrick Yavitz
8be75c7528 RTW88: remove patches upstreamed
6.6.y
6.7.y
6.8.y: https://github.com/armbian/build/pull/6436

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-27 09:19:11 +01:00
amazingfate
459e62e087 armsom-sige7: add ap6275p wifi support 2024-03-27 08:39:11 +01:00
ColorfulRhino
77a3f587bc wireless: Remove some patches upstreamed in 6.8.2 2024-03-27 07:10:24 +01:00
Muhammed Efe Cetin
a3bb1d06e0 rockchip-rk3588-edge: khadas-edge2: add automatic fan control 2024-03-26 23:26:50 +01:00
Muhammed Efe Cetin
a97aee685d rockchip-rk3588-edge: refresh cpufreq patches 2024-03-26 23:26:50 +01:00
ColorfulRhino
03c51a301a GH Actions: Beautify kernel hardening analysis
GitHub job summaries do not support colored output, but the kernel hardening script is using colored output. Thus, the job summary in the Actions panel is littered with ugly characters. This commit replaces them with emojis to enhance visibility.
2024-03-26 23:26:36 +01:00
Paolo Sabatino
a1aab845c0 rockchip64: update patching YAML file 2024-03-26 13:46:35 +01:00
Paolo Sabatino
e4d413b916 rockchip64: bump edge kernel to 6.8 2024-03-26 13:46:35 +01:00
Paolo Sabatino
e2fb8dcf43 fix missing of headers in uwe5622 driver patches 2024-03-26 13:21:22 +01:00
Ricardo Pardini
3f67158c60 khadas-vim3: enable networking cmds in u-boot 2024-03-26 07:29:09 +01:00
Ricardo Pardini
9885c704af khadas-vim3l: enable networking cmds in u-boot 2024-03-26 07:29:09 +01:00
Muhammed Efe Cetin
8b41236462 rockchip-rk3588-edge: khadas-edge2: add support for GPU and improve display modes 2024-03-26 07:28:43 +01:00
Igor Pecovnik
a0a701b9a5 Bugfix / workaround: fix python parsing errors
In order to proceed with compiling Khadas Edge 2 bsp packages, we need to remove single quotes from comments
2024-03-26 00:13:47 +01:00
amazingfate
1bece8c428 armsom-sige7: add missing vop node 2024-03-25 20:47:51 +01:00
ColorfulRhino
bb23764c65 build script: config: Move fs-compatibility-check into a function
for better readability
2024-03-25 19:28:09 +00:00
ColorfulRhino
7e07ba179b build script: config: Use gzip instead of pigz in fs-compat-check 2024-03-25 19:28:09 +00:00
ColorfulRhino
c02b9b90d8 build script: configuration: Check if ROOTFS_TYPE is supported by build host 2024-03-25 19:28:09 +00:00
Paolo Sabatino
47d2e8287e rockchip: bump edge kernel to 6.8 2024-03-25 19:38:38 +01:00
RadxaNaoki
c02e1c36c1 add support for Radxa ZERO 3E/3W (#6420)
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
2024-03-25 18:45:12 +01:00
Valentin
22511b31cf create linux-libc-dev when building kernel packages (#6408)
* Re-add functionality to create linux-libc-dev when building kernel packages.
* linux-libc-dev: append -${BRANCH}-${LINUXFAMILY} to package name and update control file
2024-03-25 18:04:26 +01:00
Ricardo Pardini
dad4082778 artifact-armbian-bsp-cli: include BOOT_SOC in the bsp-cli hash
- This way we can safely include BOOT_SOC in /etc/armbian-release as done in the previous commit
- this will cause a rebuild of _all_ bsp-cli packages, even those for boards that don't define BOOT_SOC
- hopefully one day we will have BOOT_SOC ("What is the SoC?") defined for all boards
  - for now, it will be empty for those that don't define it, which should be harmless
2024-03-25 18:03:43 +01:00
Yanase Yuki
e3ec53d66c bsp-cli: include BOOT_SOC in /etc/armbian-release
Commit 562d96128b introduces new variable "BOOT_SOC".
This var is used at u-boot post install script, so "BOOT_SOC"
must be avaiable on system image.

Without this u-boot upgrade on tinkerboard will be completely
broken.
https://forum.armbian.com/topic/35677-tinkerboard-not-booting-after-updates/
2024-03-25 18:03:43 +01:00
Paolo Sabatino
f20b2240b0 rockchip: fix bootloader upgrade 2024-03-25 18:02:56 +01:00
Kamil Kasperski
aabae2cf60 config: boards: add X96 Mate TV Box config
Signed-off-by: Kamil Kasperski <ressetkk@gmail.com>
2024-03-25 18:00:44 +01:00
Vadim Gerasimov
fc98d2eaca Rock 4C+: update and cleanup boot config
Use newer uboot that includes defconfig for 4C+.
Fixes unstable boots.
2024-03-25 17:59:53 +01:00
jack
82f4c629b1 Enable armsom-sige7 early PD negotiation 2024-03-25 17:59:25 +01:00
jack
f99b2a8f3b add rockchip-rk3588-edge devicetree for armsom-sige7 2024-03-25 17:59:25 +01:00
jack
9429613556 add armsom-sige7 boards: all add KERNEL_TARGET edge collabora 2024-03-25 17:59:25 +01:00
Paolo Sabatino
f63a98d082 fix rtl8723cs compilation for kernel 6.8 2024-03-25 17:26:47 +01:00
Igor Pecovnik
69b06907ba Debian desktops - disable Transmission in internet app group as its broken in Trixie 2024-03-25 00:48:28 +01:00
amazingfate
0284261d76 fix wrong gpu node patch 2024-03-24 22:37:29 +08:00
amazingfate
58bc8d9658 rockchip-rk3588: edge: improve display modes support 2024-03-24 08:55:09 +08:00
amazingfate
1874b287d7 armsom boards: all branches use the same uboot 2024-03-23 08:19:23 +08:00
ColorfulRhino
0cbd0c9a8a bootscripts: Delete unused/left-over boot-rockchip64-vendor.cmd 2024-03-22 22:21:44 +00:00
lesca
03fa7c3207 enable module snd_aloop for linux-rk35xx legacy and vendor 2024-03-22 13:00:29 +00:00
amazingfate
741ebab0cb hinlink-h88k: edge: update mainline devicetree
add gmac0 ethernet support

add poweroff support

fix typo in dts
2024-03-22 09:41:56 +08:00
amazingfate
6aff5cfbc1 rockchip-rk3588: edge: add panthor support 2024-03-22 09:41:39 +08:00
ColorfulRhino
c2c672f07c bootscript: rockchip64, rk3588-legacy: Inform user that kaslrseed error can be ignored 2024-03-21 16:05:51 +00:00
ColorfulRhino
929ca08af5 bootscript: Fix error "Failed to load '...-fixup.scr'" for rockchip64, rk3588-legacy 2024-03-21 16:05:51 +00:00
ColorfulRhino
1a574072fc kernel-configs: Rewrite/update mvebu64-current and sun50iw9-btt-legacy 2024-03-21 16:05:01 +00:00
amazingfate
ce26a3c106 config: rockchip-rk3588-edge: fix hdmi phy config 2024-03-21 10:13:31 +08:00
amazingfate
a763c08e05 rockchip-rk3588-edge: use hdmi patches from collabora 2024-03-21 10:13:31 +08:00
c0rnelius
9473ff596d BananaPi M4 Zero: add gpu and uart nodes (#6404)
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-19 06:15:44 -04:00
dependabot[bot]
6d482450b8 build(deps): bump tj-actions/changed-files from 42 to 43
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 42 to 43.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v42...v43)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 19:39:18 +01:00
Paolo Sabatino
453e9036ce fix rockpi-s bootenv file include 2024-03-18 08:38:46 +01:00
Paolo Sabatino
7723cbc343 remove rockpis-legacy kernel patch symlink 2024-03-18 08:38:46 +01:00
Paolo Sabatino
a2fd19da52 rockchip64: merge rockpi-s into rockchip64 family 2024-03-18 08:38:46 +01:00
ColorfulRhino
16e2c6a8fc uefi: kernel: Add patch to fix 6.8 building 2024-03-17 18:57:28 +00:00
ColorfulRhino
6d602effc8 drivers_network: Sort drivers/patches by legacy (<=5.x) and not legacy for better visibility and ease of use (e.g. when checking which driver commits should be updated) 2024-03-17 18:57:28 +00:00
ColorfulRhino
acdffddb78 patch/misc: Delete old/left-over/unused patches for wireless 2024-03-17 18:57:28 +00:00
ColorfulRhino
9d097d1c63 Update 6.8 kernel config for uefi and rk3588 (wireless driver changes) 2024-03-17 18:57:28 +00:00
ColorfulRhino
7b2c985363 drivers_network: Deprecate vendor drivers for RTW8723DS, RTW8723DU and RTL88x2cs in favor of mainline RTW88 for kernel >=6.8
- RTW8723DS, RTW8723DU is unsupported/deprecated/obsolete by the author since kernel 6.7 in favor of RTW88, so deprecate it for kernel >=6.8
- RTL88x2cs specifically says in its repo: "USE RTW88 NOT THIS DRIVER", so deprecate in favor of RTW88, except for meson64 family
- move random RTL88x2cs hook specific for meson64 family in drivers_network.sh to their family config
2024-03-17 18:57:28 +00:00
ColorfulRhino
07c1ea75c2 drivers_network: rtl8812au: Remove two upstreamed patches 2024-03-17 18:57:28 +00:00
ColorfulRhino
b1ec387300 drivers_network: Bump several drivers from upstream
Also add commit dates to make life prettier and easier

The following drivers have been updated with fixes for 6.8
- driver_rtl8811CU_rtl8821C
- driver_rtl88x2bu
- driver_rtl8811_rtl8812_rtl8814_rtl8821

The following drivers have been updated without specific 6.8 patches:
- driver_rtl8189ES (patches for 6.7, deleted two upstreamed patches)
- driver_rtl8189FS (patches for 6.7, deleted four upstreamed patches)
2024-03-17 18:57:28 +00:00
ColorfulRhino
d881d78209 drivers_network: Add repo URLs for ease of use + formatting 2024-03-17 18:57:28 +00:00
Igor Pecovnik
9e0c0caae8 Fixing rtl8192eu wireless driver compatibility, removing deprecated patch 2024-03-17 18:57:28 +00:00
ColorfulRhino
8d6842c726 uefi-arm64: Rewrite kernel patches against 6.8
- Using ./compile.sh rewrite-kernel-patches
2024-03-17 18:57:28 +00:00
ColorfulRhino
55d9513c24 uefi: edge kernel: Bump from 6.7 to 6.8
- Kernel configs updated via ./compile.sh rewrite-kernel-config
2024-03-17 18:57:28 +00:00
ColorfulRhino
73908aa745 mainline-kernel: Bump 6.8-rc7 to 6.8 stable 2024-03-17 18:57:28 +00:00
ColorfulRhino
00e3f44c91 GH Actions: Kernel hardening analysis: Exclude RISC-V configs
RISC-V is not yet supported by kernel-hardening-checker. See https://github.com/a13xp0p0v/kernel-hardening-checker/issues/56
2024-03-17 13:28:28 +00:00
Ricardo Pardini
f453e3796b rockchip64_common: use ttyFIQ0 as default SERIALCON for both legacy and vendor BRANCHes 2024-03-16 22:37:01 +01:00
Ricardo Pardini
a34261c6e3 desktop: jammy: kde-neon: more basic packages needed
- add network-manager & pulseaudio settings
- add discover, otherwise there is a broken icon on the dock
- add vault/scdaemon for gpg wallet
- enable debugs in create_desktop_package.sh; disable old postinst pa hack
2024-03-16 22:36:51 +01:00
ColorfulRhino
46a591e66a GH: ISSUE_TEMPLATE: Improve bug report template
- Don't have pre-placed text in text boxes which have to be deleted each time (placeholder/light grey background text is still there)
- Add latest host systems
- Add optional checkbox if building on WSL2
- Small wording improvements/changes
2024-03-16 22:31:43 +01:00
igorpecovnik
25d8456b2a Automatic board configs status synchronise 2024-03-15 18:13:13 +01:00
ColorfulRhino
7d38b4273a cli: rewrite-<uboot,kernel>-patches-needing-rebase 2024-03-13 21:01:26 +00:00
Igor Pecovnik
ab7e8c5342 Expand predicted size for rootfs for abl type of images 2024-03-13 19:15:26 +01:00
Beleswar Padhi
b7f42d9250 TI: Add initial support for TI SK-AM68 board
Add board config for TI SK-AM68 board of K3 Family

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
2024-03-13 19:11:29 +01:00
Beleswar Padhi
135696a731 K3: Add ATF_K3_USART_OFFSET setting
Add ATF_K3_USART_OFFSET flag while building ATF as needed for SK-AM68
platform.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
2024-03-13 19:11:29 +01:00
Igor Pecovnik
901922671e Disable automatic enablement of Nvidia propriatery drivers on x86 2024-03-11 19:46:10 +01:00
Igor Pecovnik
5053423925 Extend PR template when asking for documentation 2024-03-11 19:45:52 +01:00
Ricardo Pardini
977018b2e5 khadas-edge2: remove vendor branch, we've no kedge2 DT/patches for it yet 2024-03-10 17:48:55 +01:00
Ricardo Pardini
9f51942624 rk35xx/rockchip-rk3588: vendor: switch to armbian/linux-rockchip#rk-6.1-rkr1
- since https://github.com/armbian/linux-rockchip/pull/155
2024-03-10 17:48:55 +01:00
ColorfulRhino
5c09371611 rk35xx-vendor: Add kernel patching config 2024-03-10 17:48:42 +01:00
amazingfate
714cfd4e65 rk35xx-vendor: add rk3528 and lima driver support 2024-03-10 17:48:26 +01:00
amazingfate
817a0d6678 xiaomi-elish: use pd patch from lujianhua to fix typec otg 2024-03-10 17:47:11 +01:00
amazingfate
5a8b423d36 xiaomi-elish: use kernel 6.7.5 to avoid dsi pannel broken 2024-03-10 17:47:11 +01:00
Igor Pecovnik
06f8a112fa Cleanup Debian packages symbolic link mandness, remove deprecated 2024-03-10 17:46:59 +01:00
Igor Pecovnik
601cd32300 Cleanup Ubuntu packages symbolic link mandness, remove deprecated 2024-03-10 17:46:59 +01:00
Martin Schmiedel
e6d3f85625 MBa8MPxL: add asound.state for tqma boards
Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-03-09 20:04:04 +01:00
Martin Schmiedel
d10e4b498d MBa8MPxL: add basic files for TQ MBa8MPxL boards
- add imx8m familie
- add MBa8MPxL and MBa8MPxL-RAS314 Boards (based on imx8m)

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-03-09 20:04:04 +01:00
ColorfulRhino
8cd1a3d15e GH Actions: Update README.md on how to create and use ARMBIAN_SELF_DISPATCH_TOKEN 2024-03-09 20:03:52 +01:00
ColorfulRhino
d3a6e0b26f GH Actions: forked-helper: Fix deprecated ::set-output, fix 404 link
::set-output has been deprecated in 2022: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2024-03-09 20:03:52 +01:00
Ricardo Pardini
8afe8470f4 cli: introduce rewrite-uboot-patches cli command, works similar to the kernel one
- it prepares git, applies patches to git, and re-writes them back from git
- same as kernel, it does git archeology for mbox-less patches, etc
- `uboot-patches-to-git` alias is also added, but my guess is rewrite is more useful
- refactor a common config function for both kernel and uboot
- example invocation: `./compile.sh BOARD=xxxx BRANCH=edge rewrite-uboot-patches`
2024-03-09 20:03:41 +01:00
Ricardo Pardini
80262fa8f4 orangepi3b: bump u-boot to Kwiboo's rk3xxx-2024.04
- Add exact commit in a comment if it ever breaks
- Kwiboo's tree contains the OPi3B commits, not yet in upstream;
- I tried to rebase onto upstream v2024.04-rc3, but failed with "unmet direct dependencies detected for SPL_OF_LIBFDT" & SPL_LIBGENERIC_SUPPORT
2024-03-09 20:03:29 +01:00
Ricardo Pardini
f79c824a02 odroidm1: bump u-boot to v2024.04-rc3
- odroidm1: copy patches from v2023.10
- odroidm1: rebase u-boot patches against v2024.04-rc3
- odroidm1: drop v2023.10 u-boot patches
2024-03-09 20:03:29 +01:00
Ricardo Pardini
d6c1414d2f u-boot: rewrite/rebase u-boot patches for a few boards; drop long-forgotten old version patches; no actual changes
- I guess this is most of the u-boot's I've touched over the years; notable exception is the orangepi3b (patches live in Kwiboo's tree)
- this is in preparation for bumping versions, hopefully soon
- radxa-zero, radxa-zero2, khadas-vim3, khadas-vim3l: drop patches for old u-boot versions no longer used
2024-03-09 20:03:29 +01:00
Igor
c16151bed0 Add KDE Neon DE which provides latest and greates KDE DE v6.x (#6380)
* Add KDE Neon DE which provides latest and greates KDE DE v6.x
* Fixing most obvious problems
2024-03-09 19:49:59 +01:00
ColorfulRhino
094f39655c NanoPi R5C/R5S: Bump U-Boot to mainline 2024.4-rc3
- Previously, Kwiboo's U-Boot was used due to his RK3568 patches (https://github.com/Kwiboo/u-boot-rockchip.git)
- Mainline U-Boot 2024.1 has sufficient support for RK3568 merged
- Mainline U-Boot 2024.4 received some improvements for RK3568
2024-03-08 22:57:18 +00:00
ColorfulRhino
3b4b684003 NanoPi R5C/R5S: Don't install headers by default (INSTALL_HEADERS="yes") 2024-03-08 22:57:18 +00:00
ColorfulRhino
0a4fe5db90 NanoPi R5C/R5S: Beautify board config 2024-03-08 22:57:18 +00:00
Igor Pecovnik
aa702a398a GH actions: Kernel hardening analysis path and name of a tool has been changed 2024-03-08 15:56:23 +01:00
Igor Velkov
dfab067f89 Show correct reason about omit tmpfs usage if FORCE_USE_RAMDISK is set 2024-03-08 15:55:26 +01:00
amazingfate
b798458bf8 add csc hinlink h6xk boards 2024-03-08 15:54:35 +01:00
Julian Sikorski
6466b8f101 Update odroidxu4-current to 6.1.81 2024-03-08 15:54:15 +01:00
ColorfulRhino
093955e788 rk35xx/rk3588/rockchip64/uefi/wsl: Enable NVMe-over-TCP
- Enable NVMe over TCP kernel support for the board families `rk35xx` (vendor), `rockchip-rk3588` (edge), `rockchip64` (current, edge) as well as the generic `uefi` target (current, edge) and `wsl` (current, edge)

- Note: for `wsl` only host-mode is supported, target-mode is not available

- Support for `legacy` kernels not added due to incompatibilities between kernel versions <5.14 and >=5.14. Kernels <5.14 need to patch in this commit to be compatible: https://github.com/torvalds/linux/commit/3c3ee16532c1

- NVMe over TCP specs and slides: https://nvmexpress.org/wp-content/uploads/March-2019-NVMe-TCP-What-You-Need-to-Know-About-the-Specification.pdf

- Guides: https://www.linuxjournal.com/content/data-flash-part-iii-nvme-over-fabrics-using-tcp and https://blogs.oracle.com/linux/post/nvme-over-tcp

- NVMe-oF authentication support: https://blogs.oracle.com/linux/post/nvme-inband-authentication

- NVMe-oF TLS support (kernel >=6.7 required): https://lwn.net/Articles/942817/
2024-03-07 19:46:49 +01:00
Igor Pecovnik
abd4f458cc Unset hardcoded defaults from repo management tool 2024-03-07 12:09:29 +01:00
Muhammed Efe Cetin
5e4393d185 rockchip-rk3588-edge: khadas-edge2: add MCU fan control 2024-03-06 17:51:08 +01:00
FantasyGmm
f54e1b2d59 Update odin2 config (#6363) 2024-03-06 17:50:42 +01:00
c0rnelius
64649a76e6 patches: BananaPi M4 Zero: fixups (#6364)
U-Boot:
Update DRAM parameters and enable USB.
Backport sunxi reorganize mctl_mem_matches_* functions
Backport restore modified memory
Add delay to steady dram detection
Alphabetize dts

Linux:
Add spi1_cs1_pin to h616 dtsi
Add node to m4-zero dts
Alphabetize dts

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-06 11:50:04 -05:00
c0rnelius
68426ff281 BananaPi M4 Zero: enable 8821cu and blacklist rtw88_8821cu (#6365)
rtw88_8821cu takes priority over the github driver, so this
shouldn't effect other units or usb dongles people use.

My reasoning is; The rtw88 driver for reasons yet unknown seems
to trigger usb fails more often than the github driver. If a
fail occurs it will introduce dmesg spam and upon reboot leave
the onboard wireless module undetectable.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-06 11:49:07 -05:00
Igor Pecovnik
433f621bfe Re-add Bullseye as CSC supported so repository will have index back 2024-03-06 15:26:05 +01:00
igorpecovnik
15f747f871 Automatic board configs status synchronise 2024-03-06 15:25:08 +01:00
Igor Pecovnik
f5562819d5 Hook leftovers when introducing vendor kernel for Rockchip 3588 2024-03-06 09:52:12 +01:00
Ricardo Pardini
5b978dc96d lib: drop old boot_logo code; keep png/gif as they're used for plymouth
- origins of what's being dropped: https://github.com/armbian/build/pull/2065
2024-03-06 08:28:31 +01:00
amazingfate
f2dd9d5078 rk35xx/rockchip-rk3588: vendor: enable several net drivers
uwe5622 is from armbian's patch

r8169 and mt7921e are from mainline tree
2024-03-06 08:01:08 +01:00
amazingfate
aeda6b8a72 uwe5622: also apply to rk35xx kernel 2024-03-06 08:01:08 +01:00
Igor Pecovnik
2fd27695f9 Removing illegal / not needed character from username
We don't need @ and some scripts are failing because of this.
2024-03-06 01:21:00 +01:00
David Andreoletti
d1ee68731a qemu-uefi-x86 board: new board introduced for x86 on virtualized env 2024-03-06 01:10:32 +01:00
David Andreoletti
22df643222 uefi-*: customizable SERIALCON per architecture 2024-03-06 01:10:32 +01:00
David Andreoletti
a218d13345 uefi-x86: customizable UEFI_GRUB_TERMINAL per board 2024-03-06 01:10:32 +01:00
Igor
33906869c0 Improve loop devices management by allocating random free device instead of next one (#6345) 2024-03-06 01:09:54 +01:00
FantasyGmm
e1eeb1a25d update odin2,fix udev path 2024-03-06 01:04:57 +01:00
Ricardo Pardini
29a9a5ea36 mainline-kernel: bump 6.8 to 6.8-rc7; update linux-rockchip-rk3588-edge.config 2024-03-06 01:04:37 +01:00
Ricardo Pardini
d27a03d446 cli: introduce kernel-dtb cli command, to build only DTB, and output full preprocessed dts source
- example: `./compile.sh BOARD=xxxxx BRANCH=edge kernel-dtb`
- outputs preprocessed DTS source for board in question to `output/`
- also outputs same preprocessed DTS source, ran through `dtc` with input and output DTS formats for "normalized" comparisions
2024-03-06 00:58:35 +01:00
Ricardo Pardini
bf7f20776c cli: introduce inventory-boards cli command, for hopefully painless & useful one-board-per-line CSV output
- `inventory-boards-csv.py`: moar Python atrocities done to data; idea here is to output one line per board, with <<varies>> for fields that, well, vary (mainly across BRANCH'es)
- `inventory-boards` sets `TARGETS_FILE` to something that doesn't exist, so the `default-targets.yaml` is used (so same list for everyone, save for userpatched-boards)
2024-03-06 00:58:26 +01:00
Ricardo Pardini
82bc83156e FriendlyElec CM3588 NAS: enable new vendor branch; uncomment BOARD_MAINTAINER var 2024-03-06 00:53:11 +01:00
ColorfulRhino
df8fe87f44 Add board: FriendlyElec CM3588 NAS 2024-03-06 00:53:11 +01:00
Ricardo Pardini
3e0d02e7c1 rk35xx/rockchip-rk3588: vendor: replace .config with Joshua Riek's
- `.config` is from https://github.com/Joshua-Riek/linux-rockchip/blob/rk-6.1-rkr1/arch/arm64/configs/rockchip_defconfig
- updated with `rewrite-kernel-config` cli
2024-03-06 00:48:17 +01:00
Ricardo Pardini
7046ed044a rk35xx/rockchip-rk3588: vendor: update .config (copied from legacy), no changes
- 5.10.160 rkr6 -> 6.1.43 rkr1
2024-03-06 00:48:17 +01:00
Ricardo Pardini
1ad7a7974e rk35xx/rockchip-rk3588: vendor: copy kernel .config from legacy
- ipsis literis
2024-03-06 00:48:17 +01:00
Ricardo Pardini
b208144144 rk35xx/rockchip-rk3588: vendor: enable new BRANCH=vendor for all boards that had legacy 2024-03-06 00:48:17 +01:00
Ricardo Pardini
ddcd68d0f7 rk35xx/rockchip-rk3588: vendor: the unthinkable! add vendor branch for new 6.1-rkr1 BSP vendor kernel, and keep legacy for the 5.10-rkr6 BSP vendor kernel
- pointing to amazingfate's repo, for now
2024-03-06 00:48:17 +01:00
Julian Sikorski
edd866b8cf Update odroidxu4-current to 6.1.80 2024-03-05 23:03:14 +01:00
Paolo Sabatino
55836c6074 rockchip: add patches to fix peripheral mode
rk322x has peripheral mode that is not working
really well, add various non-upstream patches
and timing adjustments that makes things a bit
more usable (mass storage and ethernet works,
uac isn't)
2024-03-05 20:08:38 +01:00
Igor Pecovnik
1e6fdcb13b Re-enable Ubuntu mantic which will generate repository
Partiall revert of https://github.com/armbian/build/pull/6321
2024-03-04 11:21:34 +01:00
青菜萝 卜冬瓜
09ed2e30bd phytium-embedded: add .wip support for Phytium PhytiumPi 4GB board (#6346) 2024-03-04 18:09:41 +08:00
brentr
58cf4e8fc8 Added 1.3ghz overlay for B variant RK3308 (#6348)
Updated and improved RK3308 overlay README doc
Moved rock-s0.wip to .conf
2024-03-03 22:39:07 -08:00
hzy
1d31aac7a9 repo-list: fix build issue with eos distribution
armbian repo doesn't existed in eos distribution, which makes `apt update` fail.
2024-03-03 17:59:31 +01:00
4777 changed files with 967825 additions and 3441078 deletions

19
.github/CODEOWNERS vendored
View File

@@ -82,11 +82,13 @@ config/boards/orangepiprime.conf @viraniac
config/boards/orangepizero.conf @viraniac
config/boards/orangepizero2.conf @AGM1968 @krachlatte
config/boards/orangepizeroplus.conf @schwar3kat
config/boards/phytiumpi.csc @chainsx
config/boards/pine64.conf @PanderMusubi
config/boards/pine64so.csc @joshaspinall
config/boards/pinebook-pro.conf @TRSx80 @ahoneybun
config/boards/qemu-uboot-arm64.csc @rpardini
config/boards/qemu-uboot-x86.csc @rpardini
config/boards/qemu-uefi-x86.conf @davidandreoletti
config/boards/radxa-e25.csc @krachlatte
config/boards/radxa-zero.conf @clee @engineer-80
config/boards/radxa-zero2.csc @monkaBlyat
@@ -95,7 +97,7 @@ config/boards/renegade.conf @Tonymac32
config/boards/rock-3a.csc @ZazaBR @amazingfate @catalinii @vamzii
config/boards/rock-5a.csc @amazingfate
config/boards/rock-5b.csc @amazingfate @linhz0hz
config/boards/rock-s0.wip @brentr
config/boards/rock-s0.conf @brentr
config/boards/rock64.csc @clee
config/boards/rockpi-4a.csc @clee
config/boards/rockpi-e.conf @krachlatte
@@ -105,6 +107,7 @@ config/boards/rpi4b.conf @PanderMusubi @teknoid @viraniac
config/boards/rpi5b.conf @viraniac
config/boards/sk-am62b.conf @glneo
config/boards/sk-am64b.conf @glneo
config/boards/sk-am68.conf @glneo
config/boards/sk-tda4vm.conf @glneo
config/boards/station-m1.csc @150balbes
config/boards/station-m2.csc @150balbes
@@ -130,26 +133,25 @@ config/kernel/linux-meson64-*.config @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @
config/kernel/linux-mvebu-*.config @Heisath
config/kernel/linux-mvebu64-*.config @ManoftheSea
config/kernel/linux-odroidxu4-*.config @joekhoobyar
config/kernel/linux-phytium-embedded-*.config @chainsx
config/kernel/linux-rk35xx-*.config @Tonymac32 @Z-Keven @ZazaBR @amazingfate @catalinii @chainsx @efectn @hoochiwetech @igorpecovnik @krachlatte @lanefu @linhz0hz @mahdichi @monkaBlyat @rpardini @sputnik2019 @vamzii
config/kernel/linux-rockchip-*.config @paolosabatino
config/kernel/linux-rockchip-rk3588-*.config @Tonymac32 @amazingfate @efectn @igorpecovnik @lanefu @linhz0hz @rpardini
config/kernel/linux-rockchip64-*.config @Manouchehri @TRSx80 @Tonymac32 @ZazaBR @ahoneybun @amazingfate @brentr @catalinii @clee @joekhoobyar @krachlatte @paolosabatino @rpardini @schwar3kat @tdleiyao @utlark @vamzii
config/kernel/linux-rockpis-*.config @brentr
config/kernel/linux-sun50iw9-*.config @AGM1968 @krachlatte
config/kernel/linux-sun50iw9-btt-*.config @bigtreetech
config/kernel/linux-sunxi-*.config @1ubuntuuser @AaronNGray @DylanHP @StephenGraf @Tonymac32 @lbmendes @schwar3kat @sgjava @viraniac
config/kernel/linux-sunxi64-*.config @AGM1968 @Kreyren @PanderMusubi @Tonymac32 @bigtreetech @devdotnetorg @eliasbakken @joshaspinall @krachlatte @pyavitz @schwar3kat @teknoid @viraniac
config/kernel/linux-thead-*.config @chainsx
config/kernel/linux-uefi-arm64-*.config @150balbes @PeterChrz @rpardini
config/kernel/linux-uefi-x86-*.config @rpardini
config/kernel/linux-uefi-x86-*.config @davidandreoletti @rpardini
patch/kernel/archive/meson-s4t7-*/ @echatzip @rpardini @viraniac
patch/kernel/archive/rockpis-*/ @brentr
patch/kernel/archive/sm8250-*/ @FantasyGmm @amazingfate
patch/kernel/archive/sun50iw9-*/ @AGM1968 @krachlatte
patch/kernel/archive/sun50iw9-btt-*/ @bigtreetech
patch/kernel/archive/sunxi-*/ @1ubuntuuser @AGM1968 @AaronNGray @DylanHP @Kreyren @PanderMusubi @StephenGraf @Tonymac32 @bigtreetech @devdotnetorg @eliasbakken @joshaspinall @krachlatte @lbmendes @pyavitz @schwar3kat @sgjava @teknoid @viraniac
patch/kernel/archive/uefi-arm64-*/ @150balbes @PeterChrz @rpardini
patch/kernel/archive/uefi-x86-*/ @rpardini
patch/kernel/archive/uefi-x86-*/ @davidandreoletti @rpardini
patch/kernel/arm64-*/ @FantasyGmm @amazingfate
patch/kernel/bcm2711-*/ @PanderMusubi @teknoid @viraniac
patch/kernel/k3-*/ @glneo
@@ -159,11 +161,12 @@ patch/kernel/meson64-*/ @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @bretmlw @clee
patch/kernel/mvebu-*/ @Heisath
patch/kernel/mvebu64-*/ @ManoftheSea
patch/kernel/odroidxu4-*/ @joekhoobyar
patch/kernel/phytium-embedded-*/ @chainsx
patch/kernel/rk35xx-*/ @Tonymac32 @Z-Keven @ZazaBR @amazingfate @catalinii @chainsx @efectn @hoochiwetech @igorpecovnik @krachlatte @lanefu @linhz0hz @mahdichi @monkaBlyat @rpardini @sputnik2019 @vamzii
patch/kernel/rk35xx-vendor-*/ @Tonymac32 @Z-Keven @ZazaBR @amazingfate @catalinii @chainsx @efectn @hoochiwetech @krachlatte @lanefu @linhz0hz @mahdichi @monkaBlyat @rpardini @sputnik2019 @vamzii
patch/kernel/rockchip-*/ @paolosabatino
patch/kernel/rockchip-rk3588-*/ @Tonymac32 @amazingfate @efectn @igorpecovnik @lanefu @linhz0hz @rpardini
patch/kernel/rockchip64-*/ @Manouchehri @TRSx80 @Tonymac32 @ZazaBR @ahoneybun @amazingfate @brentr @catalinii @clee @joekhoobyar @krachlatte @paolosabatino @rpardini @schwar3kat @tdleiyao @utlark @vamzii
patch/kernel/rockpis-*/ @brentr
patch/kernel/sun50iw9-*/ @AGM1968 @krachlatte
patch/kernel/thead-*/ @chainsx
sources/families/arm64.conf @150balbes @FantasyGmm @PeterChrz @amazingfate @rpardini
@@ -176,14 +179,14 @@ sources/families/meson64.conf @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @bretmlw
sources/families/mvebu.conf @Heisath
sources/families/mvebu64.conf @ManoftheSea
sources/families/odroidxu4.conf @joekhoobyar
sources/families/phytium-embedded.conf @chainsx
sources/families/rk35xx.conf @Tonymac32 @Z-Keven @ZazaBR @amazingfate @catalinii @chainsx @efectn @hoochiwetech @igorpecovnik @krachlatte @lanefu @linhz0hz @mahdichi @monkaBlyat @rpardini @sputnik2019 @vamzii
sources/families/rockchip-rk3588.conf @Tonymac32 @amazingfate @efectn @igorpecovnik @lanefu @linhz0hz @rpardini
sources/families/rockchip.conf @paolosabatino
sources/families/rockchip64.conf @Manouchehri @TRSx80 @Tonymac32 @ZazaBR @ahoneybun @amazingfate @brentr @catalinii @clee @joekhoobyar @krachlatte @paolosabatino @rpardini @schwar3kat @tdleiyao @utlark @vamzii
sources/families/rockpis.conf @brentr
sources/families/sun50iw9-btt.conf @bigtreetech
sources/families/sun50iw9.conf @AGM1968 @krachlatte
sources/families/sunxi.conf @1ubuntuuser @AaronNGray @DylanHP @StephenGraf @Tonymac32 @lbmendes @schwar3kat @sgjava @viraniac
sources/families/sunxi64.conf @AGM1968 @Kreyren @PanderMusubi @Tonymac32 @bigtreetech @devdotnetorg @eliasbakken @joshaspinall @krachlatte @pyavitz @schwar3kat @teknoid @viraniac
sources/families/thead.conf @chainsx
sources/families/x86.conf @rpardini
sources/families/x86.conf @davidandreoletti @rpardini

80
.github/ISSUE_TEMPLATE/1-bugreport.yml vendored Normal file
View File

@@ -0,0 +1,80 @@
name: Bug Report for the Armbian Linux Build Framework
description: Create a bug report if there is something wrong with the Armbian build framework.
title: "[Bug]: "
labels: ["Bug"]
assignees: "armbian/build-scripts"
body:
- type: markdown
attributes:
value: |
Thank you for helping us make Armbian better!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: |
Please tell us what you expected to happen and what actually happened.
placeholder: An error x ocurred when I did y! But I expected z to happen.
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: How to reproduce?
description: |
Provide the command you ran or explain the steps you did.
placeholder: Tell us step by step how to reproduce the issue! E.g. the command you gave to the framework.
validations:
required: true
- type: dropdown
id: version
attributes:
label: Branch
description: |
Which branch are you using?
options:
- main (main development branch)
- other (only relevant in corner cases)
validations:
required: true
- type: dropdown
id: host
attributes:
label: On which host OS are you running the build script and observing this problem?
multiple: false
options:
- Ubuntu 24.04 Noble
- Ubuntu 22.04 Jammy
- Debian 13 Trixie
- Debian 12 Bookworm
- Other
validations:
required: true
- type: checkboxes
id: host-is-wsl
attributes:
label: Are you building on Windows WSL2?
options:
- label: Yes, my Ubuntu/Debian/OtherOS is running on WSL2
required: false
- type: input
id: logs
attributes:
label: Relevant log URL
description: |
Run with `SHARE_LOG=yes`, at the end of log you will get something like this
```[🌿] Log uploaded, share URL: [ https://paste.armbian.com/xxx ]```
Paste the URL here:
placeholder: https://paste.armbian.com/xxx
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/armbian/build/blob/master/.github/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true

27
.github/ISSUE_TEMPLATE/2-feature.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Feature Request for the Armbian Linux Build Framework
description: Suggest a feature that you want to see implemented.
title: "[Feature Request]: "
labels: ["Feature Request"]
assignees: "igorpecovnik"
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out a feature reqest. A request does not guarantee consideration.
- type: textarea
id: what
attributes:
label: Which feature would you like to have?
placeholder: What is missing in your opinion?
validations:
required: true
- type: checkboxes
id: financing
attributes:
label: Funding
description: |
You are welcome to submit your feature request, but keep in mind we can only afford to cover minor tasks. If we decide to.<br>"
options:
- label: "[I am willing to cover expenses](https://www.armbian.com/contact/)"
required: false

27
.github/ISSUE_TEMPLATE/3-task.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Task/To-Do for project tracking
description: Discuss and track progress for a task you're working on.
title: "[Task]: "
labels: ["Task/To-Do"]
body:
- type: markdown
attributes:
value: |
Please use checkboxes for subtasks and link relevant PRs or issues for reference.
You can use title tags like _Task_, _Story_ or _Epic_ similar to Jira [like described in the docs](https://docs.armbian.com/Process_Managing_Workflow/).
A _Story_ or _Epic_ may reference other _Tasks_ (GitHub issues). This task will automatically be mirrored to [Jira](https://armbian.atlassian.net/browse/AR).
Make sure to update your progress in case anyone wants to help with a task so noone is doing duplicate work.
Add the label "_Discussion_" to get feedback on your task and "_Help needed_" if you would prefer to not work on this this alone.
- type: textarea
id: task-list
attributes:
label: Task description
description: |
Enter your task goals here. You can make use of the subtask checkboxes (add more or remove if necessary). Actively ask for feedback if you want it.
value: |
- [ ]
- [ ]
- [ ]
- [ ]

View File

@@ -1,75 +0,0 @@
name: Armbian Linux Build Framework Bug Report
description: Create a bug report if there is something wrong with build framework mechanism.
title: "Problem found ... "
labels: ["bug"]
assignees: "armbian/build-scripts"
body:
- type: markdown
attributes:
value: |
Thank you for helping us make Armbian better!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: "
<br>
Tell us, what did you expect to happen?
"
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: How to reproduce?
description: "
<br>
Provide command line or explain steps which you did?
"
placeholder: Tell us how you did it!
value: "Command you gave to the framework!"
validations:
required: true
- type: dropdown
id: version
attributes:
label: Branch
description: "
<br>
Which branch are you using?
"
options:
- main (main development branch)
- other
validations:
required: true
- type: dropdown
id: host
attributes:
label: On which host OS are you observing this problem?
multiple: false
options:
- Jammy
- Bullseye
- Other
validations:
required: true
- type: input
id: logs
attributes:
label: Relevant log URL
description: |
Run with `SHARE_LOG=yes`, at the end of log you will get something like this
```[🌿] Log uploaded, share URL: [ https://paste.armbian.com/xxx ]```
Paste the URL on here.
placeholder: https://paste.armbian.com/xxx
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/armbian/build/blob/master/.github/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true

View File

@@ -1,28 +0,0 @@
name: Armbian Linux Build Framework Feature request
description: Suggest a feature that you want to see implemented
title: "I would like to ..."
labels: ["feature"]
assignees: "igorpecovnik"
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out a feature reqest. A request does not guarantee consideration.
- type: textarea
id: what
attributes:
label: Which feature would you like to have?
description: "<br>What do you miss?<br>"
placeholder: Tell us what is missing!
value: "I think ..."
validations:
required: true
- type: checkboxes
id: financing
attributes:
label: Funding
description: "
You are welcome to submit your feature request, but keep in mind we can only afford to cover minor tasks. If we decide to.<br>"
options:
- label: "[I am willing to cover expenses](https://www.armbian.com/contact/)"
required: false

View File

@@ -1,21 +1,33 @@
# Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
_Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change._
Jira reference number [AR-9999]
[GitHub issue](https://github.com/armbian/build/labels/Task%2FTo-Do) reference:
[Jira](https://armbian.atlassian.net/jira) reference number [AR-9999]
# Documentation summary for feature / change
_Please delete this section if entry to main documentation is not needed._
If documentation entry is predicted, please provide key elements for further implementation [into main documentation](https://docs.armbian.com) and set label to "Needs Documentation". You are welcome to open a PR to documentation or you can leave following information for technical writer:
- [ ] short description (copy / paste of PR title)
- [ ] summary (description relevant for end users)
- [ ] example of usage (how to see this in function)
# How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.
_Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration._
- [ ] Test A
- [ ] Test B
# Checklist:
_Please delete options that are not relevant._
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] Any dependent changes have been merged and published in downstream modules

View File

@@ -4,3 +4,8 @@ updates:
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"

38
.github/labeler.yml vendored
View File

@@ -14,16 +14,40 @@
- all:
- changed-files:
- any-glob-to-any-file: ['patch/**/*','config/**/*']
- all-globs-to-all-files: ['!config/cli/*','!config/desktop/*','!config/distributions/*']
- all-globs-to-all-files: ['!config/cli/**/*','!config/desktop/**/*','!config/distributions/**/*']
"Framework":
- all:
- changed-files:
- any-glob-to-any-file: ['lib/*','tools/*','config/cli*','packages/*','extensions/*']
"Action scripts":
- any-glob-to-any-file: ['lib/**/*','tools/**/*','config/cli/**/*','extensions/**/*']
"BSP":
- all:
- changed-files:
- any-glob-to-any-file: ['.github/workflows/*']
"Desktop":
- all:
- any-glob-to-any-file: ['packages/**/*']
"GitHub Actions":
- all:
- changed-files:
- any-glob-to-any-file: ['config/desktop/*']
- any-glob-to-any-file: ['.github/workflows/**/*']
"GitHub":
- all:
- changed-files:
- any-glob-to-any-file: ['.github/**/*']
- all-globs-to-any-file: ['!.github/workflows/**/*']
"Desktop":
- all:
- changed-files:
- any-glob-to-any-file: ['config/desktop/**/*']
"Patches":
- all:
- changed-files:
- any-glob-to-any-file: ['patch/**/*']
# Add 'Documentation' label to any change to .md files within the entire repository
"Documentation":
- changed-files:
- any-glob-to-any-file: '**/*.md'

57
.github/labels.yml vendored
View File

@@ -18,19 +18,31 @@
description: "Can potentially break core functionality"
- name: "Bug"
color: "F92C01"
description: "Something isn't working well"
description: "Something isn't working as it should"
- name: "Bugfix"
color: "F92C01"
description: "Pull request is fixing a bug"
- name: "Dependencies"
color: "0366d6"
description: "Pull requests that update a dependency"
- name: "Discussion"
color: "33B478"
description: "Issue is being discussed. Undetermined."
color: "EDFFE3"
description: "Being discussed - Voice your opinions :)"
- name: "Duplicate"
color: "f4bd13"
description: "Issue is already present"
- name: "Feature Request"
color: "1aac63"
description: "Feature suggestion"
- name: "Good first issue"
color: "ffb3ff"
description: "Feel free to contribute :) "
- name: "Not framework bug"
color: "CD456C"
description: "Bug in 3rd party component"
- name: "Python"
color: "2b67c6"
description: "Pull requests that update Python code "
- name: "User error"
color: "CD456C"
description: "A mistake that is made by the user"
@@ -43,18 +55,33 @@
- name: "size/large"
color: "ededed"
description: "PR with 250 lines or more"
- name: "Task/To-Do"
color: "2f95f1"
description: "Project management: To-Do or task(s) someone is working on"
- name: "Desktop"
color: "bfd4f2"
description: "Graphical user interface"
- name: "Hardware"
color: "bfd4f2"
description: "Hardware related - kernel, u-boot, patches"
description: "Hardware related like kernel, U-Boot, ..."
- name: "Framework"
color: "bfd4f2"
description: "Framework components"
- name: "Action scripts"
- name: "BSP"
color: "bfd4f2"
description: "GitHub Action scripts"
description: "Board Support Packages"
- name: "GitHub Actions"
color: "bfd4f2"
description: "GitHub Actions code"
- name: "GitHub"
color: "bfd4f2"
description: "GitHub-related changes like labels, templates, ..."
- name: "Patches"
color: "bfd4f2"
description: "Patches related to kernel, U-Boot, ..."
- name: "Documentation"
color: "bfd4f2"
description: "Documentation changes or additions"
- name: "Work in progress"
color: "29E414"
description: "Unfinished / work in progress"
@@ -68,14 +95,20 @@
color: "AEE054"
description: "Seeking for review"
- name: "Can be closed?"
color: "5319e7"
description: "Ping developers on stalled issues / PR"
color: "9b75fc"
description: "Ping developers on stalled issue / PR"
- name: "Build"
color: "1d76db"
description: "Executing build train"
color: "5ee3d0"
description: "Executing build train (permission needed)"
- name: "Needs Documentation"
color: "#4FD1EF"
color: "4FD1EF"
description: "New feature needs documentation entry"
- name: "Documentation finished"
color: "0052CC"
description: "New feature was properly added to docs"
- name: "Improper usage"
color: "#CD456C"
color: "CD456C"
description: "Provided input is not in the expected data format or structure"
- name: "Giveaway"
color: "DA4C13"
description: "Code completition was selected to enter contributors giveaway"

View File

@@ -38,10 +38,14 @@ You need to get a valid token from our DevOps team to proceed.
`forked-helper.yml` workflow helper can help to run custom workflows on the forked repositories.
1. Set `ARMBIAN_SELF_DISPATCH_TOKEN` secret on your repository with `security_events` permissions.
2. Helper will dispatch `repository_dispatch` event `armbian` on `push`, `release`, `deployment`,
`pull_request` and `workflow_dispatch` events. All needed event details you can find in `client_payload`
property of the event.
1. Create a [fine-grained Personal Access Token (PAT)](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token) with the `repo` scope and store it as a secret. It needs the following permissions on the target repositories:
- `contents`: read & write
- `metadata`: read only (automatically selected when selecting the contents permission)
2. Create a secret named `ARMBIAN_SELF_DISPATCH_TOKEN` on your repository with `security_events` permissions. To do this, head to your forked repository, go to `Settings` on the top bar, select `Secrets and variables` and then `Actions`. From here you can create a new repository secret.
- `Name`: `ARMBIAN_SELF_DISPATCH_TOKEN`
- `Secret`: Paste your fine-grained Personal Access Token that you created in step 1 here
3. Helper will dispatch `repository_dispatch` event `armbian` on `push`, `release`, `deployment`,
`pull_request` and `workflow_dispatch` events. All needed event details you can find in `client_payload` property of the event.
4. Create empty default branch in forked repository
5. Create workflow with `repository_dispatch` in default branch.
6. Run any need actions in this workflow.

View File

@@ -1,45 +0,0 @@
name: Generate artifacts on PR
#
# If PR is labeled with "Build" and you are a member of "Release manager" team it will start (additional security feature)
#
on:
pull_request:
types: [opened, reopened, synchronize, review_requested, labeled]
concurrency:
group: pipeline-pr-${{github.event.pull_request.number}}
cancel-in-progress: true
jobs:
Check:
permissions:
pull-requests: read
name: "verify if compilation can be executed"
if: contains(github.event.pull_request.labels.*.name, 'Build')
runs-on: Linux
outputs:
member: ${{ steps.checkUserMember.outputs.isTeamMember }}
steps:
- uses: tspascoal/get-user-teams-membership@v3
id: checkUserMember
with:
username: ${{ github.actor }}
organization: armbian
team: "Release manager"
GITHUB_TOKEN: ${{ secrets.ORG_MEMBERS }}
Compile:
needs: Check
name: "Update artifacts"
if: ${{ github.repository_owner == 'Armbian' && needs.Check.outputs.member == 'true' }}
uses: armbian/os/.github/workflows/complete-artifact-matrix-all.yml@main
secrets:
ORG_MEMBERS: ${{ secrets.ORG_MEMBERS }}
with:
extraParamsAllBuilds: "UPLOAD_TO_OCI_ONLY=no"
ref: ${{ github.event.pull_request.head.sha }}

View File

@@ -1,14 +1,15 @@
name: Rebuild board list in GHA menu
name: Update board list at armbian/os
run-name: Update board list at armbian/os - Pushed commit "${{ github.event.push.head_commit.message }}"
on:
push:
paths:
- 'config/boards/*.*'
branches: [ main ]
- "config/boards/*.*"
branches: [main]
jobs:
Run:
name: "Execute workflow"
update-board-list-dispatch:
name: Send dispatch
if: ${{ github.repository_owner == 'Armbian' }}
runs-on: ubuntu-latest
steps:

View File

@@ -1,15 +1,16 @@
name: Run build train on config changes
name: Run Build Train on config changes
run-name: Run build train - Pushed commit "${{ github.event.push.head_commit.message }}"
on:
push:
branches:
- 'main'
- "main"
paths:
- 'config/*.config'
- "config/*.config"
jobs:
Run:
name: "Execute workflow"
build-train-dispatch:
name: Send dispatch
if: ${{ github.repository_owner == 'Armbian' }}
runs-on: ubuntu-latest
steps:

View File

@@ -1,4 +1,5 @@
name: Forked Helper
run-name: Forked Helper dispatch on ${{ github.event_name }}
on:
push:
@@ -8,28 +9,18 @@ on:
workflow_dispatch:
jobs:
fork-repository-dispatch:
name: 📢 Run repository dispatch to default fork branch
if: ${{ github.repository_owner != 'armbian' }}
dispatch-on-forked-repo:
name: 📢 Run repository dispatch on fork
env:
DISPATCH_SECRET: ${{ secrets.ARMBIAN_SELF_DISPATCH_TOKEN }}
if: ${{ github.repository_owner != 'armbian' }} # Run only on forks
runs-on: ubuntu-latest
steps:
- name: Assign secret
id: get_dispatch_secret
run: echo '::set-output name=dispatch_secret::${{ secrets.ARMBIAN_SELF_DISPATCH_TOKEN }}'
- name: Get event details
id: get_event_details
# Process JSON according https://github.community/t5/GitHub-Actions/set-output-Truncates-Multiline-Strings/td-p/37870
run: |
JSON=$(cat ${{ github.event_path }})
JSON="${JSON//'%'/'%25'}"
JSON="${JSON//$'\n'/'%0A'}"
JSON="${JSON//$'\r'/'%0D'}"
echo "::set-output name=event_details::${JSON}"
- name: Dispatch event on forked repostitory
if: steps.get_dispatch_secret.outputs.dispatch_secret
- name: Dispatch event on forked repository
if: ${{ env.DISPATCH_SECRET != '' }} # Check that the secret has been set, if not, exit
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ steps.get_dispatch_secret.outputs.dispatch_secret }}
token: ${{ env.DISPATCH_SECRET }}
repository: ${{ github.repository }}
event-type: armbian
client-payload: >
@@ -38,5 +29,5 @@ jobs:
"ref": "${{ github.ref }}",
"base_ref": "${{ github.base_ref }}",
"sha": "${{ github.sha }}",
"event_details": ${{ steps.get_event_details.outputs.event_details }}
"event_details": ${{ toJSON(github.event) }}
}

View File

@@ -1,52 +0,0 @@
name: Kernel hardening analysis
#
# Check the Linux kernel options against security hardening
#
# Attention! Changing security parameters may also affect system performance and functionality of userspace software!
# More info:
# https://github.com/a13xp0p0v/kconfig-hardened-check/blob/master/README.md
on:
workflow_dispatch:
pull_request:
types: [ready_for_review, opened, reopened, synchronize]
permissions:
contents: read
concurrency:
group: pipeline-security-${{github.event.pull_request.number}}
cancel-in-progress: true
jobs:
Analysis:
name: Analyse
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'Armbian' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v42
- name: Checkout repository
uses: actions/checkout@v4
with:
repository: a13xp0p0v/kconfig-hardened-check
path: kconfig-hardened-check
- name: Check kernel config for security issues
run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
if [[ "${file}" = config/kernel/*.config ]]; then
kconfig-hardened-check/bin/kconfig-hardened-check -m show_fail -c $file | sed -e 's/^/ /' >> $GITHUB_STEP_SUMMARY
fi
done

View File

@@ -1,19 +0,0 @@
name: "Automatic Labeler"
on:
- pull_request_target
permissions:
contents: read
jobs:
triage:
permissions:
contents: read # for actions/labeler to determine modified files
pull-requests: write # for actions/labeler to add labels to PRs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

View File

@@ -1,30 +1,32 @@
name: Set PR and issues labels from yaml
name: Sync Labels from YAML
run-name: Sync Labels from YML on ${{ github.event_name }}
on:
workflow_dispatch:
push:
branches:
- 'main'
- "main"
paths:
- '.github/labels.yml'
- ".github/labels.yml"
pull_request:
paths:
- '.github/labels.yml'
- ".github/labels.yml"
jobs:
labeler:
permissions:
contents: read # for actions/labeler to determine modified files
pull-requests: write # for actions/labeler to add labels to PRs
contents: read # for actions/labeler to determine modified files
pull-requests: write # for actions/labeler to add labels to PRs
issues: write # for actions/labeler to add labels to issues
if: ${{ github.repository_owner == 'Armbian' }}
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v4
-
name: Run Labeler
- name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,60 +0,0 @@
name: Lint On Scripts
#
# Run ShellCheck on all scripts and generates report as build artefact
#
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, edited, synchronize]
permissions:
contents: read
concurrency:
group: pipeline-lint-${{github.event.pull_request.number}}
cancel-in-progress: true
jobs:
Shellcheck:
name: Shell script analysis
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'Armbian' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v42
- name: List all changed files
run: |
# use framework internal mechanism for checking `lib` and `extensions` code only one file is passed,
# and source's are followed, thus the whole project is "understood" by shellcheck.
# For example, when checking individual files, one variable might be thought "unused" because it
# is only used in another file, which does not happen when done properly.
bash lib/tools/shellcheck.sh
ret=0
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
if [[ ! "${file}" =~ lib/|extensions/|.py|.service|.rules|.network|.netdev ]]; then
if grep -qE "^#\!/.*bash" $file; then
shellcheck --severity=error $file || ret=$?
fi
fi
done
exit $ret

20
.github/workflows/merge-announce.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: push
on:
push:
branches: [ main ]
jobs:
announcepush:
runs-on: ubuntu-latest
steps:
- name: Get repo
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Send push to Discord
run: |
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X POST --data \
"{\"username\": \"Github\", \"avatar_url\": \"${{ secrets.AVATARURL }}\", \"content\": \"\
:white_check_mark: **Merged** into [$GITHUB_REPOSITORY](<$GITHUB_SERVER_URL/$GITHUB_REPOSITORY>) by [$GITHUB_ACTOR](<$GITHUB_SERVER_URL/$GITHUB_ACTOR>) - \
[Link](<$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/commit/$GITHUB_SHA>): *$(git show -s --format=%s)*\"}" ${{ secrets.WEBHOOKURL }}

View File

@@ -1,4 +1,6 @@
name: Jira Sync
run-name: 'Sync Jira - Issue #${{ github.event.issue.number }} ("${{ github.event.issue.title }}")'
on:
issues:
types: [opened]
@@ -6,6 +8,7 @@ jobs:
sync:
name: Sync Items
runs-on: ubuntu-latest
steps:
- name: Sync
uses: igorpecovnik/github-action-issue-to-jira@master

25
.github/workflows/pr-announce.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: "Announce PR on Discord for review"
run-name: 'Announce PR #${{ github.event.pull_request.number }} on Discord for review'
on:
pull_request:
types: [ labeled ]
jobs:
Announce:
permissions:
pull-requests: read
runs-on: ubuntu-latest
if: ${{ github.repository == 'armbian/build' && github.event.label.id == '6210849975' }}
steps:
- name: Get repo
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Discord webhook
run: |
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X POST --data \
"{\"username\": \"Github\", \"avatar_url\": \"${{ secrets.AVATARURL }}\", \"content\": \"\
:arrow_heading_up: **Pull request** to [$GITHUB_REPOSITORY](<$GITHUB_SERVER_URL/$GITHUB_REPOSITORY>) by [$GITHUB_ACTOR](<$GITHUB_SERVER_URL/$GITHUB_ACTOR>) - **Please review!** \
:point_right: [Link](<$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/pull/${{github.event.pull_request.number}}>): *$(git show -s --format=%s)*\"}" ${{ secrets.WEBHOOKURL }}

44
.github/workflows/pr-auto-labeler.yml vendored Normal file
View File

@@ -0,0 +1,44 @@
name: Automatic Pull Request Labeling
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
jobs:
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"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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"
runs-on: ubuntu-latest
steps:
- name: size-label
uses: "pascalgn/size-label-action@v0.5.2"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
sizes: >
{
"0": "small",
"50": "medium",
"250": "large"
}

View File

@@ -0,0 +1,43 @@
name: Generate Artifacts on PR if 'Build' label exists
run-name: "Generate artifacts - PR #${{ github.event.pull_request.number }} - by @${{ github.actor }}"
#
# If PR is labeled with "Build" and you are a member of "Release manager" team it will start a build train (additional security feature).
# In the run name, ${{ github.actor }} shows who's privileges are used for this run.
#
on:
pull_request:
types: [opened, reopened, synchronize, labeled]
jobs:
Check:
permissions:
pull-requests: read
name: Check label and authorization
if: contains(github.event.pull_request.labels.*.name, 'Build')
runs-on: Linux
outputs:
member: ${{ steps.checkUserMember.outputs.isTeamMember }}
steps:
- uses: tspascoal/get-user-teams-membership@v3
id: checkUserMember
with:
username: ${{ github.actor }}
organization: armbian
team: "Release manager"
GITHUB_TOKEN: ${{ secrets.ORG_MEMBERS }}
Compile:
needs: Check
name: Generate artifacts
concurrency:
group: pipeline-pr-${{github.event.pull_request.number}}
cancel-in-progress: true
if: ${{ github.repository_owner == 'Armbian' && needs.Check.outputs.member == 'true' }}
uses: armbian/os/.github/workflows/complete-artifact-matrix-all.yml@main
secrets:
ORG_MEMBERS: ${{ secrets.ORG_MEMBERS }}
with:
extraParamsAllBuilds: "UPLOAD_TO_OCI_ONLY=no"
ref: ${{ github.event.pull_request.head.sha }}

View File

@@ -0,0 +1,54 @@
name: Kernel Hardening Analysis
run-name: 'Check kernel security options - PR #${{ github.event.pull_request.number }} ("${{ github.event.pull_request.title }}")'
#
# Check the Linux kernel options against security hardening
#
# Attention! Changing security parameters may also affect system performance and functionality of userspace software!
# More info:
# https://github.com/a13xp0p0v/kernel-hardening-checker
on:
workflow_dispatch:
pull_request:
types: [ready_for_review, opened, reopened, synchronize]
permissions:
contents: read
concurrency:
group: pipeline-security-${{github.event.pull_request.number}}
cancel-in-progress: true
jobs:
Analysis:
name: Check kernel security options
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'Armbian' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
- name: Checkout repository
uses: actions/checkout@v4
with:
repository: a13xp0p0v/kconfig-hardened-check
path: kconfig-hardened-check
- name: Check kernel config for security issues
# Run kernel-hardening-checker for each kernel config file excluding RISC-V configs, since they are not supported yet.
# See https://github.com/a13xp0p0v/kernel-hardening-checker/issues/56
# sed explanation: 1) Put spaces in front of every line 2) replace colored output with emojis since GitHub Actions job summaries don't support colored output
run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
if [[ "${file}" = config/kernel/*.config && ! $(head -n 10 "${file}" | grep -q "riscv") ]]; then
kconfig-hardened-check/bin/kernel-hardening-checker -m show_fail -c $file | sed 's/^/ /; s/\x1b\[32m/✅ /; s/\x1b\[31m/❌ /; s/\x1b\[0m//' >> $GITHUB_STEP_SUMMARY
fi
done

59
.github/workflows/pr-lint-scripts.yml vendored Normal file
View File

@@ -0,0 +1,59 @@
name: Lint on Scripts
run-name: 'Shellcheck - PR #${{ github.event.pull_request.number }} ("${{ github.event.pull_request.title }}")'
#
# Run ShellCheck on all scripts and generate report as build artifact
#
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize]
permissions:
contents: read
concurrency:
group: pipeline-lint-${{github.event.pull_request.number}}
cancel-in-progress: true
jobs:
Shellcheck:
name: Shell script analysis
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'Armbian' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
- name: List all changed files
run: |
# Use framework internal mechanism for checking `lib` and `extensions` code only one file is passed,
# and source's are followed, thus the whole project is "understood" by shellcheck.
# For example, when checking individual files, one variable might be thought "unused" because it
# is only used in another file, which does not happen when done properly.
bash lib/tools/shellcheck.sh
ret=0
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
if [[ ! "${file}" =~ lib/|extensions/|.py|.service|.rules|.network|.netdev ]]; then
if grep -qE "^#\!/.*bash" $file; then
shellcheck --severity=error $file || ret=$?
fi
fi
done
exit $ret

View File

@@ -1,24 +0,0 @@
name: Pull Request Labeling
on:
- pull_request_target
jobs:
size-label:
permissions:
contents: read # to determine modified files
pull-requests: write # to add labels to PRs
runs-on: ubuntu-latest
steps:
- name: size-label
uses: "pascalgn/size-label-action@v0.5.0"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
sizes: >
{
"0": "small",
"50": "medium",
"250": "large"
}

View File

@@ -1,29 +0,0 @@
name: Automatic Rebase
#
# If you comment "/rebase" to the PR this action rebase the PR
#
on:
issue_comment:
types: [created]
jobs:
rebase:
permissions:
contents: write # for cirrus-actions/rebase to push code to rebase
pull-requests: read # for cirrus-actions/rebase to get info about PR
name: Rebase
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,12 +1,14 @@
name: Scorecards Security Scan
run-name: Scan scorecards security on ${{ github.event_name }}
on:
# Only the default branch is supported.
branch_protection_rule:
schedule:
# Weekly on Saturdays.
- cron: '30 1 * * 6'
- cron: "30 1 * * 6"
push:
branches: [ main ]
branches: [main]
# Declare default permissions as read only.
permissions: read-all
@@ -31,7 +33,7 @@ jobs:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@v2.3.1
uses: ossf/scorecard-action@v2.4.0
with:
results_file: results.sarif
results_format: sarif
@@ -42,15 +44,15 @@ jobs:
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
# Publish the results for public repositories to enable scorecard badges. For more details, see
# https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories, `publish_results` will automatically be set to `false`, regardless
# https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories, `publish_results` will automatically be set to `false`, regardless
# of the value entered here.
publish_results: true
# 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@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
with:
name: SARIF file
path: results.sarif

118
.github/workflows/update-tools.yml vendored Normal file
View File

@@ -0,0 +1,118 @@
name: Update Tools in Scripts
run-name: Update Tools in Scripts by @${{ github.actor }}
#
# Some of our scripts download tools from a repo. These can't be bumped by dependabot, so this workflow is a self-created dependabot to bump versions of those tools to stay up-to-date.
# This workflow only creates a PR if the version was actually updated.
# To add a new tool, it just needs to be added to the matrix below by filling out all the variables.
#
permissions:
contents: write
pull-requests: write
on:
workflow_dispatch:
schedule:
- cron: "42 3 16 * *" # Run monthly on the 16th day of the month at 03:42 AM (random value as to not overload GitHub)
jobs:
update-tool-version:
name: Update ${{ matrix.tool.REPO_NAME }} version
runs-on: ubuntu-latest
# Add new tools here, no need to add anything anywhere else.
# Only works for tools hosted on GitHub for now.
strategy:
matrix:
tool:
# Shellcheck
- USER_NAME: "koalaman" # GitHub user name
REPO_NAME: "shellcheck" # GitHub repo name
PROJECT_NAME: "koalaman/shellcheck" # This is always USER_NAME/REPO_NAME (like in the GitHub URL)
VAR_FILE: "lib/tools/shellcheck.sh" # Where the version variable of the tool is saved
VERSION_VAR: "SHELLCHECK_VERSION" # Version variable how it appears in the script
# Shellcheck #2
- USER_NAME: "koalaman"
REPO_NAME: "shellcheck"
PROJECT_NAME: "koalaman/shellcheck"
VAR_FILE: "lib/functions/general/shellcheck.sh"
VERSION_VAR: "SHELLCHECK_VERSION"
# Shellfmt
- USER_NAME: "mvdan"
REPO_NAME: "sh"
PROJECT_NAME: "mvdan/sh"
VAR_FILE: "lib/tools/shellfmt.sh"
VERSION_VAR: "SHELLFMT_VERSION"
# ORAS
- USER_NAME: "oras-project"
REPO_NAME: "oras"
PROJECT_NAME: "oras-project/oras"
VAR_FILE: "lib/functions/general/oci-oras.sh"
VERSION_VAR: "ORAS_VERSION"
# Bat
- USER_NAME: "sharkdp"
REPO_NAME: "bat"
PROJECT_NAME: "sharkdp/bat"
VAR_FILE: "lib/functions/general/bat-cat.sh"
VERSION_VAR: "BATCAT_VERSION"
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get current ${{ matrix.tool.PROJECT_NAME }} version
id: get-version-current
run: |
version_current=$(grep -Po '(?<=${{ matrix.tool.VERSION_VAR}}=\${${{ matrix.tool.VERSION_VAR}}:-)[0-9.]+(?=})' ${{ matrix.tool.VAR_FILE }})
echo "version_current=$version_current" >> $GITHUB_OUTPUT
- name: Get latest ${{ matrix.tool.PROJECT_NAME }} version
id: get-version-latest
# Multi-line string for CHANGE_LOG env, see https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
# Further exmplanation for the CHANGE_LOG env:
# The first 'sed' expression replaces "#123" with "username/repo#123" to link to the correct repo (would otherwise auto-link to own repo)
# The second 'sed' expression replaces GitHub URLs with "redirect.github.com" to prevent "This was referenced" in the external repo's PRs/issues
run: |
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!)
run: |
version_latest=${{ steps.get-version-latest.outputs.version_latest }}
sed -i "s/${{ matrix.tool.VERSION_VAR}}=\${${{ matrix.tool.VERSION_VAR}}:-[0-9.]*}/${{ matrix.tool.VERSION_VAR}}=\${${{ matrix.tool.VERSION_VAR}}:-$version_latest}/g" ${{ matrix.tool.VAR_FILE }}
- name: Create Pull Request to update ${{ matrix.tool.VERSION_VAR}} for ${{ matrix.tool.PROJECT_NAME }}
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "tools: Bump `${{ matrix.tool.VERSION_VAR}}` from ${{ steps.get-version-current.outputs.version_current }} to ${{ steps.get-version-latest.outputs.version_latest }}"
branch: update-version-${{ matrix.tool.VAR_FILE }}-${{ matrix.tool.PROJECT_NAME }}-${{ steps.get-version-latest.outputs.version_latest }}
delete-branch: true
title: "Bump ${{ matrix.tool.PROJECT_NAME}} from ${{ steps.get-version-current.outputs.version_current }} to ${{ steps.get-version-latest.outputs.version_latest }} in `${{ matrix.tool.VAR_FILE}}`"
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>
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=v23.11`
For stable branch use `--branch=v24.08`
```bash
apt-get -y install git
@@ -220,8 +220,9 @@ Free support:
- [Forums](https://forum.armbian.com) for Participate in Armbian
- IRC: `#armbian` on Libera.chat / oftc.net
- Matrix: [https://forum.armbian.com/topic/40413-enter-the-matrix/](https://forum.armbian.com/topic/40413-enter-the-matrix/)
- Discord: [https://discord.gg/armbian](https://discord.gg/armbian)
- Follow [@armbian](https://twitter.com/armbian) on 𝕏 (formerly known as Twitter), [Fosstodon](https://fosstodon.org/@armbian) or [LinkedIn](https://www.linkedin.com/company/armbian).
- Follow [@armbian](https://twitter.com/armbian) on 𝕏 (formerly known as Twitter), <a rel="me" href="https://fosstodon.org/@armbian">Mastodon</a> or [LinkedIn](https://www.linkedin.com/company/armbian).
- Bugs: [issues](https://github.com/armbian/build/issues) / [JIRA](https://armbian.atlassian.net/jira/dashboards/10000)
- Office hours: [Wednesday, 12 midday, 18 afternoon, CET](https://calendly.com/armbian/office-hours)

View File

@@ -1 +1 @@
24.5.0-trunk
24.8.2

View File

@@ -74,7 +74,8 @@ If you are unsure about the documentation then invoke `$ grep -r -A5 -B5 "BUILD_
- edge: Use edge kernel
- [branch]: Use specified [branch] kernel
- [none]: Exits with error
- **KERNEL_TEST_TARGET** ( comma-separated list of kernel releases or branches ): if test targets are different for testings (internal switch)
- **KERNEL_TEST_TARGET** ( comma-separated list of kernel releases or branches ): if test targets are different for testings. Also applies to build list generation. (internal switch)
- **KERNEL_UPGRADE_FREEZE** ( comma-separated list of kernels with versions obove which they stop updating, example: KERNEL_UPGRADE_FREEZE="vendor-rk35xx@24.8.1,current-rockchip-rk3588@24.8.2" )
- **FULL_DESKTOP** ( boolean ): defines whether to install desktop stack of applications such as office, thunderbird, etc..
- Values:
- yes: install desktop stack

View File

@@ -0,0 +1,13 @@
# Amlogic A311D 2/4GB RAM eMMC GBE USB3
BOARD_NAME="Libre Computer Alta"
BOARDFAMILY="meson-g12b"
BOARD_MAINTAINER="Tonymac32"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="edge"
MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost
FULL_DESKTOP="yes"
SERIALCON="ttyAML0"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="amlogic/meson-g12b-a311d-libretech-cc.dtb"
enable_extension "grub-with-dtb"

View File

@@ -0,0 +1,12 @@
# Amlogic s905d3 2/4GB RAM eMMC GBE USB3
BOARD_NAME="Libre Computer Solitude"
BOARDFAMILY="meson-sm1"
BOARD_MAINTAINER="Tonymac32"
KERNEL_TARGET="current,edge"
MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost
FULL_DESKTOP="yes"
SERIALCON="ttyAML0"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="amlogic/meson-sm1-s905d3-libretech-cc.dtb"
enable_extension "grub-with-dtb"

View File

@@ -1,50 +1,60 @@
# Amlogic S9xx based TVBox
# Amlogic S9xx based TVBox
BOARD_NAME="aml-s9xx-box"
BOARDFAMILY="meson-gxl"
BOARD_MAINTAINER="SteeManMI"
BOOTCONFIG="libretech-cc_defconfig"
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-gxl-s905x-p212.dtb"
BOOT_LOGO="desktop"
SRC_EXTLINUX="yes"
SRC_CMDLINE='rootflags=data=writeback console=ttyAML0,115200n8 console=tty0'
function aml-s9xx-box-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/aml_autoscript ] && rm /boot/aml_autoscript
[ -f /boot/emmc_autoscript ] && rm /boot/emmc_autoscript
[ -f /boot/s905_autoscript ] && rm /boot/s905_autoscript
[ -f /boot/u-boot-s905 ] && rm /boot/u-boot-s905
[ -f /boot/u-boot-s905x-s912 ] && rm /boot/u-boot-s905x-s912
[ -f /boot/u-boot-s905x2-s922 ] && rm /boot/u-boot-s905x2-s922
[ -f /boot/u-boot-s905x3 ] && rm /boot/u-boot-s905x3
[ -f /boot/extlinux/extlinux.conf.template ] && rm /boot/extlinux/extlinux.conf.template
[ -f /boot/build-u-boot/readme.txt ] && rm /boot/build-u-boot/readme.txt
[ -f /boot/build-u-boot/u-boot-s905x-s912.patch ] && rm /boot/build-u-boot/u-boot-s905x-s912.patch
[ -f /boot/build-u-boot/u-boot-s905x2-s922.patch ] && rm /boot/build-u-boot/u-boot-s905x2-s922.patch
[ -f /boot/build-u-boot/u-boot-s905x3.patch ] && rm /boot/build-u-boot/u-boot-s905x3.patch
function post_family_config__uboot_aml-s9xx-box() {
# 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-s9xx-box_bsp() {
: "${destination:?destination is not set}"
display_alert "$BOARD" "Installing bsp files" "info"
# Important: this board has board-specific bsp-cli files in config/optional/boards/aml-s9xx-box/_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
cp -r "${SRC}"/packages/bsp/aml-s9xx-box/boot "${destination}"
install -D -m 744 "${SRC}"/packages/bsp/aml-s9xx-box/root/install-aml.sh "${destination}"/root/install-aml.sh
install -m 644 "${SRC}"/packages/bsp/aml-s9xx-box/root/fstab.template "${destination}"/root/fstab.template
display_alert "${BOARD}" "Removing armbian-install" "info"
run_host_command_logged rm -v "${destination}"/usr/sbin/armbian-install
display_alert "${BOARD}" "Removing armbian-install" "info"
rm "${destination}"/usr/sbin/armbian-install
display_alert "${BOARD}" "Adding bsp-cli preinst logic" "info"
preinst_functions+=('aml-s9xx-box-bsp-cli-preinst')
display_alert "${BOARD}" "Adding bsp-cli preinst logic" "info"
# Inline function! So this function is automatically hashed when this hook is hashed.
function aml-s9xx-box-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/aml_autoscript ] && rm /boot/aml_autoscript
[ -f /boot/emmc_autoscript ] && rm /boot/emmc_autoscript
[ -f /boot/s905_autoscript ] && rm /boot/s905_autoscript
[ -f /boot/u-boot-s905 ] && rm /boot/u-boot-s905
[ -f /boot/u-boot-s905x-s912 ] && rm /boot/u-boot-s905x-s912
[ -f /boot/u-boot-s905x2-s922 ] && rm /boot/u-boot-s905x2-s922
[ -f /boot/u-boot-s905x3 ] && rm /boot/u-boot-s905x3
[ -f /boot/u-boot-s905x3-ugoosx3 ] && rm /boot/u-boot-s905x3-ugoosx3
[ -f /boot/extlinux/extlinux.conf.template ] && rm /boot/extlinux/extlinux.conf.template
[ -f /boot/build-u-boot/readme.txt ] && rm /boot/build-u-boot/readme.txt
[ -f /boot/build-u-boot/u-boot-s905x-s912.patch ] && rm /boot/build-u-boot/u-boot-s905x-s912.patch
[ -f /boot/build-u-boot/u-boot-s905x2-s922.patch ] && rm /boot/build-u-boot/u-boot-s905x2-s922.patch
[ -f /boot/build-u-boot/u-boot-s905x3.patch ] && rm /boot/build-u-boot/u-boot-s905x3.patch
[ -f /boot/build-u-boot/u-boot-s905x3-ugoos-x3.patch ] && rm /boot/build-u-boot/u-boot-s905x3-ugoos-x3.patch
return 0 # short-circuits above, avoid errors
}
preinst_functions+=('aml-s9xx-box-bsp-cli-preinst')
if false; then aml-s9xx-box-bsp-cli-preinst; fi # so shellcheck stops complaining the function is unused. sorry
}

View File

@@ -0,0 +1,27 @@
# Amlogic S912 octa core 3Gb RAM SoC eMMC chinese clone
BOARD_NAME="T95Z Plus" # (a q201 Chinese clone with internal amlogic ethernet 1gbit, complete with a chunk of metal inside to delay thermal throttling)
BOOT_FDT_FILE="amlogic/meson-gxm-t95z-plus.dtb" # From chewitt's patches
BOARDFAMILY="meson-gxl" # s912's are actually meson-gxm, no harm done.
BOOTCONFIG="meson-gxm-t95z-plus_defconfig" # patched-in
BOARD_MAINTAINER=""
KERNEL_TARGET="edge"
KERNEL_TEST_TARGET="edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
# Newer u-boot
BOOTBRANCH_BOARD="tag:v2024.04"
BOOTPATCHDIR="v2024.04/board_t95z" # This has a 000.patching_config.yaml inside, to avoid null-patching, as only new files are added (defconfig/dts's)
# Use extlinux and u-boot-menu extension
declare -g SRC_EXTLINUX="yes"
declare -g SRC_CMDLINE="loglevel=7 splash=verbose console=ttyAML0,115200" # Those boards are serial-debug only; 'root=LABEL=armbi_root' ?
enable_extension "u-boot-menu" # this generates the extlinux.conf
# Use the blobs for not-exactly-matching SBCs which are also S912. Note: the VIM2 blobs expect DDR4 and fails with "DDR4 chl: Rank0+1 @ 1008MHz" last message.
function post_uboot_custom_postprocess__t95z_uboot() {
display_alert "Signing u-boot FIP" "${BOARD}" "info"
#uboot_gxl_postprocess_ng "${SRC}/cache/sources/amlogic-boot-fip/khadas-vim2" # DDR4, won't work
#uboot_gxl_postprocess_ng "${SRC}/cache/sources/amlogic-boot-fip/beelink-gt1" # untested, might work
uboot_gxl_postprocess_ng "${SRC}/cache/sources/amlogic-boot-fip/tartiflette-s912" # DDR3, works
}

View File

@@ -0,0 +1,21 @@
# Rockchip RK3588 SoC octa core 8-32GB SoC 2.5GBe eMMC USB3 NvME
BOARD_NAME="ArmSoM AIM7 IO"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOOTCONFIG="armsom-aim7-io-rk3588_defconfig"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-armsom-aim7-io.dtb"
BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
function post_family_tweaks__armsom-aim7-io_naming_audios() {
display_alert "$BOARD" "Renaming 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
return 0
}

View File

@@ -0,0 +1,12 @@
# Rockchip RK3528 quad core 1-8GB SoC GBe eMMC USB3 Wifi Bt
BOARD_NAME="ArmSoM Sige1"
BOARDFAMILY="rk35xx"
BOOTCONFIG="hinlink_rk3528_defconfig"
BOARD_MAINTAINER="amazingfate"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3528-armsom-sige1.dtb"
BOOT_SCENARIO="spl-blobs"
WIREGUARD="no"
IMAGE_PARTITION_TABLE="gpt"

View File

@@ -0,0 +1,34 @@
# Rockchip RK3576 SoC octa core 8-64GB SoC 2*GBe eMMC USB3 NvME WIFI
BOARD_NAME="ArmSoM Sige5"
BOARDFAMILY="rk35xx"
BOOTCONFIG="armsom-sige5-rk3576_defconfig"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3576-armsom-sige5.dtb"
BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"
SRC_EXTLINUX="yes"
MODULES_BLACKLIST="panfrost"
BOARD_MAINTAINER=""
function post_family_config_branch_vendor__armsom-sige7_use_vendor_uboot() {
display_alert "$BOARD" "vendor u-boot overrides for $BOARD / $BRANCH" "info"
declare -g BOOTSOURCE="https://github.com/ArmSoM/u-boot.git"
declare -g BOOTBRANCH="tag:rk3576"
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"
mkdir -p $SDCARD/etc/udev/rules.d/
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio"' > $SDCARD/etc/udev/rules.d/90-naming-audios.rules
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-dp0-sound", ENV{SOUND_DESCRIPTION}="DP0 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-es8316-sound", ENV{SOUND_DESCRIPTION}="ES8316 Audio"' >> $SDCARD/etc/udev/rules.d/90-naming-audios.rules
return 0
}

View File

@@ -3,8 +3,7 @@ BOARD_NAME="ArmSoM Sige7"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="Z-Keven"
BOOTCONFIG="armsom-sige7-rk3588_defconfig"
KERNEL_TARGET="legacy"
KERNEL_TEST_TARGET="legacy" # in case different then kernel target
KERNEL_TARGET="edge,current,vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-armsom-sige7.dtb"
@@ -12,21 +11,11 @@ BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="ext4"
# @TODO: consider removing those, as the defaults in rockchip64_common have been bumped up
DDR_BLOB='rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.11.bin'
BL31_BLOB='rk35/rk3588_bl31_v1.38.elf'
# post_family_config hook which only runs when branch is legacy.
function post_family_config_branch_legacy__uboot_armsom() {
display_alert "$BOARD" "Configuring armsom u-boot" "info"
declare -g BOOTSOURCE='https://github.com/radxa/u-boot.git'
declare -g BOOTBRANCH="commit:b54d452d46459bc6e4cfc1a2795c9aad143aa174" # specific commit in next-dev branch
declare -g OVERLAY_PREFIX='rockchip-rk3588'
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g BOOTPATCHDIR="legacy/u-boot-armsom-rk3588" # Few patches in there; defconfig & DT
declare -g BOOTDELAY=1 # build injects this into u-boot config. we can then get into UMS mode and avoid the whole rockusb/rkdeveloptool thing
}
function post_family_tweaks__armsom-sige7_naming_audios() {
display_alert "$BOARD" "Renaming armsom-sige7 audios" "info"

View File

@@ -3,8 +3,7 @@ BOARD_NAME="ArmSoM W3"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOOTCONFIG="armsom-w3-rk3588_defconfig"
KERNEL_TARGET="legacy"
KERNEL_TEST_TARGET="legacy" # in case different then kernel target
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-armsom-w3.dtb"
@@ -12,21 +11,11 @@ BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="ext4"
# @TODO: consider removing those, as the defaults in rockchip64_common have been bumped up
DDR_BLOB='rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.11.bin'
BL31_BLOB='rk35/rk3588_bl31_v1.38.elf'
# post_family_config hook which only runs when branch is legacy.
function post_family_config_branch_legacy__uboot_armsom() {
display_alert "$BOARD" "Configuring armsom u-boot" "info"
declare -g BOOTSOURCE='https://github.com/radxa/u-boot.git'
declare -g BOOTBRANCH="commit:b54d452d46459bc6e4cfc1a2795c9aad143aa174" # specific commit in next-dev branch
declare -g OVERLAY_PREFIX='rockchip-rk3588'
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g BOOTPATCHDIR="legacy/u-boot-armsom-rk3588" # Few patches in there; defconfig & DT
declare -g BOOTDELAY=1 # build injects this into u-boot config. we can then get into UMS mode and avoid the whole rockusb/rkdeveloptool thing
}
function post_family_tweaks__armsom-w3_naming_audios() {
display_alert "$BOARD" "Renaming armsom-w3 audios" "info"

View File

@@ -0,0 +1,24 @@
# Allwinner Cortex-A55 octa core 2/4GB RAM SoC USB3 USB-C 2x GbE LCD
BOARD_NAME="Avaota A1"
BOARDFAMILY="sun55iw3-syterkit"
BOARD_MAINTAINER=""
KERNEL_TARGET="legacy"
BOOT_FDT_FILE="allwinner/sun55i-t527-avaota-a1.dtb"
SRC_EXTLINUX="yes"
SRC_CMDLINE="earlycon=uart8250,mmio32,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyAS0,115200 loglevel=8 cma=64M init=/sbin/init"
BOOTFS_TYPE="fat"
BOOTSIZE="256"
SERIALCON="ttyAS0"
declare -g SYTERKIT_BOARD_ID="avaota-a1" # This _only_ used for syterkit-allwinner extension
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"
display_alert "Applying wifi firmware"
pushd "$SDCARD/lib/firmware"
ln -s "aic8800/SDIO/aic8800D80" "aic8800d80" # use armbian-firmware
popd
}

View File

@@ -1,84 +0,0 @@
# Generate kernel and rootfs image for Qcom ABL 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="arm64-sm8550"
declare -g EXTRAWIFI="no"
declare -g BOOTCONFIG="none"
declare -g BOOTIMG_CMDLINE_EXTRA="clk_ignore_unused pd_ignore_unused panic=30 audit=0 loglevel=8 allow_mismatched_32bit_el0 rw drm.debug=0x100 mem_sleep_default=s2idle"
declare -g IMAGE_PARTITION_TABLE="gpt"
declare -g -a ABL_DTB_LIST=("qcs8550-ayn-odin2-hypdtbo")
# Use the full firmware, complete linux-firmware plus Armbian's
declare -g BOARD_FIRMWARE_INSTALL="-full"
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" ]] && return 0
[[ "${RELEASE}" == "noble" ]] && return 0
return 1
}
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
# 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"" > /etc/udev/rules.d/99-ignore-gamepad.rules
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
return 0
}
function post_family_tweaks_bsp__ayn-odin2_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 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}"
}

155
config/boards/ayn-odin2.eos Normal file
View File

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

@@ -0,0 +1,15 @@
# Allwinner A20 dual core 1Gb RAM SoC 1xSATA GBE
BOARD_NAME="Banana Pi"
BOARDFAMILY="sun7i"
BOARD_MAINTAINER="janprunk"
BOOTCONFIG="Bananapi_defconfig"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"
function post_config_uboot_target__extra_configs_for_bananapi() {
display_alert "$BOARD" "set dram clock" "info"
run_host_command_logged scripts/config --set-val CONFIG_DRAM_CLK "384"
display_alert "$BOARD" "disable de2 to improve edid detection" "info"
run_host_command_logged scripts/config --disable CONFIG_VIDEO_DE2
}

View File

@@ -1,14 +0,0 @@
# Allwinner A20 dual core 1Gb RAM SoC 1xSATA GBE
BOARD_NAME="Banana Pi"
BOARDFAMILY="sun7i"
BOARD_MAINTAINER="DylanHP"
BOOTCONFIG="Bananapi_defconfig"
KERNEL_TARGET="legacy,current,edge"
function post_config_uboot_target__extra_configs_for_bananapi() {
display_alert "$BOARD" "set dram clock" "info"
run_host_command_logged scripts/config --set-val CONFIG_DRAM_CLK "384"
display_alert "$BOARD" "disable de2 to improve edid detection" "info"
run_host_command_logged scripts/config --disable CONFIG_VIDEO_DE2
}

View File

@@ -4,13 +4,14 @@ BOARDFAMILY="meson-g12b"
BOARD_MAINTAINER="pyavitz"
BOOTCONFIG="bananapi-cm4-cm4io_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost
FULL_DESKTOP="yes"
SERIALCON="ttyAML0"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="amlogic/meson-g12b-bananapi-cm4-cm4io.dtb"
BOOTBRANCH_BOARD="tag:v2024.01"
BOOTPATCHDIR="v2024.01"
BOOTBRANCH_BOARD="tag:v2024.07"
BOOTPATCHDIR="v2024.07"
function post_family_tweaks_bsp__bananapi_rtl_bt() {
if [[ -d "$SRC/packages/bsp/bananapi/rtl_bt" ]]; then

View File

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

@@ -4,3 +4,4 @@ BOARDFAMILY="sun7i"
BOARD_MAINTAINER=""
BOOTCONFIG="bananapi_m1_plus_defconfig"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -5,3 +5,4 @@ BOARD_MAINTAINER=""
BOOTCONFIG="Sinovoip_BPI_M2_defconfig"
OVERLAY_PREFIX="sun6i-a31s"
KERNEL_TARGET="legacy,current"
KERNEL_TEST_TARGET="current"

View File

@@ -8,3 +8,4 @@ MODULES_CURRENT="g_serial"
MODULES_LEGACY="g_serial"
SERIALCON="ttyS0,ttyGS0"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -5,6 +5,7 @@ BOARD_MAINTAINER="bretmlw"
BOOTCONFIG="bananapi-m2-pro_defconfig"
BOOT_FDT_FILE="amlogic/meson-sm1-bananapi-m2-pro.dtb"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost
FULL_DESKTOP="yes"
SERIALCON="ttyAML0"
@@ -13,7 +14,7 @@ BOOTBRANCH_BOARD="tag:v2023.07.02"
BOOTPATCHDIR="v2023.07.02"
function fetch_sources_tools__libreelec_amlogic_fip_pre_m2-pro_blob_update() {
fetch_from_repo "https://github.com/Dangku/amlogic-boot-fip" "amlogic-boot-fip" "branch:master"
fetch_from_repo "https://github.com/Dangku/amlogic-boot-fip" "amlogic-boot-fip" "branch:master"
}
function post_uboot_custom_postprocess__bpi-m2-pro() {

View File

@@ -4,13 +4,14 @@ BOARDFAMILY="meson-g12b"
BOARD_MAINTAINER="pyavitz jeanrhum"
BOOTCONFIG="bananapi-m2s_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost
FULL_DESKTOP="yes"
SERIALCON="ttyAML0"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="amlogic/meson-g12b-a311d-bananapi-m2s.dtb"
BOOTBRANCH_BOARD="tag:v2024.01"
BOOTPATCHDIR="v2024.01"
BOOTBRANCH_BOARD="tag:v2024.07"
BOOTPATCHDIR="v2024.07"
function post_family_tweaks_bsp__bananapi_rtl_bt() {
if [[ -d "$SRC/packages/bsp/bananapi/rtl_bt" ]]; then

View File

@@ -7,3 +7,4 @@ MODULES_LEGACY="g_serial"
MODULES_CURRENT="g_serial"
SERIALCON="ttyS0,ttyGS0"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -5,3 +5,4 @@ BOARD_MAINTAINER="AaronNGray"
BOOTCONFIG="Sinovoip_BPI_M3_defconfig"
OVERLAY_PREFIX="sun8i-a83t"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -6,6 +6,8 @@ BOOTCONFIG="bananapi_m4zero_defconfig"
OVERLAY_PREFIX="sun50i-h616"
BOOT_LOGO="desktop"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
MODULES_BLACKLIST="rtw88_8821c rtw88_8821cu"
FORCE_BOOTSCRIPT_UPDATE="yes"
BOOTBRANCH_BOARD="tag:v2024.01"
BOOTPATCHDIR="v2024.01"

View File

@@ -5,12 +5,13 @@ BOARD_MAINTAINER="bretmlw"
BOOTCONFIG="bananapi-m5_defconfig"
BOOT_FDT_FILE="amlogic/meson-sm1-bananapi-m5.dtb"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost
FULL_DESKTOP="yes"
SERIALCON="ttyAML0"
BOOT_LOGO="desktop"
BOOTBRANCH_BOARD="tag:v2023.07.02"
BOOTPATCHDIR="v2023.07.02"
BOOTBRANCH_BOARD="tag:v2024.07"
BOOTPATCHDIR="v2024.07"
function fetch_sources_tools__libreelec_amlogic_fip_pre_m5_blob_update() {
fetch_from_repo "https://github.com/Dangku/amlogic-boot-fip" "amlogic-boot-fip" "branch:master"

View File

@@ -5,4 +5,5 @@ BOARD_MAINTAINER="devdotnetorg"
BOOTCONFIG_DEFAULT="sun50iw1p1_config"
BOOTCONFIG="bananapi_m64_defconfig"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"
CRUSTCONFIG="a64_defconfig"

View File

@@ -0,0 +1,8 @@
source "${SRC}/config/boards/armsom-sige7.csc"
BOARD_NAME="Banana Pi M7"
BOARD_MAINTAINER="amazingfate,Z-Keven"
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_TEST_TARGET="vendor,current"
BOARDFAMILY="rockchip-rk3588"

View File

@@ -4,7 +4,7 @@ BOARDFAMILY="sun7i"
BOARD_MAINTAINER=""
BOOTCONFIG="Bananapro_defconfig"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
function post_config_uboot_target__extra_configs_for_bananapipro() {
display_alert "$BOARD" "set dram clock" "info"

View File

@@ -2,6 +2,8 @@
BOARD_NAME="Banana Pi R2"
BOARDFAMILY="mt7623"
BOARD_MAINTAINER=""
KERNEL_TARGET="current"
KERNEL_TEST_TARGET="current"
BOOTCONFIG="mt7623n_bpir2_defconfig"
HAS_VIDEO_OUTPUT="no"
KERNEL_TARGET="legacy"
BOOT_FDT_FILE="mediatek/mt7623n-bananapi-bpi-r2"
HAS_VIDEO_OUTPUT="yes"

View File

@@ -4,6 +4,7 @@ BOARDFAMILY="rockchip64"
BOARD_MAINTAINER=""
BOOTCONFIG="bpi-r2-pro-rk3568_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-bpi-r2-pro.dtb"
@@ -17,8 +18,3 @@ IMAGE_PARTITION_TABLE="gpt"
function post_family_config___mainline_uboot() {
declare -g UBOOT_TARGET_MAP="ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB} BL31=$RKBIN_DIR/$BL31_BLOB spl/u-boot-spl u-boot.bin flash.bin;;idbloader.img u-boot.itb"
}
function add_host_dependencies__uboot_deps() {
display_alert "Adding python3-pyelftools for brute force mainline uboot" "${EXTENSION}" "info"
declare -g EXTRA_BUILD_DEPS="${EXTRA_BUILD_DEPS} python3-pyelftools"
}

View File

@@ -6,7 +6,7 @@ KERNEL_TARGET="edge"
BOOT_FDT_FILE="starfive/jh7100-beaglev-starlight-a1.dtb"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS0,115200n8 console=tty0 earlycon=sbi rootflags=data=writeback stmmaceth=chain_mode:1 rw"
BOOTCONFIG=none
BOOTCONFIG=none
function post_family_tweaks__beaglev_uenv() {
# rpardini: uEnv.txt is needed to re-enable distroboot-like behaviour on the board's SPI u-boot

View File

@@ -4,3 +4,4 @@ BOARDFAMILY="sun8i"
BOARD_MAINTAINER=""
BOOTCONFIG="beelink_x2_defconfig"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -1,14 +1,19 @@
# Allwinner H616 quad core 512MB/1GB RAM SoC WiFi
BOARD_NAME="BigTreeTech CB1"
BOARDFAMILY="sun50iw9-btt"
BOARD_MAINTAINER="bigtreetech"
BOARDFAMILY="sun50iw9"
BOARD_MAINTAINER="JohnTheCoolingFan"
BOOTCONFIG="bigtreetech_cb1_defconfig"
DEFAULT_CONSOLE="serial"
SERIALCON="ttyS0"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="legacy"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
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"
post_family_config__fdt_bigtreetech_cb1() {
if [[ "${BRANCH}" = "edge" ]]; then
BOOT_FDT_FILE="allwinner/sun50i-h616-bigtreetech-pi.dtb"
fi
}

View File

@@ -6,3 +6,4 @@ BOOTCONFIG="clearfog_defconfig"
#BOOTCONFIG_EDGE="clearfogbase_defconfig" # This had to be disabled because the clearfog is not yet ready for mainline uboot
HAS_VIDEO_OUTPUT="no"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -4,13 +4,14 @@ BOARDFAMILY="rockchip64"
BOARD_MAINTAINER=""
BOOTCONFIG="clockworkpi-a06-rk3399_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="no"
BOOTBRANCH_BOARD="tag:v2022.04"
BOOTPATCHDIR="u-boot-rockchip64-v2022.04"
function post_family_tweaks_bsp__clockworkpi-a06() {
display_alert "Installing BSP firmware and fixups"
display_alert "Installing BSP firmware and fixups"
# rotate screen & disable dpms
mkdir -p "$destination"/etc/X11/xorg.conf.d

View File

@@ -0,0 +1,37 @@
# Rockchip RK3588 SoC octa core 4-16GB SoC 2.5GBe PoE eMMC USB3 NVME
BOARD_NAME="CoolPi CM5"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="Andy Yan"
BOARD_FIRMWARE_INSTALL="-full"
BOOT_SOC="rk3588"
BOOTCONFIG="coolpi-cm5-evb-rk3588_defconfig"
KERNEL_TARGET="edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-coolpi-cm5-evb.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-cm5_use_mainline_uboot() {
display_alert "$BOARD" "mainline (next branch) u-boot overrides for $BOARD / $BRANCH" "info"
declare -g BOOTSOURCE="https://github.com/Kwiboo/u-boot-rockchip.git" # Kwiboo U-Boot
unset BOOTBRANCH
unset BOOTPATCHDIR
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"
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

@@ -5,7 +5,7 @@ BOARD_MAINTAINER=""
BOOTCONFIG="Cubieboard_config"
HAS_VIDEO_OUTPUT="no"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="edge"
KERNEL_TEST_TARGET="current"
MODULES_BLACKLIST="ir_lirc_codec lirc_dev sunxi-cir"
function post_config_uboot_target__extra_configs_for_cubieboard() {

View File

@@ -4,6 +4,7 @@ BOARDFAMILY="sun7i"
BOARD_MAINTAINER=""
BOOTCONFIG="Cubieboard2_config"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"
function post_config_uboot_target__extra_configs_for_cubieboard2() {
display_alert "$BOARD" "set dram clock" "info"

View File

@@ -4,3 +4,4 @@ BOARDFAMILY="sun9i"
BOARD_MAINTAINER=""
BOOTCONFIG=Cubieboard4_defconfig
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"

View File

@@ -4,6 +4,7 @@ BOARDFAMILY="imx6"
BOARD_MAINTAINER=""
BOOTCONFIG="mx6cuboxi_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools"

View File

@@ -0,0 +1,13 @@
# Rockchip RK3399 hexa core 4GB SoC eMMC GBE USB3 WiFi
BOARD_NAME="Fine3399"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER=""
BOOTCONFIG="fine3399-rk3399_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3399-fine3399.dtb"
BOOT_SCENARIO="only-blobs"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS2,1500000 console=tty0"

View File

@@ -0,0 +1,38 @@
# 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=""
KERNEL_TARGET="vendor"
BOOTCONFIG="rk3588_defconfig"
BOOT_FDT_FILE="rockchip/rk3588-firefly-itx-3588j.dtb"
BOOT_LOGO="desktop"
FULL_DESKTOP="yes"
IMAGE_PARTITION_TABLE="gpt"
function post_family_tweaks_bsp__firefly_itx_3588j() {
display_alert "$BOARD" "Installing rk3588-bluetooth.service" "info"
# Bluetooth on this board is handled by a Broadcom (AP6275PR3) 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/rk3588-bluetooth.service
# Reuse the service file, ttyS0 -> ttyS6; BCM4345C5.hcd -> BCM4362A2.hcd
sed -i 's/ttyS0/ttyS6/g' $destination/lib/systemd/system/rk3588-bluetooth.service
sed -i 's/BCM4345C5.hcd/BCM4362A2.hcd/g' $destination/lib/systemd/system/rk3588-bluetooth.service
return 0
}
function post_family_tweaks__firefly_itx_3588j_naming_audios() {
display_alert "$BOARD" "Renaming firefly-itx-3588j audios" "info"
mkdir -p $SDCARD/etc/udev/rules.d/
echo 'SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio"' > $SDCARD/etc/udev/rules.d/90-naming-audios.rules
return 0
}
function post_family_tweaks__firefly_itx_3588j_enable_services() {
display_alert "$BOARD" "Enabling rk3588-bluetooth.service" "info"
chroot_sdcard systemctl enable rk3588-bluetooth.service
return 0
}

View File

@@ -1,29 +1,12 @@
# Rockchip RK3399 hexa core 4GB SoC eMMC GBE USB3 WiFi
BOARD_NAME="Firefly RK3399"
BOARDFAMILY="media"
BOARD_MAINTAINER="150balbes"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER=""
BOOTCONFIG="firefly-rk3399_defconfig"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3399-firefly.dtb"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS2,1500000 console=tty0"
#ASOUND_STATE="asound.state.station-p1"
function post_family_tweaks_bsp__firefly-rk3399_BSP() {
display_alert "Installing BSP firmware and fixups"
if [[ $BRANCH == legacy ]]; then
# Bluetooth for most of others (custom patchram is needed only in legacy)
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/
# need to swap chips in the service
sed -i s%BCM4345C5%BCM4356A2%g $destination/lib/systemd/system/rk3399-bluetooth.service
fi
return 0
}

View File

@@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="mahdichi"
BOOTCONFIG="fxblox-rk1-rk3588_defconfig"
BOOT_SOC="rk3588"
KERNEL_TARGET="legacy"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-fxblox-rk1.dtb"
@@ -12,11 +12,11 @@ BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="fat"
# @TODO: consider removing those, as the defaults in rockchip64_common have been bumped up
DDR_BLOB='rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.11.bin'
BL31_BLOB='rk35/rk3588_bl31_v1.38.elf'
function post_family_tweaks__fxblox-rk1_naming_audios() {
display_alert "$BOARD" "Renaming fxblox rk1 audios" "info"

View File

@@ -0,0 +1,19 @@
# Amlogic A113X quad core 1Gb RAM SoC, eMMC 8Gb
BOARD_NAME="Gateway GZ80x"
BOARDFAMILY="meson-axg"
BOARD_MAINTAINER="pyavitz"
BOOTCONFIG="amper_gateway_am-gz80x_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
BOOTBRANCH_BOARD="tag:v2024.04"
BOOTPATCHDIR="v2024.04"
BOOT_FDT_FILE="amlogic/meson-axg-amper-gateway-am-gz80x.dtb"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyAML0,115200n8 clk_ignore_unused loglevel=7"
HAS_VIDEO_OUTPUT="no"
function post_family_tweaks_bsp__gateway_gz80x_udev() {
mkdir -p "${destination}"/etc/udev/rules.d
display_alert "$BOARD" "Install zwave udev rule" "info"
echo 'KERNEL=="ttyAML2", NAME="tts/%n", SYMLINK+="zwave", GROUP="dialout", MODE="0660"' > "${destination}"/etc/udev/rules.d/10-zwave.rules
}

View File

@@ -0,0 +1,31 @@
# Rockchip RK3566 quad core SoC WIFI/BT eMMC USB2/3
BOARD_NAME="h96-tvbox-3566"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER="hqnicolas"
BOOTCONFIG="rk3568_defconfig"
KERNEL_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3566-h96-tvbox.dtb"
IMAGE_PARTITION_TABLE="gpt"
# 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
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

@@ -1,11 +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"

12
config/boards/helios4.csc Normal file
View File

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

@@ -0,0 +1,60 @@
# RK3399 hexa core 4GB SoC 2.5GbE eMMC USB3 SATA M.2 UPS
BOARD_NAME="Helios64"
BOARDFAMILY="rockchip64" # Used to be rk3399
BOARD_MAINTAINER="prahal"
BOOTCONFIG="helios64-rk3399_defconfig"
BOOT_SCENARIO="tpl-blob-atf-mainline"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
MODULES="lm75 ledtrig-netdev"
MODULES_LEGACY="lm75"
FULL_DESKTOP="yes"
PACKAGE_LIST_BOARD="mdadm i2c-tools fancontrol"
PACKAGE_LIST_BOARD_REMOVE="fake-hwclock"
CPUMAX="1800000"
function post_family_tweaks__helios64_enable_heartbeat() {
display_alert "$BOARD" "Installing board tweaks" "info"
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable helios64-heartbeat-led.service >/dev/null 2>&1"
return 0
}
function post_family_tweaks_bsp__helios64() {
display_alert "Installing BSP firmware and fixups"
mkdir -p $destination/etc/udev/rules.d/
mkdir -p $destination/etc/systemd/system/fancontrol.service.d/
mkdir -p $destination/lib/systemd/system/
mkdir -p $destination/lib/systemd/system-shutdown/
cp $SRC/packages/bsp/helios64/50-usb-realtek-net.rules $destination/etc/udev/rules.d/
cp $SRC/packages/bsp/helios64/70-keep-usb-lan-as-eth1.rules $destination/etc/udev/rules.d/
cp $SRC/packages/bsp/helios64/90-helios64-ups.rules $destination/etc/udev/rules.d/
cp $SRC/packages/bsp/helios64/asound.conf $destination/etc/
install -m 755 $SRC/packages/bsp/helios64/disable_auto_poweron $destination/lib/systemd/system-shutdown/
### Fancontrol tweaks
# copy hwmon rules to fix device mapping
# changed to only use one file regardless of branch
install -m 644 $SRC/packages/bsp/helios64/90-helios64-hwmon.rules $destination/etc/udev/rules.d/
install -m 644 $SRC/packages/bsp/helios64/fancontrol.service.pid-override $destination/etc/systemd/system/fancontrol.service.d/pid.conf
# copy fancontrol config
install -m 644 $SRC/packages/bsp/helios64/fancontrol.conf $destination/etc/fancontrol
# LED tweak
if [[ $BRANCH == legacy ]]; then
install -m 644 $SRC/packages/bsp/helios64/helios64-heartbeat-led-legacy.service $destination/etc/systemd/system/helios64-heartbeat-led.service
else
install -m 644 $SRC/packages/bsp/helios64/helios64-heartbeat-led.service $destination/etc/systemd/system/
fi
# UPS service
cp $SRC/packages/bsp/helios64/helios64-ups.service $destination/lib/systemd/system/
cp $SRC/packages/bsp/helios64/helios64-ups.timer $destination/lib/systemd/system/
install -m 755 $SRC/packages/bsp/helios64/helios64-ups.sh $destination/usr/bin/helios64-ups.sh
return 0
}

View File

@@ -1,59 +0,0 @@
# RK3399 hexa core 4GB SoC 2.5GbE eMMC USB3 SATA M.2 UPS
BOARD_NAME="Helios64"
BOARDFAMILY="rockchip64" # Used to be rk3399
BOARD_MAINTAINER=""
BOOTCONFIG="helios64-rk3399_defconfig"
BOOT_SCENARIO="tpl-blob-atf-mainline"
KERNEL_TARGET="current,edge"
MODULES="lm75 ledtrig-netdev"
MODULES_LEGACY="lm75"
FULL_DESKTOP="yes"
PACKAGE_LIST_BOARD="mdadm i2c-tools fancontrol"
PACKAGE_LIST_BOARD_REMOVE="fake-hwclock"
CPUMAX="1800000"
function post_family_tweaks__helios64_enable_heartbeat() {
display_alert "$BOARD" "Installing board tweaks" "info"
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable helios64-heartbeat-led.service >/dev/null 2>&1"
return 0
}
function post_family_tweaks_bsp__helios64() {
display_alert "Installing BSP firmware and fixups"
mkdir -p $destination/etc/udev/rules.d/
mkdir -p $destination/etc/systemd/system/fancontrol.service.d/
mkdir -p $destination/lib/systemd/system/
mkdir -p $destination/lib/systemd/system-shutdown/
cp $SRC/packages/bsp/helios64/50-usb-realtek-net.rules $destination/etc/udev/rules.d/
cp $SRC/packages/bsp/helios64/70-keep-usb-lan-as-eth1.rules $destination/etc/udev/rules.d/
cp $SRC/packages/bsp/helios64/90-helios64-ups.rules $destination/etc/udev/rules.d/
cp $SRC/packages/bsp/helios64/asound.conf $destination/etc/
install -m 755 $SRC/packages/bsp/helios64/disable_auto_poweron $destination/lib/systemd/system-shutdown/
### Fancontrol tweaks
# copy hwmon rules to fix device mapping
# changed to only use one file regardless of branch
install -m 644 $SRC/packages/bsp/helios64/90-helios64-hwmon.rules $destination/etc/udev/rules.d/
install -m 644 $SRC/packages/bsp/helios64/fancontrol.service.pid-override $destination/etc/systemd/system/fancontrol.service.d/pid.conf
# copy fancontrol config
install -m 644 $SRC/packages/bsp/helios64/fancontrol.conf $destination/etc/fancontrol
# LED tweak
if [[ $BRANCH == legacy ]]; then
install -m 644 $SRC/packages/bsp/helios64/helios64-heartbeat-led-legacy.service $destination/etc/systemd/system/helios64-heartbeat-led.service
else
install -m 644 $SRC/packages/bsp/helios64/helios64-heartbeat-led.service $destination/etc/systemd/system/
fi
# UPS service
cp $SRC/packages/bsp/helios64/helios64-ups.service $destination/lib/systemd/system/
cp $SRC/packages/bsp/helios64/helios64-ups.timer $destination/lib/systemd/system/
install -m 755 $SRC/packages/bsp/helios64/helios64-ups.sh $destination/usr/bin/helios64-ups.sh
return 0
}

View File

@@ -3,6 +3,7 @@ declare -g BOARD_NAME="HiKey 960"
declare -g BOARDFAMILY="uefi-arm64"
declare -g BOARD_MAINTAINER=""
declare -g KERNEL_TARGET="current,edge"
declare -g KERNEL_TEST_TARGET="current"
declare -g GRUB_CMDLINE_LINUX_DEFAULT="efi=noruntime console=ttyAMA6,115200n8"
declare -g BOOT_FDT_FILE="hisilicon/hi3660-hikey960.dtb"

View File

@@ -3,7 +3,7 @@ BOARD_NAME="HinLink H28k"
BOARDFAMILY="rk35xx"
BOOTCONFIG="hinlink_rk3528_defconfig"
BOARD_MAINTAINER="sputnik2019"
KERNEL_TARGET="legacy"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3528-hinlink-h28k.dtb"
@@ -13,10 +13,3 @@ BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="ext4"
# Override family config for this board; let's avoid conditionals in family config.
function post_family_config__hinlink-h28k_use_vendor_uboot() {
BOOTSOURCE='https://github.com/rockchip-linux/u-boot.git'
BOOTBRANCH='commit:32640b0ada9344f91e7a407576568782907161cd'
BOOTPATCHDIR="legacy/board_hinlink-h28k"
}

View File

@@ -0,0 +1,13 @@
# Rockchip RK3568 quad core 1-8GB SoC 2.5GBe eMMC USB3
BOARD_NAME="Hinlink H66K"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-e25-rk3568_defconfig"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-hinlink-h66k.dtb"
BOOT_SCENARIO="spl-blobs"
WIREGUARD="no"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="fat"

View File

@@ -0,0 +1,13 @@
# Rockchip RK3568 quad core 1-8GB SoC 2xGBe 2x2.5GBe eMMC USB3
BOARD_NAME="Hinlink H68K"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-e25-rk3568_defconfig"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-hinlink-h68k.dtb"
BOOT_SCENARIO="spl-blobs"
WIREGUARD="no"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="fat"

View File

@@ -4,7 +4,7 @@ BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
BOARD_FIRMWARE_INSTALL="-full"
BOOTCONFIG="rock-5b-rk3588_defconfig"
KERNEL_TARGET="legacy,edge"
KERNEL_TARGET="vendor,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-hinlink-h88k.dtb"

View File

@@ -0,0 +1,13 @@
# Rockchip RK3568 quad core 1-8GB SoC 2x2.5GBe eMMC USB3 SATA
BOARD_NAME="Hinlink HNAS"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-e25-rk3568_defconfig"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-hinlink-hnas.dtb"
BOOT_SCENARIO="spl-blobs"
WIREGUARD="no"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="fat"

View File

@@ -3,7 +3,7 @@ BOARD_NAME="HinLink HT2"
BOARDFAMILY="rk35xx"
BOOTCONFIG="hinlink_rk3528_defconfig"
BOARD_MAINTAINER="hoochiwetech"
KERNEL_TARGET="legacy"
KERNEL_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3528-hinlink-ht2.dtb"
@@ -11,10 +11,3 @@ BOOT_SCENARIO="spl-blobs"
WIREGUARD="no"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="ext4"
# Override family config for this board; let's avoid conditionals in family config.
function post_family_config__hinlink-h28k_use_vendor_uboot() {
BOOTSOURCE='https://github.com/rockchip-linux/u-boot.git'
BOOTBRANCH='commit:32640b0ada9344f91e7a407576568782907161cd'
BOOTPATCHDIR="legacy/board_hinlink-h28k"
}

View File

@@ -4,18 +4,19 @@ 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="legacy,collabora,edge"
declare -g KERNEL_TARGET="edge,current,vendor"
declare -g FULL_DESKTOP="yes"
declare -g BOOT_LOGO="desktop"
declare -g BOOT_FDT_FILE="rockchip/rk3588s-indiedroid-nova.dtb"
declare -g BOOT_SCENARIO="spl-blobs"
declare -g BOOT_SUPPORT_SPI="no"
declare -g IMAGE_PARTITION_TABLE="gpt"
declare -g BOOTFS_TYPE="fat"
declare -g SRC_EXTLINUX="no" # going back to standard uboot for now
declare -g SRC_EXTLINUX="no" # going back to standard uboot for now
declare -g UEFI_EDK2_BOARD_ID="indiedroid-nova" # This _only_ used for uefi-edk2-rk3588 extension
# @TODO: consider removing those, as the defaults in rockchip64_common have been bumped up
declare -g BL31_BLOB='rk35/rk3588_bl31_v1.38.elf'
declare -g DDR_BLOB='rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.11.bin'
declare -g UEFI_EDK2_BOARD_ID="indiedroid-nova" # This _only_ used for uefi-edk2-rk3588 extension
## only applies to extlinux so not used
declare -g SRC_CMDLINE="console=ttyS0,115200n8 console=tty1 console=both net.ifnames=0 rootflags=data=writeback"
@@ -28,7 +29,7 @@ function post_family_config__indiedroid-nova_use_stvhay_uboot() {
}
# BSP kernel uses device name from contract manufacturer rather than production name in mainline
function post_family_config_branch_legacy__use_9tripod_dtb() {
function post_family_config_branch_vendor__use_9tripod_dtb() {
declare -g BOOT_FDT_FILE="rockchip/rk3588s-9tripod-linux.dtb"
}
@@ -79,6 +80,7 @@ function pre_customize_image__indiedroid_add_bluetooth() {
EOD
chroot_sdcard systemctl enable bluetooth-rtl8821cs.service
}
function post_family_tweaks__indiedroid_naming_audios() {
display_alert "$BOARD" "Renaming indiedroid audios" "info"

View File

@@ -0,0 +1,14 @@
# Allwinner H6 quad core 2GB SoC WiFi eMMC
BOARD_NAME="Inovato Quadra"
BOARDFAMILY="sun50iw6"
BOARD_MAINTAINER="NicoD-SBC"
BOOTCONFIG="tanix_tx6_defconfig"
CRUSTCONFIG="tanix_tx6_defconfig"
BOOT_FDT_FILE="allwinner/sun50i-h6-inovato-quadra.dtb"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current"
BOOT_LOGO="desktop"
FULL_DESKTOP="yes"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS0,115200 console=tty0 mem=2048M video=HDMI-A-1:e"
OFFSET=16

View File

@@ -1,14 +0,0 @@
# Allwinner H6 quad core 2GB SoC WiFi eMMC
BOARD_NAME="Inovato Quadra"
BOARDFAMILY="sun50iw6"
BOARD_MAINTAINER=""
BOOTCONFIG="tanix_tx6_defconfig"
CRUSTCONFIG="tanix_tx6_defconfig"
BOOT_FDT_FILE="allwinner/sun50i-h6-inovato-quadra.dtb"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TEST_TARGET="current,edge"
BOOT_LOGO="desktop"
FULL_DESKTOP="yes"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS0,115200 console=tty0 mem=2048M video=HDMI-A-1:e"
OFFSET=16

View File

@@ -4,5 +4,9 @@ BOARDFAMILY="jethub"
BOARD_MAINTAINER="adeepn"
BOOTCONFIG="jethub_j100_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
PACKAGE_LIST_BOARD="libubootenv-tool apparmor rfkill bluetooth bluez bluez-tools python3-pip watchdog python3-serial python3-intelhex python3-intelhex"
[[ "${RELEASE}" == "jammy" ]] || PACKAGE_LIST_BOARD="${PACKAGE_LIST_BOARD} util-linux-extra"
DEFAULT_CONSOLE="serial"
HAS_VIDEO_OUTPUT="no"
MODULES_BLACKLIST="rtw88_8822cs"

View File

@@ -0,0 +1,13 @@
# Amlogic S905X3 quad core 4GB RAM SoC eMMC GBE USB2 SPI-NOR
BOARD_NAME="JetHub D2"
BOARDFAMILY="jethub"
BOARD_MAINTAINER="adeepn"
BOOTCONFIG="jethub_j200_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
PACKAGE_LIST_BOARD="libubootenv-tool apparmor rfkill bluetooth bluez bluez-tools python3-pip watchdog"
[[ "${RELEASE}" == "jammy" ]] || PACKAGE_LIST_BOARD="${PACKAGE_LIST_BOARD} util-linux-extra"
MODULES_BLACKLIST="simpledrm" # SimpleDRM conflicts with Panfrost
FULL_DESKTOP="yes"
SERIALCON="ttyAML0"
#BOOT_LOGO="desktop"

View File

@@ -4,5 +4,9 @@ BOARDFAMILY="jethub"
BOARD_MAINTAINER="adeepn"
BOOTCONFIG="jethub_j80_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
PACKAGE_LIST_BOARD="libubootenv-tool apparmor rfkill bluetooth bluez bluez-tools python3-pip watchdog python3-serial python3-intelhex python3-intelhex"
[[ "${RELEASE}" == "jammy" ]] || PACKAGE_LIST_BOARD="${PACKAGE_LIST_BOARD} util-linux-extra"
DEFAULT_CONSOLE="serial"
HAS_VIDEO_OUTPUT="no"
MODULES_BLACKLIST="rtw88_8822cs"

View File

@@ -3,6 +3,7 @@ declare -g BOARD_NAME="Jetson Nano"
declare -g BOARDFAMILY="uefi-arm64"
declare -g BOARD_MAINTAINER="150balbes"
declare -g KERNEL_TARGET="current,edge"
declare -g KERNEL_TEST_TARGET="current"
declare -g BOOT_LOGO=desktop

View File

@@ -5,6 +5,7 @@ BOARD_MAINTAINER="tdleiyao"
#BOOTCONFIG="rock-3c-rk3566_defconfig"
BOOTCONFIG="rk3568_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3566-jp-tvbox.dtb"

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