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
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
<zdykstra>
You might be able to fake it with the sysroot option, but I doubt it. Dracut is not exactly stellar software.
iivanov has joined #aarch64-laptops
<Dylanger>
Can you recommend another solution for initramfs generation?
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
<zdykstra>
I assume you otherwise don't have it booting?
<zdykstra>
I'd say boot an aarch64 VM under qemu and build it there, then copy it out
iivanov has quit [Ping timeout: 480 seconds]
shoragan has quit [Quit: quit]
shoragan has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
<steev>
yeah, you'd pretty much need to do a chroot/sysroot, and it would have to match your hdk. i don't quite follow though, usually that step is done after installing the kernel
<Dylanger>
Yeah I have a little root shell initramfs going now
<Dylanger>
I'll try generate one
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
<Dylanger>
krzk: Did you see if there are any sources for abl behind that login wall?
<Dylanger>
Would be nice to swap out the AVB Pubkey and lock the bootloader
Ablu has quit [Read error: Connection reset by peer]
<Dylanger>
I'm not quite sure why, but the UFS LUNs must be setup weirdly, userdata and super partitions are separate to other firmware, xbl is also in its separate LUN
<steev>
maybe you're finally on a 5Ghz network not 2.4?
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
<enyalios>
weird, ive always been on 5ghz, but the performance had never been much more than 50 or 100mbit/s
<enyalios>
now im getting 250 - 300mbit/s
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
<steev>
what kernel were you on previously?
<steev>
and, any usb devices that you were using that you aren't anymore?
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
svarbanov_ has joined #aarch64-laptops
svarbanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
iivanov has quit [Quit: Leaving...]
<Jasper[m]>
neobrain: how is your grub config set up with regards to device trees? I currently have to point to it by hand since the firmware doesn't pick it up
<neobrain>
Jasper[m]: that's the dtb stuff, right? I think I just copied that from one location to another... was one of the first things I did, and I didn't keep notes back then :(
<neobrain>
Mind you there's a guide on the wiki if you haven't seen it yet: https://en.opensuse.org/HCL:ThinkpadX13s . That one says "Copy the /boot/dtb/qcom/sc8280xp-lenovo-thinkpad-x13s.dtb from the linux fs (/boot/dtb/qcom, partition 3) to the root dir of EFI system partition (partition 1). ", irritatingly under the JeOS section but it was required for my TW setup too
<Jasper[m]>
neobrain: Guess I'll make a symlink then
<Jasper[m]>
Assuming that worjs
<neobrain>
I haven't tried, but that may be smarter than a copy :D
<Jasper[m]>
I tried it, let's see if it does anything
<Jasper[m]>
neobrain: I tried symlinking the /boot/dtb/sc8280xp-lenovo-thinkpad-x13s.dtb file to /boot/sc8280xp-lenovo-thinkpad-x13s.dtb, that doesn't work
<Jasper[m]>
My assumption is that because I'm behind cryptomount, grub can't (of course) find it on /sc8280xp-lenovo-thinkpad-x13s.dtb
<Jasper[m]>
Because it mounted all the partitions already
<Jasper[m]>
YaST kinda needs a grub config tab
<Jasper[m]>
You can do kernel cmdline arguments based on the booted installer and change those, but not add a device tree
<Jasper[m]>
Or select a dtb-* package
Caterpillar has joined #aarch64-laptops
laine has quit [Ping timeout: 480 seconds]
<jhovold>
clover[m]: have you tried switching to pulseaudio?
<jhovold>
it seems the firefox youtube audio issue is due to something being broken in pipewire or firefox as everything works fine with pulseaudio
jhovold has quit [Quit: WeeChat 4.0.4]
jhovold has joined #aarch64-laptops
<enyalios>
steev: i was on 6.5.3 before, no usb devices then or now
xyaon has joined #aarch64-laptops
<xyaon>
hi! i can't seem to get the config right for steev's c630-linux-6.6.y and i had no luck with the config i had for 6.3.5. could i borrow a working config file from someone?
<dgilmore>
I booted today's Fedora Rawhide Workstation Live iso on the x13s. I added to the bootargs "arm64.nopauth clk_ignore_unused pd_ignore_unused modprobe.blacklist=qcom_q6v5_pas"
<Jasper[m]>
dgilmore: 👀
<Jasper[m]>
Anything in particular that changed compared to earlier?
<dgilmore>
I did update the dtb on the ESP to the 6.6.6 one
<Jasper[m]>
dgilmore: Ah wait you still need to place the dtb manually then?
<dgilmore>
a patch was added to dracut to include qrtr in the initramfs
<dgilmore>
you could always tell grub to load the dtb
<Jasper[m]>
dgilmore: Well yes, but I'm saying that it wasn't on the esp before?
<Jasper[m]>
* Well yes, but I'm saying that it wasn't on the esp before
<dgilmore>
I had it on the ESP previously
<dgilmore>
it was a 6.5 one
<Jasper[m]>
Ah sure
<Jasper[m]>
Well I'll try to reproduce
<dgilmore>
if installed to nvme the blaclklist shouldn't be needed
<dgilmore>
I will update the wiki. Post install it will need some work to make everything work.
<dgilmore>
I wonder if it would be worth making a remix that is preconfigured
<Jasper[m]>
dgilmore: Yeah, I know. I'll probably end up chrooting into it post install to tell dracut to include some more modules
<Jasper[m]>
Did the same with SUSE
<Jasper[m]>
dgilmore: I wonder how a non-remix solution would look. I guess you can't set up the default dracut configuration to include all needed modules
<Jasper[m]>
Because that would mean other devices without the quirk may mess up, right?
<dgilmore>
I have not added any extra modules
<Jasper[m]>
dgilmore: Neither for FDE?
<dgilmore>
nope
<dgilmore>
just qrtr
<Jasper[m]>
huh, interesting, it doesn't work on many other distro's by default
<Jasper[m]>
dgilmore: I'll sift through at least the ones needed for the decryption prompt
<Jasper[m]>
Since the live image boots, the rest is probably fine (for now)
<dgilmore>
in fedora that is run in plymouth on the userland side
<dgilmore>
that the live image boots with only needing bootargs is a big step forward in my mind
<Jasper[m]>
dgilmore: Yes, but only the kernel drivers built in and the ones in the initramfs are there right?
<dgilmore>
yes
<Jasper[m]>
Then you will very likely need the modules in that commit message enabled in some form or another
<dgilmore>
may need some more dracut patches if things are missing
<Jasper[m]>
I'll try to figure it out while it's downloading
<Jasper[m]>
<dgilmore> "may need some more dracut..." <- nvme, phy_qcom_qmp_pcie, i2c_hid_of, i2c_geni, leds_qcom_lpg, pwm_bl, pmic_glink_altmode, gpio_sbu_mux, phy_qcom_qmp_combo, gpucc_sc8280xp, dispcc_sc8280xp, phy_qcom_edp, panel_edp and msm need to be included (they are all compiled as modules)
<Jasper[m]>
I left out qrtr (because it was already added) and pcie_qcom (because it was already built in)
<Jasper[m]>
I don't currently have a way to check out the default setup I think
<Jasper[m]>
There are also some extra iommu related boot options to get faster usb speeds and a powersaving feature you can enable for obvious reasons, but I think those don't get accepted probably
<steev>
the patches for the latter are already accepted upstream, i think
<steev>
checking to be sure
<steev>
yeah, the pcie power stuff *should* be in?
<Jasper[m]>
Might be why there are no remoteproc's
<Jasper[m]>
Panel also doesn't get recognized it seems
<dgilmore>
that is not it
<Jasper[m]>
No, kind of a sidenote
<Jasper[m]>
Or do you mean the compressed firmware?
<xyaon>
steev: unfortunately i get the same black screen with the backlight on after the first cople lines of logs as i did before :{ there could be an issue with my initramfs, but 6.3.5 works fine with the mkinitcpio config
<Jasper[m]>
Okay, lmk if you find anything then, brb.
<xyaon>
steev: i think i have most of these, but i'll give it a try
<xyaon>
steev: no luck :{ i'll try to get the bootlog tomorrow
<xyaon>
steev: anyways, thanks!
<dgilmore>
Jasper[m]: so install is done. I was able to decrypt the disk, without any extra modules, but the prompt was blind. I do have a couple of bugs to file
<Jasper[m]>
Interesting that the keyboard worked
<Jasper[m]>
that's what falls under i2c-hid technically
<Jasper[m]>
* under i2c-hid-of technically
<dgilmore>
bootargs from install are supposed to carry over
<Jasper[m]>
Weird then
<Jasper[m]>
Only difference I can think of is that I started the installation from the live environment
<Jasper[m]>
not directly from the first moment the window shows up
<dgilmore>
I see the same empty /sys/class/remoteproc
xyaon_ has joined #aarch64-laptops
xyaon_ has quit []
xyaon has quit [Ping timeout: 480 seconds]
<Jasper[m]>
<dgilmore> "I see the same empty /sys/class..." <- That's not good
<dgilmore>
I suspect it's probably a change in 6.7
<dgilmore>
For a test I'm going to install 6.6.6
<Jasper[m]>
<dgilmore> "For a test I'm going to install..." <- Did it work?
<dgilmore>
Syncing data back in place
<dgilmore>
Not yet tested
<Jasper[m]>
Okay, will see tomorrow I guess if you're going to continue for a bit
<Jasper[m]>
Otherwise many thanks for helping me get it to work! Good luck with further testing