sunxi: fix Unhandled Exception in EL3. and/causing secondary cpus not coming online#9586
Conversation
…ot coming online
📝 WalkthroughWalkthroughUpdates ATF firmware branch from Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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.
🧹 Nitpick comments (1)
config/sources/families/include/sunxi64_common.inc (1)
49-49: Consider restoring quietddoutput for consistency.Line 49 now emits default
ddtransfer stats. If you want parity with newer family patterns and cleaner logs, addstatus=nonewhile keepingconv=fsync.Proposed tweak
- dd if=$1/u-boot-sunxi-with-spl.bin of=$2 conv=fsync bs=1024 seek=8 + dd if=$1/u-boot-sunxi-with-spl.bin of=$2 conv=fsync bs=1024 seek=8 status=noneBased on learnings, newer Armbian
write_uboot_platform()patterns commonly includestatus=noneinddcommands.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@config/sources/families/include/sunxi64_common.inc` at line 49, The dd invocation "dd if=$1/u-boot-sunxi-with-spl.bin of=$2 conv=fsync bs=1024 seek=8" is emitting transfer stats; update this command (in the write_uboot_platform / u-boot write step) to include "status=none" (keeping conv=fsync and existing args) so dd runs quietly and matches newer family patterns.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@config/sources/families/include/sunxi64_common.inc`:
- Line 49: The dd invocation "dd if=$1/u-boot-sunxi-with-spl.bin of=$2
conv=fsync bs=1024 seek=8" is emitting transfer stats; update this command (in
the write_uboot_platform / u-boot write step) to include "status=none" (keeping
conv=fsync and existing args) so dd runs quietly and matches newer family
patterns.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 42e7b1eb-4661-4cbc-bd07-c2c382022e9e
📒 Files selected for processing (2)
config/sources/families/include/sunxi64_common.inclib/functions/compilation/uboot.sh
💤 Files with no reviewable changes (1)
- lib/functions/compilation/uboot.sh
|
Tested on Orange Pi Zero 2 (H616), works just fine |
igorpecovnik
left a comment
There was a problem hiding this comment.
Tested on Inovato Quadra (H6)
|
✅ This PR has been reviewed and approved — all set for merge! |
Description
Possible fix for
#9555 and #9521
Successor PR of #9522
Credits to @AbdulKus for the deep dive and @pyavitz for the
write_uboot_platformadjustmentHow Has This Been Tested?
mainand boot: the mentioned EL3 exception happens and only one core comes onlineTests were conducted with fresh Trixie minimal images on
currentkernel using Orange Pi One Plus (H6).This shall be tested on as many older Allwinner devices as possible to either verify fixed or still working as expected.
This also includes sunxi32 boards, because
write_uboot_platformand ATF are also used for those.Checklist:
foot notes:
what I've tried to narrow this down:
Summary by CodeRabbit