ChanServ 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
nothorseface has joined #aarch64-laptops
nothorseface has quit []
nothorseface has joined #aarch64-laptops
tobhe_ has joined #aarch64-laptops
tobhe has quit [Ping timeout: 480 seconds]
nothorseface has quit [Read error: Connection reset by peer]
<steev> hmm, yeah, even with 6.12, the debian kernel doesn't show a camera for the x13s
hexdump0815 has quit [Remote host closed the connection]
hexdump0815 has joined #aarch64-laptops
laine has joined #aarch64-laptops
<dgilmore> steev: does is show with the libcamera tools?
<steev> nope
<steev> looks like maybe it's because of no udmabuf in the kernel?
<dgilmore> 6.12.6-200.fc41.aarch64 is what I am running
<dgilmore> grep -i udmabuf /boot/config-6.12.6-200.fc41.aarch64
<dgilmore> CONFIG_UDMABUF=y
<dgilmore> maybe
<dgilmore> mine is currently not actually working
<steev> i'm rebuilding the debian kernel with it enabled to test
<dgilmore> works okay after a reboot
<dgilmore> well okaish, quality is not great
<steev> that's due to the lack of ir sensor i think?
<steev> and yeah i've seen that cma alloc error before too
<steev> bryanodonoghue: ^^
<travmurav[m]> @_oftc_SpieringsAE:matrix.org: for u-boot I'd expect mainline u-boot to just use mainline dtb carried from linux
laine has quit [Ping timeout: 480 seconds]
<travmurav[m]> SpieringsAE: that is, mainline u-boot usually syncs up their dtbs with mainline linux, so ideally your board would have latest dtb installed via u-boot, and it would place it into the efi configuration table (same way dtbloader does) and also provide EFI_FIXUP_PROTOCOL (same way as dtbloader) for things like sd-boot. AFAIK on risc-v it's actually required sicne bootlaoder is supposed to update the dtb with some cpu specific things
<travmurav[m]> and so that protocol was made initially for risc-v purposes
<travmurav[m]> SpieringsAE: so ideally I'd expect one to not need dtbloader on u-boot platforms, though I believe there is some smbios support in u-boot that could make it possible
nothorseface has joined #aarch64-laptops
nothorseface has quit []
<travmurav[m]> I think you want this fixup to happen on your dtb
<travmurav[m]> (though I'm afraid I don't exactly know the risc-v bootflow)
<travmurav[m]> ah apparently the dt node is deprecated now and they use a dedicated efi protocol, so u-boot would expose that proeprly even if the dtb wasn't fixed up by it
<travmurav[m]> still I'd expect u-boot system to populate the dtb configuration table on it's own, with no dtbloader needed
<travmurav[m]> which is what, ideally, should happen on all systems that target linux/dtb boot
<travmurav[m]> of which commerical woa ones only x13s is I guess
nothorseface has joined #aarch64-laptops
alfredo has joined #aarch64-laptops
nothorseface has quit []
alfredo has quit [Ping timeout: 480 seconds]
alfredo has joined #aarch64-laptops
Mary has quit [Quit: .]
Mary has joined #aarch64-laptops
SpieringsAE has joined #aarch64-laptops
<SpieringsAE> travmurav: interesting, I am currently loading my own test dtb with grub, and it seems to just work, or will grub automatically call that EFI_FIXUP_PROTOCOL on the devicetree I load with it?
<SpieringsAE> but yeah, dtbloader seems redundant indeed
<SpieringsAE> Couldn't this cause an issue though, from my understanding uboot on riscv likes using FIT images with the dtb in it. But if the kernel updates something, uboot will still have an old dtb untill that updates too
Mary has quit [Quit: .]
Mary has joined #aarch64-laptops
SpieringsAE has quit [Remote host closed the connection]
SpieringsAE has joined #aarch64-laptops
<travmurav[m]> SpieringsAE: grub doesn't have efi_dt_fixup_protocol but sd-boot has, though apparently u-boot implements a different protocol now, that linux consumes directly, without grub/sdboot/etc involvement so I guess it works that way
pinskia has quit [Remote host closed the connection]
<travmurav[m]> SpieringsAE: dtbs should theoretically be both-ways-compatible but yeah with out-of-band dtb you want your u-boot to be up-to-date all the time indeed
<travmurav[m]> SpieringsAE: I guess worst case if you really need to override the dtb, there is a cmdline param in the efistub
Mary has quit [Quit: .]
Mary has joined #aarch64-laptops
<SpieringsAE> well grub seems to do fine at overriding the dtb when I use the devicetree parameter, already tested some dtb changes with it
Mary has quit [Quit: .]
Mary has joined #aarch64-laptops
<kettenis> SpieringsAE: it might not have reserved memory regions marked correctly in the dtb if you do it that way
<kettenis> but the EFI memory map should be correct so that probably isn't an issue
<travmurav[m]> linux strongly prefers uefi memory map to the dt one
<noisycoil[m]> steev: Kali became installable again on apple silicon
<travmurav[m]> all of our woa devices would've been crashing terribly if that wasn't the case considering there are random carveouts all over the place :P
<noisycoil[m]> steev: If you are interested you'll find an asahi branch at https://gitlab.com/NoisyCoil/kali-arm/
<noisycoil[m]> It currently uses my own deb repo for the kernel and mesa drivers (and u-boot, but this is not so important). The mesa drivers are exactly the same as https://salsa.debian.org/bananas-team/wip/mesa-asahi. The kernel is from the kali branch at https://gitlab.com/debian-asahi-nc/linux-asahi and it is the one at https://salsa.debian.org/bananas-team/wip/linux-asahi + the non-hardware-specific patches kali uses for 6.11
<noisycoil[m]> (The hardware-specific patches are of course useless on apple silicon so I just ignored them)
<noisycoil[m]> The branch in the kali-arm repo currently produces images good for booting from usb (to build an image compatible with the asahi installer one should split up the boot and root partitions in two separate image and produce suitable json metadata). To boot from usb you must still install the asahi bootloader
<noisycoil[m]> For the record, I'm not maintaining kali, I just push updates once in a while, but right it's quite up-to-date (except for the kernel which I'll upload later)
<noisycoil[m]> Ah and builds of the kali image were tested only on arm64 (specifically, from Debian testing running on apple silicon itself)
alfredo has quit [Ping timeout: 480 seconds]
alfredo has joined #aarch64-laptops
alfredo has quit [Quit: alfredo]
proycon has quit [Ping timeout: 480 seconds]
proycon has joined #aarch64-laptops
proycon has quit [Ping timeout: 480 seconds]
proycon has joined #aarch64-laptops
funderscore has quit [Read error: Connection reset by peer]
funderscore has joined #aarch64-laptops
alfredo has joined #aarch64-laptops
<HdkR> https://videocardz.com/newz/geekom-launches-first-core-ultra-9-285h-mini-pc-ryzen-ai-and-snapdragon-x-systems-also-revealed A bit more geekom snapdragon stuff. Looks like they don't expose the additional PCIe lanes. What a shame, also only X1E-80-100 instead of X1E-84-100
<SpieringsAE> it has intel wifi instead of the default qualcomm chipsets so far, so I guess actually m.2 module?
<SpieringsAE> very interesting display/usb layout as well
<kettenis> intel 2.5G Ethernet as well
<kettenis> so that must be using a PCIe lane
<JensGlathe[m]> This sounds like dev kit with working hdmi / dp ports
<HdkR> And a lower clocked SoC
<JensGlathe[m]> Oh right. compile time on dev kit 28m vs HP X14 40m
alfredo1 has joined #aarch64-laptops
alfredo has quit [Ping timeout: 480 seconds]
alfredo1 is now known as alfredo
alfredo1 has joined #aarch64-laptops
<JensGlathe[m]> but thesewill be sorta nice anyway and have their uses
alfredo has quit [Ping timeout: 480 seconds]
alfredo1 is now known as alfredo
alfredo1 has joined #aarch64-laptops
alfredo has quit [Ping timeout: 480 seconds]
alfredo1 has quit [Ping timeout: 480 seconds]
SpieringsAE has quit [Ping timeout: 480 seconds]
<steev> noisycoil[m]: oh nice :) asahi is only m1 to m3 right now?
<noisycoil[m]> No m3 :-( m1 and m2
<noisycoil[m]> (About half an hour ago I pushed linux-asahi 6.12.8-2-1kali1 to my deb repo, which is linux 6.12.8 + asahi patchset 2 + bananas patchset 1 + kali patches)
<steev> dgilmore: hm, no it's not udmabuf either, i wonder what the heck it is
<dgilmore> steev: :( I can paste fedora's config
<steev> oh
<steev> i wonder if we don't have the sensor
<steev> yeah, that's what it is :D
<steev> debian doesn't have VIDEO_OV5675
<clover[m]> I had to give my m1 pro laptop back to my old company. My desk felt cold so i decided to get a pi 5 to play with. Man the coil whine / fan on that thing is loud
<steev> just take the fan off, bonus of getting more heating :P
<travmurav[m]> big-hunk-of-aluminium passive coolers ftw
<dgilmore> steev: you will need that
<steev> indeed :)
<Jasper[m]> steev, m3 is left out because there's no M3 Mac Mini to easily debug
<steev> Jasper[m]: i only have acccess to an m1 anyway, but i know we have users who have m3/m4
<Jasper[m]> M4 will be in luck I guess, dunno what they'll do with M3
<Jasper[m]> leio aha! thanks for that
<Jasper[m]> I love spreading misinformation on the internet
kalebris_ has joined #aarch64-laptops
kalebris has quit [Ping timeout: 480 seconds]
<steev> heck yeah leio
<steev> but also, happy new year, hope things are well in gentoo land
<leio> heck yeah on what? :)
<leio> happy this year :)
<leio> I'm a bit out of touch, just helped sam a bit on gstreamer bumps
<noisycoil[m]> <Jasper[m]> "steev, m3 is left out because..." <- I don't think this is true, Marcan recently posted on mastodon about this argument
<noisycoil[m]> Ah yes, the one above
<Jasper[m]> Got corrected, thank you
<noisycoil[m]> Yep, sorry, hadn't seen it yet :-)
<steev> Heck yeah on the correction. It’s good for my knowledge too
<agl> steev: Do you patched Kernel 6.12.8 but haven't pushed it on your web site?
<agl> steev: The last kernel is 6.12.4 on your web-site at github.com.
alfredo has joined #aarch64-laptops
<steev> agl: correct, i haven't pushed yet
<anthony25> I looked closer to the wakeup due to USB on my lenovo slim 7x (x1e), I realized that there is one wakeup that if disabled, the laptop crashes and reboots directly
<anthony25> soc@0/a0f8800.usb/a000000.usb
<anthony25> same thing if I remove the 'wakeup-source' directive from the USB devices in the dts
<agl> steev: I wait so long until it is pushed ...
alfredo has quit [Remote host closed the connection]
hightower2 has joined #aarch64-laptops
<dgilmore> I created a new image for the t14s, with it as soon as I touch the keyboard or mouse I get the bluescreen and it reboots. I assume I am missing some firmware in the initrd thats causing something to not work right. as the same kernel works when booted from usb
<dgilmore> does anyone have an idea which?
<steev> bleh, also forgot camss apparently
<dgilmore> seems the t14s's panel is unkown
<steev> not uncommon
<dgilmore> still no clue why the keyboard and mouse kill the system
<steev> that is odd. they shouldn't require any firmware though
<steev> that should be i2c
<steev> or maybe usb if unlucky
<dgilmore> its i2c
<dgilmore> anytime I use them the screen goes blue and the system restarts
<steev> anything in the journal ?
<dgilmore> I am currently sshing in, an external usb keyboard is fine
<dgilmore> nothing in the journal
<dgilmore> alright got something
<dgilmore> I ran journalctl -fl then touched the touchpad and got that
<dgilmore> I had been blacklisting qcom_q6v5_pas as I could not boot from usb without doing so