Hardware Setup For New Mainline Kernel Testing On Phone Using Gnu Linux

18 Feb 2023 - Linux Mobile

First of all, GNU/Linux running mainline kernel has 2 main parts: kernel and rootfs.

mainline kernel has /boot, /module, /firmware vendor etc.

Automated Phone Testing
Automated Phone Testing

rootfs has x11 components, wayland, shell and software etc. We can update and upgrade.

Every new kernel is compiled, the kernel developers have to reinstall the whole system, which waste time. Since rootfs and vendor firmware are infrequently changed and are less dependent on new kernels, the goal is to reuse rootfs and only change /boot in the boot partition and /module in the rootfs. Martijn Braam’s blog writes about setting up your own hardware and writing code to handle the new kernel change.

Automated Phone Testing

Tracking from part 1 to part 3 is the test of hardware functions, part 4 is an extension to change the new kernel by connecting to the postmarketOS server containing images for the device included in the community support, to run the kernel. It’d just built under APKBUILD on gitlab of postmarketos/pmaports.

This is also a way to change and test the new kernel on Nexus 7 2012 grouper rev. E1565 runs ubuntu MATE or ArchLinux, openSUSE, although the change is manual. Now it is possible to write code that describes how to do it automatically.

 

Recent Posts:

Because Android is a fork of GNU/Linux, that means only... more

When I created my personal blog from basic jekyll barebone,... more

U Boot On Tegra Soc

12 Feb 2023 - tegra

As mentioned in the previous post, Nexus 7 2012 grouper/tilapia... more

Fosdem 2023

05 Feb 2023 - linuxmobile

This event could view online at this link. They... more

I finished barebone static blog from Jekyll documents and... more

This is hard part about Tegra 3 T30L, which I... more

This post, I share my experiences from I/O and CPU... more

I wrote some lk2nd experiences at previous post. Xiaomi Redmi... more

How the system booting!? Let’s start, since Google created compatible... more

This is the first SoC on ARM. Nvidia made ULP... more

When I wanna push source code to git, I saw... more

When I was online, I saw some github.io website. I’ve... more

 
More articles