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

armbian-kernel: drop DEBUG_KERNEL/DEBUG_INFO disables; force EXPERT=y and bring back CONFIG_GPIO_SYSFS=y for all kernels #6580

Conversation

rpardini
Copy link
Member

armbian-kernel: drop DEBUG_KERNEL/DEBUG_INFO disables; force EXPERT=y and bring back CONFIG_GPIO_SYSFS=y for all kernels

  • armbian-kernel: drop DEBUG_KERNEL/DEBUG_INFO disables; force EXPERT=y and bring back CONFIG_GPIO_SYSFS=y for all kernels
    • we had _DEBUG=n forced, which conflicted with _EXPERT=y;
      • some important SBC features (like _GPIO_SYSFS) depend on _EXPERT=y
    • we've plans to enable BTF/CO-RE kernels soon, so removing the non-debug enforcement makes some sense
      • also, .config's will be free to determine debug config, nothing's changing in those here
    • remove the _EMBEDDED special case handling, we can do that as well now
    • add a separate hook to renable CONFIG_GPIO_SYSFS=y; it was a victim of EXPERT=n in some kernels
    • this does not include rewrites of all the .configs -- those should be done in a separate batch -- either way effect is the same, hooks will always override .config's
      • during rewrites, a large number of new options will show up, since _EXPERT=y is used as dependency for many of Kernel's experimental-ish features

…ERT=y` and bring back `CONFIG_GPIO_SYSFS=y` for all kernels

- we had `_DEBUG=n` forced, which conflicted with `_EXPERT=y`;
  - some important SBC features (like _GPIO_SYSFS) depend on _EXPERT=y
- we've plans to enable BTF/CO-RE kernels soon, so removing the non-debug enforcement makes some sense
  - also, .config's will be free to determine debug config, nothing's changing in those here
- remove the `_EMBEDDED` special case handling, we can do that as well now
- add a separate hook to renable `CONFIG_GPIO_SYSFS=y`; it was a victim of `EXPERT=n` in some kernels
- this does not include rewrites of all the .configs -- those should be done in a separate batch -- either way effect is the same, hooks will always override .config's
  - during rewrites, a large number of new options will show up, since `_EXPERT=y` is used as dependency for many of Kernel's experimental-ish features
@github-actions github-actions bot added the size/small PR with less then 50 lines label May 11, 2024
@rpardini
Copy link
Member Author

Yes I know, I know... it's late in release cycle for this stuff. Not-disabling DEBUG info is different than enabling it, though -- here we really just need EXPERT=y, lest we lose important stuff like GPIO_SYSFS.

After release, I will propose DEBUG/BTF forced-enablement and a rewrite of all .config's to defconfig.

@rpardini rpardini marked this pull request as ready for review May 11, 2024 16:19
@rpardini rpardini requested a review from a team as a code owner May 11, 2024 16:19
@igorpecovnik igorpecovnik added Ready to merge Reviewed, tested and ready for merge 05 Milestone: Second quarter release labels May 11, 2024
@igorpecovnik igorpecovnik merged commit fb17a2a into armbian:main May 11, 2024
14 of 18 checks passed
@lanefu
Copy link
Member

lanefu commented May 11, 2024

thanks for wrangling a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
05 Milestone: Second quarter release Ready to merge Reviewed, tested and ready for merge size/small PR with less then 50 lines
Development

Successfully merging this pull request may close these issues.

None yet

3 participants