Repository navigation
Bump generic-raw-uart to 1.33 and add kernel 6.14+ patches - #4643
Conversation
π WalkthroughWalkthroughThe pull request removes a termios2 userspace compatibility patch and replaces it with a new kernel 6.14+ compatibility patch that adds conditional compilation for GPIO API and socket interface changes. Build manifest and version files are updated to reference a new upstream source revision. Changes
Poem
Estimated code review effortπ― 2 (Simple) | β±οΈ ~15 minutes π₯ Pre-merge checks | β 3β Passed checks (3 passed)
βοΈ Tip: You can configure your own custom pre-merge checks in the settings. β¨ Finishing Touchesπ§ͺ Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
π§Ή Nitpick comments (1)
buildroot-external/package/generic_raw_uart/0002-kernel-6.14+.patch (1)
1-18: Split this mailbox into separate numbered patch files.This package patch embeds three git-format patches in one
0002-...patchfile. Buildroot's package-patch guidance expects numbered*.patchfiles applied in order and recommends one complete change per patch, so separate0002/0003/0004files would be easier to review, rebase, and track later. (buildroot.org)Also applies to: 198-205, 228-236
π€ Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@buildroot-external/package/generic_raw_uart/0002-kernel-6.14`+.patch around lines 1 - 18, The patch file 0002-kernel-6.14+.patch currently contains three git-format patches bundled together; split them into three separate, numbered patch files (e.g., 0002-add-kernel-6.17-compat-hb_rf_eth.patch, 0003-add-kernel-6.17-compat-hb_rf_usb.patch, 0004-add-kernel-6.17-compat-hb_rf_usb_2.patch), each containing exactly one of the embedded commits (preserve the original commit message, Subject:, and Signed-off-by:), and update the package's patch list (PATCHES/PATCH_ORDER field where the package applies patches) to remove the single combined file and reference the three new files in order so they apply sequentially; ensure the three target files (kernel/hb_rf_eth.c, kernel/hb_rf_usb.c, kernel/hb_rf_usb_2.c) are changed only in their respective single-patch files and that the new filenames and order reflect the intended application sequence.
π€ Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@buildroot-external/package/generic_raw_uart/0002-kernel-6.14`+.patch:
- Around line 1-18: The patch file 0002-kernel-6.14+.patch currently contains
three git-format patches bundled together; split them into three separate,
numbered patch files (e.g., 0002-add-kernel-6.17-compat-hb_rf_eth.patch,
0003-add-kernel-6.17-compat-hb_rf_usb.patch,
0004-add-kernel-6.17-compat-hb_rf_usb_2.patch), each containing exactly one of
the embedded commits (preserve the original commit message, Subject:, and
Signed-off-by:), and update the package's patch list (PATCHES/PATCH_ORDER field
where the package applies patches) to remove the single combined file and
reference the three new files in order so they apply sequentially; ensure the
three target files (kernel/hb_rf_eth.c, kernel/hb_rf_usb.c,
kernel/hb_rf_usb_2.c) are changed only in their respective single-patch files
and that the new filenames and order reflect the intended application sequence.
βΉοΈ Review info
βοΈ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 77fe6019-b87f-4c79-beb2-4e7583593380
π Files selected for processing (4)
buildroot-external/package/generic_raw_uart/0002-generic_raw_uart-termios2.patchbuildroot-external/package/generic_raw_uart/0002-kernel-6.14+.patchbuildroot-external/package/generic_raw_uart/generic_raw_uart.hashbuildroot-external/package/generic_raw_uart/generic_raw_uart.mk
π€ Files with no reviewable changes (1)
- buildroot-external/package/generic_raw_uart/0002-generic_raw_uart-termios2.patch
sairon
left a comment
There was a problem hiding this comment.
Looks good, thanks, Jens! π
This PR bumps the
generic-raw-uartpackage (required for OpenCCU compatibility) to version 1.33 and adds a patch on top of it to introduce kernel 6.14+ compatibility so that the generic-raw-uart kernel driver works with newer kernel versions. This refs alexreinert/piVCCU#575Summary by CodeRabbit
Bug Fixes
Chores