Page 1 of 1

Cant boot kernel after installing Gentoo on Qualcomm Elite X

Posted: Fri May 16, 2025 1:07 pm
by thatsmesaurav
Hello there

I am installing Gentoo on my newly purchased Lenovo yoga slim 7x which is a Qualcomm Elite X PC and has kernel support.
Minimal install CD dint boot so I used Ubuntu 25.04 for Arm64. Chrooted installed Gentoo. However when I try to boot Gentoo I cant boot the Kernel. I am using dist kernel, and everything else went fine.

This is what Grub says:

Code: Select all

 
EFI Stub: Decompressing Linux Kernel
EFI Stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI Stub: Measured initrd data into PCR 9 
EFI Stub: Generating enpty DTB
EFI Stub: Exiting boot services
I dont have any other logs not sure how to proceed/debug.

Any help would be appreciated.
Thanks !!

Posted: Fri May 16, 2025 1:46 pm
by Banana
Moved from Installing Gentoo to Gentoo on ARM.

Posted: Wed May 21, 2025 6:37 pm
by thatsmesaurav
Ok I was able to boot into Gentoo kernel.
Somehow kernel-dist does not work. I was able to login after compiling kernel and using generated DTB.

Grub doesnt find the DTBs on its own either. I am sure I am doing something wrong. But thats a future problem, I atleast can boot. Installing GUI now. Fingers crossed.

Posted: Thu May 22, 2025 5:38 am
by Banana
Minimal install CD
Since you did not provide which you did use, I hope you did use the arm64 one? Even so, arm laptops are new, so the possibility that something is still missing is quite high.

Posted: Thu May 22, 2025 2:08 pm
by DColt
thatsmesaurav wrote:Grub doesnt find the DTBs on its own either. I am sure I am doing something wrong. But thats a future problem, I atleast can boot. Installing GUI now. Fingers crossed.
Sadly that's the case, I've had to patch it manually for grub-mkconfig to find it on mine.
And and the kernel-dist does work, just puts the dtbs in etc if i recall correctly, not in boot.

Posted: Thu May 22, 2025 6:35 pm
by thatsmesaurav
Yup I used ARM 64 minimal boot image. But Ubuntu 25.04 has arm64 support. it booted without any issues and I could install from there.
Sadly that's the case, I've had to patch it manually for grub-mkconfig to find it on mine.
And and the kernel-dist does work, just puts the dtbs in etc if i recall correctly, not in boot.
Good to hear. I will figure grub out later. Also looks like Arm kernel is leaner and I could compile in 10 mins with -j10 or maybe its just a fast processor so not a big deal.

I installed KDE, would probably port over my sway set up someday but I am kinda liking KDE with tiling extension. I have a working system.

Working:
- Display
- GPU (Freedreno)
- Keyboard
- WIFI

Not Working:
- Sound
- Bluetooth ( sound on bluetooth works in Ubuntu)
- Battery indicator (Works on Ubuntu with firmware extract script)
- External Monitor
- camera