Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UNTESTED] Add initial support for Orangepi 5 Ultra #7856

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

EvilOlaf
Copy link
Member

@EvilOlaf EvilOlaf commented Feb 21, 2025

Description

Backported dt for current.
Jimmy Hons integration branch for edge
https://github.com/jimmyhon/linux/tree/integrate-6.15
https://patchwork.kernel.org/project/linux-rockchip/cover/20250220041010.3801-1-honyuenkwun@gmail.com/

Test images

http://fi.mirror.armbian.de/.testing/Armbian-unofficial_25.05.0-trunk_Orangepi5-ultra_bookworm_current_6.12.16_minimal.img.xz
http://fi.mirror.armbian.de/.testing/Armbian-unofficial_25.05.0-trunk_Orangepi5-ultra_bookworm_edge_6.14.0-rc1_minimal.img.xz

How Has This Been Tested?

  • current build
  • edge build
  • boot. Nope. no hw

Checklist:

  • [?] My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@github-actions github-actions bot added size/large PR with 250 lines or more Needs review Seeking for review Hardware Hardware related like kernel, U-Boot, ... Patches Patches related to kernel, U-Boot, ... labels Feb 21, 2025
@EvilOlaf EvilOlaf marked this pull request as draft February 21, 2025 06:41
@EvilOlaf
Copy link
Member Author

oops, forgot to test building entire image. Did kernel only. uboot fails.

@EvilOlaf EvilOlaf marked this pull request as ready for review February 21, 2025 11:17
BOARD_MAINTAINER=""
BOOTCONFIG="orangepi-5-ultra-rk3588_defconfig" # vendor name, not standard, see hook below, set BOOT_SOC below to compensate
BOOT_SOC="rk3588"
KERNEL_TARGET="current,edge"

Choose a reason for hiding this comment

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

Minor quirks about the Ultra.

This Ultra only has a HDMI1, however, the patch/kernel/archive/rockchip64-6.12 does not have patches to enable HDMI1.

patch/kernel/archive/rockchip64-6.13 does have the extra patches to use basic HDMI1, but I think you also need to have a copy of the DT in patch/kernel/archive/rockchip64-6.13/dt for this to be built in "edge"?
https://github.com/armbian/build/blob/main/patch/kernel/archive/rockchip64-6.13/rk3588-0130-add-hdmi1-support.patch

side note: in mainline HDMI1 support is going in 6.15-rc1, so the Ultra won't be useable for most people in mainline until then. Most people don't want to be stuck using only UART or SSH to control their board.

Copy link
Member Author

@EvilOlaf EvilOlaf Feb 23, 2025

Choose a reason for hiding this comment

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

It is expected that the 5 Ultra will only partially work on 6.12. That's fine. Good enough for server applications. If there are too many complains we can drop current (6.12.y to say) support and keep pushing for egde (following latest mainline).
Of course having rk3588 features being back-ported to 6.12.y would be awesome but nobody here will deal with this. Too much effort to maintain so many patches. It is painful enough for allwinner which is I think our most heavily patched soc family.

EvilOlaf and others added 7 commits February 23, 2025 19:57
While I don't fully understand either the `kernel-dtb` command nor the dt syntax itself for some reason the `nophandles` version stripped more than actually phandles. Lets see what happens this way.
@EvilOlaf
Copy link
Member Author

Test images were added. It is to be expected that lots of features won't work with current since rk3588 support is still under heavy development and not even close to all features were present when 6.12 was released. Should be good enough for server applications though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hardware Hardware related like kernel, U-Boot, ... Needs review Seeking for review Patches Patches related to kernel, U-Boot, ... size/large PR with 250 lines or more
Development

Successfully merging this pull request may close these issues.

2 participants