-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
New legacy bootscript for rockchip-rk3588
so vendor/patched overlays work
#4734
Conversation
Hmm. You're renaming the overlays coming from vendor kernel tree? |
Yeah it's exactly easier than maintaining renaming patch. I thought changing the prefix from https://github.com/armbian/build/blob/master/config/sources/families/rockchip-rk3588.conf#L7 but i didn't do it because of it may be breaking change? If it's not, i can do it |
If both legacy vendors uses the same overlay naming, then moving inside legacy might be a best way? |
Doesn't old overlay prefix remain in armbianEnv.txt after we change it? It may be problem for someone who defreezed kernel updates and use some overlays. But i can change default prefix if you're still OK |
I think this is set at build time and doesn't change. But can be wrong.
Change it and use unchanged overlays as @rpardini suggested. |
It would be a "fixing change" ;-) (do it only for |
Some overlays don't start with valid prefix (eg. rock-5b-hdmi1-8k). should i rename them still? |
You mean some overlays don't work with any prefix? |
Yes, they don't start with |
Damn. Turns out managing 2x boards on a vendor kernel based on only 1 of them is hard. Who knew? 🤣 @efectn take a look at |
I think OPi overlays should be compatible with overlay prefix since we're adding them and there are no maintenance problem. Maybe we should add new if condition to boot-rockchip64-vendor.cmd that looks for overlays without prefix in |
We're free to twist that vendor bootscript any way. It's only used by odroidm1, which does not have any overlays right now (it's separate-kernel is now pure mainline, sans-overlays, just waiting for rockchip64 to be de-shitted enough to be moved over). |
Looks like i mentioned false bootscript. All rockchip64, rk3588 family boards use boot-rockchip64.cmd. Is it good idea to make changes there? I think this is the easiest and most right way. |
Nah, don't touch |
I saw some differences. For example vendor uses ramdisk_addr_r instead of load_addr var. Should i create new script? |
As you wish. The |
072517c
to
3f76c2e
Compare
@rpardini @igorpecovnik can you review latest commit? I added elif condition for non-prefixed overlays. For example we're now able to use |
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.
Seems isolated enough to only that vendor kernel, let's merge and see what happens...
rockchip-rk3588
rockchip-rk3588
so vendor/patched overlays work
Description
It wasn't possible to use overlays out-of-the-box because of they didn't have same prefix as Armbian's overlay prefix. Now they have valid names and it's possible to use them without extra effort.
How Has This Been Tested?
Checklist: