-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
bump rockchip64 edge to 6.13 #7604
Conversation
f79ede9
to
e0acd83
Compare
Comparison with 6.12 kernel patches: amazingfate/build@9d7ab82...ad4586c |
Tested with Rock 3A (rk3568) https://paste.next.armbian.com/ivuguqatos |
Just tried with rc4 but did not build |
Tested with rk3328-roc-cc. |
Now two hdmi ports of rock5b are supported:
|
Should work with opi5+ the same way I guess? |
Yes, the board patch is similar. |
Checked a rk3318 tv box and RockPi-S (rk3308) and both of them work fine, dmesg is clean |
Tested against T-Firefly ROC RK3399 PC Plus a.k.a. Station P1: https://paste.next.armbian.com/hodorenoni Fun fact: When installing to eMMC |
9d08b6c
to
60b61a8
Compare
Checked OrangePI 4 LTS (rk3399), boots and works fine. rkvdec driver though does not load because it is missing some |
This node is introduced by old version of hdmi pll clock patches, which is already dropped. And in new version of patch hdmi pll clock is added to rk3588-base.dtsi instead of board level devicetree: https://patchwork.kernel.org/project/linux-rockchip/patch/20241211-vop2-hdmi0-disp-modes-v2-5-471cf5001e45@collabora.com/
60b61a8
to
12bb4ea
Compare
Cherry picked, built OK, tested basics (not HDMI tested):
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with Orange Pi 5 Plus including HDMI1 and USB ports. LGTM
I'm trying applying a patch for radxa rock 5 itx, if it works I push a commit, I'm compiling it :) |
There is a patch adding reset controls to driver and devicetree, and in 6.13 there is a patch merged changing I find that hantro driver is using |
@amazingfate Question, do you happen to know if the configuration of the rock 5 itx hdmi side is different from all the others, I see that on the 8K port and directly connected, instead for the 4k port it is muxed with the display port. |
Yes, the other hdmi port is from dp. |
As I thought, the other problem is on the other hdmi port, even writing the patch doesn't work, do you think at least one port can be made to work? |
Let's merge this |
I've tried dropping the |
Yes, I added it when bumping to v6.12. Now it is not necessary for 6.13. |
Wait, there is still error after deleting the patch: https://paste.next.armbian.com/rolezisafa |
Interesting, this is exactly what I was trying to reproduce. Somehow it doesn't happen for me. Thanks for the full debug logs, I will try to investigate this further -- same subject was mentioned in the sunxi 6.12 PR. |
Hmm. This rabbit hole is very deep, notice the error message on @amazingfate 's logs:
Somehow Kbuild/Makefile is looking for the build host's kernel BTF sysfs image ( On my host (where I have a fully CO-RE BTF enabled kernel - standard Ubuntu one), I believe this is a bug upstream, but since 90% of distros are shipping BTF enabled (host) kernels these days, most people won't notice. We've already a few In this case, seems to me either @The-going's "pass a VMLINUX_BTF var to make clean", or simply creating a fake "../../vmlinux" could work-around the issue; that way we don't need to spread the sched_ext disablement patch across too many families. What do you think? Thanks again for helping me find this. |
Even deeper hole; seems upstream is aware of the issue, and have removed the sched_ext clean from the top-level Makefile to address it (torvalds/linux@eb4a3b6) -- except we're calling the |
I wonder if it is necessary to run make clean under
I think we can fix this make clean issue in another pr since all familes with 6.12 later kernel is related. |
I think so, otherwise we'd be shipping binaries built for the host into the headers package, which might be for a different architecture. The whole headers package is meant to be source-only and built in postinst.
Absolutely, yes. I say just merge the way it is! Thanks. |
Description
Borrowed work from #7560.
Patches are applied and kernel build fine.
Tested with rk3588 rock5b.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.
./compile.sh kernel BOARD=rock-3a BRANCH=edge DEB_COMPRESS=xz KERNEL_CONFIGURE=no KERNEL_GIT=shallow
Checklist:
Please delete options that are not relevant.