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

Update Rk 6.1 to rkr4.1 #289

Open
wants to merge 347 commits into
base: rk-6.1-rkr4.1
Choose a base branch
from

Conversation

amazingfate
Copy link
Collaborator

@amazingfate amazingfate commented Nov 13, 2024

Dropped commits:

commit drop reason
672dacb This commit is reverted by following 1b4ed98
1b4ed98
8dd683a This commit is reverted by following 5bfb5b9
5bfb5b9
443f54c I have merged this commit inside amazingfate@04b4eb0
81d767d Rockchip has bumped MALI DDK to g24p0, mali firmware is inside kernel, so no need to deal with different version of mali firmwares, and panfork works. lets see if it will break panfork
672dacb This commit is reverted by following 1b4ed98
1b4ed98
16a7adc Already in rkr4.1

rpardini and others added 30 commits November 13, 2024 11:28
- taken from https://github.com/hardkernel/linux/tree/odroidm1-4.19.y sha1 89b88ec44cb98ec17b8460cc3c0127fcb1f7b159
- added the infamous delete chosen
- moved stuff HK did to common rk3568-linux.dtsi to their own dtsi
- change `RK_GPIO0` -> `0`
amazingfate and others added 21 commits November 13, 2024 11:30
* Add Radxa Rock5b+ DTS file
* Add Rock5B+ to Makefile
* Change HDMI PHY clocks in Rock5B+
As per armbian@168ce8b
…#285)

* add overlay:armsom-w3-camera-ov13850-csi

* fix : armsom-w3 screen and camera loading method

* add armsom-w3 overlay/Makefile

* fix: add armsom-w3 overlay/makefile

---------

Co-authored-by: [email protected] <yidiantongxin>
This is required for drivers/gpu/drm/rockchip/rockchip_drm_logo.c to compile properly as a module.

Without this patch, build including rockchip-drm fail for me with

ERROR: modpost: "memblock_free" undefined!

cherry-picked from https://android.googlesource.com/kernel/common/+/cd5f5cb9fe677466551e44039b31198e7b0dc812%5E%21/
…g features

Follow sdk commit:
"dt-bindings: display: drm_mipi_dsi: Add _NO_ to MIPI_DSI_* flags disabling features"
@amazingfate
Copy link
Collaborator Author

Tested jammy with panfork driver, although DDK is bumped to g25p0, panfork can still use mali firmware from g15p0.

@ginkage
Copy link
Collaborator

ginkage commented Nov 13, 2024

On that note, do keep in mind that there's a new flag MALI_CSF_INCLUDE_FW (default "yes"), so that g15 firmware may not actually have been used, as the relevant firmware g25 is now embedded into kernel by default.

@amazingfate
Copy link
Collaborator Author

On that note, do keep in mind that there's a new flag MALI_CSF_INCLUDE_FW (default "yes"), so that g15 firmware may not actually have been used, as the relevant firmware g25 is now embedded into kernel by default.

That is far better than the old way!

@HeyMeco
Copy link
Contributor

HeyMeco commented Nov 14, 2024

although DDK is bumped to g25p0

@JeffyCN can you update the libmali mirror with the g25p0 userspace driver?

@ginkage
Copy link
Collaborator

ginkage commented Nov 14, 2024

AFAIK there is no g25 userspace driver available...
There is g24 though, and that indeed would be nice to have released.

@JeffyCN
Copy link
Contributor

JeffyCN commented Nov 15, 2024

although DDK is bumped to g25p0

@JeffyCN can you update the libmali mirror with the g25p0 userspace driver?

updated to the newest version :)

@AaronDewes
Copy link
Contributor

I've been experiencing a kernel panic on boot on an Radxa CM5 with this branch. I'm using a custom kernel config though, as well as a custom carrier board. The custom config fully worked on 6.1-rkr3.

I'll check if I can reproduce the issue with the official carrier board soon, just wanted to let you know that there could be an issue with this branch.

@ginkage
Copy link
Collaborator

ginkage commented Nov 16, 2024

FWIW, this kernel boots perfectly fine on my CM5 with the Radxa I/O board.

@amazingfate
Copy link
Collaborator Author

I've been experiencing a kernel panic on boot on an Radxa CM5 with this branch. I'm using a custom kernel config though, as well as a custom carrier board. The custom config fully worked on 6.1-rkr3.

I'll check if I can reproduce the issue with the official carrier board soon, just wanted to let you know that there could be an issue with this branch.

what kind if kernel panic, are there logs of it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.