steev changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Various Snapdragon laptops) - WIP kernel: https://gitlab.com/Linaro/arm64-laptops/linux/-/commits/qcom-laptops - Chat archives: https://oftc.irclog.whitequark.org/aarch64-laptops
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
serdeliuk[m] has quit [Ping timeout: 480 seconds]
angeryboi[m] has quit [Ping timeout: 480 seconds]
penguin42[m] has quit [Ping timeout: 480 seconds]
LarsKarlslund[m] has quit [Ping timeout: 480 seconds]
bumble[m] has quit [Ping timeout: 480 seconds]
angeryboi[m] has joined #aarch64-laptops
fen_ has joined #aarch64-laptops
serdeliuk[m] has joined #aarch64-laptops
bumble[m] has joined #aarch64-laptops
LarsKarlslund[m] has joined #aarch64-laptops
penguin42[m] has joined #aarch64-laptops
fen has quit [Ping timeout: 480 seconds]
fen_ is now known as fen
d0pefish6 has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
d0pefish has quit [Ping timeout: 480 seconds]
d0pefish6 is now known as d0pefish
hexdump0815 has quit [Ping timeout: 480 seconds]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
sgerhold has quit [Read error: Connection reset by peer]
sgerhold has joined #aarch64-laptops
crabbedhaloablut has quit []
crabbedhaloablut has joined #aarch64-laptops
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
<travmurav[m]> uh
<clover[m]> not working?
<travmurav[m]> why do you decompile it instead of just using libfdt
<travmurav[m]> fdt_node_check_compatible(fdt, 0, <your_board_compatible>)
<travmurav[m]> and there are libfdt bindings for python
<travmurav[m]> also probably want to use mktemp but can probably iterate over filtered file list without copying anything to tmp at all given you can just parse them with libfdt
<clover[m]> that sounds like it would be much faster! i'll try that next
<travmurav[m]> yeah I'd expect you'd read at most few bytes from each file instead of parsing like what, 30+MiB over 100+ files, each spawning a separate process? :P
<travmurav[m]> I think even in uefi that worked quite fast without me using optimal data loading, when I was implementing (rejected) dtbdir in sd-boot
<travmurav[m]> and on linux I'd expect you'd on average read only 2 pages from disk per file with mmap being used
<clover[m]> yeah i was laughing how terribly slow it was. i think i'll attempt rewriting the whole thing in zig so i can learn more low level stuff. i think it can use c libraries
<travmurav[m]> fwiw I think pylibfdt generally worked fine, apart from occasional abi changes raining havoc xD
<clover[m]> will def try to get pylibfdt working first. all of the the node terminology kinda through me off, i couldn't figure out what stuff did, so i decided to go the dtc route
<clover[m]> s/through/threw/
<travmurav[m]> probably worth skimming then if you're not familiar with DT terminology: https://devicetree-specification.readthedocs.io/en/stable/index.html
<travmurav[m]> just skimming not reading the whole thing
<travmurav[m]> possibly just 2.1 and 2.2 even
<clover[m]> this looks like good reading thanks. i'll check this out tomorrow and come back with a faster thing lol
eluks has quit [Remote host closed the connection]
eluks has joined #aarch64-laptops
dc7800_ has quit []
dc7800 has joined #aarch64-laptops
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Ping timeout: 480 seconds]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
bandini has joined #aarch64-laptops
notHorseface has quit [Quit: https://ineedsomeacidtocalmmedown.space/]
notHorseface has joined #aarch64-laptops
d0pefish9 has joined #aarch64-laptops
dc7800_ has joined #aarch64-laptops
d0pefish has quit [Ping timeout: 480 seconds]
d0pefish9 is now known as d0pefish
dc7800_ has quit []
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
hexa- has quit [Quit: Disconnected]
hexa- has joined #aarch64-laptops
krei-se has quit [Quit: ZNC 1.9.1 - https://znc.in]
krei-se has joined #aarch64-laptops
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Remote host closed the connection]
SpieringsAE_sff has quit [Quit: SpieringsAE_sff]
krei-se- has joined #aarch64-laptops
krei-se has quit [Ping timeout: 480 seconds]
dc7800 has quit [Remote host closed the connection]
dc7800 has joined #aarch64-laptops
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
Rayyan has quit [Ping timeout: 480 seconds]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Remote host closed the connection]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Ping timeout: 480 seconds]
antoinelassagne2 has joined #aarch64-laptops
antoinelassagne has quit [Read error: Connection reset by peer]
antoinelassagne2 is now known as antoinelassagne
SpieringsAE_sff has joined #aarch64-laptops
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
sally has quit [Ping timeout: 480 seconds]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
enyalios has quit [Remote host closed the connection]
enyalios has joined #aarch64-laptops
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
anthony25 has quit [Quit: Quit]
anthony25 has joined #aarch64-laptops
d0pefish2 has joined #aarch64-laptops
d0pefish has quit [Ping timeout: 480 seconds]
d0pefish2 is now known as d0pefish
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
sally has joined #aarch64-laptops
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Remote host closed the connection]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
bandini has quit [Ping timeout: 480 seconds]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Remote host closed the connection]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
notHorseface has quit [Quit: https://ineedsomeacidtocalmmedown.space/]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
notHorseface has joined #aarch64-laptops
<Mis012[m]> I/O bound I guess
<clover[m]> it copies all qcom dtbs to /tmp first
<Mis012[m]> F
<clover[m]> i suppose there's no need to do that actually
<misyl> what is "poetry" clover[m]
<clover[m]> its a way to package your projects python dependancies https://python-poetry.org/
<clover[m]> e.g., i did `poetry add pylibfdt` and it added this block to my lock file: https://codeberg.org/ironrobin/dtbsync/src/branch/main/poetry.lock#L302
<clover[m]> then i can go to another computer and just run `poetry install` and it's ready to run
<clover[m]> err, the pypoject.toml file is probably easier to read, but same difference :)
dc7800_ has quit [Read error: Connection reset by peer]
dc7800 has joined #aarch64-laptops
dc7800_ has joined #aarch64-laptops
<agl> steev: Do you not generate your linux version for 7.1.x?
<agl> Or is ist not necessary?
<agl> it
dc7800 has quit [Ping timeout: 480 seconds]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Remote host closed the connection]
dc7800 has quit [Ping timeout: 480 seconds]
dc7800 has joined #aarch64-laptops
<agl> Can I use the kernel from kernel.org?
dc7800 has quit [Ping timeout: 480 seconds]
dc7800 has joined #aarch64-laptops
<SpieringsAE_sff> clover[m]: I think you should be able to drop the qcom specific part now pretty easily
<clover[m]> is it useful for non-qcom devices?
<SpieringsAE_sff> The only one in my house it is usefull on is my orangepi5+ (rockchip rk3588 based)
<SpieringsAE_sff> as I use an extended-boot partition on my vivobook. DTBs dont touch my efi partition
<SpieringsAE_sff> not sure if systemd-boot can still load them from the efi dir if it gets redirected at an extended boot partition
<SpieringsAE_sff> I am using my old windows EFI partition so I only dump my bootloader + config in there
<clover[m]> kk, let me fix the tmpdir stuff, and then i'll try adding other vendors
<SpieringsAE_sff> my orangepi runs open EDK2 firmware that has a feature to autoload DTBs and overlays from the EFI partition
<SpieringsAE_sff> can still override it with a bootloader, pretty nice implementation
<clover[m]> are you using linux-dtbs?
<SpieringsAE_sff> yeah
<clover[m]> gotcha
<SpieringsAE_sff> well, I pretty much always have a test kernel+dtb on there too but yeah
<clover[m]> this is pretty much made to work with it, but i could add arguments for different dtb paths i think
notHorseface has quit [Read error: Connection reset by peer]
notHorseface has joined #aarch64-laptops
dawkagaming_ has quit [Remote host closed the connection]
dawkagaming has joined #aarch64-laptops
<clover[m]> only ~6.5% faster without the tmp dir stuff removed
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
<Mis012[m]> SpieringsAE_sff: uh, why not u-boot with efi enabled
<Mis012[m]> edk2 is deep microsoftium
dawkagaming has quit [Remote host closed the connection]
dawkagaming has joined #aarch64-laptops
<clover[m]> SpieringsAE_sff: can you test main branch on your orangepi?
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
sre7 has quit [Read error: Connection reset by peer]
sre77 has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
dc7800 has joined #aarch64-laptops
akaWolf has quit [Remote host closed the connection]
akaWolf has joined #aarch64-laptops
yang2 has quit [Read error: Connection reset by peer]
yang2 has joined #aarch64-laptops
FANTOM has quit [Ping timeout: 480 seconds]
jelly has quit [Ping timeout: 480 seconds]
FANTOM has joined #aarch64-laptops
d0pefish7 has joined #aarch64-laptops
gerhardgeranie has quit [Read error: Connection reset by peer]
gerhardgeranie has joined #aarch64-laptops
d0pefish has quit [Ping timeout: 480 seconds]
d0pefish7 is now known as d0pefish
jelly has joined #aarch64-laptops
bandini has joined #aarch64-laptops
bandini has quit [Quit: WeeChat 4.9.4]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Remote host closed the connection]
<JensGlathe[m]> psydroid: New image resolute-desktop-arm64+x1e-20260804_extended_jg.iso is [uploading](https://drive.google.com/drive/folders/1sc_CpqOMTJNljfvRyLG-xdwB0yduje_O) and it has the mini x as boot option (couldn't test ofc)
<psydroid[m]> [@jglathe:matrix.org](https://matrix.to/#/@jglathe:matrix.org) thanks, I'll test it tomorrow or the day after, as I've just shut down the machine
<JensGlathe[m]> still uploading, its a few gigs
<psydroid[m]> yeah, I wasn't going to look into it today anymore anyway
<clover[m]> Jens Glathewhats the best way to get firmware from Windows from an ISO ? i know you had the script for the wdk2023 and qzed had a script for Surface Devices... is there something that works generically on all WoA laptops?
<JensGlathe[m]> Not my field of expertise... I chose tailored script, but these days (just got one device back from Lenovo, man... Bitlocker on, no user set, much fun) you would have a list of hurdles to work through.
<clover[m]> Hmm, cool
dc7800 has joined #aarch64-laptops
<penguin42[m]> cloverFor Asus it wasn't too bad to extract the firmware from the driver update packages they have on their support page
<JensGlathe[m]> Afaiu you can match the dtb, that would give you the target path and the firmware file names you’re looking for. Main issue from my pov is to mount the ntfs partition when its in that state… Ubuntu newest installer says „bitlocker detected please remove that before considering install“. That is quite an ask for geeks, btw. They just want to wipe Windows from the device (which adds to the bringup issues)
dc7800_ has quit [Ping timeout: 480 seconds]
<penguin42[m]> cloverJust had to trrow 7z at the downloaded file a few times and hunt around for the files that extract_firmware was looking for
<clover[m]> <JensGlathe[m]> "Afaiu you can match the dtb..." <- There should probably be a warning about that where you download the aarch64 iso so they dont wipe windows before extracting the firmware, heh. Maybe the program could put the firmwade on a USB drive so you can always have it or something.
<JensGlathe[m]> that would be a low tech but cool workaround
<clover[m]> Boot windows, run program to put fw on USB. Boot ISO with firmware USB on it. Eh not too bad
<JensGlathe[m]> no Bitlocker fuckery, and you can wipe ™️
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
<Mis012[m]> <JensGlathe[m]> "Afaiu you can match the dtb..." <- ideally not pay for that piece of shit OS in the first place, some OEM licenses are quite pricey
<JensGlathe[m]> Lets solve the mainline case first
dliviu has joined #aarch64-laptops
nashpa has quit [Ping timeout: 480 seconds]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Remote host closed the connection]
<penguin42[m]> Mis012While true, it's like trying to buy a car without passenger seat
<Mis012[m]> no, it's like trying to buy a car without spyware, and even that's not a perfect analogy because nuking windows is actually not that hard
<Mis012[m]> the hard part is not paying for it
<Mis012[m]> <penguin42[m]> "Mis012While true, it's like..." <- it's more like there being a child seat in the passenger seat and it costs a fuckton of money and you already have your own
<Mis012[m]> but they refuse to sell you the car without it
<HdkR> "Sorry, but my cat doesn't like car seats."
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
dc7800_ has quit [Read error: Connection reset by peer]
dc7800 has joined #aarch64-laptops
miklv has quit [Ping timeout: 480 seconds]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Ping timeout: 480 seconds]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
<longptr> It's possible to mount a bitlocker encrypted volume from Linux -- there are some relatively easy ways to do that (if its needed). Speaking from experience.
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
martiert has joined #aarch64-laptops
martiert_ has quit [Ping timeout: 480 seconds]