Commit 872d188
Fix: EasePi-A2 Boot & Ethernet on Vendor Kernel (#9946)
* Add jellyfin-ffmpeg release constraints and ip-wrapper for easepi-r2
* Update config/boards/easepi-r2.conf
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* fix(easepi-a2): add extensions for U-Boot FIT FDT dependency and RTL8125B Ethernet
Add two board-specific extensions for EasePi-A2 and move their
enablement from main-config.sh to the board configuration file,
following the established Armbian pattern (e.g., radxa-aic8800,
bluetooth-hciattach, watchdog).
1. uboot-makefile-fix-itb-deps.sh
Fixes a race condition in U-Boot parallel builds where u-boot.itb
lacks u-boot.dtb as a dependency. When mkfitimage runs before
u-boot.dtb is copied, the FDT segment in the FIT image is empty,
causing "No valid device tree binary found" at boot. The extension
patches the Makefile to add u-boot.dtb to u-boot.itb's dependency
list via a pre_config_uboot_target hook. Uses multi-layer guards
(bash fast pre-checks + Python multi-line regex matching) for
idempotency and compatibility with both Radxa fork (single-line)
and upstream (multi-line continuation) Makefile formats.
2. r8125-dkms.sh
Fixes RTL8125B (XID 641) Ethernet on vendor kernel (6.1.115).
The in-kernel r8169 driver has a TX path bug that causes DHCPv4
and all L2 TX to fail. This extension installs the official
Realtek r8125 driver (v9.016.01) via DKMS and blacklists r8169.
Only enabled when BRANCH=vendor. Source is pre-downloaded on the
host side (extension_finish_config hook) and copied into chroot
during post_install_kernel_debs.
3. config/boards/easepi-a2.conf
Enable both extensions at the top level of the board config,
keeping board-specific logic self-contained and main-config.sh
clean. r8125-dkms is conditionally enabled only for vendor branch.
Build-tested with easepi-a2 vendor branch minimal image.
* Update extensions/r8125-dkms.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* fix(easepi-a2): add extensions for U-Boot FIT FDT dependency and RTL8125B Ethernet
Add two board-specific extensions for EasePi-A2 and move their
enablement from main-config.sh to the board configuration file,
following the established Armbian pattern (e.g., radxa-aic8800,
bluetooth-hciattach, watchdog).
1. uboot-makefile-fix-itb-deps.sh
Fixes a race condition in U-Boot parallel builds where u-boot.itb
lacks u-boot.dtb as a dependency. When mkfitimage runs before
u-boot.dtb is copied, the FDT segment in the FIT image is empty,
causing "No valid device tree binary found" at boot. The extension
patches the Makefile to add u-boot.dtb to u-boot.itb's dependency
list via a pre_config_uboot_target hook. Uses multi-layer guards
(bash fast pre-checks + Python multi-line regex matching) for
idempotency and compatibility with both Radxa fork (single-line)
and upstream (multi-line continuation) Makefile formats.
2. r8125-dkms.sh
Fixes RTL8125B (XID 641) Ethernet on vendor kernel (6.1.115).
The in-kernel r8169 driver has a TX path bug that causes DHCPv4
and all L2 TX to fail. This extension installs the official
Realtek r8125 driver (v9.016.01) via DKMS and blacklists r8169.
Only enabled when BRANCH=vendor. Source is pre-downloaded on the
host side (extension_finish_config hook) and copied into chroot
during post_install_kernel_debs. Uses IMAGE_INSTALLED_KERNEL_VERSION
combined with BRANCH and LINUXFAMILY to construct the full kernel
version string for DKMS -k parameter.
3. config/boards/easepi-a2.conf
Enable both extensions at the top level of the board config,
keeping board-specific logic self-contained and main-config.sh
clean. r8125-dkms is conditionally enabled only for vendor branch.
Build-tested with easepi-a2 vendor branch minimal image.
* r8125-dkms: Use curl instead of wget for source download
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>1 parent 7d26def commit 872d188
3 files changed
Lines changed: 175 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
17 | 28 | | |
18 | 29 | | |
19 | 30 | | |
| |||
179 | 190 | | |
180 | 191 | | |
181 | 192 | | |
182 | | - | |
| 193 | + | |
183 | 194 | | |
184 | 195 | | |
185 | 196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
0 commit comments