Add Odroid M2 (RK3588S) standalone board support with mainline kernel#15648
Open
anoop-dhiman wants to merge 1 commit intobatocera-linux:masterfrom
Open
Add Odroid M2 (RK3588S) standalone board support with mainline kernel#15648anoop-dhiman wants to merge 1 commit intobatocera-linux:masterfrom
anoop-dhiman wants to merge 1 commit intobatocera-linux:masterfrom
Conversation
The Odroid M2 requires mainline kernel as the Rockchip vendor 6.1 BSP has no support for this board. Uses Armbian's pre-built U-Boot binary since building from source with Buildroot's toolchain produces binaries that cause SError kernel panics during paging_init. Board config: - Standalone target (make odroidm2-build), separate from rk3588 - Mainline kernel 6.18.21 with Armbian's tested defconfig - In-tree DTS (rockchip/rk3588s-odroid-m2), no custom DTS needed - Pre-built U-Boot from Armbian (v2025.10, BL31 v1.48, DDR v1.18) - Serial console ttyS2 at 1500000 baud (matching Armbian) - 14 kernel patches from Armbian rockchip64-6.18 patch set Kernel patches (from Armbian): - 4 Odroid M2 board DTS fixes (ethernet PHY, HDMI audio, USB-C OTG, Vu8S panel) - 7 USB-C/TCPM/DWC3 driver fixes (role switching, PHY power tracking, PD capabilities, extcon bridge) - 1 DRM DMA mask fix (required for GPU on 16GB systems) - 2 RK3588 platform fixes (clock division overflow, OPP nodes) Build system registration: - Config.in: new target with capability/feature lists - batocera-system.mk and batocera-configgen.mk: arch mappings - 7 emulator .mk files: ODROIDM2 added to RK3588 platform - alllinuxfirmwares.mk and rockchip-mpp.mk: target added - Excluded ecwolf (Bitbucket submodule auth issue)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Hardkernel ODROID-M2 (RK3588S) as a standalone build target.
make odroidm2-buildTested
Notes for maintainers
This board needs a standalone target because the existing rk3588 vendor kernel (6.1) has no Odroid M2 support. The approach mirrors how rk3568 uses mainline kernel separately from the rk3588 vendor build.
U-Boot is pre-built from Armbian (like odroid-m1, bananapi-m7) because Buildroot's toolchain produces non-booting binaries for this board.
Open to feedback on the approach — happy to rework if needed.
AI Disclosure
Developed with assistance from Claude (Anthropic) for codebase exploration, build system analysis, and debugging. All changes tested on physical hardware.