-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
ramips: add support for 6.6 kernel version #14774
Conversation
Building fails with message:
Rebasing to #14751 fixes it. |
Compilation goes smoothly but unfortunately the compiled system does not start and this requires a more detailed investigation.
It's probably a memcmp error when calling detect_memory_region which shouldn't be displayed. |
Reverting https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/include/linux/fortify-string.h?h=next-20240312&id=439a1bcac648fe9b59210cde8991fb2acf37bdab can workaround this issue. Not sure if GCC13 has some help. |
A mt7621 build , which is based on top of this PR, boots without problems all the way. If that is of any help narrowing down the cause.
|
@namiltd And oh yes, kernel 6.6 PR was merged yesterday in the master if you want to rebase to it. :) |
290fcf3
to
339a7b4
Compare
Please bring the PR in a state that allows to review it. Split the commits like its done on all other kernel update PRs. Thanks! :) |
Made a mt7621 build, with your changes rebased on top of main, enabling “Strip unnecessary exports from the kernel image” seems to cause a build failure. Not sure if this was introduced with 6.6 in general, or by one of the changes here. If you haven’t checked by the time I get home, I’ll attach a build log here. :) |
|
I guess you should try |
9794ed8
to
fe0ced8
Compare
08ffe78
to
7ad3779
Compare
@DragonBluep All done. I think it's ready to merge now. |
Is there a chance for approval before the kernel is updated to 6.6.24 (released today) and we have to adapt the patches again? Can you help @robimarko? |
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.
@DragonBluep Is there a chance for approval before the kernel is updated to 6.6.24 (released today) and we have to adapt the patches again?
LGTM. Reviewed-by: Shiji Yang <yangshiji66@outlook.com>
.
Thank you for your contribution. I am not a repo maintainer, so I cannot provide further help.
eec4cbc
to
bddffc8
Compare
target/linux/generic/pending-6.6/350-mips-kernel-fix-detect_memory_region-function.patch
Outdated
Show resolved
Hide resolved
Why is the CI failing? |
@PolynomialDivision Errors are not the result of this PR PR but other commits that have not been adapted to the current code version (bcm53xx and ipq40xx), Patches to them are being prepared (#15042 and #15063) |
This is an automatically generated commit. During a `git bisect` session, `git bisect --skip` is recommended. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html for the original discussion. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
This is an automatically generated commit. During a `git bisect` session, `git bisect --skip` is recommended. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html for the original discussion. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Remove patches for old kernel. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Refresh kernel patches. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Fix compatibility of ralink net drivers with kernel 6.6. It follows the kernel patch: u64_stats: Streamline the implementation (torvalds/linux@44b0c29) Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
This patch fixes the broken detect_memory_region() function on 6.6 kernel. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Fix error: 'struct snd_soc_dai_driver' has no member named 'remove' It follows the kernel patch: ASoC: soc-dai.h: remove unused call back functions (torvalds/linux@446b31e) Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Compatiblity with kernel 6.6 for Awinic AW9523B i2c pin controller driver. It follows the kernel patch: i2c: Drop legacy callback .probe_new() (torvalds/linux@5eb1e6e) and kernel patch: gpiolib: Get rid of not used of_node member (torvalds/linux@70d0fc4) Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Refresh kernel config. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Allow selecting 6.6 as testing kernel on ramips. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
bddffc8
to
b7a9007
Compare
Thanks. Merged to main! :) |
Initial support for 6.6 kernel version.
Build system: x86/64
Build-tested: ramips/mt7620/tplink_archer-c5-v4
Run-tested: ramips/mt7620/tplink_archer-c5-v4