Skip to content

orangepioneplus: use U-Boot v2026.01 and TF-A lts-v2.12.9#9522

Open
AbdulKus wants to merge 1 commit intoarmbian:mainfrom
AbdulKus:orangepioneplus-uboot-v2026.01-smp-fix
Open

orangepioneplus: use U-Boot v2026.01 and TF-A lts-v2.12.9#9522
AbdulKus wants to merge 1 commit intoarmbian:mainfrom
AbdulKus:orangepioneplus-uboot-v2026.01-smp-fix

Conversation

@AbdulKus
Copy link

@AbdulKus AbdulKus commented Mar 13, 2026

Fixes #9521.

This pins orangepioneplus to the same bootloader generation that restored proper PSCI secondary CPU bring-up on tested hardware:

  • TF-A / BL31: lts-v2.12.9
  • U-Boot: v2026.01

Tested on a real Orange Pi One+ board.

Before this change:

smp: Bringing up secondary CPUs ...
CPU1: failed to come online
CPU2: failed to come online
CPU3: failed to come online
SMP: Total of 1 processors activated.

After this change:

psci: PSCIv1.1 detected in firmware.
smp: Bringing up secondary CPUs ...
SMP: Total of 4 processors activated.
CPU: All CPU(s) started at EL2

This PR intentionally keeps the change minimal and scoped only to orangepioneplus.

Summary by CodeRabbit

Chores

  • Updated bootloader configuration for Orange Pi One Plus board
    • ARM Trusted Firmware configured to version 2.12.9 LTS
    • U-boot boot patch updated to version 2026.01
    • Board-specific boot branch parameters established to ensure proper compatibility and optimal device performance

Orange Pi One+ boots with only CPU0 online on current Armbian current images.

On the affected system the kernel detects all four CPUs but secondary CPU bring-up fails via PSCI during early boot. Pinning this board to U-Boot v2026.01 together with TF-A lts-v2.12.9 restores normal SMP bring-up.

Tested on real Orange Pi One+ hardware:
- before: only cpu0 online, CPU1-CPU3 failed to come online
- after: SMP: Total of 4 processors activated
@AbdulKus AbdulKus requested a review from igorpecovnik as a code owner March 13, 2026 16:27
@github-actions
Copy link
Contributor

Hey @AbdulKus! 👋

Thanks for submitting your first pull request to the Armbian project — we're excited to have you contributing! 🧡
Your effort doesn’t just improve Armbian — it benefits the entire community of users and developers.

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.
This helps us keep in touch without relying solely on GitHub notifications.

Also, don’t forget to ⭐ star the repo if you haven’t already — and welcome aboard! 🚀

@github-actions github-actions bot added the size/small PR with less then 50 lines label Mar 13, 2026
@github-actions github-actions bot added Needs review Seeking for review Hardware Hardware related like kernel, U-Boot, ... 05 Milestone: Second quarter release labels Mar 13, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 13, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1f5356d8-7ee0-4633-9154-eb62f9a95ff9

📥 Commits

Reviewing files that changed from the base of the PR and between a124ce5 and f8f9285.

📒 Files selected for processing (1)
  • config/boards/orangepioneplus.csc

📝 Walkthrough

Walkthrough

Added a new configuration function for Orange Pi One+ that pins specific bootloader versions: U-Boot v2026.01 and TF-A lts-v2.12.9. This addresses CPU core bring-up failures where only CPU0 was previously coming online.

Changes

Cohort / File(s) Summary
Orange Pi One+ Bootloader Configuration
config/boards/orangepioneplus.csc
Added post_family_config__use_orangepioneplus_uboot() function that sets ATFBRANCH, BOOTPATCHDIR, BOOTBRANCH_BOARD, and BOOTBRANCH variables to specific versions required for multi-core CPU support.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A rabbit hops with CPU cores full,
Four CPUs dance in harmony so cool,
No more the lone core standing still,
Orange Pi One+ climbs every hill! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly matches the main change: pinning orangepioneplus to U-Boot v2026.01 and TF-A lts-v2.12.9, which is exactly what the PR implements.
Linked Issues check ✅ Passed The PR successfully addresses issue #9521 by pinning the bootloader versions (U-Boot v2026.01 and TF-A lts-v2.12.9) to restore SMP secondary CPU bring-up on orangepioneplus.
Out of Scope Changes check ✅ Passed All changes are scoped to the orangepioneplus board configuration only, directly addressing the bootloader versioning issue without unrelated modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Member

@EvilOlaf EvilOlaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may affect all H6 boards, so change should be done at family level.
Anyway if this change is confirmed working I'll probably include here #9381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

05 Milestone: Second quarter release Hardware Hardware related like kernel, U-Boot, ... Needs review Seeking for review size/small PR with less then 50 lines

Development

Successfully merging this pull request may close these issues.

Orange Pi One+: only CPU0 comes online with current bootloader stack

2 participants