Compare commits

...

478 Commits

Author SHA1 Message Date
coderabbitai[bot]
9852b3afcf CodeRabbit Generated Unit Tests: Add test_apa.bats and test_distro_specific.bats test files 2025-06-22 11:34:08 +00:00
Igor Pecovnik
3844ef919f Main: adjust broken patches on Meson and Rockchip64 2025-06-21 19:37:37 +02:00
retro98boy
fc8fef06b2 CAINIAO CNIoT-CORE: use ALSA UCM instead of asound.state 2025-06-19 15:05:33 +02:00
retro98boy
99d23b8190 CAINIAO CNIoT-CORE: change sound card name and update DAI links 2025-06-19 15:05:33 +02:00
CaWeissWz
923dc8d7e8 Update linux-bcm2711-legacy.config
Added missing I2C designware slave functionality
2025-06-19 09:52:10 +02:00
CaWeissWz
8062795c00 Update linux-bcm2711-edge.config
Added missing I2C designware slave functionality.
2025-06-19 09:52:10 +02:00
CaWeissWz
057681b37d Update linux-bcm2711-current.config
Remove leading "+" sign on config variable, as this seems to be a typo
2025-06-19 09:52:10 +02:00
Werner
4d953d0b83 Update config/kernel/linux-bcm2711-current.config
reasonable

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

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

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

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

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

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

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

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

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

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

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

* pass possible proxy arguments to docker

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

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

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

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

* Ensure SPI overlay patches are applied

* Fix typo in patch name

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

* Rephrase subject heading to improve clarity

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

* Fix interface aliases on Allwinner A13 for I2C and UART

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

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

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

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

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

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

* Remove references to our no longer needed addtional overlays

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* Update helios4-wol.service

Removed test code.

* Update helios4-wol.service

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

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

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

So revert back to v2024.10 until sorted.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Tested locally on my board after building an armbian image.

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

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

* Removed old comment

* Update rock-4se.csc

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

* Update rock-4se.csc

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

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

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

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 21:02:37 +02:00
Igor Pecovnik
ca1f302ec6 Rpi bugfix: Split Debian and Ubuntu packages when installing from Armbian repository
- change name of /etc/kernel/postinst.d/z51-raspi-firmware and check for distribution in runtime. This will prevent conflict with raspi-firmware on Debian, while Ubuntu don't have that.
- install packages depending on Distribution. Ubuntu gets what it was, while Debian gets different packages, mirroed from official Rpi bookwork repo: raspi-firmware raspberrypi-sys-mods bluez-firmware bluez
- bump EDGE kernel to 6.14.y
2025-04-14 16:20:28 +02:00
青菜萝 卜冬瓜
88ab0c5ad0 station-p2: bump u-boot to 2025.04 (#8081) 2025-04-14 09:39:53 +08:00
igorpecovnik
aa952daa87 Automatic board configs status synchronise 2025-04-13 10:18:47 +02:00
chainsx
692b1363d6 sakurapi-rk3308b:bump u-boot to 2025.04 2025-04-13 09:10:53 +02:00
TheSnowfield
56d867fe25 sakurapi-rk3308b: fix uart4 bcm4345c5 bluetooth hci, enable i2c1 2025-04-13 09:10:53 +02:00
TheSnowfield
488f0d04ea sakurapi-rk3308b: ws2812-vleds spi driver dtso for on-board leds 2025-04-13 09:10:53 +02:00
TheSnowfield
4eb31d281f sakurapi-rk3308b: update board dts: fix the display matching & enable spidev for default spi output 2025-04-13 09:10:53 +02:00
FantasyGmm
7c7272654a Add Qcom Robotics RB5 Support 2025-04-12 20:10:35 +02:00
Werner
4d66a92623 nanopi-r3s remove mainlined patch 2025-04-12 20:08:02 +02:00
Werner
9335f08cd3 nanopi-r3s: bump uboot to v2025.04 2025-04-12 20:08:02 +02:00
Werner
e251d84a42 radxa-zero3: bump mainline uboot (#8071) 2025-04-12 20:07:26 +02:00
Werner
66dd52354a rock-3a: bump mainline uboot to v2025.04 2025-04-12 20:06:56 +02:00
Ricardo Pardini
484aac7df2 lib/tools/info: mapper-oci-uptodate: adapt to oras-py 0.2 api change 2025-04-12 20:06:13 +02:00
Ricardo Pardini
9e5ca480d2 lib/tools: Python CLI for ORAS (add non-existing case) 2025-04-12 20:06:13 +02:00
Ricardo Pardini
5d712c242a lib/tools: Python CLI for ORAS (bump to 0.2.y, api change, not too bad) 2025-04-12 20:06:13 +02:00
Ricardo Pardini
52f11d4351 bump python oras 0.1.30 -> 0.2.28 2025-04-12 20:06:13 +02:00
Ricardo Pardini
89eae213a7 lib/tools: Python CLI for ORAS (0.1.y) 2025-04-12 20:06:13 +02:00
Igor Pecovnik
6a86fd7def Fix permissions for label Ready to Merge on approved pull requests 2025-04-12 20:04:11 +02:00
Igor
1684d06eb1 GH Actions label adjustment, fix permissions and enable auto quarter labels (#8078)
* GH Actions: adjust permissions in order to change labels on PR
* Add label by date, check if "Read to merge is present", fix bugs
2025-04-12 19:42:10 +02:00
JohnTheCoolingFan
5795f7202a Fix rtl8189fs driver commit version
Used the commit of the same date which is currently the head of the
`rtl8189fs` branch. The issue was that the rtl8189es `master` branch was
used.
2025-04-12 17:25:21 +03:00
青菜萝 卜冬瓜
d40c922086 station-m3: delete the redundant function. (#8068) 2025-04-12 12:03:41 +08:00
ssp97
99888eb5e2 rk3308: fix uart dma. (#8074) 2025-04-12 11:29:19 +08:00
Patrick Yavitz
0b8d7ffa32 SpacemiT: Defconfig: Enable PPPoe Module
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-04-11 11:07:34 -04:00
Igor Pecovnik
2b48f5c535 Rockchip RK3588: Adjust mainlined patch 2025-04-10 17:40:04 +02:00
juanesf
863a369302 Update linux-sun55iw3-dev.config (#8058)
-Change CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE  to CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND to avoid excessive heat while in low use
2025-04-10 10:29:46 +02:00
Mecid
ff6050e6c7 Genio: Remove merged patch 2025-04-10 10:29:19 +02:00
FantasyGmm
1dfb077e15 Bump SM8250 Edge kernel to 6.14 (#8054) 2025-04-09 19:28:36 +08:00
igorpecovnik
9b7b35bf56 Automatic board configs status synchronise 2025-04-08 22:11:46 +02:00
Igor Pecovnik
813e5ba567 We need to escape $ otherwise this will be executed on host 2025-04-08 21:09:55 +02:00
The-going
47ac70fb27 bananapim4berry: Mark the device as CSC
At this stage, the desktops are functioning normally.
The Ethernet is working; module dwmac-sun8i.
WiFi\Bluetooth - the rtl8821cu module is loaded and
can be configured.
2025-04-08 17:17:22 +02:00
The-going
7c640ba198 sunxi-6.12: bananapi-m4-berry: Fix the launch of Ether, Wifi chips 2025-04-08 17:17:22 +02:00
The-going
5a5fd2d14e sunxi-6.1: sunxi-6.10: sunxi-6.11: Delete as unsupported 2025-04-08 17:17:22 +02:00
The-going
6f76bdaf4e sunxi-6.12: Switching to v6.12.20 2025-04-08 17:17:22 +02:00
The-going
09b0af1cdd sunxi-6.12: Add the missing pins to a separate patch 2025-04-08 17:17:22 +02:00
The-going
748e04ed20 sunxi-6.12: re-export megous, drm patches to v6.12.20 2025-04-08 17:17:22 +02:00
The-going
332d300fd8 sunxi64: Switching CURRENT to v6.12.19, LEGACY to v6.6.75
kernel config by simple copying:
cp linux-sunxi64-current.config linux-sunxi64-legacy.config
cp linux-sunxi64-edge.config linux-sunxi64-current.config

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

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

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

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

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

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

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

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

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

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

The following files were modified:

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

This reverts commit d4022fbbbb.

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

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

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

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

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

The following files were modified:

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

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

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

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

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

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

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

This change fixes CPUFREQ on CB2 on 6.12

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-12 15:34:49 +01:00
plumbeo
dd8d9710f7 linux-bcm2711: enable CONFIG_CRYPTO_NHPOLY1305_NEON 2025-03-12 15:34:08 +01:00
FantasyGmm
5bf962afa0 Remove Xiaomi umi Support 2025-03-10 16:50:49 +08:00
3929 changed files with 711031 additions and 745174 deletions

77
.github/CODEOWNERS vendored
View File

@@ -27,18 +27,19 @@ config/boards/ayn-odin2.csc @FantasyGmm
config/boards/bananapi.conf @DylanHP @janprunk
config/boards/bananapicm4io.conf @pyavitz
config/boards/bananapif3.conf @pyavitz
config/boards/bananapim2plus.csc @leggewie
config/boards/bananapim2plus.conf @leggewie
config/boards/bananapim2pro.conf @igorpecovnik
config/boards/bananapim2s.conf @jeanrhum @pyavitz
config/boards/bananapim2zero.csc @mhawkins-consultant
config/boards/bananapim3.csc @AaronNGray
config/boards/bananapim4berry.wip @The-going
config/boards/bananapim4berry.conf @The-going
config/boards/bananapim4zero.conf @pyavitz
config/boards/bananapim5.conf @igorpecovnik
config/boards/bananapim64.csc @devdotnetorg
config/boards/bananapim7.conf @amazingfate
config/boards/beaglebone-ai64.conf @Grippy98
config/boards/beagleplay.conf @Grippy98
config/boards/beagley-ai.csc @Grippy98
config/boards/bigtreetech-cb1.conf @JohnTheCoolingFan
config/boards/bigtreetech-cb2.conf @JohnTheCoolingFan
config/boards/cherryba-m1.csc @IsMrX
@@ -50,10 +51,11 @@ config/boards/firefly-itx-3588j.csc @SeeleVolleri
config/boards/fxblox-rk1.csc @mahdichi
config/boards/gateway-gz80x.conf @pyavitz
config/boards/h96-tvbox-3566.tvb @hqnicolas
config/boards/helios4.csc @Heisath
config/boards/helios4.conf @Heisath
config/boards/helios64.conf @prahal
config/boards/hinlink-h28k.csc @sputnik2019
config/boards/hinlink-ht2.csc @hoochiwetech
config/boards/imb3588.conf @JackHuang021
config/boards/indiedroid-nova.csc @lanefu
config/boards/inovato-quadra.conf @NicoD-SBC
config/boards/jethubj100.conf @adeepn
@@ -76,16 +78,16 @@ config/boards/lubancat2.csc @andyshrk
config/boards/mangopi-m28k.csc @sputnik2019
config/boards/mba8mpxl-ras314.conf @schmiedelm
config/boards/mba8mpxl.conf @schmiedelm
config/boards/mekotronics-r58-minipc.csc @monkaBlyat
config/boards/mekotronics-r58-minipc.conf @monkaBlyat
config/boards/mekotronics-r58x-4g.csc @monkaBlyat
config/boards/mekotronics-r58x.csc @monkaBlyat
config/boards/mekotronics-r58x.conf @monkaBlyat
config/boards/mixtile-blade3.csc @rpardini
config/boards/mksklipad50.conf @torte71
config/boards/mkspi.csc @redrathnure
config/boards/nanopct6-lts.conf @SuperKali @Tonymac32
config/boards/nanopct6.conf @SuperKali @Tonymac32
config/boards/nanopi-m6.conf @efectn
config/boards/nanopi-r4s.conf @Manouchehri
config/boards/nanopi-r3s-lts.conf @pyavitz
config/boards/nanopi-r5s.csc @utlark
config/boards/nanopi-r6c.csc @ColorfulRhino
config/boards/nanopi-r6s.conf @efectn
@@ -121,14 +123,16 @@ config/boards/orangepizeroplus.csc @schwar3kat
config/boards/phytiumpi.conf @chainsx
config/boards/pine64.conf @PanderMusubi
config/boards/pinebook-pro.csc @TRSx80 @ahoneybun
config/boards/pocketbeagle2.csc @Grippy98
config/boards/pocketbeagle2.conf @Grippy98
config/boards/pocketchip-sd.csc @TheSnowfield
config/boards/qcom-robotics-rb5.conf @FantasyGmm
config/boards/qemu-uboot-arm64.csc @rpardini
config/boards/qemu-uboot-x86.csc @rpardini
config/boards/qemu-uefi-x86.conf @davidandreoletti
config/boards/radxa-e20c.csc @mattx433
config/boards/radxa-e25.csc @krachlatte
config/boards/radxa-e52c.conf @amazingfate
config/boards/radxa-nio-12l.conf @HeyMeco
config/boards/radxa-zero.conf @clee @engineer-80
config/boards/radxa-zero2.csc @monkaBlyat
config/boards/recore.csc @eliasbakken
@@ -167,16 +171,17 @@ config/boards/tritium-h3.conf @Tonymac32
config/boards/tritium-h5.conf @Tonymac32
config/boards/uefi-arm64.conf @rpardini
config/boards/uefi-x86.conf @rpardini
config/boards/visionfive2.csc @libiunc
config/boards/wsl2-arm64.csc @rpardini
config/boards/wsl2-x86.csc @rpardini
config/boards/x96-mate.tvb @Ressetkk
config/boards/x96q.tvb @sicXnull
config/boards/xiaomi-elish.conf @amazingfate
config/boards/xiaomi-umi.eos @FantasyGmm
config/boards/youyeetoo-r1-v3.csc @SuperKali
config/boards/yy3568.csc @hqnicolas
config/kernel/linux-arm64-*.config @FantasyGmm @PeterChrz @rpardini
config/kernel/linux-arm64-*.config @PeterChrz @rpardini
config/kernel/linux-bcm2711-*.config @PanderMusubi @teknoid
config/kernel/linux-genio-*.config @HeyMeco
config/kernel/linux-k3-*.config @Grippy98 @glneo
config/kernel/linux-k3-beagle-*.config @Grippy98
config/kernel/linux-meson-*.config @hzyitc @juanlufont
@@ -185,11 +190,13 @@ config/kernel/linux-meson64-*.config @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @
config/kernel/linux-mvebu-*.config @Heisath
config/kernel/linux-odroidxu4-*.config @joekhoobyar
config/kernel/linux-phytium-embedded-*.config @chainsx
config/kernel/linux-rk35xx-*.config @CodeChenL @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
config/kernel/linux-rk35xx-*.config @CodeChenL @ColorfulRhino @HeyMeco @JackHuang021 @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @andyshrk @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
config/kernel/linux-rockchip-*.config @paolosabatino
config/kernel/linux-rockchip64-*.config @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @Manouchehri @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
config/kernel/linux-rockchip64-*.config @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @pyavitz @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
config/kernel/linux-sm8250-*.config @FantasyGmm @amazingfate
config/kernel/linux-sm8550-*.config @FantasyGmm
config/kernel/linux-spacemit-*.config @pyavitz
config/kernel/linux-starfive2-*.config @libiunc
config/kernel/linux-sun55iw3-syterkit-*.config @chainsx
config/kernel/linux-sunxi-*.config @1ubuntuuser @AaronNGray @DylanHP @Janmcha @StephenGraf @TheSnowfield @Tonymac32 @janprunk @lbmendes @leggewie @mhawkins-consultant @sgjava @spendist
config/kernel/linux-sunxi64-*.config @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @The-going @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @spendist @teknoid
@@ -199,14 +206,16 @@ config/kernel/linux-uefi-arm64-*.config @rpardini
config/kernel/linux-uefi-x86-*.config @davidandreoletti @rpardini
config/kernel/linux-wsl2-arm64-*.config @rpardini
config/kernel/linux-wsl2-x86-*.config @rpardini
patch/atf/atf-arm64/ @FantasyGmm @PeterChrz @rpardini
patch/atf/atf-arm64/ @PeterChrz @rpardini
patch/atf/atf-bcm2711/ @PanderMusubi @teknoid
patch/atf/atf-imx8m/ @schmiedelm
patch/atf/atf-genio/ @HeyMeco
patch/atf/atf-imx8/ @schmiedelm
patch/atf/atf-k3-beagle/ @Grippy98
patch/atf/atf-k3/ @Grippy98 @glneo
patch/atf/atf-phytium-embedded/ @chainsx
patch/atf/atf-rockchip64/ @ColorfulRhino @TRSx80 @ahoneybun @andyshrk @clee @joekhoobyar @paolosabatino @prahal
patch/atf/atf-rockchip64/ @ColorfulRhino @SuperKali @TRSx80 @Tonymac32 @ahoneybun @andyshrk @clee @joekhoobyar @paolosabatino @prahal
patch/atf/atf-sm8250/ @FantasyGmm @amazingfate
patch/atf/atf-sm8550/ @FantasyGmm
patch/atf/atf-spacemit/ @pyavitz
patch/atf/atf-sun55iw3-syterkit/ @chainsx
patch/atf/atf-sunxi64/ @AGM1968 @IsMrX @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @The-going @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @krachlatte @pyavitz @schwar3kat @sicXnull @spendist @teknoid
@@ -221,17 +230,19 @@ patch/kernel/archive/meson64-*/ @NicoD-SBC @SteeManMI @Tonymac32 @adeepn @clee
patch/kernel/archive/mvebu-*/ @Heisath
patch/kernel/archive/odroidxu4-*/ @joekhoobyar
patch/kernel/archive/rockchip-*/ @paolosabatino
patch/kernel/archive/rockchip64-*/ @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @Manouchehri @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
patch/kernel/archive/rockchip64-*/ @150balbes @ColorfulRhino @HeyMeco @JohnTheCoolingFan @SuperKali @TRSx80 @TheSnowfield @Tonymac32 @ZazaBR @ahoneybun @alexl83 @amazingfate @andyshrk @brentr @catalinii @clee @efectn @fridtjof @hqnicolas @igorpecovnik @joekhoobyar @krachlatte @lanefu @linhz0hz @mlegenovic @paolosabatino @prahal @pyavitz @redrathnure @rpardini @schwar3kat @sicXnull @tdleiyao @torte71 @utlark @vamzii
patch/kernel/archive/sm8250-*/ @FantasyGmm @amazingfate
patch/kernel/archive/sm8550-*/ @FantasyGmm
patch/kernel/archive/spacemit-*/ @pyavitz
patch/kernel/archive/sunxi-*/ @1ubuntuuser @AGM1968 @AaronNGray @DylanHP @IsMrX @Janmcha @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @StephenGraf @The-going @TheSnowfield @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @janprunk @krachlatte @lbmendes @leggewie @mhawkins-consultant @pyavitz @schwar3kat @sgjava @sicXnull @spendist @teknoid
patch/kernel/archive/uefi-arm64-*/ @PeterChrz @rpardini
patch/kernel/archive/uefi-x86-*/ @davidandreoletti @rpardini
patch/kernel/archive/wsl2-arm64-*/ @rpardini
patch/kernel/archive/wsl2-x86-*/ @rpardini
patch/kernel/genio-1200-*/ @HeyMeco
patch/kernel/phytium-embedded-*/ @chainsx
patch/kernel/rk35xx-vendor-*/ @CodeChenL @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
patch/kernel/sm8550-*/ @FantasyGmm
patch/kernel/rk35xx-vendor-*/ @CodeChenL @ColorfulRhino @HeyMeco @JackHuang021 @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @andyshrk @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @lanefu @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @vamzii
patch/kernel/starfive2-*/ @libiunc
patch/kernel/sun55iw3-syterkit-*/ @chainsx
patch/kernel/thead-*/ @chainsx
patch/kernel/wsl2-arm64-*/ @rpardini
@@ -239,15 +250,16 @@ patch/u-boot/legacy/ @chainsx @joekhoobyar @juanlufont @lanefu
patch/u-boot/legacy/u-boot-clearfog/ @Heisath
patch/u-boot/legacy/u-boot-helios4/ @Heisath
patch/u-boot/legacy/u-boot-khadas-edge2-rk3588/ @efectn
patch/u-boot/legacy/u-boot-radxa-rk35xx/ @CodeChenL @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @tdleiyao @vamzii
patch/u-boot/legacy/u-boot-radxa-rk35xx/ @CodeChenL @HeyMeco @JackHuang021 @SeeleVolleri @SuperKali @Tonymac32 @ZazaBR @alexl83 @amazingfate @catalinii @chainsx @efectn @fridtjof @ginkage @hoochiwetech @hqnicolas @krachlatte @linhz0hz @mahdichi @mattx433 @monkaBlyat @prahal @rpardini @schwar3kat @sputnik2019 @tdleiyao @vamzii
patch/u-boot/legacy/u-boot-spacemit-k1/ @pyavitz
patch/u-boot/u-boot-beagle/ @Grippy98
patch/u-boot/u-boot-k3-beagle/ @Grippy98
patch/u-boot/u-boot-k3/ @Grippy98 @glneo
patch/u-boot/u-boot-meson-s4t7/ @adeepn @rpardini @viraniac
patch/u-boot/u-boot-qemu-arm64/ @rpardini
patch/u-boot/u-boot-qemu-x86/ @rpardini
patch/u-boot/u-boot-rockchip64-v2022.04/ @Manouchehri @TRSx80 @TheSnowfield @ahoneybun @paolosabatino
patch/u-boot/u-boot-rockchip64/ @Tonymac32 @andyshrk @clee @igorpecovnik @paolosabatino @prahal @redrathnure @sicXnull @torte71
patch/u-boot/u-boot-rockchip64-v2022.04/ @TRSx80 @ahoneybun @paolosabatino
patch/u-boot/u-boot-rockchip64/ @Tonymac32 @andyshrk @clee @igorpecovnik @prahal @redrathnure @sicXnull
patch/u-boot/u-boot-sunxi-crust/ @AGM1968 @Kreyren @NicoD-SBC @PanderMusubi @Tonymac32 @devdotnetorg @schwar3kat @spendist @teknoid
patch/u-boot/u-boot-sunxi/ @1ubuntuuser @AGM1968 @DylanHP @Janmcha @JohnTheCoolingFan @Kreyren @NicoD-SBC @PanderMusubi @Ressetkk @StephenGraf @TheSnowfield @Tonymac32 @alexl83 @chraac @devdotnetorg @eliasbakken @janprunk @krachlatte @lbmendes @leggewie @mhawkins-consultant @schwar3kat @sgjava @sicXnull @spendist @teknoid
patch/u-boot/u-boot-sunxi/board_bananapim3/ @AaronNGray
@@ -257,22 +269,22 @@ patch/u-boot/v2022.07/ @Tonymac32 @igorpecovnik
patch/u-boot/v2022.10/ @NicoD-SBC
patch/u-boot/v2023.07.02/ @clee @engineer-80
patch/u-boot/v2023.10/ @adeepn
patch/u-boot/v2024.01/ @IsMrX @NicoD-SBC @Tonymac32 @rpardini
patch/u-boot/v2024.01/ @Tonymac32 @rpardini
patch/u-boot/v2024.01/board_orangepi5/ @efectn
patch/u-boot/v2024.04-rock5b-radxa/ @amazingfate @linhz0hz
patch/u-boot/v2024.04/ @Tonymac32 @chraac @igorpecovnik @pyavitz @utlark
patch/u-boot/v2024.04/ @Tonymac32 @chraac @pyavitz @utlark
patch/u-boot/v2024.07-coolpi-cm5/ @andyshrk
patch/u-boot/v2024.07/ @adeepn @andyshrk @igorpecovnik @monkaBlyat @paolosabatino
patch/u-boot/v2024.07/ @adeepn @igorpecovnik @monkaBlyat
patch/u-boot/v2024.07/board_station-m1/ @150balbes
patch/u-boot/v2024.10/ @HeyMeco @alexl83 @brentr @fridtjof @paolosabatino
patch/u-boot/v2024.10/ @HeyMeco @alexl83 @brentr @fridtjof @pyavitz
patch/u-boot/v2024.10/board_bigtreetech-cb2/ @JohnTheCoolingFan
patch/u-boot/v2025-sunxi/ @The-going
patch/u-boot/v2025.01-rc3-coolpi-cm5/ @andyshrk
patch/u-boot/v2025.01/ @ColorfulRhino @SuperKali @ZazaBR @amazingfate @catalinii @efectn @jeanrhum @joekhoobyar @paolosabatino @pyavitz @rpardini @vamzii
patch/u-boot/v2025.01/board_bananapim4berry/ @The-going
patch/u-boot/v2025.01/ @ColorfulRhino @efectn @jeanrhum @joekhoobyar @paolosabatino @pyavitz @rpardini @torte71
patch/u-boot/v2025.01/board_h96-tvbox-3566/ @hqnicolas
patch/u-boot/v2025.04-rc2/ @mlegenovic
patch/u-boot/v2025.04/ @SuperKali @Tonymac32
patch/u-boot/v2025.04/ @IsMrX @NicoD-SBC @SuperKali @TheSnowfield @Tonymac32 @ZazaBR @amazingfate @andyshrk @catalinii @igorpecovnik @mlegenovic @pyavitz @rpardini @vamzii
sources/families/bcm2711.conf @PanderMusubi @teknoid
sources/families/genio.conf @HeyMeco
sources/families/imx8m.conf @schmiedelm
sources/families/jethub.conf @adeepn
sources/families/k3.conf @Grippy98 @glneo
@@ -287,13 +299,14 @@ sources/families/meson8b.conf @hzyitc @juanlufont
sources/families/mvebu.conf @Heisath
sources/families/odroidxu4.conf @joekhoobyar
sources/families/phytium-embedded.conf @chainsx
sources/families/qcom-abl.conf @FantasyGmm
sources/families/rk35xx.conf @CodeChenL @ZazaBR @amazingfate @andyshrk @catalinii @hoochiwetech @hqnicolas @krachlatte @mattx433 @sputnik2019 @tdleiyao @vamzii
sources/families/rockchip-rk3588.conf @ColorfulRhino @HeyMeco @SeeleVolleri @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @chainsx @efectn @fridtjof @ginkage @lanefu @linhz0hz @mahdichi @monkaBlyat @prahal @rpardini @schwar3kat
sources/families/rk35xx.conf @CodeChenL @ZazaBR @amazingfate @andyshrk @catalinii @hoochiwetech @hqnicolas @krachlatte @mattx433 @pyavitz @sputnik2019 @tdleiyao @vamzii
sources/families/rockchip-rk3588.conf @ColorfulRhino @HeyMeco @JackHuang021 @SeeleVolleri @SuperKali @Tonymac32 @alexl83 @amazingfate @andyshrk @chainsx @efectn @fridtjof @ginkage @lanefu @linhz0hz @mahdichi @monkaBlyat @prahal @rpardini @schwar3kat
sources/families/rockchip.conf @paolosabatino
sources/families/rockchip64.conf @150balbes @JohnTheCoolingFan @Manouchehri @TRSx80 @TheSnowfield @Tonymac32 @ahoneybun @andyshrk @brentr @clee @hqnicolas @igorpecovnik @joekhoobyar @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @sicXnull @torte71 @utlark
sources/families/rockchip64.conf @150balbes @JohnTheCoolingFan @TRSx80 @TheSnowfield @Tonymac32 @ahoneybun @andyshrk @brentr @clee @hqnicolas @igorpecovnik @joekhoobyar @mlegenovic @paolosabatino @prahal @redrathnure @rpardini @sicXnull @torte71 @utlark
sources/families/sm8250.conf @FantasyGmm @amazingfate
sources/families/sm8550.conf @FantasyGmm
sources/families/spacemit.conf @pyavitz
sources/families/starfive2.conf @libiunc
sources/families/sun50iw1.conf @Kreyren @PanderMusubi @devdotnetorg @eliasbakken
sources/families/sun50iw2.conf @AGM1968 @Tonymac32 @schwar3kat @spendist @teknoid
sources/families/sun50iw6.conf @NicoD-SBC

View File

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

View File

@@ -6,8 +6,6 @@ name: "Sync maintainers status"
# spdx-id: GPL-2.0-or-later
# copyright-owner: @igorpecovnik
# Dependencies: lftp, jq
on:
schedule:
- cron: "0 * * * *"
@@ -36,16 +34,11 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS_ARMBIAN_UPLOAD }}
if_key_exists: replace
- name: "Install dependencies"
run: |
sudo apt-get -y -qq install jq
- name: "Download JSON file"
run: |
# download json that is prepared for this action in another cron job
rsync -e "ssh -p ${{ secrets.HOST_UPLOAD_PORT }}" -arvc ${{ secrets.HOST_UPLOAD_USER }}@${{ secrets.HOST_UPLOAD }}:/incoming/json/armbian_maintainers.json /tmp/
# download json that is prepared in https://github.com/armbian/armbian.github.io
curl -o /tmp/armbian_maintainers.json https://github.armbian.com/maintainers.json
- name: "Update maintainers"
run: |

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -19,14 +19,14 @@
### Requirements for self hosted
- x86_64 / aarch64 machine
- at least 2GB of memory and ~35GB of disk space for VM, container or bare metal installation
- [Armbian / Ubuntu Jammy 22.04.x](https://github.com/armbian/sdk) for native building or any Docker capable Linux for containerised
- Windows 10/11 with WSL2 subsystem running Ubuntu Jammy 22.04.x
- x86_64 / aarch64 / riscv64 machine
- at least 8GB (less for non-[BTF](https://docs.kernel.org/bpf/btf.html) builds) of memory and ~50GB of disk space for VM, container, or bare-metal installation
- **Armbian / Ubuntu Jammy 22.04.x** for native building or any Docker capable Linux for containerised
- **Windows 10/11 with WSL2 subsystem** running Armbian / Ubuntu Jammy 22.04.x
- Superuser rights (configured sudo or root access).
- Make sure your system is up-to-date! Outdated Docker binaries, for example, can cause trouble.
- Make sure your system is up-to-date! Outdated Docker binaries, for example, can cause trouble
For stable branch use `--branch=v24.11`
For stable branch use `--branch=v25.05`
```bash
apt-get -y install git
@@ -55,7 +55,7 @@ Build minimal CLI Armbian Jammy for Bananapi M5 with LTS kernel:
./compile.sh \
BOARD=bananapim5 \
BRANCH=current \
RELEASE=jammy \
RELEASE=noble \
BUILD_MINIMAL=yes \
BUILD_DESKTOP=no \
KERNEL_CONFIGURE=no
@@ -69,12 +69,12 @@ on:
workflow_dispatch:
jobs:
build-armbian:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04-arm # use ubuntu-24.04 when building x86 or riscv64
steps:
- uses: armbian/build@main
with:
armbian_token: "${{ secrets.GITHUB_TOKEN }}" # GitHub token
armbian_release: "jammy" # userspace
armbian_release: "noble" # userspace
armbian_target: "build" # build=image, kernel=kernel
armbian_board: "bananapim5" # build target
```
@@ -184,10 +184,10 @@ Function | Armbian | Yocto | Buildroot |
|    └── u-boot-family For entire kernel family
├── tools Tools for dealing with kernel patches and configs
└── userpatches User: configuration patching area
├── lib.config User: framework common config/override file
├── config-default.conf User: default user config file
├── config-example.conf User: example user config file
├── customize-image.sh User: script will execute just before closing the image
   ├── atf User: ARM trusted firmware
   ├── extensions User: Extend build system with specific functionality
   ├── kernel User: Linux kernel per kernel family
   ├── misc User: various
   └── u-boot User: universal boot loader patches

View File

@@ -1 +1 @@
25.05.0-trunk
25.08.0-trunk

View File

@@ -147,7 +147,9 @@ runs:
# copy os userpatches and custom
mkdir -pv build/userpatches
rsync -av os/userpatches/. build/userpatches/
[[ -d custom/userpatches ]] && rsync -av custom/userpatches/. build/userpatches/
if [[ -d custom/userpatches ]]; then
rsync -av custom/userpatches/. build/userpatches/
fi
- shell: bash
run: |
@@ -170,6 +172,10 @@ runs:
# go to build folder
cd build
# default build command below doesn't prepare host dependencies
sudo ./compile.sh requirements
sudo chown -R $USER:$USER .
# execute build command
./compile.sh "${{ inputs.armbian_target }}" \
REVISION="${{ env.ARMBIAN_VERSION }}" \

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -5,7 +5,7 @@ BOARD_MAINTAINER="andyshrk"
BOARD_FIRMWARE_INSTALL="-full"
BOOT_SOC="rk3588"
BOOTCONFIG="coolpi-cm5-genbook-rk3588_defconfig"
KERNEL_TARGET="edge"
KERNEL_TARGET="edge,vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-coolpi-cm5-genbook.dtb"
@@ -15,13 +15,13 @@ BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
# Mainline U-Boot
function post_family_config_branch_edge__coolpi-genbook_use_mainline_uboot() {
function post_family_config__coolpi-genbook_use_mainline_uboot() {
display_alert "$BOARD" "mainline (next branch) u-boot overrides for $BOARD / $BRANCH" "info"
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # Mainline U-Boot
unset BOOTBRANCH
declare -g BOOTPATCHDIR="v2025.01-rc3-coolpi-cm5"
declare -g BOOTBRANCH_BOARD="tag:v2025.01"
declare -g BOOTBRANCH_BOARD="tag:v2025.04"
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -16,8 +16,8 @@ function post_family_config_branch_edge__lubancat_2_use_mainline_uboot() {
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
declare -g BOOTBRANCH="tag:v2024.07"
declare -g BOOTPATCHDIR="v2024.07"
declare -g BOOTBRANCH="tag:v2025.04"
declare -g BOOTPATCHDIR="v2025.04"
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"

View File

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

View File

@@ -10,3 +10,10 @@ BOOT_LOGO="desktop"
MODULES="pinctrl-rk805 ads7846 spidev"
BOOTFS_TYPE="fat"
PACKAGE_LIST_BOARD="build-essential usb-modeswitch"
BOOTBRANCH='tag:v2025.01'
BOOTPATCHDIR='v2025.01'
function post_family_config__uboot_config() {
BOOTDELAY=1 # Wait for UART
}

View File

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

View File

@@ -13,7 +13,8 @@ BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
declare -g UEFI_EDK2_BOARD_ID="nanopc-t6" # This _only_ used for uefi-edk2-rk3588 extension
declare -g UEFI_EDK2_BOARD_ID="nanopc-t6" # This _only_ used for uefi-edk2-rk3588 extension
declare -g GRUB_FDT_FILE="${BOOT_FDT_FILE}" # u-boot autodetects, but grub needs to know; store it here so we can unset later
function post_family_tweaks__nanopct6_naming_audios() {
display_alert "$BOARD" "Renaming nanopct6 audio" "info"
@@ -29,16 +30,22 @@ function post_family_tweaks__nanopct6_naming_audios() {
}
# Mainline u-boot
function post_family_config_branch_edge__nanopct6_use_mainline_uboot() {
display_alert "$BOARD" "mainline (next branch) u-boot overrides for $BOARD / $BRANCH" "info"
function post_family_config__nanopct6_use_mainline_uboot() {
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
display_alert "$BOARD" "u-boot overrides for $BOARD / $BRANCH" "info"
# To reuse ATF code in rockchip64_common, let's change the BOOT_SCENARIO and call prepare_boot_configuration() again
BOOT_SCENARIO="tpl-blob-atf-mainline"
prepare_boot_configuration
declare -g BOOTCONFIG="nanopc-t6-rk3588_defconfig"
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline
declare -g BOOTBRANCH="tag:v2025.04-rc1"
declare -g BOOTBRANCH="tag:v2025.04"
declare -g BOOTPATCHDIR="v2025.04"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
declare -g UBOOT_TARGET_MAP="BL31=bl31.elf ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
@@ -54,12 +61,13 @@ function post_family_config_branch_edge__nanopct6_use_mainline_uboot() {
# U-boot 2025.04+ can detect and set fdtfile automatically across T6 and T6-LTS boards.
# So if using mainline u-boot, unset BOOT_FDT_FILE to let u-boot handle it.
# That way, both variants can boot from the same image; lets keep the -lts board file for vendor kernel/u-boot.
function post_family_config_branch_edge__t6_and_t6_lts_auto_dtb_name_via_uboot_detection() {
function post_family_config__t6_and_t6_lts_auto_dtb_name_via_uboot_detection() {
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
unset BOOT_FDT_FILE
}
function pre_config_uboot_target__nanoptc6_patch_uboot_dtsi_for_ums() {
[[ "${BRANCH}" != "edge" ]] && return 0
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for UMS" "info" # avoid a patch, just append to the dtsi file
cat <<- EOD >> arch/arm/dts/rk3588-nanopc-t6-u-boot.dtsi # Append to the t6 u-boot dtsi file with stuff for enabling gadget/otg/peripheral mode
@@ -68,6 +76,9 @@ function pre_config_uboot_target__nanoptc6_patch_uboot_dtsi_for_ums() {
&usbdp_phy0 { status = "okay"; };
&usb_host0_xhci { dr_mode = "peripheral"; maximum-speed = "high-speed"; status = "okay"; };
EOD
# Append to the t6 u-boot dtsi file with stuff for enabling gadget/otg/peripheral mode
# Append to the t6 u-boot dtsi file with stuff for enabling gadget/otg/peripheral mode
# Append to the t6 u-boot dtsi file with stuff for enabling gadget/otg/peripheral mode
}
@@ -84,7 +95,7 @@ function pre_config_uboot_target__nanopct6_patch_rockchip_common_boot_order() {
}
function post_config_uboot_target__extra_configs_for_nanopct6_mainline_environment_in_spi() {
[[ "${BRANCH}" != "edge" ]] && return 0
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: enable board-specific configs (env in SPI)" "info"
run_host_command_logged scripts/config --enable CONFIG_DM_PMIC_FAN53555
@@ -133,7 +144,7 @@ function post_config_uboot_target__extra_configs_for_nanopct6_mainline_environme
# Include fw_setenv, configured to point to the correct spot on the SPI Flash
PACKAGE_LIST_BOARD="libubootenv-tool" # libubootenv-tool provides fw_printenv and fw_setenv, for talking to U-Boot environment
function post_family_tweaks__config_nanopct6_fwenv() {
[[ "${BRANCH}" != "edge" ]] && return 0
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
display_alert "Configuring fw_printenv and fw_setenv" "for ${BOARD} and u-boot ${BOOTBRANCH}" "info"
# Addresses below come from CONFIG_ENV_OFFSET and CONFIG_ENV_SIZE in defconfig
cat <<- 'FW_ENV_CONFIG' > "${SDCARD}"/etc/fw_env.config

View File

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

View File

@@ -0,0 +1,30 @@
# Rockchip RK3566 quad core 2GB RAM eMMC 2x GbE USB3 HDMI
BOARD_NAME="NanoPi R3S LTS"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER="pyavitz"
BOOTCONFIG="nanopi-r3s-lts-rk3566_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current,edge"
BOOT_FDT_FILE="rockchip/rk3566-nanopi-r3s-lts.dtb"
IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
function post_family_config__use_mainline_uboot() {
if [[ "$BRANCH" != "current" && "$BRANCH" != "edge" ]]; then
return 0
fi
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
BOOTCONFIG="nanopi-r3s-lts-rk3566_defconfig"
BOOTSOURCE="https://github.com/u-boot/u-boot"
BOOTBRANCH="tag:v2025.04"
BOOTPATCHDIR="v2025.04"
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
function write_uboot_platform() {
dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none
}
}

View File

@@ -11,37 +11,16 @@ IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
function post_family_config_branch_edge__use_mainline_dtb_name() {
function post_family_config__use_mainline_uboot() {
if [[ "$BRANCH" != "current" && "$BRANCH" != "edge" ]]; then
return 0
fi
unset BOOT_FDT_FILE # boot.scr will use whatever u-boot detects and sets 'fdtfile' to
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
}
function post_family_config_branch_current__use_mainline_dtb_name() {
unset BOOT_FDT_FILE # boot.scr will use whatever u-boot detects and sets 'fdtfile' to
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
}
function post_family_config_branch_current__nanopi-r3s_use_mainline_uboot() {
BOOTCONFIG="nanopi-r3s-rk3566_defconfig"
BOOTSOURCE="https://github.com/u-boot/u-boot"
BOOTBRANCH="tag:v2024.10"
BOOTPATCHDIR="v2024.10"
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
function write_uboot_platform() {
dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none
}
}
function post_family_config_branch_edge__nanopi-r3s_use_mainline_uboot() {
BOOTCONFIG="nanopi-r3s-rk3566_defconfig"
BOOTSOURCE="https://github.com/u-boot/u-boot"
BOOTBRANCH="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
BOOTBRANCH="tag:v2025.04"
BOOTPATCHDIR="v2025.04"
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"

View File

@@ -1,12 +0,0 @@
# Rockchip RK3399 hexa core 1GB/4GB RAM SoC 2 x GBE USB3 USB-C
BOARD_NAME="NanoPi R4S"
BOARDFAMILY="rockchip64" # Used to be rk3399
BOARD_MAINTAINER="Manouchehri"
BOOTCONFIG="nanopi-r4s-rk3399_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
DEFAULT_CONSOLE="serial"
MODULES_BLACKLIST="rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi gpu_sched lima hantro_vpu panfrost"
HAS_VIDEO_OUTPUT="no"
BOOTBRANCH_BOARD="tag:v2022.04"
BOOTPATCHDIR="u-boot-rockchip64-v2022.04"

View File

@@ -0,0 +1,12 @@
# Rockchip RK3399 hexa core 1GB/4GB RAM SoC 2 x GBE USB3 USB-C
BOARD_NAME="NanoPi R4S"
BOARDFAMILY="rockchip64" # Used to be rk3399
BOARD_MAINTAINER=""
BOOTCONFIG="nanopi-r4s-rk3399_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
DEFAULT_CONSOLE="serial"
MODULES_BLACKLIST="rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi gpu_sched lima hantro_vpu panfrost"
HAS_VIDEO_OUTPUT="no"
BOOTBRANCH_BOARD="tag:v2022.04"
BOOTPATCHDIR="u-boot-rockchip64-v2022.04"

View File

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

View File

@@ -10,9 +10,9 @@ IMAGE_PARTITION_TABLE="gpt"
FULL_DESKTOP="no"
BOOT_LOGO="yes"
BOOTBRANCH_BOARD="tag:v2025.04-rc2"
BOOTBRANCH_BOARD="tag:v2025.04-rc5"
BOOTBRANCH="${BOOTBRANCH_BOARD}"
BOOTPATCHDIR="v2025.04-rc2"
BOOTPATCHDIR="v2025.04"
BOOTCONFIG="odroid-m2-rk3588s_defconfig"
BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory

View File

@@ -13,8 +13,8 @@ MODULES_EDGE="sprdbt_tty sprdwl_ng"
FULL_DESKTOP="yes"
ASOUND_STATE="asound.state.rk3399"
BOOT_LOGO="desktop"
BOOTBRANCH_BOARD="tag:v2024.10"
BOOTPATCHDIR="v2024.10"
BOOTBRANCH_BOARD="tag:v2025.01"
BOOTPATCHDIR="v2025.01"
BOOT_SCENARIO="binman"
function post_family_tweaks_bsp__OPi4lts() {

View File

@@ -5,7 +5,7 @@ BOARD_MAINTAINER=""
BOOTCONFIG="orangepi-5-max-rk3588_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="vendor,current,edge"
KERNEL_TEST_TARGET="vendor,current,edge"
KERNEL_TEST_TARGET="vendor,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3588-orangepi-5-max.dtb"
@@ -16,6 +16,29 @@ IMAGE_PARTITION_TABLE="gpt"
enable_extension "bcmdhd"
BCMDHD_TYPE="sdio"
# Mainline U-Boot for edge kernel
function post_family_config_branch_edge__orangepi5max_use_mainline_uboot() {
display_alert "$BOARD" "Mainline U-Boot overrides for $BOARD - $BRANCH" "info"
unset BOOT_FDT_FILE # boot.scr will use whatever u-boot detects and sets 'fdtfile' to
declare -g BOOTCONFIG="orangepi-5-max-rk3588_defconfig" # override the default for the board/family
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ mainline U-Boot
declare -g BOOTBRANCH="tag:v2025.04"
declare -g BOOTPATCHDIR="v2025.04"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
function write_uboot_platform() {
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
}
function write_uboot_platform_mtd() {
flashcp -v -p "$1/u-boot-rockchip-spi.bin" /dev/mtd0
}
}
function post_family_tweaks__orangepi5max_naming_audios() {
display_alert "$BOARD" "Renaming orangepi5max audios" "info"

View File

@@ -1,4 +1,4 @@
# Rockchip RK3588 octa core whatever fixme
# Rockchip RK3588 octa core 4/8/16GB RAM SoC SPI NVMe 2x USB2 2x USB3 HDMI HDMI-in
BOARD_NAME="Orange Pi 5 Ultra"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER=""
@@ -16,15 +16,6 @@ IMAGE_PARTITION_TABLE="gpt"
#enable_extension "bcmdhd"
BCMDHD_TYPE="sdio"
# for testing purpose only. needs adaption to mainline once this makes it into 6.15 or .16
function post_family_config_branch_edge__orangepi5-ultra_use_custom_source() {
KERNEL_MAJOR_MINOR="6.14" # Major and minor versions of this kernel.
KERNELSOURCE='https://github.com/jimmyhon/linux.git'
KERNELBRANCH='branch:integrate-6.15'
KERNELPATCHDIR='integrate-6.15'
EXTRAWIFI=no # due to absence of our own fixups 3rd party wifi drivers break
}
function post_family_tweaks__orangepi5ultra_naming_audios() {
display_alert "$BOARD" "Renaming orangepi5ultra audios" "info"

View File

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

View File

@@ -53,5 +53,5 @@ function post_uboot_custom_postprocess__create_sata_spi_image() {
function post_family_config__orangepi5pro_use_vendor_uboot() {
BOOTSOURCE='https://github.com/orangepi-xunlong/u-boot-orangepi.git'
BOOTBRANCH='branch:v2017.09-rk3588'
BOOTPATCHDIR="legacy/u-boot-orangepi5-rk3588"
BOOTPATCHDIR="legacy"
}

View File

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

View File

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

View File

@@ -0,0 +1,117 @@
# Qualcomm Robotics RB5 Configuration
declare -g BOARD_NAME="Qualcomm Robotics RB5"
declare -g BOARD_MAINTAINER="FantasyGmm"
declare -g BOARDFAMILY="sm8250"
declare -g KERNEL_TARGET="current,edge"
declare -g KERNEL_TEST_TARGET="edge"
declare -g EXTRAWIFI="no"
declare -g BOOTCONFIG="none"
declare -g IMAGE_PARTITION_TABLE="gpt"
# declare -g -a ABL_DTB_LIST=("qrb5165-rb5")
# Use the full firmware, complete linux-firmware plus Armbian's (for qcom/a650_sqe.fw)
declare -g BOARD_FIRMWARE_INSTALL="-full"
declare -g SERIALCON="${SERIALCON:-tty1}"
declare -g GRUB_CMDLINE_LINUX_DEFAULT="clk_ignore_unused pd_ignore_unused arm64.nopauth efi=noruntime console=ttyMSM0,115200n8 pcie_pme=nomsi"
declare -g BOOT_FDT_FILE="qcom/qrb5165-rb5.dtb"
declare -g UEFI_PART_ALIGN="4096"
enable_extension "grub"
enable_extension "grub-with-dtb" # important, puts the whole DTB handling in place.
function qcom-robotics-rb5_is_userspace_supported() {
[[ "${RELEASE}" == "bookworm" ]] && return 0
[[ "${RELEASE}" == "jammy" ]] && return 0
[[ "${RELEASE}" == "noble" ]] && return 0
[[ "${RELEASE}" == "trixie" ]] && return 0
return 1
}
function post_family_tweaks_bsp__qcom-robotics-rb5_add_services() {
if ! qcom-robotics-rb5_is_userspace_supported; then
if [[ "${RELEASE}" != "" ]]; then
display_alert "Missing userspace for ${BOARD}" "${RELEASE} does not have the userspace necessary to support the ${BOARD}" "warn"
fi
return 0
fi
display_alert "$BOARD" "Add services" "info"
# Bluetooth MAC addr setup service
mkdir -p $destination/usr/local/bin/
mkdir -p $destination/usr/lib/systemd/system/
install -Dm655 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.sh $destination/usr/local/bin/
install -Dm644 $SRC/packages/bsp/generate-bt-mac-addr/bt-fixed-mac.service $destination/usr/lib/systemd/system/
}
function post_family_tweaks__qcom-robotics-rb5_enable_services() {
if ! qcom-robotics-rb5_is_userspace_supported; then
if [[ "${RELEASE}" != "" ]]; then
display_alert "Missing userspace for ${BOARD}" "${RELEASE} does not have the userspace necessary to support the ${BOARD}" "warn"
fi
return 0
fi
display_alert "$BOARD" "Enable services" "info"
chroot_sdcard systemctl enable bt-fixed-mac.service
return 0
}
function post_family_tweaks__qcom-robotics-rb5_extra_packages() {
if ! qcom-robotics-rb5_is_userspace_supported; then
if [[ "${RELEASE}" != "" ]]; then
display_alert "Missing userspace for ${BOARD}" "${RELEASE} does not have the userspace necessary to support the ${BOARD}" "warn"
fi
return 0
fi
if [[ "${RELEASE}" == "jammy" ]] || [[ "${RELEASE}" == "noble" ]]; then
display_alert "Adding qcom-mainline PPA" "${BOARD}" "info"
do_with_retries 3 chroot_sdcard add-apt-repository ppa:liujianfeng1994/qcom-mainline --yes --no-update
fi
if [[ "${RELEASE}" == "noble" ]]; then
display_alert "Adding Mesa PPA For Ubuntu " "${BOARD}" "info"
do_with_retries 3 chroot_sdcard add-apt-repository ppa:oibaf/graphics-drivers --yes --no-update
fi
do_with_retries 3 chroot_sdcard_apt_get_update
do_with_retries 3 chroot_sdcard_apt_get_install vulkan-tools mesa-vulkan-drivers btop mtools zstd
if [[ "${RELEASE}" == "noble" ]]; then
do_with_retries 3 chroot_sdcard_apt_get_install qbootctl
fi
if [[ "${DESKTOP_ENVIRONMENT}" == "kde-plasma" ]]; then
display_alert "Adding Extra KDE Package" "${BOARD}" "info"
do_with_retries 3 chroot_sdcard_apt_get_install plasma-workspace-wayland plasma-desktop plasma-systemmonitor plasma-nm kde-standard kde-spectacle kinfocenter kscreen krfb kfind filelight \
dolphin clinfo vulkan-tools wayland-utils
fi
if [[ "${RELEASE}" == "noble" ]]; then
chroot_sdcard systemctl enable qbootctl.service
fi
chroot_sdcard systemctl enable bt-fixed-mac.service
# No driver support for suspend
chroot_sdcard systemctl mask suspend.target
}
function post_family_tweaks_bsp__qcom-robotics-rb5_bsp_firmware_in_initrd() {
display_alert "Adding to bsp-cli" "${BOARD}: firmware in initrd" "info"
declare file_added_to_bsp_destination # Will be filled in by add_file_from_stdin_to_bsp_destination
# Using Elish's firmware for now
add_file_from_stdin_to_bsp_destination "/etc/initramfs-tools/hooks/qcom-robotics-rb5-firmware" <<- 'FIRMWARE_HOOK'
#!/bin/bash
[[ "$1" == "prereqs" ]] && exit 0
. /usr/share/initramfs-tools/hook-functions
for f in /lib/firmware/qcom/sm8250/Thundercomm/RB5/* ; do
add_firmware "${f#/lib/firmware/}"
done
add_firmware "qcom/sm8250/a650_zap.mbn" # Extra one for dpu
add_firmware "qcom/a650_sqe.fw" # Extra one for dpu
add_firmware "qcom/a650_gmu.bin" # Extra one for gpu
FIRMWARE_HOOK
run_host_command_logged chmod -v +x "${file_added_to_bsp_destination}"
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,25 @@
# Mediatek MT8395 quad core 4GB 8GB 16GB
BOARD_NAME="Radxa Nio 12L"
BOARDFAMILY="genio"
BOARD_MAINTAINER="HeyMeco"
KERNEL_TARGET="collabora"
KERNEL_TEST_TARGET="collabora"
BOOT_FDT_FILE="mediatek/mt8395-radxa-nio-12l.dtb"
enable_extension "grub-with-dtb"
HAS_VIDEO_OUTPUT="yes"
# Post-config function for vendor branch
function post_family_config__nio12l_vendor_setup() {
if [[ "${BRANCH}" == "vendor" ]]; then
display_alert "Setting up Genio-Firmware package for ${BOARD}" "${RELEASE}///${BOARD}" "info"
add_packages_to_image "linux-firmware-mediatek-genio" "ubuntu-dev-tools" "ubuntu-desktop"
fi
}
# Post-config function for collabora branch
function post_family_config__nio12l_collabora_setup() {
if [[ "${BRANCH}" == "collabora" ]]; then
display_alert "Setting up Firmware-Full for ${BOARD}" "${RELEASE}///${BOARD}" "info"
declare -g BOARD_FIRMWARE_INSTALL="-full"
fi
}

View File

@@ -3,7 +3,7 @@ BOARD_NAME="Radxa ZERO 3"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="radxa-zero3-rk3566_defconfig"
KERNEL_TARGET="vendor,edge"
KERNEL_TARGET="vendor,current,edge"
KERNEL_TEST_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
@@ -12,13 +12,33 @@ IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
BOOTFS_TYPE="fat" # Only for vendor/legacy
function post_family_config_branch_edge__use_mainline_dtb_name() {
AIC8800_TYPE="sdio"
enable_extension "radxa-aic8800"
function post_family_config__use_mainline_uboot_except_vendor() {
# use mainline u-boot for _current_ and _edge_
if [[ "$BRANCH" != "current" && "$BRANCH" != "edge" ]]; then
return 0
fi
unset BOOT_FDT_FILE # boot.scr will use whatever u-boot detects and sets 'fdtfile' to
unset BOOTFS_TYPE # mainline u-boot can boot ext4 directly
BOOTCONFIG="radxa-zero-3-rk3566_defconfig"
BOOTSOURCE="https://github.com/u-boot/u-boot"
BOOTBRANCH="tag:v2025.04"
BOOTPATCHDIR="v2025.04"
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
function write_uboot_platform() {
dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none
}
}
# Override family config for this board; let's avoid conditionals in family config.
function post_family_config__radxa-zero3_use_vendor_uboot() {
function post_family_config_branch_vendor__radxa-zero3_use_vendor_uboot() {
BOOTSOURCE='https://github.com/radxa/u-boot.git'
BOOTBRANCH='branch:rk35xx-2024.01'
BOOTPATCHDIR="u-boot-radxa-latest"
@@ -30,19 +50,4 @@ function post_family_config__radxa-zero3_use_vendor_uboot() {
function write_uboot_platform() {
dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none
}
}
function post_family_config_branch_edge__radxa-zero3_use_mainline_uboot() {
BOOTCONFIG="radxa-zero-3-rk3566_defconfig"
BOOTSOURCE="https://github.com/u-boot/u-boot"
BOOTBRANCH="tag:v2024.10"
BOOTPATCHDIR="v2024.10"
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
function write_uboot_platform() {
dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none
}
}
}

View File

@@ -5,7 +5,7 @@ BOARD_MAINTAINER="ZazaBR amazingfate catalinii vamzii"
BOOTCONFIG="rock-3a-rk3568_defconfig"
BOOTCONFIG_SATA="rock-3a-sata-rk3568_defconfig"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="current"
KERNEL_TEST_TARGET="current,vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3568-rock-3a.dtb"
@@ -15,14 +15,24 @@ BOOT_SPI_RKSPI_LOADER="yes"
IMAGE_PARTITION_TABLE="gpt"
BOOTFS_TYPE="fat"
function post_family_config_branch_edge__rock-3a_use_mainline_uboot() {
function post_family_config__rock-3a_use_mainline_uboot_except_vendor_and_add_sata_target() {
display_alert "$BOARD" "Configuring ($BOARD) standard and sata uboot target map" "info"
UBOOT_TARGET_MAP="
BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb rkspi_loader.img
BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG_SATA spl/u-boot-spl.bin u-boot.dtb u-boot.itb;; rkspi_loader_sata.img"
# use mainline uboot for _current_ and _edge_
if [[ "$BRANCH" != "current" && "$BRANCH" != "edge" ]]; then
return 0
fi
display_alert "$BOARD" "Mainline U-Boot overrides for $BOARD - $BRANCH" "info"
unset BOOTFS_TYPE # fixes armbian-install and unneeded for modern uboot anyway
declare -g BOOTCONFIG="rock-3a-rk3568_defconfig"
declare -g BOOTDELAY=1
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot"
declare -g BOOTBRANCH="tag:v2025.01"
declare -g BOOTPATCHDIR="v2025.01"
declare -g BOOTBRANCH="tag:v2025.04"
declare -g BOOTPATCHDIR="v2025.04"
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already
@@ -37,16 +47,7 @@ function post_family_config_branch_edge__rock-3a_use_mainline_uboot() {
}
}
function post_family_config__rock3a_uboot_add_sata_target() {
display_alert "$BOARD" "Configuring ($BOARD) standard and sata uboot target map" "info"
UBOOT_TARGET_MAP="
BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb rkspi_loader.img
BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG_SATA spl/u-boot-spl.bin u-boot.dtb u-boot.itb;; rkspi_loader_sata.img"
}
function post_uboot_custom_postprocess__create_sata_spi_image() {
display_alert "$BOARD" "Create rkspi_loader_sata.img" "info"
dd if=/dev/zero of=rkspi_loader_sata.img bs=1M count=0 seek=16

View File

@@ -2,15 +2,14 @@
BOARD_NAME="Rock 4SE"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER=""
BOOTBRANCH_BOARD="tag:v2023.10-rc2"
#BOOTCONFIG="rock-4se-rk3399_defconfig" ## irony being we chose mainline uboot because of support for this board but its broken
BOOTCONFIG="rock-pi-4-rk3399_defconfig"
BOOTPATCHDIR='v2023.10-rc2'
BOOTPATCHDIR="v2025.04"
BOOTBRANCH_BOARD="tag:v2025.04"
BOOTCONFIG="rock-4se-rk3399_defconfig"
KERNEL_TARGET="current,edge"
KERNEL_TEST_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3399-rock-pi-4b.dtb"
BOOT_FDT_FILE="rockchip/rk3399-rock-4se.dtb"
BOOT_SCENARIO="spl-blobs"
BOOT_SUPPORT_SPI="yes"
BL31_BLOB="rk33/rk3399_bl31_v1.36.elf"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -12,14 +12,6 @@ BOOT_SOC="rk3588"
IMAGE_PARTITION_TABLE="gpt"
declare -g UEFI_EDK2_BOARD_ID="station-m3" # This _only_ used for uefi-edk2-rk3588 extension
function post_family_tweaks__station_m3() {
display_alert "$BOARD" "Installing board tweaks" "info"
cp -R $SRC/packages/blobs/rtl8723bt_fw/* $SDCARD/lib/firmware/rtl_bt/
cp -R $SRC/packages/blobs/station/firmware/* $SDCARD/lib/firmware/
return 0
}
function post_family_tweaks__station-m3_naming_audios() {
display_alert "$BOARD" "Renaming station-m3 audios" "info"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,35 @@
# RISC-V StarFive Visionfive V2
BOARD_NAME="VisionFive2"
BOARDFAMILY="starfive2"
BOARD_MAINTAINER="libiunc"
KERNEL_TARGET="vendor"
BOOT_FDT_FILE="starfive/jh7110-starfive-visionfive-2-v1.3b.dtb"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS0,115200n8 console=tty0 earlycon=sbi rootflags=data=writeback stmmaceth=chain_mode:1 rw"
BOOTCONFIG=none
function post_family_tweaks__visionfive2_uenv() {
# rpardini: uEnv.txt is needed to re-enable distroboot-like behaviour on the board's SPI u-boot
display_alert "$BOARD" "creating uEnv.txt" "info"
cat <<- UENV_SCRIPT_HEADER > "${SDCARD}/boot/uEnv.txt"
fdt_high=0xffffffffffffffff
initrd_high=0xffffffffffffffff
kernel_addr_r=0x44000000
kernel_comp_addr_r=0x90000000
kernel_comp_size=0x10000000
fdt_addr_r=0x48000000
ramdisk_addr_r=0x48100000
# Move distro to first boot to speed up booting
boot_targets=distro mmc1 dhcp
distro_bootpart=1
# Fix missing bootcmd
bootcmd=run bootcmd_distro
UENV_SCRIPT_HEADER
return 0
}

View File

@@ -1,35 +0,0 @@
# RISC-V StarFive Visionfive V2
BOARD_NAME="VisionFive2"
BOARDFAMILY="starfive2"
BOARD_MAINTAINER=""
KERNEL_TARGET="edge"
BOOT_FDT_FILE="starfive/jh7110-visionfive-v2.dtb"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS0,115200n8 console=tty0 earlycon=sbi rootflags=data=writeback stmmaceth=chain_mode:1 rw"
BOOTCONFIG=none
function post_family_tweaks__visionfive2_uenv() {
# rpardini: uEnv.txt is needed to re-enable distroboot-like behaviour on the board's SPI u-boot
display_alert "$BOARD" "creating uEnv.txt" "info"
cat <<- UENV_SCRIPT_HEADER > "${SDCARD}/boot/uEnv.txt"
fdt_high=0xffffffffffffffff
initrd_high=0xffffffffffffffff
kernel_addr_r=0x44000000
kernel_comp_addr_r=0x90000000
kernel_comp_size=0x10000000
fdt_addr_r=0x48000000
ramdisk_addr_r=0x48100000
# Move distro to first boot to speed up booting
boot_targets=distro mmc1 dhcp
distro_bootpart=1
# Fix missing bootcmd
bootcmd=run bootcmd_distro
UENV_SCRIPT_HEADER
return 0
}

View File

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

View File

@@ -2,9 +2,10 @@
BOARD_NAME="Youyeetoo R1 v3"
BOARDFAMILY="rockchip-rk3588"
BOARD_MAINTAINER="SuperKali"
BOOTCONFIG="generic-rk3588_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOTCONFIG="youyeetoo-r1-rk3588s_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TARGET="vendor,current,edge"
KERNEL_TEST_TARGET="vendor,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
IMAGE_PARTITION_TABLE="gpt"
@@ -34,11 +35,11 @@ function post_family_tweaks__youyeetoo_r1_naming_udev_network_interfaces() {
function post_family_config__youyeetoo_r1_use_mainline_uboot() {
display_alert "$BOARD" "Using mainline (next branch) U-Boot for $BOARD / $BRANCH" "info"
declare -g BOOTCONFIG="generic-rk3588_defconfig" # Use generic defconfig which should boot all RK3588 boards
declare -g BOOTCONFIG="youyeetoo-r1-rk3588s_defconfig" # Use generic defconfig which should boot all RK3588 boards
declare -g BOOTDELAY=1 # Wait for UART interrupt to enter UMS/RockUSB mode etc
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
declare -g BOOTBRANCH="tag:v2025.01"
declare -g BOOTPATCHDIR="v2025.01"
declare -g BOOTBRANCH="tag:v2025.04"
declare -g BOOTPATCHDIR="v2025.04"
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"

View File

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

View File

@@ -10,7 +10,7 @@ echo "INITRD LOAD ADDRESS: ramdisk_addr_r: ${ramdisk_addr_r}"
echo "FDT LOAD ADDRESS : fdt_addr : ${fdt_addr}"
# /vmlinuz and /initrd.img are standard Debian symlinks to the "latest installed kernel"
load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} /vmlinuz
load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} ${prefix}vmlinuz
# Attention, this is uInitrd for uboot/ARM; there's a symlink put there by Armbian hooks
load ${devtype} ${devnum}:${distro_bootpart} ${ramdisk_addr_r} ${prefix}uInitrd

View File

@@ -47,7 +47,7 @@ qrencode
rfkill
rng-tools
screen
software-properties-common
#software-properties-common
smartmontools
stress
sysfsutils

View File

@@ -77,9 +77,9 @@ pasystray
pavucontrol
pavucontrol-qt
pavumeter
pkexec
plasma-discover
polkitd
pkexec
printer-driver-all
profile-sync-daemon
pulseaudio-module-bluetooth

View File

@@ -83,7 +83,6 @@ gvfs-backends
hplip
indicator-printers
inputattach
kerneloops
keyutils
language-pack-gnome-de
language-pack-gnome-en
@@ -130,11 +129,11 @@ pamix
pasystray
pavucontrol
pavucontrol-qt
pavumeter
pkexec
plank
policykit-1
policykit-1-gnome
policykit-desktop-privileges
polkitd
printer-driver-all
profile-sync-daemon
pulseaudio-module-bluetooth

View File

@@ -88,8 +88,9 @@ p7zip-full
pamix
pasystray
pavucontrol
policykit-1
pkexec
policykit-desktop-privileges
polkitd
printer-driver-all
profile-sync-daemon
pulseaudio-module-bluetooth

View File

@@ -95,7 +95,6 @@ gvfs-backends
hplip
indicator-printers
inputattach
kerneloops
keyutils
language-pack-gnome-de
language-pack-gnome-en
@@ -137,9 +136,9 @@ pamix
pasystray
pavucontrol
pavucontrol-qt
pavumeter
policykit-1
pkexec
policykit-desktop-privileges
polkitd
printer-driver-all
profile-sync-daemon
pulseaudio-module-bluetooth

View File

@@ -58,7 +58,6 @@ gvfs-backends
hplip
indicator-printers
inputattach
kerneloops
keyutils
language-pack-gnome-de
language-pack-gnome-en
@@ -102,10 +101,10 @@ pamix
pasystray
pavucontrol
pavucontrol-qt
pavumeter
pkexec
plank
policykit-1
policykit-desktop-privileges
polkitd
printer-driver-all
profile-sync-daemon
pulseaudio-module-bluetooth

View File

@@ -43,7 +43,6 @@ foomatic-db-compressed-ppds
gdebi
ghostscript-x
gir1.2-appindicator3-0.1
gnome-bluetooth
gnome-disk-utility
gnome-font-viewer
gnome-orca
@@ -62,7 +61,6 @@ i3-wm
suckless-tools
indicator-printers
inputattach
kerneloops
keyutils
language-pack-en
laptop-detect
@@ -76,7 +74,6 @@ libfontembed1
libfontenc1
libgail-common
libgl1-mesa-dri
libgnome-bluetooth13
libgsettings-qt1
libjson-xs-perl
libnotify-bin
@@ -100,10 +97,10 @@ pamix
pasystray
pavucontrol
pavucontrol-qt
pavumeter
policykit-1
pkexec
policykit-1-gnome
policykit-desktop-privileges
polkitd
printer-driver-all
profile-sync-daemon
pulseaudio-module-bluetooth

View File

@@ -57,7 +57,6 @@ hplip
indicator-printers
inputattach
kde-plasma-desktop
kerneloops
keyutils
language-pack-gnome-de
language-pack-gnome-en
@@ -96,13 +95,13 @@ pamix
pasystray
pavucontrol
pavucontrol-qt
pavumeter
policykit-1
pkexec
policykit-desktop-privileges
polkitd
printer-driver-all
profile-sync-daemon
pulseaudio-module-bluetooth
plasma-workspace-wayland
plasma-workspace
redshift
samba
smbclient

View File

@@ -57,7 +57,6 @@ gvfs-backends
hplip
indicator-printers
inputattach
kerneloops
keyutils
language-pack-gnome-de
language-pack-gnome-en
@@ -157,7 +156,6 @@ pamix
pasystray
pavucontrol
pavucontrol-qt
pavumeter
printer-driver-all
profile-sync-daemon
pulseaudio-module-bluetooth

View File

@@ -69,9 +69,9 @@ p7zip-full
pamix
pasystray
pavucontrol
pavumeter
policykit-1
pkexec
policykit-desktop-privileges
polkitd
printer-driver-all
profile-sync-daemon
pulseaudio

View File

@@ -38,7 +38,6 @@ fonts-ubuntu-font-family-console
foomatic-db-compressed-ppds
ghostscript-x
gir1.2-appindicator3-0.1
gnome-bluetooth
gnome-disk-utility
gnome-font-viewer
gromit
@@ -49,7 +48,6 @@ gvfs-backends
hplip
indicator-printers
inputattach
kerneloops
keyutils
language-pack-de
language-pack-en
@@ -69,7 +67,6 @@ libfontenc1
libgail-common
libghc-xmonad-contrib-dev
libghc-xmonad-wallpaper-dev
libgnome-bluetooth13
libgsettings-qt1
libnotify-bin
libproxy1-plugin-gsettings
@@ -89,10 +86,10 @@ pamix
pasystray
pavucontrol
pavucontrol-qt
pavumeter
policykit-1
pkexec
policykit-1-gnome
policykit-desktop-privileges
polkitd
printer-driver-all
profile-sync-daemon
pulseaudio-module-bluetooth

View File

@@ -83,7 +83,6 @@ hplip
indicator-printers
inputattach
inxi
kerneloops
keyutils
language-pack-gnome-de
language-pack-gnome-en

View File

@@ -61,7 +61,6 @@ i3-wm
suckless-tools
indicator-printers
inputattach
kerneloops
keyutils
language-pack-en
laptop-detect

View File

@@ -57,7 +57,6 @@ indicator-printers
inputattach
inxi
kde-plasma-desktop
kerneloops
keyutils
kwin-x11
language-pack-gnome-de

View File

@@ -51,7 +51,6 @@ hplip
indicator-printers
inputattach
inxi
kerneloops
keyutils
language-pack-de
language-pack-en

View File

@@ -59,7 +59,6 @@ i3-wm
suckless-tools
indicator-printers
inputattach
kerneloops
keyutils
language-pack-en
laptop-detect

View File

@@ -42,7 +42,6 @@ foomatic-db-compressed-ppds
gdebi
ghostscript-x
gir1.2-appindicator3-0.1
gnome-bluetooth
gnome-disk-utility
gnome-font-viewer
gnome-power-manager
@@ -59,7 +58,6 @@ i3-wm
suckless-tools
indicator-printers
inputattach
kerneloops
keyutils
language-pack-en
laptop-detect
@@ -94,9 +92,10 @@ pamix
pasystray
pavucontrol
pavucontrol-qt
policykit-1
pkexec
policykit-1-gnome
policykit-desktop-privileges
polkitd
printer-driver-all
profile-sync-daemon
redshift

View File

@@ -67,7 +67,6 @@ p7zip-full
pamix
pasystray
pavucontrol
#pavumeter
polkitd
pkexec
#printer-driver-all

View File

@@ -1 +0,0 @@
bookworm

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