Commit 107075b
Update EasePi A2/R2 board configs and device trees for improved hardware support (#9907)
* feat(easepi): initialize EasePi-A2 and EasePi-R2 board support
Add initial board configuration for EasePi-A2 (RK3568, 4GB, GbE)
and EasePi-R2 (RK3588, 8-32GB, 4x2.5GbE) from LinkEase.
Board configs:
- easepi-a2.conf: RK3568, rk35xx family, mainline+vendor kernel
- easepi-r2.conf: RK3588, rockchip-rk3588 family, mainline+vendor kernel
DTS changes:
- Remove vendor kernel DTS (rk3568-easepi-a2, rk3588-easepi-r2)
already upstreamed into vendor kernel tree
- Fix mainline kernel DTS for A2 across 6.18/7.0/7.1 branches:
add gpio-ir-receiver node, consolidate pinctrl blocks
(nvme, oled, bluetooth), disable pwm3 for GPIO IR
- Fix A2/R2 DTS model/compatible strings across all kernel versions
Config changes:
- Set BOARD_MAINTAINER="ifroncy01"
- Rename .csc → .conf for both boards
- Use mainline U-Boot (v2025.10) except for vendor kernel branch
* refactor(easepi): unify BSP structure and simplify peripheral configs
refactor(easepi): unify BSP structure and simplify peripheral configs
This commit consolidates recent EasePi BSP refactoring into a single coherent change:
**Directory Structure Improvements:**
- Moved shared IR components (easepi-fix-infrared.sh, easepi_remote) from root to common/
- Renamed easepi-net-rename.sh to easepi-eth-order.sh for clearer intent
- Restructured common/ directory with clear separation of concerns
**Network Interface Ordering:**
- Created easepi-eth-order.sh: generic mechanism for reordering Ethernet interfaces
- Created easepi-eth-order.service: systemd service for automatic ordering
- Interface naming/ordering is now config-driven via eth_order file
- Supports three sources: device tree, /etc/eth_order, or udev rules
**OLED Simplification:**
- Removed oled_init.sh diagnostic script (no longer needed)
- Kept only oled.service + binary for clean runtime logic
**Code Quality:**
- Converted all Chinese comments to English
- Added clear documentation in scripts explaining architecture
- Updated board configs to reference new file locations
**Device-Specific vs Common Separation:**
- common/: universal components (BT, IR, ETH ordering)
- easepi-a2/: A2-specific (OLED, BT params, I2C)
- easepi-r2/: R2-specific (ETH order config, 4G modem rules)
feat(easepi): unify IR and Bluetooth configs with shared BSP directory
- Create packages/bsp/easepi/common/ for shared IR and Bluetooth files
- Add per-board easepi-bt.conf to configure BT UART device
- A2 uses /dev/ttyS8, R2 uses /dev/ttyS9
- Remove duplicate files from individual board directories
- Improve maintainability with shared logic
- Both boards keep their unique features (OLED, network rename, etc.)
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
* fix(easepi): update board configs for A2 and R2
Update board configuration files for EasePi A2 and R2 to reflect recent BSP refactoring and configuration changes.
Summary:
config/boards/easepi-a2.conf | 6 +-----
config/boards/easepi-r2.conf | 6 +-----
2 files changed, 2 insertions(+), 10 deletions(-)
Changed files:
config/boards/easepi-a2.conf
config/boards/easepi-r2.conf
* EasePi: Refactor board configurations and reorganize BSP files
- Rename BSP files to bt-*, ir-*, eth-* prefixes
- Move common files out of 'common' directory
- Simplify hook functions for both boards
- Use PACKAGE_LIST_BOARD instead of add_packages_to_image hooks
- Add OLED binary directly to easepi-a2 BSP
- Consistent naming with easepi_a2/easepi_r2 underscore patterns
- Reorganize hooks into modular sections (OLED, IR, BT, Ethernet)
- Fix display_alert ordering in OLED install function
- Clean up old files
* EasePi: Fix incorrect BOOT_ENV_FILE variable usage
- Remove incorrect BOOT_ENV_FILE='armbianEnv.txt' from both boards
- The correct variable is BOOTENV_FILE, which is already set by family config to rk35xx.txt for rk3568/rk3588
* Update packages/bsp/easepi/eth-order.service
Co-authored-by: Liangbin Lian <1129525450@qq.com>
* Update config/boards/easepi-r2.conf
Co-authored-by: Liangbin Lian <1129525450@qq.com>
* Update patch/kernel/archive/rockchip64-6.18/dt/rk3588-easepi-r2.dts
Co-authored-by: Liangbin Lian <1129525450@qq.com>
* EasePi: Update device tree and Ethernet handling
- Remove unused custom properties (eth_order, kdebug, power-key-factory-reset) from device trees
- Remove rockchip-system-monitor node from r2 device tree
- Rename 71-rndis-net.rules to 71-net.rules and add Ethernet interface naming rules for r2
- Update eth-order.service to use After=systemd-udev-settle.service instead of Before/Wants network-pre.target
* Fix syntax errors
* armbian: dt: clean up and align EasePi A2 and R2 device trees across 6.18/7.0/7.1
EasePi A2 (RK3568):
- Remove non-standard BSP GPU OPP table and GPU node redefinition
- Remove VPU/RGA/RKVENC BSP inline blocks and dead nodes
- Remove /delete-node/ &vepu; to restore mainline VEPU node
- Remove Crypto/RNG BSP redefinitions, rely on rk356x-base.dtsi
- Remove vendor platform devices (wireless_wlan, wireless_bluetooth,
rockchip_system_monitor)
- Remove non-standard power-off-delay-ms from &gpu
- Remove &vdec interrupts override to align with other RK3568 boards
- Fix deprecated gpio property to gpios
- Enable NPU directly, remove ifdef DT_ENABLE_NPU conditional
- Delete non-standard Rockchip IP overrides comment block
EasePi R2 (RK3588):
- Remove BSP GPU/VPU/RGA inline blocks and dead nodes
- Remove vendor platform devices and BSP NPU inline blocks
- Add USB u2phy annotations for type-c, usb 3.0, 4G modem, usb 2.0
All changes applied consistently across 6.18 (current), 7.0 (edge),
and 7.1 (bleedingedge) branches. Compilation verified with 0 errors
and 0 warnings.
* Update patch/kernel/archive/rockchip64-6.18/dt/rk3568-easepi-a2.dts
Co-authored-by: Liangbin Lian <1129525450@qq.com>
* Update patch/kernel/archive/rockchip64-6.18/dt/rk3568-easepi-a2.dts
Co-authored-by: Liangbin Lian <1129525450@qq.com>
* Update patch/kernel/archive/rockchip64-6.18/dt/rk3568-easepi-a2.dts
Co-authored-by: Liangbin Lian <1129525450@qq.com>
* Update eth-order.sh
* dts fix
* Update patch/kernel/archive/rockchip64-6.18/dt/rk3568-easepi-a2.dts
Co-authored-by: Liangbin Lian <1129525450@qq.com>
* EasePi-A2: Improvements: Update device tree, IR remote and OLED setup
- Update rockchip64-7.0 and 7.1 device trees: adjust keyup threshold and remove power-key-dbclick, add newline at end
- Add KEY_PROGRAM to IR remote config
- Refactor OLED setup to download binary from GitHub Releases with SHA-256 check
* Add Jellyfin-FFmpeg support for EasePi-A2 and EasePi-R2 on vendor branch, update OLED daemon to v1.2.0, add Ethernet udev rule for EasePi-A2
* fix(u-boot): EasePi R2 boot failure - DTS and defconfig overhaul
- Add missing power domain (vcc5v0_sys), SD/MMC (sdmmc, sdhci), PCIe,
USB (u2phy0-3, usbdrd3_0/1, usbdp_phy1), SATA (sata1, sata2),
combphy, and SARADC nodes to U-Boot DTS
- Fix ADC keys to use SARADC channel 0 with press-threshold=878uV
and KEY_RESTART, preventing unintended USB download mode entry
- Correct model string to 'EasePi R2' and compatible strings
- Add CONFIG_ROCKCHIP_USB_BOOT, CONFIG_GPIO_HOG, CONFIG_I2C_MUX,
CONFIG_PHY_ROCKCHIP_NANENG_COMBOPHY, CONFIG_PHY_ROCKCHIP_USBDP,
CONFIG_CMD_SETEXPR, CONFIG_AHCI, CONFIG_SCSI, CONFIG_SATA to defconfig
- Remove CONFIG_ROCKCHIP_BOOTDEV to let U-Boot auto-detect boot device
- Adjust CONFIG_FASTBOOT_BUF_SIZE and CONFIG_MTD_BLK_U_BOOT_OFFS
Resolves the immediate boot failure where the device entered USB
download mode instead of proceeding to kernel boot.
* update uboot defconfig
* u-boot-radxa-rk35xx: Clean up EasePi R2 device tree by removing unused nodes
* u-boot-radxa-rk35xx: Configure EasePi R2 USB and Type-C in device tree
Added USB and Type-C configuration for vbus5v0_usb and related components.
* u-boot-radxa-rk35xx: Add u-boot,dm-pre-reloc to EasePi R2 USB and SATA nodes
* u-boot-radxa-rk35xx: EasePi R2 Enable PHY for SATA
* Update OLED daemon to v1.3.0
- Remove file logging, only output to stdio
- Update SHA-256 hash for v1.3.0 binary
- Update GitHub Release URL
---------
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
Co-authored-by: Liangbin Lian <1129525450@qq.com>1 parent 15a5218 commit 107075b
23 files changed
Lines changed: 1596 additions & 10398 deletions
File tree
- config/boards
- packages/bsp/easepi
- easepi-a2
- easepi-r2
- patch
- kernel
- archive
- rockchip64-6.18/dt
- rockchip64-7.0/dt
- rockchip64-7.1/dt
- rk35xx-vendor-6.1/dt
- u-boot/legacy/u-boot-radxa-rk35xx
- defconfig
- dt
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 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 | + | |
| 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 | + | |
0 commit comments