Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Nov 7, 2025

Rewrite kernel configs

What this PR does

  • Regenerates and synchronizes Linux kernel config fragments across boards/families based on the prepared inventory.
  • Runs ./compile.sh rewrite-kernel-config for each scheduled (family, branch) and aggregates all changes into one PR.
  • No userspace changes; only Kconfig option updates (enable/disable/modules/values) aligned with the targeted kernel branches.

How it was produced

This PR is produced from this GHA script.

  1. Built a matrix: ./compile.sh inventory-boards (deduped, sanitized).
  2. Executed rewrite-kernel-config per matrix.
  3. Collected only changed files from each job as artifacts; aggregated and committed them here.

Review tips

  • Skim the table below for big deltas; open those configs to verify intent.
  • If a particular change is undesirable, comment on that file and we can exclude/adjust and re-run.

Files changed

File + - Δ
config/kernel/linux-arm64-sc8280xp.config 1 0 1
config/kernel/linux-bcm2711-current.config 1 0 1
config/kernel/linux-bcm2711-edge.config 1 0 1
config/kernel/linux-bcm2711-legacy.config 1 0 1
config/kernel/linux-filogic-current.config 1 0 1
config/kernel/linux-genio-collabora.config 1 0 1
config/kernel/linux-imx6-current.config 1 0 1
config/kernel/linux-imx6-edge.config 1 0 1
config/kernel/linux-k3-beagle-edge.config 1 0 1
config/kernel/linux-k3-current.config 14 6 8
config/kernel/linux-k3-edge.config 1 0 1
config/kernel/linux-meson-current.config 1 0 1
config/kernel/linux-meson-s4t7-legacy.config 1 0 1
config/kernel/linux-meson64-current.config 1 0 1
config/kernel/linux-meson64-edge.config 1 0 1
config/kernel/linux-mt7623-current.config 1 0 1
config/kernel/linux-mvebu-current.config 1 0 1
config/kernel/linux-mvebu-edge.config 1 0 1
config/kernel/linux-mvebu64-current.config 1 0 1
config/kernel/linux-mvebu64-edge.config 1 0 1
config/kernel/linux-odroidxu4-current.config 1 0 1
config/kernel/linux-odroidxu4-edge.config 1 0 1
config/kernel/linux-phytium-embedded-current.config 1 0 1
config/kernel/linux-phytium-embedded-legacy.config 1 0 1
config/kernel/linux-qcs6490-edge.config 1 0 1
config/kernel/linux-rk35xx-vendor.config 1 0 1
config/kernel/linux-rockchip-current.config 1 0 1
config/kernel/linux-rockchip-edge.config 1 0 1
config/kernel/linux-rockchip-rv1106-vendor.config 232 222 10
config/kernel/linux-rockchip-vendor.config 1 0 1
config/kernel/linux-rockchip64-current.config 1 0 1
config/kernel/linux-rockchip64-edge.config 1 0 1
config/kernel/linux-sm8250-current.config 1 0 1
config/kernel/linux-sm8250-edge.config 1 0 1
config/kernel/linux-sm8550-current.config 1 0 1
config/kernel/linux-sm8550-edge.config 1 0 1
config/kernel/linux-spacemit-current.config 1 0 1
config/kernel/linux-spacemit-edge.config 8 26 -18
config/kernel/linux-starfive2-vendor.config 1 0 1
config/kernel/linux-sun55iw3-syterkit-legacy.config 1 0 1
config/kernel/linux-sunxi-current.config 1 0 1
config/kernel/linux-sunxi-edge.config 1 0 1
config/kernel/linux-sunxi-legacy.config 1 0 1
config/kernel/linux-sunxi64-current.config 1 0 1
config/kernel/linux-sunxi64-edge.config 2 1 1
config/kernel/linux-sunxi64-legacy.config 1 0 1
config/kernel/linux-tqma-current.config 7 0 7
config/kernel/linux-uefi-arm64-cloud.config 8 1 7
config/kernel/linux-uefi-arm64-current.config 7 0 7
config/kernel/linux-uefi-arm64-edge.config 9 19 -10
config/kernel/linux-uefi-arm64-legacy.config 1 0 1
config/kernel/linux-uefi-loong64-current.config 3 0 3
config/kernel/linux-uefi-loong64-edge.config 3 8 -5
config/kernel/linux-uefi-riscv64-current.config 7 0 7
config/kernel/linux-uefi-riscv64-edge.config 7 7 0
config/kernel/linux-uefi-riscv64-legacy.config 1 0 1
config/kernel/linux-uefi-x86-cloud.config 8 1 7
config/kernel/linux-uefi-x86-current.config 7 1 6
config/kernel/linux-uefi-x86-edge.config 8 14 -6
config/kernel/linux-uefi-x86-legacy.config 1 0 1
config/kernel/linux-wsl2-arm64-current.config 1 0 1
config/kernel/linux-wsl2-arm64-edge.config 1 0 1
config/kernel/linux-wsl2-x86-current.config 1 0 1
config/kernel/linux-wsl2-x86-edge.config 1 0 1
config/kernel/linux-xpressreal-t3-6.6.config 1 0 1

Files: 65 • Lines: +380 / -306 (Δ 74)

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 7, 2025

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • Needs review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch update-kernel-configs

Comment @coderabbitai help to get the list of available commands and usage tips.

@igorpecovnik
Copy link
Member

@vidplace7 Please review change in rv1106 as there are many changes.

Copy link
Member

@rpardini rpardini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we re-run this after #8891 and #8892 are merged?

@igorpecovnik
Copy link
Member

Sure. I think you also have rights to do that.

Copy link
Member

@rpardini rpardini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks much better now.

the rv1106-vendor stuff seems drastic, probably because it was very outdated. If I understand, rv1106 is an armhf version using rk vendor kernel, and used for very RAM-limited boards. We might need to have a way to opt-out from (some?) for armbian-kernel.sh for those usecases.

I'd merge anyway, and rv1106 can individually revert and rework later if needed.

@github-actions github-actions bot added the Ready to merge Reviewed, tested and ready for merge label Nov 8, 2025
@github-actions
Copy link
Contributor Author

github-actions bot commented Nov 8, 2025

✅ This PR has been reviewed and approved — all set for merge!

@github-actions github-actions bot removed the Needs review Seeking for review label Nov 8, 2025
Copy link
Member

@vidplace7 vidplace7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vidplace7 Please review change in rv1106 as there are many changes.

Still compiles / boots fine. Memory usage appears to be the same.

The only concerning thing here to me is that all of the USB wifi driver modules have been removed? 😬 How can I get those to persist?
I want attempting to manually include all of the usb based chipsets as =m to give some flexibility to the user (since it did not seem to make a large difference in kernel memory usage)

@igorpecovnik
Copy link
Member

The only concerning thing here to me is that all of the USB wifi driver modules have been removed?

Weird indeed. I didn't find a quick solution, so I removed this kernel from automation. Testing atm.

@github-actions github-actions bot force-pushed the update-kernel-configs branch from 4116095 to 02acc11 Compare November 8, 2025 18:39
@igorpecovnik
Copy link
Member

I'd merge anyway, and rv1106 can individually revert and rework later if needed.

I rework the script that knows exceptions now. Closing this PR in favor of #8895

@igorpecovnik igorpecovnik deleted the update-kernel-configs branch November 8, 2025 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready to merge Reviewed, tested and ready for merge

Development

Successfully merging this pull request may close these issues.

4 participants