opi5plus - board config maintenance#8787
Conversation
WalkthroughConsolidates branch-specific U-Boot handlers for Orange Pi 5 Plus into a single function Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📚 Learning: 2025-09-11T06:12:54.213ZApplied to files:
📚 Learning: 2025-10-14T05:08:11.785ZApplied to files:
🔇 Additional comments (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Jira integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
config/boards/orangepi5-plus.conf(2 hunks)
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: rpardini
PR: armbian/build#8044
File: patch/u-boot/v2025.04/cmd-fileenv-read-string-from-file-into-env.patch:76-86
Timestamp: 2025-03-31T22:20:48.475Z
Learning: For the Armbian build project, maintaining consistency with existing patches across U-Boot versions (such as between 2025.01 and 2025.04) is prioritized over refactoring individual patches for code improvements.
Learnt from: rpardini
PR: armbian/build#8044
File: patch/u-boot/v2025.04/cmd-fileenv-read-string-from-file-into-env.patch:73-75
Timestamp: 2025-03-31T22:20:41.849Z
Learning: When porting patches between U-Boot versions (like from 2025.01 to 2025.04), rpardini prefers to maintain patches as-is rather than introducing refactoring changes, even when potential improvements are identified. This approach prioritizes consistency and reduces the risk of introducing new issues.
📚 Learning: 2025-09-11T06:12:54.213Z
Learnt from: SuperKali
PR: armbian/build#8609
File: config/boards/nanopi-r76s.conf:5-5
Timestamp: 2025-09-11T06:12:54.213Z
Learning: In the Armbian build system, board family configuration files (like config/sources/families/rk35xx.conf) can inherit kernel branch definitions from common include files (like config/sources/families/include/rockchip64_common.inc). Even if a branch like "edge" is not defined directly in the family conf file, it may be available through the sourced include file.
Applied to files:
config/boards/orangepi5-plus.conf
📚 Learning: 2025-10-14T05:08:11.785Z
Learnt from: EvilOlaf
PR: armbian/build#8754
File: config/boards/bestv-r3300-l.csc:14-16
Timestamp: 2025-10-14T05:08:11.785Z
Learning: In the Armbian build system, BOOTBRANCH_BOARD is a valid framework variable used as a fallback when BOOTBRANCH is unset. The framework checks BOOTBRANCH_BOARD before applying the default bootloader branch value (see config/sources/common.conf). Board configuration files can use BOOTBRANCH_BOARD to specify the bootloader branch.
Applied to files:
config/boards/orangepi5-plus.conf
🔇 Additional comments (3)
config/boards/orangepi5-plus.conf (3)
56-56: Good consolidation of gating logic.The updated gating logic now consistently skips vendor branch in both functions, which is cleaner and more maintainable than the previous approach.
60-62: Verify that ARM crypto options work correctly.The PR testing notes indicate that boots were performed "without crypto options," but these changes enable ARMV8_CRYPTO, ARMV8_CE_SHA1, and ARMV8_CE_SHA256. Please confirm that these crypto acceleration features work correctly with the new U-Boot version, or clarify whether additional testing is planned before merge.
39-40: No issues found — v2025.10 patch directory exists and is ready.Verification confirms the
patch/u-boot/v2025.10/directory contains 33 patches, including board-specific patches and general fixes. The version bump in lines 39-40 is properly supported.
actually self-explaining I think
|
✅ This PR has been reviewed and approved — all set for merge! |
|
Do not merge yet. I want to test with crypto enabled later today unless @alexl83 is faster. |
|
https://paste.armbian.de/unohaqutuv.yaml seems fine |
|
✅ This PR has been reviewed and approved — all set for merge! |
|
next step would be eliminating vendor uboot altogether. I have a vendor kernel on nvme and mainline uboot on SPI. Works just fine. @efectn what do you think? Anything that might be missing in mainline uboot which is there in stone-age vendor? |
|
If I remember, some vendor kernel DTs assumed that vendor u-boot will have had brought up some regulators (npu?) so those things might fail. Unsure if it applies to OPi5's... |
Is it specific to npu or also affecting vpu etc.? I suppose there might be also some problems related to mac addresses, but i don't think it is also static in vendor uboot too |
* live_main_upstream/main: (236 commits)
qemu-uboot-{x86|arm64}: bump u-boot to v2025.10 final
mixtile-blade3: bump edge u-boot to v2025.10 final
cm3588-nas: bump u-boot to v2025.10 final
cm3588-nas: u-boot: bump 2025.01 -> 2025.10-rc4
nanopct6(-lts): bump u-boot to v2025.10 final
nanopct6(-lts): u-boot: bump 2025.04 -> 2025.10-rc4
nanopi-r3s-lts: board config maint
bsp armbian-ramlog - move HDD_LOG declaration before sourcing /etc/default/armbian-ramlog don't do clever things when using overridden HDD_LOG
`Automatic` board configs status synchronise
nanopi-m6: add support for mainline uboot (armbian#8793)
mainline uboot doesnt work with vendor kernel
get rid of vendor uboot, adjust aic8800
fix typo and brackets
bump uboot to latest stable, simplify logic
opi5plus - board config maintenance (armbian#8787)
rk35xx, rockchip-rk3588: fix pre_config_uboot_target prevent board-specific hooks from running
`Automatic` board configs status synchronise
rockchip64-6.18: add DT patches for NPU on T6(-LTS) and CM3588-NAS
rockchip64-6.18: fix `net-phy-realtek-add-rtl8211x-LED-configuration-from-OF` for v6.18-rc2
rockchip64-6.18: drop upstreamed DT changes for R6*, T6, CM3588-NAS (USB3/HDMI-RX)
rockchip64-6.18: rewrite/rebase patches - no changes - vs v6.18-rc2
mainline-kernel: bump 6.18 to `-rc2`
Add warning for rockchip uboot on modern hosts
SpacemiT: Update `EDGE` to linux-6.17.y
Move to supported, drop device tree as it was merged to the kernel repository
add r58-4x4
meson64-6.18: rewrite patches
meson64: bump edge 6.17 -> 6.18
meson64-6.18: bump 6.17 -> 6.18 via rename
rockchip64-6.18: .config: `CONFIG_DRM_ACCEL_ROCKET=m`
drivers_network: update `rtl8723DS` with amazingfate's fix for 6.18
drivers_network: update `rtl8852bs` with amazingfate's fix for 6.18
rockchip64-6.18: rewrite/rebase patches - no changes
rockchip64-6.18: media-0001-Add-rkvdec-Support-v5: drop upstreamed patch (:12)
rockchip64-6.18: update patches
rockchip64_common: bump edge to 6.18
uefi-arm64-6.18: fix net-stmicro-stmmac-Phytium-onboard-ethernet-drivers-and-ACPI-glue
uefi-arm64-edge: bump edge 6.17 -> 6.18 via rename
uefi-loong64-edge: bump to 6.18
uefi: bump edge to 6.18
Add wget to prepare-host.sh (armbian#8779)
armsom-forge1: add uboot patch to enable booting from btrfs partition
armsom-forge1: change BOOTCONFIG to its own
partitioning: allow single root partition for all filesystem type
remove wget from build-host basic-deps
build machinery - replace wget with curl cuz reasons
qcs6490-edge: bump to 6.18
qcs6490-edge: bump to 6.17
armbian-kernel.sh enable zram compression backends: LZ4, LZ4HC, ZSTD, DEFLATE, 842, and LZO
rockchip: Add CSC board Luckfox Lyra Zero W
filogic patches - tweak 0000.patching_config.yaml
filogic - fix for openwrt kernel tree's lack of bpi-r4 sd dtb
filogic - enable more kernel modules
potential edge kernel for filogic/bananapi BPI-Router-Linux v6.12 as current, chainsx as legacy
armsom-forge1: rename dtb name to match mainline
build machinery - fixup compilation for uboot/atf BRANCH=edge, pass --no-warn-rwx-segments to linker, not compiler
build(deps): bump peter-evans/create-pull-request from 6 to 7
build(deps): bump actions/download-artifact from 4 to 5
build(deps): bump github/codeql-action from 3 to 4
build(deps): bump rich from 14.1.0 to 14.2.0
build(deps): bump actions/checkout from 4 to 5
update rtl88x2cs external driver for kernel 6.18+
`Automatic` board configs status synchronise
`Automatic` board configs status synchronise
meson64-6.17: edge: .config: enable a bunch of RTL/RTW88
meson64-6.17: edge: .config update, no changes
meson64-6.17: arm64: dts: amlogic: Enable the npu node for Radxa Zero 2
meson64-6.17: rewrite/rebase against v6.17.1, no changes
meson64-6.17: rework g12b pinmux/pinctrl; thanks to retro98boy
meson64-6.17: rework `jethome-0001-Fix-meson64-add-gpio-irq-patch-from-https-lkml.org-l.patch`
meson64-6.17: reworked hwmon-emc2305-fixups-for-driver.patch; thanks to pyavitz
meson64-6.17: borrow drv-spi-spidev-remove-warnings.patch from rockchip64
meson64: bump edge to 6.17
meson64: bump to 6.17 via rename
meson64-6.16: rewrite/rebase patches vs v6.16.10
linux-uefi-arm64-cloud.config: enable CONFIG_SND_VIRTIO so virtual desktop has sound
linux-uefi-arm64-cloud.config: enable CONFIG_INPUT_UINPUT for spice agent
Bump u-boot to v2025.10-rc5 for orangepi4-lts
Bump u-boot to v2025.10-rc5 for Radxa rockpi-e
`Automatic` board configs status synchronise
Add Wi-Fi injection patch for Linux 6.12 kernels.
bsp: armbian-install: Correct the eMMC indication for some devices.
sunxi-6.12: Switch to v6.12.51
sunxi-6.12: re-extract megous patches
mixtile-blade3: u-boot: edge: v2025.10-rc3; add dts/u-boot.dtsi/defconfig
u-boot: v2025.10: prepare 0000.patching_config.yaml for null-patch-free u-boot
mixtile-blade3: use vendor uboot also for legacy branch
mixtile-blade3: generic mainline uboot for edge branch
Automatic: kernel config rewrite
GHA: rewrite kernel configs and open a PR if there are changes
Use Debian SID when generating JSONs
Add Kernel overlay to reduce eMMC frequency for FriendlyElec NanoPC-T6 boards
SMART AM40: Enable native HDMI interface in OPS slot
mainline-kernel.conf: let 6.17 update further than v6.17 (eg v6.17.1) (armbian#8737)
Update rtl88x2cs driver commit hash for kernel 6.17+
don't fail distro agnostic sshd adjustments when config is not found (armbian#8729)
`Automatic` board configs status synchronise
rockchip64-6.17: add rkvdec patch for rk35xx back
extensions: radxa-aic8800: allow 6.17; skip DKMS only on >= 6.18
rockchip64: current: fix display mode patches for rk3588 boards
...
Signed-off-by: Jonas Wood <jw@ti.com>
* opi5plus - board config maintenance * remove comment actually self-explaining I think
Description
Note: It might be possible to get rid of vendor uboot altogether. Needs further testing though.
How Has This Been Tested?
Checklist: