ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
<clover[m]> Wow. Erofs is just not reliable on the newer kernels anymore for my archiso. I don't really know what to do about it
<clover[m]> is dev loop0 not being mounted in time?
<clover[m]> do i need to add a bootdelay?
<steev> possibly? i've never used erofs before so i can't say
<steev> hm
steevdave[m] has joined #aarch64-laptops
<clover[m]> not bad!
<steev> ayy :D
<steev> jhovold: fwiw, i haven't kept up on all the usb gdsc bits, or the dpu stuff that dmitry is working on, but here's my next tree with bjorn's battery and dp driver, and other misc bits - https://github.com/steev/linux/tree/sc8280xp-next-20220825 - i took all the stuff that bjorn reverted in his sc8280xp branch and just... removed them along with the reverts, to make it look a bit cleaner
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
jelly has quit [Ping timeout: 480 seconds]
jelly has joined #aarch64-laptops
Lucy[m] has joined #aarch64-laptops
davidebeatrici[m] has joined #aarch64-laptops
frytaped[m] has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
cmeerw[m] has joined #aarch64-laptops
ajhalaney[m] has joined #aarch64-laptops
abc123bac2[m] has joined #aarch64-laptops
pierro78 has joined #aarch64-laptops
flowriser has joined #aarch64-laptops
Penguinpee_ is now known as Penguinpee
matthias_bgg has quit [Ping timeout: 480 seconds]
falk689 has quit [Remote host closed the connection]
falk689 has joined #aarch64-laptops
<rfs613> Looks like Lenovo finally has the x13s available with any combination of RAM/Disk/Screen etc.
<rfs613> including the 400nits screen option that I have been waiting for...
<clover[m]> congrats! welcome to the fold 😎
<clover[m]> that emoji is you at the park on a sunny day with an ARM Linux laptop
<rfs613> clover[m]: lol.. I didn't order it yet ;-)
<rfs613> anybody want a c630 that already has dual-boot configured?
matthias_bgg has joined #aarch64-laptops
systwi_ has quit [Ping timeout: 480 seconds]
<clover[m]> steev: its not reading any loop blocks period. tried squashfs and getting similar error
<clover[m]> i think its an issue with my initramfs or my kernel
<steev> or an issue with the usb device?
<clover[m]> maybe.... because when i switched usb it worked on and off and now it doesn't work on the second usb anymore
<clover[m]> I don't think so because if I get an older version (pre 6 rc) it works fine
<clover[m]> It could be a lot of things it's driving me nuts
abelvesa has quit [Ping timeout: 480 seconds]
abelvesa has joined #aarch64-laptops
<steev> check the config options?
<steev> ugh
<steev> oh nevermind, awesome
<steev> all kindsa goodies into next today, i think we're down 20 patches or so
<clover[m]> woot
jhovold has quit [Ping timeout: 480 seconds]
<clover[m]> steev: can we do KVM stuff in linux with x13s? i see it configured in the kernel
<steev> no
<clover[m]> but lscpu does not give me any Virtualization output
<clover[m]> ok
<steev> no qualcomm devices offer it, afaik, we'd likely need a driver that dips into TZ or something (how i believe windows does it), because we don't have... el2? access i think
<clover[m]> that would help me debug whats going on with my iso
<steev> i realize :) i want that access too, but doing some sort of kvm driver that dips into tz is *way* way *way* above my pay grade and skillset
<qzed> what steev says... afaik there's some signed blob "kernel extension" thing that essentially acts as a mini-hypervisor in el2 and needs to be loaded by the OS, or something like that
<qzed> unfortunately that's not documented anywhere
<jenneron[m]> what do I need for wifi? I have qrtr-ns, tqftpserv, rmtfs and pd-mapper started, remoteproc0 is up, but no wifi
<steev> jenneron[m]: what does your /lib/firmware/ath11k directory look like
<steev> actually make that /lib/firmware/ath11k/WCN6855/ directory
<jenneron[m]> steev QCA4019 QCA6174, etc
<steev> the etc is kinda important :P
<steev> specifically though, you should have a WCN6855 directory, and we need to know what is in there
<jenneron[m]> I see, no directory
<steev> that's the wifi firmware used, so that's definitely gonna be the reason why... you should be able to grab the linux-firmware git repo and put the WCN6855 directory there, however you will need to go into it and then do an ln -s hw2.0 hw2.1
<steev> keep in mind that wifi is still a hack
<jenneron[m]> > keep in mind that wifi is still a hack
<jenneron[m]> like what?
<jenneron[m]> do you mean using not board-specific board-2.bin?
<steev> that, yes, we basically hack the driver to report that we're a different wifi device, so things can be... wonky
<jenneron[m]> steev: my wifi in compatible is wcn3998
<steev> jenneron[m]: oh
<steev> right, sorry, i forgot you have sc8180x
<steev> yours is ath10k_snoc
<steev> so yes, wcn3998
<jenneron[m]> steev: wouldn't ath10k print error about loading firmware if it was the case?
<steev> it should yes, it looks like it's not even trying to load the firmware though, one moment
<qzed> any output from the services?
<qzed> (systemctl status or that journalctl call)
<steev> also check /sys/kernel/debug/devices_deferred
<steev> so for ath10k, it should be /lib/firmware/ath10k/WCN3990/hw1.0
<jenneron[m]> seems to be no output from services
<jenneron[m]> <steev> "also check /sys/kernel/debug/..." <- nothing
<jenneron[m]> I use same config that pierro78 used
<steev> no output at all?
<jenneron[m]> although my adsp is disabled, I hope pd-mapper is not confused because if this
<steev> oh, if adsp is disabled... that's likely gonna cause issues
<jenneron[m]> yes or I take logs from openrc incorrectly
<jenneron[m]> steev: I still can't bind it
<steev> because of the address conflicts?
<jenneron[m]> yes
<jenneron[m]> also, I don't have any workflow, I hoped to do all the code stuff on galaxy book s, but I need wifi to install and clone what I need
<jenneron[m]> I'm currently setting up everything on my USB storage with PC and this is hell, lol
<steev> usb wifi device?
<jenneron[m]> no, usb storage
<steev> have you looked through bamse' latest sc8180x stuff?
<steev> no i mean, can you use a usb wifi device
<jenneron[m]> still no
<jenneron[m]> I have only one otg cable
<steev> otg cable?
<steev> they don't use usbc?
<jenneron[m]> I mean USB-C to USB-A adapter
<jenneron[m]> I have only one of it
<jenneron[m]> actually I can try connecting a phone as a modem with USB-C to USB-C cable
<pierro78> jenneron : I just copied firmware file from lenovo to sc8180x as steev said ... I don't remember exactly the directory names but it s only a couple of days ... so easy too find ... and wifi is working good :)
<pierro78> firmware fileS
<jenneron[m]> if you mean .jsn files, I've already copied them
<pierro78> sorry yes that was what I meant so I was mistaken sorry again ...
<pierro78> I noticed also I don t have efi=novamap or sthg in my linux boot options as you recommended ...
<jenneron[m]> have you copied all of jsn files or specific ones?
<pierro78> all the .jsn files from lenovo/devicedir
<jenneron[m]> I did same
pierro78___ has joined #aarch64-laptops
<steev> Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.19.0-rc8-next-20220728 root=UUID=0ea3a861-cc8f-4356-a402-9a5e41e6b588 ro pd_ignore_unused clk_ignore_unused quiet splash (this is what i use on the flex5g)
<jenneron[m]> I use same cmdline to one pierro78 uses
<pierro78> yes I have sthg like that for my internal ssd boot entry ... for the external usb I put efi=novamap or sthg as jenneron said once
pierro78 has quit [Remote host closed the connection]
<robclark> steev: qc chromebooks do kvm.. it is only android and windows qc things that can't
<steev> ah
<steev> well, give me a chromebook with 32gb of ram, and a non chromebook keyboard :P
<maz> and EFI.
<jenneron[m]> pierro78: I have a dumb idea
<jenneron[m]> probably as dumb as me
<jenneron[m]> can you tar and upload your boot and root partitions with working wifi? :D
<jenneron[m]> note: I can't use aarch64-laptops installer, since I have only one USB storage and don't want to install on UFS
<pierro78___> I have everything on my root partition ... can you make that smaller ?
<jenneron[m]> you can compress it with xz
<robclark> maz: chain-load u-boot?
<maz> robclark: has anyone done that for the QC chromebooks?
<robclark> not that I know of
<maz> ah, you gave me hopes all of a sudden...
<robclark> or maybe u-boot's efiloader could be ported to depthcharge
<robclark> either way, I guess it is easier than soldering on 32gb of ram for steev :-P
<maz> probably! :D
<pierro78___> jenneron let met try to put the file on this ntfs ssd usb drive
pierro78___ has quit [Quit: Page closed]
<steev> https://gregdavill.com/posts/dell-xps13-ram-upgrade/ if its anything like that...... i definitely don't have the steady hands that younger me had
pierro78 has joined #aarch64-laptops
<robclark> probably worse
<pierro78> jenneron I ve mounted some fast usb stick in /mnt ... what is the tar cmd I should start ?
<pierro78> (start/use)
<pierro78> so not so big
<jenneron[m]> does this usb contain rootfs?
<pierro78> root is 11GB so not so big
<pierro78> no I just want to make tar file on USB
<pierro78> but what is command I should use ??
<pierro78> with /boot/efi and /
<pierro78> I have xz
<jenneron[m]> oh
<pierro78> ok I am going to tar all root directories except mnt
<jenneron[m]> you can also exclude /home
<pierro78> the efi is another partition
<jenneron[m]> meanwhile i've found a usb hub, for now I can work with a phone as usb modem, but using installer would still be tricky since no ACPI
<pierro78> will use : "tar -cvpzf /mnt/sdg2/backup.tar.gz --exclude=/mnt --exclude=/home --one-file-system / " ...
<pierro78> will use : "tar -cvpzf /mnt/sdg2/backup.tar.gz --exclude=/mnt --exclude=/home / "
<pierro78> I don t know if I should use --one-file-system ?
<pierro78> not I should use it ...
<pierro78> (I am using it)
<pierro78> done .. only 2GB ... I am going to upload that on my google drive
<pierro78> jenneron : 7 more minutes to upload
pierro78___ has joined #aarch64-laptops
pierro78____ has joined #aarch64-laptops
<pierro78____> jenneron : it didn t backup /boot/efi partition so here you go : https://drive.google.com/file/d/1sY8q-Y08xJCBcngbN9n-nYmiC6JesIwj/view?usp=sharing
<pierro78> I am going to bed now ... need to get up early tomorrow morning ...
pierro78 has quit [Remote host closed the connection]
<pierro78____> not sure how you are going to create the boot entries in grub as the fs ids are going to change I think ...
pierro78___ has quit [Quit: Page closed]
pierro78____ has quit [Quit: Page closed]
<clover[m]> Steev so x13s device tree was added for 6.0-rc1?
<steev> clover[m]: yes, but a lot of missing stuff
<clover[m]> but it should boot?
<steev> with JUST what's in 6.0-rc1 yes, it should boot
<steev> you won't have display though
<steev> bamse: since you've poked around it with the battery driver... do you happen to know why the thinkpad would blink the light around 14 times when you issue shutdown in windows? same thing doesn't happen in linux, and i don't think it truly matters, just something i've always noticed it do
<steev> also, there may be newer firmware, not sure, there was an update dated 8/24
flowriser has quit [Ping timeout: 480 seconds]
<bamse> steev: i think that was a sign of something being broken...
<clover[m]> I'm talking to manjaro arm devs right now to get X13s support
<bamse> steev: the blinking doesn't come from the battery handling firmware, it's driven by the EC and i don't know what the relationship inbetween the two are
<steev> ah