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
<steev> i do have those in my initrd, it would be nice if we don't have to include them in the initramfs though
pbsds has quit [Quit: The Lounge - https://thelounge.chat]
pbsds has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
adamcstephens has quit [Remote host closed the connection]
adamcstephens has joined #aarch64-laptops
jglathe_volterra has quit [Remote host closed the connection]
iivanov has quit [Remote host closed the connection]
jglathe_sdbox2 has quit [Remote host closed the connection]
jglathe_sdbox2 has joined #aarch64-laptops
jglathe_sdbox2 has quit [Remote host closed the connection]
<jglathe_x13s> sdbox2 has booted up on EL2 - no GUI, but a terminal, and ssh works
<travmurav[m]> jglathe_x13s: can you dump dmesg?
<jglathe_x13s> yep
<jglathe_x13s> it's 6.7.1 without the IOMMU hack, with it the box painfully dies in exception hell
<travmurav[m]> ugh looks like quite a bit of early logs are gone a bit sad
<jglathe_x13s> oh, sorry
<travmurav[m]> but hold on
<travmurav[m]> jglathe_x13s: have you used dtbhack?
<jglathe_x13s> this is from systemd, from the first line
<jglathe_x13s> yes I did, loaded the dtb with the IOMMU hack
<jglathe_x13s> had nothing else to load, so it was still there when I booted 6.7.1
<travmurav[m]> I mean, for the boot for ^^ dmesg logs, I suppose you didn't run dtbhack?
<jglathe_x13s> no
<travmurav[m]> right, I suggest you to do to kill the zap shader and likely get gpu working (or patch zap shader out from your dtb at a cost of making booting in el1 always fail)
<travmurav[m]> jglathe_x13s: could you describe a bit what happens when you boot with the third iommu enabled?
<jglathe_x13s> I got a vid, will upload. it boots, and shows log until it comes to IOMMU. Then it stops, says signal received twice, garbled screen (loss of sync), dark screen.
<jglathe_x13s> will do with dtbhack and 6.7.1. anyway, do I need to execute dtbhack at every boot? I guess so?
<travmurav[m]> jglathe_x13s: yes if you want it to load and modify the dtb for boot, and you need to make sure your bootloader (i.e. grub) doesn't override it again
<travmurav[m]> dtbhack loads the dtb into ram, makes updates to it and puts it into uefi config table (like what linux mode in x13s does)
<jglathe_x13s> ok. So, it shouldn't have the devicetree= statement in the grub menu entry then?
<travmurav[m]> jglathe_x13s: correct, you shouldn't have the devicetree statement
<travmurav[m]> fwiw if it's easier you can just remove the zap-shader node and remember it breaks normal booting
<jglathe_x13s> yeah no prob, have a separate branch for el2-hackery
<jglathe_x13s> this would omit the need for dtbhack then, for now
<jglathe_x13s> will try
jglathe_sdbox2 has joined #aarch64-laptops
<jglathe_sdbox2> Hello from sdbox2 (Volterra) running on EL2 and GUI
<jglathe_sdbox2> travmurav[m] this works nicely
<jglathe_sdbox2> [ 0.009546] CPU: All CPU(s) started at EL2
<jglathe_sdbox2> removed the zap shader section from the dts
<jglathe_sdbox2> what about that IOMMU, what do we want to achieve there
<travmurav[m]> jglathe_sdbox2: I assume iommu doesn't work for you right now?
<travmurav[m]> uh
<travmurav[m]> pcie
<travmurav[m]> or you can access the nvme ssd fine?
<jglathe_sdbox2> nope, only USB devices
<travmurav[m]> yeah and that iommu is for pcie
<jglathe_sdbox2> so I guess I'm lucky
<jglathe_sdbox2> okay
<jglathe_sdbox2> hmm I'll upload the vid
<travmurav[m]> so one would need to enable that iommu and properly link it to the pcie controllers to get nvme (and I guess modem/wifi?) to work
<jglathe_sdbox2> bluetooth says it's there, WiFi says its not
<travmurav[m]> BT is just uart (usb?) so no surprise it works
<jglathe_sdbox2> current boot dmesg (apparently complete): https://drive.google.com/file/d/16F81z_a8gqlMN1dtdTNNWLG72GatumtA/view?usp=sharing
jglathe_sdbox2 has quit [Remote host closed the connection]
hightower3 has joined #aarch64-laptops
hightower2 has quit [Remote host closed the connection]
jglathe_sdbox2 has joined #aarch64-laptops
craftyguy has quit [Remote host closed the connection]
craftyguy has joined #aarch64-laptops
craftyguy has quit [Remote host closed the connection]
craftyguy has joined #aarch64-laptops
ungeskriptet has quit [Quit: The Lounge - https://thelounge.chat]
ungeskriptet has joined #aarch64-laptops
ungeskriptet has quit []
ungeskriptet has joined #aarch64-laptops
ungeskriptet has quit []
ungeskriptet has joined #aarch64-laptops
ungeskriptet is now known as Guest1581
Guest1581 has quit [Read error: Connection reset by peer]
ungeskriptet has joined #aarch64-laptops
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #aarch64-laptops
<_[m]123> trixie has 6.6.13 now
iivanov has joined #aarch64-laptops
iivanov has quit [Quit: Leaving]
svarbanov_ has quit [Remote host closed the connection]
svarbanov has joined #aarch64-laptops
jglathe_sdbox2 has quit [Remote host closed the connection]
<steev> it do
jglathe_sdbox2 has joined #aarch64-laptops
<jglathe_sdbox2> first VM is running on sdbox2 with lxc, yay
todi has quit [Remote host closed the connection]
KREYREN_oftc has quit [Remote host closed the connection]
KREYREN_oftc has joined #aarch64-laptops
<Jasper[m]> I'm gonna have to actually install Linux when nvme works hahahah
todi has joined #aarch64-laptops
KREYREN_oftc has quit [Remote host closed the connection]
KREYREN_oftc has joined #aarch64-laptops
mjeanson has quit [Remote host closed the connection]
mjeanson has joined #aarch64-laptops
KREYREN_oftc has quit [Write error: connection closed]
KREYREN_oftc has joined #aarch64-laptops
<_[m]123> so sound is broken in steevs latest but ipv6 not working with johans 8 rc2 mm
<steev> wat
<steev> sound is not broken in my latest
jglathe_x13s has quit [Remote host closed the connection]
jglathe_x13s has joined #aarch64-laptops
<_[m]123> ````
<_[m]123> [ 16.429537] snd-sc8280xp sound: ASoC: Parent card not yet available, widget card binding deferred
<_[m]123> [ 16.435019] snd-sc8280xp sound: ASoC: Failed to add route ADC2_OUTPUT -> TX SWR_ADC1(*)
<steev> you aren't on latest, or you still have old asound.state
<_[m]123> oooh
<_[m]123> fml
<_[m]123> is it the state thing again?
<steev> maybe?
<steev> are you on 6.7.3?
<_[m]123> yeah
<_[m]123> and that was not it
<_[m]123> > # git branch
<_[m]123> * lenovo-x13s-linux-6.7.y
<_[m]123> s/>/```/
<_[m]123> ```
<_[m]123> # uname -r
<_[m]123> 6.7.3+
<steev> are you sure you're using the correct dtb?
<_[m]123> I haven't changed anything so I guess yes
<steev> and you have the correct alsa-ucm-conf git stuff?
<steev> show me `cat /sys/firmware/devicetree/base/sound/audio-routing`
<_[m]123> hmm something is off
<_[m]123> it was working before 🙂
<_[m]123> and it's working on different kernel builds
<steev> then either you're using the wrong dtb or the wrong alsa-ucm-conf
Lucanis has quit [Ping timeout: 480 seconds]
<_[m]123> the dtb does not change over time right?
<Jasper[m]> If something gets updated it does
Lucanis has joined #aarch64-laptops
<steev> yes they can and do
<_[m]123> but most dtbs are in the build right
<_[m]123> * in the kernel build right
<_[m]123> ah yeah that one is not in 6.7.3 somehow
<steev> correct
<steev> well, that one would be whatever debian's kernel is on the day its built
<steev> as a general rule of thumb, i like to use the dtb from each kernel, with them, just to be sure. if you have grub, you can add `devicetree /usr/lib/linux-image-X.X.X/qcom/sc8280xp-lenovo-thinkpad-x13s.dtb` in the boot entry (this of course, assumes that the rootfs isn't encrypted)
<steev> in an ideal world, yes, the dtbs wouldn't change in a breaking way.
malvi[m]1 has quit [Ping timeout: 480 seconds]
lun[m] has quit [Ping timeout: 480 seconds]
mothenjoyer69 has quit [Ping timeout: 480 seconds]
qzed has quit [Ping timeout: 480 seconds]
szclsya[m] has quit [Ping timeout: 480 seconds]
baspar[m] has quit [Ping timeout: 480 seconds]
LoganLeland[m] has quit [Ping timeout: 480 seconds]
patzek[m] has quit [Ping timeout: 480 seconds]
Stirl[m] has quit [Ping timeout: 480 seconds]
matthew[m]12 has quit [Ping timeout: 480 seconds]
Nei[m] has quit [Ping timeout: 480 seconds]
steevdave[m] has quit [Ping timeout: 480 seconds]
sally[m]123 has quit [Ping timeout: 480 seconds]
jenneron[m] has quit [Ping timeout: 480 seconds]
harvestz[m] has quit [Ping timeout: 480 seconds]
Prawn[m]1 has quit [Ping timeout: 480 seconds]
Las[m] has quit [Ping timeout: 480 seconds]
albsen[m] has quit [Ping timeout: 480 seconds]
NomadNaomie[m] has quit [Ping timeout: 480 seconds]
Dylanger[m] has quit [Ping timeout: 480 seconds]
LikeNeosMatrix[m] has quit [Ping timeout: 480 seconds]
clover[m] has quit [Ping timeout: 480 seconds]
mynery[m] has quit [Ping timeout: 480 seconds]
PterKoczka[m] has quit [Ping timeout: 480 seconds]
valida-69[m] has quit [Ping timeout: 480 seconds]
enick_50 has quit [Ping timeout: 480 seconds]
Leandro[m]1 has quit [Ping timeout: 480 seconds]
nekogirl[m] has quit [Ping timeout: 480 seconds]
freekurt[m] has quit [Ping timeout: 480 seconds]
Sobek[m] has quit [Ping timeout: 480 seconds]
sz3m3k[m] has quit [Ping timeout: 480 seconds]
AlexMarty[m] has quit [Ping timeout: 480 seconds]
wiizzard has quit [Ping timeout: 480 seconds]
EnigmaCurry[m] has quit [Ping timeout: 480 seconds]
konradybcio has quit [Ping timeout: 480 seconds]
dcavalca has quit [Ping timeout: 480 seconds]
travmurav[m] has quit [Ping timeout: 480 seconds]
owc[m] has quit [Ping timeout: 480 seconds]
Nao[m] has quit [Ping timeout: 480 seconds]
firlaev-hans-fiete[m] has quit [Ping timeout: 480 seconds]
Jasper[m] has quit [Ping timeout: 480 seconds]
danielt has quit [Ping timeout: 480 seconds]
_[m]123 has quit [Ping timeout: 480 seconds]
resuenehparg[m]1 has quit [Ping timeout: 480 seconds]
sporos11[m] has quit [Ping timeout: 480 seconds]
aigotchi[m] has quit [Ping timeout: 480 seconds]
pz[m] has quit [Ping timeout: 480 seconds]
averyfreeman[m] has quit [Ping timeout: 480 seconds]
emily[m]1 has quit [Ping timeout: 480 seconds]
Nick[m]12345 has quit [Ping timeout: 480 seconds]
Bioxvirizm-x13s[m] has quit [Ping timeout: 480 seconds]
harvests[m] has quit [Ping timeout: 480 seconds]
davidebeatrici[m] has quit [Ping timeout: 480 seconds]
DocGalaxyBlock[m] has quit [Ping timeout: 480 seconds]
Dantheman825[m] has quit [Ping timeout: 480 seconds]
enserzo[m] has quit [Ping timeout: 480 seconds]
EricCurtin[m] has quit [Ping timeout: 480 seconds]