4MLinux 30.0 to be Released

Linux fans received a new version of a custom distributive
03 September 2019   1096

The release of 4MLinux 30.0, a minimalist custom distribution that is not an offshoot of other projects and uses a graphical environment based on JWM, is available. 4MLinux can be used not only as a Live environment for playing multimedia files and solving user problems, but also as a system for crash recovery and a platform for launching LAMP servers (Linux, Apache, MariaDB and PHP). The size of the iso-image is 840 MB (i686, x86_64).

In the new release, the basic distribution provides OpenGL support for games that does not require the installation of additional drivers. If necessary, an automatic shutdown of the Pulseaudio sound server is implemented (for example, for old classic games). The composition includes a FlMusic sound player, Sound Studio sound editor, fdkaac utility for using the Fraunhofer FDK AAC codec. Qt5 and GTK3 added support for WebP images.

Updated versions of packages, including the Linux kernel 4.19.63, LibreOffice, AbiWord 3.0.2, GIMP 2.10.12, Gnumeric 1.12.44, Firefox 68.0.2, Chromium 76.0.3809.100, Thunderbird 60.8.0, Audac ious 3.10.1, VLC, mpv 0.29.1, Mesa 19.0.5, Wine 4.14, Apache httpd 2.4.39, MariaDB 10.4.7, PHP 7.3.8, Perl 5.28.1, Python 3.7.3.

Google Works on Linux Kernel Support in Android

This goal has already been partially achieved - Xiaomi Poco F1 Android smartphone has firmware based on the usual unmodified Linux kernel
21 November 2019   86

At the last Linux Plumbers 2019 conference, Google talked about the development of an initiative to transfer to the main Linux kernel the changes developed in the kernel version for the Android platform. The ultimate goal is to enable Android to use one common core, instead of preparing separate assemblies for each device based on the Android-specific Android Common Kernel branch. This goal has already been partially achieved, and the Xiaomi Poco F1 Android smartphone with firmware based on the usual unmodified Linux kernel was demonstrated at the conference.

After the project is ready, suppliers will be asked to supply a core kernel based on the main Linux kernel. Components for hardware support will be supplied by suppliers only in the form of additional kernel modules, without imposing patches on the kernel. In modules, compatibility with the main core at the level of the kernel symbol namespace must be ensured. All changes affecting the main core will be promoted to upstream. To maintain compatibility with proprietary modules within the framework of LTS branches, it is proposed to maintain stable kernel API and ABI, which will allow to maintain compatibility of modules with updates for each common kernel branch.

Over the year, features such as the PSI (Pressure Stall Information) subsystem for analyzing information on the waiting time for various resources (CPU, memory, input / output), the BinderFS pseudo-file system for the interprocess communication mechanism were transferred to the main Linux kernel from the Android kernel Binder and energy-efficient task scheduler EAS (Energy Aware Scheduling). In the future, it is planned to transfer Android from a specific SchedTune scheduler to the new UtilClamp subsystem developed on ARM, based on cgroups2 and standard kernel mechanisms.

Recall that so far the kernel for the Android platform has gone through several stages of preparation:

On the basis of the main LTS kernels (3.18, 4.4, 4.9 and 4.14), the “Android Common Kernel” branch was created, into which Android-specific patches were transferred (previously the size of the changes reached several million lines, but recently the changes were reduced to several thousand lines of code )
Based on the Android Common Kernel, chip makers such as Qualcomm formed the SoC Kernel, which includes add-ons to support hardware.
Based on SoC Kernel, device manufacturers created Device Kernel, which includes changes related to support for additional equipment, screens, cameras, sound systems, etc.

In fact, for each device its own core was formed, which could not be used on other devices. Such a scheme significantly complicates the delivery of updates with the elimination of vulnerabilities and the transition to new kernel branches. For example, the latest Pixel 4 smartphone released in October comes with the Linux 4.14 kernel, released two years ago. In part, Google tried to simplify maintenance by promoting the Treble system, which allows manufacturers to create universal hardware support components that are not tied to specific Android versions and the used Linux kernel releases. Treble makes it possible to use ready-made updates from Google as a basis, integrating device-specific components into them.