Kernel for Lenovo IdeaPad Duet Chromebook / kukui-krane

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Kernel for Lenovo IdeaPad Duet Chromebook / kukui-krane

Postby jomes » Wed Oct 02, 2024 4:43 pm

Hi,

I tried to install Arch on a Lenovo IdeaPad Duet Chromebook and have problems booting one of the provided kernels. I tried both the [code]oak[/code] (since it also is a MT8183 cpu) and the [code]aarch64-chromebook[/code] latest downloads from [url]https://archlinuxarm.org/about/downloads[/url]) and basically followed the instructions given in [url]https://archlinuxarm.org/platforms/armv8/mediatek/acer-chromebook-r13[/url]. However, when trying to boot the fresh system, I just end up with a black screen. Note that the chrome bootloader seems to be happy since it does not beep and returns with a message of corrupted kernel image (which I also had when trying to make things work), but the device just stays silent as if the kernel is accepted, but does not really work. The problem stays even after I update the pacman repository, install the latest version of linux-aarch64-chromebook and flash it to the kernel partition.

I'm wondering whether something with the dtbs is wrong, I noticed that there is a file [code]/boot/dtbs/mediatek/mt8183-kukui-krane-sku0.dtb[/code] which I guess should be the right for this device, but it seems to not be contained in the provided [code]vmlinux.kpart[/code] image? How can I link them together?

I'm also wondering since e.g. postmarketOS provides specific images for google-kukui devices [url]https://images.postmarketos.org/bpo/v24.06/google-kukui/[/url], maybe the general aarch64-chromebook is not the one that I should use for this device? Which would be the right one to get Arch on it?

Thanks for any help!
jomes
 
Posts: 3
Joined: Wed Oct 02, 2024 4:18 pm

Re: Kernel for Lenovo IdeaPad Duet Chromebook / kukui-krane

Postby jomes » Wed Oct 02, 2024 10:12 pm

I've tried a bit more now and think that arch's non-working kernel already contains many of these device tree overlays, possibly too many so that they become incompatible. I compared the included dtb with those of the google-krane kernel of postmarketos and found that elm/hana(oak), spherion/hayato(asurada), limozeen/lazor/pompom/kingoftown/pazquel(trogdor) and bob/dumo/kevin(gru) seem to be included in the aarch64-chromebook arch kernel, but not in the google-krane kernel of postmarketos. Since the pmos kernel boots on my system but the arch kernel does not, I suspect there is an incompatibility between these mentioned devices. I think these should be separated as different platforms? I also wonder if I can subsequently remove individual dtb components from the combined kernel file to confirm my suspicion.... but how?
jomes
 
Posts: 3
Joined: Wed Oct 02, 2024 4:18 pm

Re: Kernel for Lenovo IdeaPad Duet Chromebook / kukui-krane

Postby jomes » Thu Oct 03, 2024 12:44 pm

So I was able to combine the raw Image explicitly with only the kukui or even only krane dtbs using mkimage and sign it using vbutil_kernel, but both did not solve the problem. I don't really understand why the kernel from pmOS does work while arches does not, maybe different patches or config...
jomes
 
Posts: 3
Joined: Wed Oct 02, 2024 4:18 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 52 guests