[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1034159: Kernel support for more ChromeOS devices



Control: severity -1 important

On 2023-04-10 15:52 +03:00, Alper Nebi Yasak wrote:
> Source: linux
> Version: 6.1.20-2
> Severity: wishlist

I had this as wishlist because I didn't have that much time to work on
it until the release. But hardware support is "severity: important".

> I've been going through ChromiumOS kernel configs [1] in hope that I
> could reach a reasonable list of things to enable for hardware support
> for more chromebooks. What I did is roughly:
> 
> - Prepend base.config, <arch>/common.config to <arch>/*.flavour.config
> - Run "make olddefconfig" then "make savedefconfig" for each flavour
> - Run "scripts/diffconfig" vs Debian's <arch>_none configs
> - Filter to only have new non-n values, and n->[ym] changes
> - Merge per-flavour changes into one file per arch
> - Filter out configs that I guess aren't hardware-related
> - Convert them into CONFIG=[ym] form, as many into =m as I could
> 
> I'm attaching what I got so far, but they are still huge (66/112/258
> configs for arm/x86/arm64). I didn't have time to drill down into how
> much of this is really useful or which devices need which configs. I'll
> try to file per-chromebook MRs as I figure things out.
> 
> Not sure what I can get done in time for bookworm (fearing that it's
> probably already too late). It would be nice if you could have a look
> and pick whatever ones make sense to include at this stage.
> 
> [1] ChromiumOS kernel configuration sources
> https://chromium.googlesource.com/chromiumos/third_party/kernel/+/refs/heads/chromeos-6.1/chromeos/config/chromeos/

I have a merge request on salsa for x86 Chromebooks that has been open
for a while [2]. Please have a look. If you feel it'd be less work to
just do the changes yourself better than my attempt at it, please go ahead.

As I just commented on that MR: Chromebook user groups are distributing
ad-hoc custom kernel builds just because these aren't enabled in Debian
proper. I'd also like to get these enabled in stable after this, so
people can stop doing FrankenDebians for essential hardware support like
audio drivers.

I'll also look into configs needed for ARM Chromebooks in more detail,
but that'll take more time because more things were already-enabled on
the x86 side compared to the ARM side.

[2] [x86] Various drivers for ChromeOS devices
https://salsa.debian.org/kernel-team/linux/-/merge_requests/768


Reply to: