robclark changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Chrome OS Trogdor Devices - Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630 - Lenovo ThinkPad X13s - and various other snapdragon laptops) - https://oftc.irclog.whitequark.org/aarch64-laptops
<altacus> I went to start up my x13s in debian today and for whatever reason, linux does not boot. After selecting a kernel, the system just reboots. Tried recopying the dtb, same reboot. I figured I must have done something wrong and so I reinstalled debian. Same, issue, system just reboots. Not sure what could be the issue.
<steev> secureboot enabled?
<steev> what are your kernel command line arguments?
<altacus> after the reinstall, it should just be quiet
<altacus> recovery mode doesn't boot either.
<altacus> let me check the secure boot
<steev> there should be more than just quiet
<steev> linux /boot/vmlinuz-6.5.1 root=UUID=<myuuid> ro pd_ignore_unused clk_ignore_unused net.ifnames=0 iommu.passthrough=0 iommu.strict=0 ipv6.disable=1 quiet splash
<steev> is what i have here
<steev> did you maybe install a debian kernel and its booting that?
<altacus> so I reformated my existing install and it still just reboots.
<altacus> Before, I tried all the different kernels that I installed (that at least booted) and they all just rebooted.
<altacus> It's really odd because the install usb, that I used to install before, successfully, now just creates a system that just reboots. I don't think there were any bios updates, etc.
<altacus> it's late where I am so I'm off to bed, but if anyone has any clue, please let me know... I will check the logs.
alfredo has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
jhovold has joined #aarch64-laptops
<jhovold> clover[m]: do you really have a different variant? what does the log say when it starts successfully?
<jhovold> it should never start unless your chip has an entry in board2.bin
alfredo has quit [Ping timeout: 480 seconds]
alfredo has joined #aarch64-laptops
<danielt> altacus: Were you using DtbLoader.efi to load the DTB? If so "just reboots" is a symptom of DtbLoader being accidentally removed from the boot chain by a grub update.
<jhovold> clover[m]: kalle forwarded your report to me:
<jhovold> short summary: you need to provide a lot more detail, and board-2.bin appears to have nothing to do with this
<pz[m]> Hey guys, do you know if there is a better patch for x13s Audio?
<pz[m]> I'm running Armbian for x13s, and had no sound. I applied the following patch - https://github.com/Srinivas-Kandagatla/alsa-ucm-conf
<pz[m]> Now I have audio, it's just a bit crispy and not uber loud.
alfredo1 has joined #aarch64-laptops
alfredo has quit [Ping timeout: 480 seconds]
alfredo1 has quit [Ping timeout: 480 seconds]
alfredo has joined #aarch64-laptops
<_[m]1> damn it, so I reinstalled (twice) following clover s instructions mixed with arch linux FDE instructions and twice I just boot into a black screen (as before !!) and this time /boot is outside the LUKS volume now
<_[m]1> i just put the cryptsetup UUID in grub cmd and put encrypt module in mkinitpcio
<_[m]1> Jasper what am I missing?
<_[m]1> I've read that last comment where clover thought it's some displaydriver missing but unsure
<_[m]1> > Do you think they are missing graphics module in the initrd? I think they are doing FDE
<_[m]1> I might make the list of commands into an addendum guide, the amount of times I've been doing this lol I feel ready 😉
<_[m]1> btw I forgot to close the luks volume first time, and it seemingly corrupted the install, couldn't arch-chroot into it afterwards ☚ī¸
<Jasper[m]> <_[m]1> "i just put the cryptsetup UUID..." <- You are yes
<Jasper[m]> check the wiki on @clover 's github
alfredo has quit [Ping timeout: 480 seconds]
<_[m]1> i am following those instructions, I meant - what am I missing to get luks volume pw on screen 😉
<Jasper[m]> _[m]1: Are you eholzbach om github?
<_[m]1> nin0-0
<Jasper[m]> Hm
<_[m]1> after dtb load, black screen
<_[m]1> I installed without luks, worked fine
<Jasper[m]> _[m]1: https://github.com/ironrobin/archiso-x13s/wiki/Feature-Support#full-disk-encryption did you add these modules to mkinitcpio?
<_[m]1> also after forgetting to close the luksvolume after install, I got some weird battery critical low boot bug
<_[m]1> Jasper[m]: waitwhaaaat there's an entry for this 😲
<_[m]1> here I am juggling 5 tabs to collect what I need lolol
<_[m]1> WHOA
<Jasper[m]> _[m]1: The problem is only generic in the sense that you need some panel and gpu driver enabled in initramfs
<_[m]1> that's probably exactly what I need thanks man 😲
<Jasper[m]> So specifically for the x13s it's those
<_[m]1> how the hell does anyone figure out which modules to put huh
<jhovold> _[m]1: i've tracked down all the dependencies and documented in johan_defconfig:
<jhovold> The display deps are mostly needed for people like you that need a prompt for encryption
<_[m]1> does it require your level of knowledge / experience? or I could've done this?
<_[m]1> I thought at least in debian, you can fallback to text-mode prompt?
<_[m]1> weird
<jhovold> it took me a while to figure out too...
<jhovold> there's a general problem in the kernel which ends up disabling the display regulators after 30s
<jhovold> at some point we'll have generic solution to that, so that booting with just the efi framebuffer works (for more than 30 s)
<_[m]1> dude thank you so much (and damn it so my FDE with /boot included would probably have worked too)
<_[m]1> now ok attack vectors are low
<_[m]1> s/low/small/
<_[m]1> s/low/small (I think)/
<_[m]1> jhovold: it's 30sec from power on?
<Jasper[m]> _[m]1: Nah, UEFI cannot unlock LUKS
<jhovold> _[m]1: from when the kernel starts, so after grub
<_[m]1> luks1 yes
<_[m]1> I converted my luks2 to luks1 for this etc etc
<_[m]1> jhovold: I get instant black screen though
<jhovold> _[m]1: yeah, that may happen if you provide some, but not all deps so that the display driver probes and discards the content of the screen
<Jasper[m]> @[(⊙_◎)] please let me know if you run into problems with the device crashing/rebooting after typing in the LUKS pass
<Jasper[m]> I've been running into problems with that
<Dylanger> Does anyone know if the kernel for the MediaTek mt8195 has been upstream'd now?
<Dylanger> Hasn't been updated for 5 months
<Dylanger> I assume because it's been upstream'd?
<Dylanger> I have an aarch64 Chromebook (Cherry)
<altacus> danielt: I think there's something off with my efi partition. I am seeing EFI stab: Booting Linux Kernel... EFI stab: Using DTB from configuration table EFI stab: Exiting boot services... and then reboot
<altacus> sorry I think there's something off with my boot partition.
<altacus> It's odd, I have a root, swap and home partition, but after reinstalling, I'm still seeing hold dtb files in the boot partition (via rescue from usb)
Caterpillar has quit [Ping timeout: 480 seconds]
<_[m]1> anybody been having this weird battery issue, it won't boot with the power cable plugged in, you remove, power on, get critically low battery error then if you quickly plug it boots
<_[m]1> @clover you didn't need to put btrfs in mkinitpcio.conf?
<_[m]1> * btrfs in modules in mkinitpcio.conf?
<clover[m]> no
<clover[m]> but i didn't do FDE
<_[m]1> for that you put encrypt
<_[m]1> sigh still black screen
<_[m]1> aaaah without power cable it works I think 😲
<_[m]1> whoawhoawhoa
<_[m]1> did I fck my battery by charging with different watts one?
<_[m]1> very odd
<_[m]1> > ERROR: Failed to mount /dev/mapper/crypt on real reoot
<_[m]1> * > unknown filesystem type efivarfs
<_[m]1> > ERROR: Failed to mount /dev/mapper/crypt on real reoot
<_[m]1> * > unknown filesystem type efivarfs
<_[m]1> > ERROR: Failed to mount /dev/mapper/crypt on real root
<_[m]1> it's doing legacy boot ??
<_[m]1> lol you can't even enable that in bios
<_[m]1> on reboot now it says just that i can't find my luks volume in /dev/mapper hmm
<_[m]1> will check later for typos in my uuid but I was pretty vigilant
<_[m]1> wtf it's just trying to do fsck - I didn't enable that though mm
<_[m]1> ah right that was in initramsfs fallback
<_[m]1> jhovold so still where did you find these modules? similar soc instructions or so?
Lucanis has quit [Ping timeout: 480 seconds]
Lucanis has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
iivanov1 has joined #aarch64-laptops
iivanov1 has left #aarch64-laptops [#aarch64-laptops]
<jhovold> _[m]1: basically from analysing the devicetree and corresponding drivers
<jhovold> having worked full-time on adding support for the machine also helps
<jhovold> the qcom display implementation is still a bit of maze
<clover[m]> jhovold: should I try that patch Jeff mentioned?
<jhovold> clover[m]: no, no need to as it has no effect on this platform
jhovold has quit [Quit: WeeChat 3.8]
mjeanson has quit [Remote host closed the connection]
mjeanson has joined #aarch64-laptops
<_[m]1> <jhovold> "the qcom display implementation..." <- undocumented I guess?
<_[m]1> oh my I gave the UUID of the luks volume and not the partition #oops
<_[m]1> thanks so much to everyone working on this, I'm super happy!! btw I'm running arch hahaha
hexdump01 has quit []
hexdump0815 has joined #aarch64-laptops
<hexdump0815> Dylanger: leezu seems to have v6.5 mainline running more or less on his mt8192 asurada spherion - so might be worth a try
<_[m]1> am getting Cannot open display now on cinnamon-session mm
<clover[m]> Oh I always was curious about cinnamon, but I don't think it supports Wayland so I never tried it
<_[m]1> I thought I took cinnamon last time around, but now I start doubting hmpf maybe I went plasma
<_[m]1> yep nope it's not the DE
<clover[m]> More fde shenanagins?
<_[m]1> unsure really, it just boots to tty
<_[m]1> installed plasma now, same shit, crashes on sddm start 🤷
<_[m]1> * start 🤷 and nothign in the logs đŸ˜ĸ
<_[m]1> haaa what a joke, I reinstalled endeavouros and took SWAY and bim wayland plasma works WHAT
<_[m]1> at least the gui login screen lol now mouse and black screen, funfun
<_[m]1> ah yeah maybe now running into jaspers bug, rebooting after you decrypt root luks volume
<_[m]1> 2 times reboot lol
<_[m]1> oh btw I was lying I used pbkdf luks2 instead of argon2, you can't convert luks2 to luks1 but inverse you can
<_[m]1> * you can (for /boot inside the luks container)
<_[m]1> * oh btw I was lying I used pbkdf2 luks2 instead of argon2, you can't convert luks2 to luks1 but inverse you can (for /boot inside the luks container)
xypron has quit [Remote host closed the connection]
<_[m]1> seems we'll be running gnome 🙂
<steev> aka the good stuff
<steev> odd that sway didn't run though... are you sure it wasn't running and you just had no config?
<Jasper[m]> <_[m]1> "2 times reboot lol" <- :|
<_[m]1> nah wasn't available in the dropdown, I'll investigate more later
<steev> i dunno what the dropdown is, but that makes me think X was installed and wayland wasn't?
<_[m]1> <Jasper[m]> ":|" <- I even had a loop when I ran fallback initramfs whoa scary, also ctrl alt f2 wasn't working aaaah but when I added windows key it did? super key weird
<_[m]1> steev: I installeled wayland session before I even retried endeavouros reinstall with sway
<_[m]1> à lot of funky stuff I don't understand hmm
bluerise_ has joined #aarch64-laptops
bluerise has quit [Ping timeout: 480 seconds]