TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Android to take an “upstream first” development model for the Linux kernel (2021)

44 pointsby bmaupinover 1 year ago

6 comments

wolrahover 1 year ago
Can anyone who has actual experience in Linux kernel development for ARM platforms offer a realistic defense of the status quo other than &quot;companies making the SoCs don&#x27;t care nor do the device OEMs that are their primary customers and it would cost more to do it right&quot;?<p>I&#x27;m not a low level hardware person, but being on the edges of the Android modding community for over a decade now and also spending a lot of time working on the various Pi-likes has left me incredibly frustrated with the state of hardware support.<p>In my mind it is absolutely inexcusable that vendors regularly ship hardware with only binary blob support for ancient kernels, years old versions of Android, etc. with no intent to ever change. To me that&#x27;s a sign of either pure incompetence or an active desire to do things wrongly. Am I wrong? Is there any reason I shouldn&#x27;t feel like everyone responsible for those choices should be named and shamed constantly? Basically is there any good excuse other than &quot;it&#x27;s cheaper this way&quot; and&#x2F;or defective logic about drivers being &quot;trade secrets&quot; of some form.
评论 #37615532 未加载
jauntywundrkindover 1 year ago
ChromeOS&#x2F;chromebook has been fairly successful at making this happen. Tons of MediaTek and Qualcomm drivers &amp; good support, if you have a chip slightly bigger than a phone chip.<p>Qualcomms slowly turning it around. Their Wi-Fi router situation was reaching a real breaking point, but we are multiple years of folks + them making good progress to getting into grace.<p>The benefit is also higher too, since ChromeOS has a more regular Linux-y environment, and I think even using Wayland now. Where-as on phone, it&#x27;s like, great, kernel drivers, but the entire upper stack is Android so what the driver needs to prioritize is different.<p>If you read in here, part of the dodge is that rather than a actually upstream, Google maintains their own custom Kernel Module Interface (KMI) in their Android specific &quot;Generic Kernel Image&quot; (GKI) that&#x27;s different from the actual kernel interface. So instead of vendors targeting upstream, now they&#x27;re authoring to a Google specific kernel interface - a kernel wrapper - that doesn&#x27;t exist anywhere else! Google&#x27;s &quot;Generic Kernel&quot; seems like a fork of upstream that now people develop against. Its hard for me to see this situation as an improvement; it feels like it will insure work doesn&#x27;t get upstreamed, since work isn&#x27;t against the kernel but Google&#x27;s kernel.<p>&quot;Google Kernel Image&quot; (or Android Kernel Image) might have been a better name than Generic Kernel Image.
lloekiover 1 year ago
Reading that again today in the context of &quot;Linux gives up on 6-year LTS kernels, says they’re too much work&quot;, Android could have been a prime helper of LTS kernel maintenance.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=37591050">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=37591050</a>
评论 #37614870 未加载
ibottyover 1 year ago
(2021)
Difwifover 1 year ago
Here&#x27;s the up to date documentation <a href="https:&#x2F;&#x2F;source.android.com&#x2F;docs&#x2F;core&#x2F;architecture&#x2F;kernel&#x2F;generic-kernel-image" rel="nofollow noreferrer">https:&#x2F;&#x2F;source.android.com&#x2F;docs&#x2F;core&#x2F;architecture&#x2F;kernel&#x2F;gen...</a>
synergy20over 1 year ago
two years passed, not sure if it&#x27;s doing upstream-first in real yet.
评论 #37614267 未加载