4 ms·
We would not even need the mainline kernel to decouple images from particular hardware. In postmarketOS we only have a hand full of device specific packages (id
by ollieparanoid 8y ago
We would not even need the mainline kernel to decouple images from particular hardware. In postmarketOS we only have a hand full of device specific packages (ideally only one per device), and one of them is the downstream kernel for non-mainlined devices. All other binary packages can be shared between all devices of the same CPU architecture (in Alpine terms usually "armhf" or "aarch64" for mobile phones and tablets). Just like Linux distributions do it.
The big benefit of the mainline kernel is, that it is the only way to get all the (security) fixes. Greg Kroah-Hartman (Linux kernel who maintains the stable releases) wrote in Februrary:
> As proof of this, I demoed at the Kernel Recipes talk referenced above how trivial it was to crash all of the latest flagship Android phones on the market with a tiny userspace program. The fix for this issue was released 6 months prior in the LTS kernel that the devices were based on, however none of the devices had upgraded or fixed their kernels for this problem. As of this writing (5 months later) only two devices have fixed their kernel and are now not vulnerable to that specific bug.
Source: http://kroah.com/log/blog/2018/02/05/linux-kernel-release-model/ http://kroah.com/log/blog/2018/02/05/linux-kernel-release-mo...
- ghthor 8y agoThis is the type of shit that gets me livid. It's crazy, how did we get here??? I don't think it's through malicious intent, but rather from digging in the dark so to speak and forceful proding for first to market or more simply, incompetent competitive market dynamics. The engineering teams that needed to make these devices didn't have a clear understanding of the kernels model, how it's all connected, where the edges are, how to make low cost additions. They got shoved forward to the edge, with someone shouting "deliver in 2 months or it's all over." So instead of learning how to make quality additions to the kenral, instead of building a more complete understanding, how the code was all connected, they just hacked some shit together to ship on time. For all the good benefits of a competitive market system, the externalities such as the fracturing software systems is fustrating.
- djsumdog 8y ago> how did we get here? Planned obsolescence.