Article 5PXNR Android to take an “upstream first” development model for the Linux kernel

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

by
Ron Amadeo
from Ars Technica - All content on (#5PXNR)
  • 31-980x674.jpg

    How Linux gets to a phone: the Linux LTS kernel gets forked by Google for the Android Common Kernel, then that gets forked by an SoC vendor for each chip, then that gets forked again by a device manufacturer. [credit: Google ]

The Linux Plumbers Conference is this week, and since Android is one of the biggest distributors of the Linux kernel in the world, Google software engineer Todd Kjos stopped by for a progress report from the Android team. Android 12-which will be out any day now-promises to bring Android closer than ever to mainline Linux by shipping Google's "Generic Kernel Image" (GKI) to end-users.

Traditionally, the Linux kernel is forked several times before it hits an Android phone, usually by each stakeholder in an Android device. First, Google forks the Linux kernel into "Android common"-the Linux kernel plus a bunch of phone- and Android-specific changes. Then SoC vendors like Qualcomm, Samsung, or MediaTek fork Android Common to make an SoC-specific kernel for each major chip release. Then each device gets a fork of the SoC kernel for device-specific hardware support.

Android's kernel fragmentation is a huge mess, and you can imagine how long and difficult the road is for a bugfix at the top of the fork tree to reach to the bottom, where end-users live. The official Android.com documentation notes that "These modifications can be extensive, to the point that as much as 50% of the code running on a device is out-of-tree code (not from upstream Linux or from AOSP common kernels)." It's also a big time sink, and even Google phones typically ship kernels that start at two years old.

Read 6 remaining paragraphs | Comments

index?i=76doiQ6em5g:Ahohe98F7Xc:V_sGLiPB index?i=76doiQ6em5g:Ahohe98F7Xc:F7zBnMyn index?d=qj6IDK7rITs index?d=yIl2AUoC8zA
External Content
Source RSS or Atom Feed
Feed Location http://feeds.arstechnica.com/arstechnica/index
Feed Title Ars Technica - All content
Feed Link https://arstechnica.com/
Reply 0 comments