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

Merged
merged 350 commits into from
Nov 24, 2024
Merged

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

Joshua-Riek 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`
itlhd and others added 12 commits November 13, 2024 11:30
…#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?

@AaronDewes
Copy link
Contributor

Just checked again: It was related to undervoltage 😅

Using a different power supply fixed it, apparently mine was faulty.

@amazingfate
Copy link
Collaborator Author

Tested with:

  • armsom sige1(rk3528)
  • armsom sige3(rk3568)
  • armsom cm5-io(rk3576)
  • armsom sige7(rk3588)
  • rock5b(rk3588)

@amazingfate amazingfate merged commit 31f9143 into armbian:rk-6.1-rkr4.1 Nov 24, 2024
1 check passed
@HeyMeco
Copy link
Contributor

HeyMeco commented Nov 24, 2024

Gonna test on these later

  • Rock5B+
  • Rock5B (doesn’t hurt testing twice)

Both confirmed working with rkr4.1

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.