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)
<Dylanger> Hey, hm, if it's not working you might need the kernel patches for the GDSC stuff
<Dylanger> Did you enable dev mode?
<amstan> ajhalaney: what do you mean by not recognize? did you get a loud beep or? what?
<amstan> was this while pressing ctrl+U or "boot from usb"? it should have been
<amstan> `cgpt show` should print all the usb partitions so you can check that everything's ok
<robclark> another matrix user not identified w/ NickServ?
<amstan> robclark: possibly? did you not see him talk? at 9am today?
<amstan> did we get back the +v stuff for identified?
<robclark> nope.. only you and Dylanger replying so I guess Dylanger is a matrix user too
<robclark> I was going to drop it a while back but then started seeing bot spam in other channels
<amstan> can we just prevent join if not identified instead, it's much easier to tell if this is happening
<amstan> the voice thing is really easy to miss
<amstan> more like shadowbanning
<Dylanger> Agree
<amstan> ajhalaney: go talk to @_oftc_NickServ:matrix.org
<robclark> I suppose we could.. would be nice if matrix at least showed some hint to other matrix users that other person wasn't visible to non-matrix folks
<amstan> robclark: i agree, there is a concept of voice in matrix too, so it could easily be mapped as well
<amstan> but given that there isn't such a map in the bridge, i suggest we workaround by just changing channel settings
<amstan> most other channels have the registered to join requirement
amstan_ has joined #aarch64-laptops
<Dylanger> <strongtz[m]> "yup" <- What does `pactl list` return?
amstan is now known as Guest415
amstan_ is now known as amstan
<Dylanger> I have a feeling you're hitting the same thing I am
<amstan> speaking test
<robclark> that worked
<amstan> wow, even over irssi the +M warning is super easy to miss
<amstan> alright everyone, sorry if you get kicked, until now you probably couldn't speak anyway, talk to NickServ to identify before rejoining
<amstan> weird, nobody got kicked, maybe next time they reconnect?
aguslr_ is now known as aguslr
<amstan> which isn't really a thing over matrix, sigh
amstan has quit []
<Dylanger> Lol, yeah I didn't see much change there
<Guest415> Dylanger: you're identified though
<Dylanger> Ah right
<Guest415> and it seems like it's working well: `17:18 -!- #aarch64-laptops Cannot join channel (Need to be identified and verified to join this channel, '/msg NickServ help' to learn how to register and verify.)`
<Guest415> robclark: fixed!
<robclark> \o/
<Dylanger> I think I've asked this before, but does anyone know why rmtfs is required on QC 7c platforms when no modem exists? From what I understand rmt is a daemon that allows the modem/qc sub-system to read/write NV, however if there's no modem it shouldn't need to exist, wouldn't NV for WNCSS sub-systems just be somewhere on rootfs?
<Dylanger> It seems rmts is simply 'kicking' WNCSS on
<Dylanger> I need to run strace and see what it's actually doing
<Guest415> Dylanger: good question, lol
<Guest415> from what i understand the 2 functionalities are super intertwined
<Guest415> (wifi and modem)
<Guest415> it wouldn't surprise me if the majority of the modem code needs to be running
<Dylanger> Hm, would be nice to echo 1 into a /proc file and just have WiFi come up/don't need rmtfs
<Guest415> bamse i think knows a lot about this
<Dylanger> The Duet 5 is non-modem, same SoC tho, then there's an Acer with the same SoC that has modem in it
<Dylanger> I wonder if the modem is just fuse'd OFF
<Dylanger> Would prob also be missing RF Front ends as well th
<Dylanger> s/th/tho/
Guest415 is now known as amstan
<amstan> yes to both
<Dylanger> I wonder where the WiFi MAC address is stored on the non-modem variants
<Dylanger> Perhaps the WiFi subsystem stays in an invalid state until it detects rmtfs is running on the AP
<Dylanger> Could just be a left over from the modem
<amstan> the mac address is in the vpd
<amstan> something in userspace is supposed to copy it over, forgot what
<amstan> run `vpd -l`, see "{wifi|bluetooth}_mac0=" entries
<amstan> mine has a hilarious wifi_mac0_is_fake entry too with a bug number created by dianders , but i don't think you have to worry about that
<Dylanger> Ah that's right
<Dylanger> vpd has all of that info
<Dylanger> iirc it has Google based identifiers too right?
<amstan> idk, probably
<amstan> stable device secret
<amstan> i think that's used for stuff like device attestation if you enroll it in a domain
<Dylanger> Huh, I thought that woulda been in the H1
<amstan> h1 might have some stuff too, but it's more volatile there i think, you can always clear it
<amstan> vpd is a very informal place that chromeos uses to store data, once you boot gnu/linux it's nothing more than just a text file
<amstan> so in the case of this mac address, you need something that parses the vpd and puts it in the right place for the kernel to use
<Dylanger> Yeah I'm running Debian currently, I think I may have wiped away vpd if it's stored in eMMC
<Dylanger> amstan: I'd assume Debian is using some default MAC
<amstan> it's not stored on emmc, it's part of the RO portion of firmware
<amstan> (though some vpd entries can be in RW)
<amstan> idk, install the vpd tool and check
<Dylanger> RO is just eMMC isn't it? With Write-Protect?
<amstan> no, firmware is stored on spi flash
<Dylanger> Ah my bad that's right
<Dylanger> Sorry it's been a while since I played with this
<Dylanger> You're right, I remember dumping the SPI Flash via the H1
<amstan> if you want to put your own firmware, really the only thing you need to worry about is saving your contents vpd (if you care)
<Dylanger> Yeah that's the first thing I backed up, interesting that's where Google popped keys, I know Google is pushing Secure Elements in Android, I wonder if we'll see the H1 be replaced by the Titan M2
<Dylanger> ^ And strongbox attestation keys pre-provisioned
<amstan> looks like depthcharge copies that stuff in the DT?
<Dylanger> heh
<amstan> so maybe do more searches based on that
<amstan> yeah, looks like lots of ath drivers do of_get_property(.."local-mac-address"..)
<Dylanger> Yeah that's right
<amstan> there you have it!
<amstan> if you want to change it, it's just a vpd call away
<amstan> then a reboot
<Dylanger> If you hexdump -C `/sys/firmware/devicetree/base/soc@0/wifi@18800000/local-mac-address`
<Dylanger> You get the MAC
<Dylanger> And according to `ip addr`, it matches
<Dylanger> Cool, so that's how that works 👍️
<amstan> Dylanger: there were so many meetings about this where everyone was confused
<amstan> i'm glad it's solved in a rather neat fashion
<Dylanger> I'm gonna try replace the vboot key in depthcharge with one I control
<Dylanger> Haha yeah 💯, so rmtfs is a weird one
<Dylanger> I feel like it's just there as a remnant of modem
<amstan> i wish i could help more (for the purpose of getting more distros working), those meetings about modem bringup were so specialized that I did not partake
<amstan> i remember at one point it was quite a shock that a tftp server daemon was needed to get any wifi working
<amstan> and for a while apparently it had to be a special tftp server from qcom, it couldn't just be any tftp server
<amstan> so.... in summary: black magic
<amstan> once it works stop touching it, here be dragons
<Dylanger> amstan: Oh gawd
<Dylanger> Really unhappy with Qualcomm, they're stifling innovation in the virt scene
<robclark> idk, we're doing some interesting this w/ virt on qcom.. https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/693 .. and really the qc chromebooks are the first snapdragon things that you *could* do virt on
<HdkR> Chromebooks beat ProX to virt? =O
<robclark> we launched with virt.. old news ;-)
<robclark> ie. crostini
<robclark> but with push to move android into vm, we are stepping it up a bit
<HdkR> Also, gpu passthrough with virgl. That sounds awesome
<robclark> :-)
<Dylanger> robclark: The 7c/compute platform is the only platform Qualcomm haven't fucked
<HdkR> What's the performance overhead on that like?
<robclark> yeah, I know the situation w/ hyp.img .. and unfortunate that they use the same scheme on win.. but for CrOS that was always a non-starter
<robclark> HdkR: mostly within a few percent of native.. there are a few things that are merely ~92% of native but there is room to improve
<Dylanger> <robclark> "idk, we're doing some interestin..." <- Oooo, I've managed to boot Fedora Silverblue with libvirt on this Duet 5, I noticed graphics perf was laggy, I'm guessing this fixes that?
<Dylanger> Google has gfxstream too
<HdkR> What I can glean from the MR message, buffer uploads have some overhead?
<robclark> there are some things that will require new host drm/msm uabi but I think we should come pretty close to native.. closer than virgl or gfxstream
<Dylanger> ❤️
<Dylanger> Exciting
<robclark> HdkR: the upload interface is mostly to reduce # of guest mappings.. but there is already upstream kvm patch to lift the restriction.. but still avoiding guest mappings for things that mesa only writes once and then uses many times is useful
<HdkR> Nice
<HdkR> This allows both Freedreno and turnip in the Linux VM guest then? :)
<robclark> in theory.. so far only implemented for gallium driver.. venus for vk so far doesn't appear to be that bad.. but could change once tu optimizes a couple things
<HdkR> I'm looking forward to testing this
<robclark> down side is it looks like qemu might take some work.. because it doesn't support some virtgpu things we need.. crosvm obv in better shape
<Dylanger> <robclark> "yeah, I know the situation w..." <- Given the news (Win 11 on Pixel 6/6 Pro) do you think Qualcomm will admit defeat and allow free EL2?
<robclark> I'm not entirely sure how that will play out.. qcom recently open src'd their hypervisor
<robclark> but that doesn't really fit w/ android's crosvm direction.. so idk what is going on there
<Dylanger> It's like Qualcomm is gaslighting everyone
<HdkR> I'd buy a flagship Chromebook just to play with crosvm msm integration
<Dylanger> robclark: Indeed it maybe open, but you'll never be able to compile it yourself and pop it on a qcom device that you own
<robclark> yeah, I suppose it is at least a bit interesting to look at and see how it works, but I'm not entirely sure the point
<robclark> fortunately I don't really have to care ;-)
<HdkR> I just got a Snapdragon 8 g1 device and I'm already frustrated with the android-isms
<robclark> same can be said about a lot of devices unfortunately ;-)
<HdkR> Running any sort of intensive graphical application under Termux? nah, not gonna happen.
<HdkR> Intensive like...Steam.
<HdkR> ...and zenity
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
martijnbraam has quit [Quit: Bridge terminating on SIGTERM]
amstan has quit [Quit: Bridge terminating on SIGTERM]
fevv8[m] has quit [Quit: Bridge terminating on SIGTERM]
Dylanger has quit [Quit: Bridge terminating on SIGTERM]
strongtz[m] has quit []
ajhalaney[m] has quit []
_alice has quit [Quit: Bridge terminating on SIGTERM]
kholk[m] has quit [Quit: Bridge terminating on SIGTERM]
MatrixTravelerbot[m] has quit [Max SendQ exceeded]
sporos11[m] has quit [Quit: Bridge terminating on SIGTERM]
qzed[m] has quit [Quit: Bridge terminating on SIGTERM]
cmeerw[m] has quit []
Jank[m] has quit [Quit: Bridge terminating on SIGTERM]
EmersonCardoso[m] has quit [Quit: Bridge terminating on SIGTERM]
Dylanger has joined #aarch64-laptops
<Dylanger> Does anyone know where the prod Google VB Cert is stored? I know it's in depthcharge somewhere
ajhalaney[m] has joined #aarch64-laptops
<ajhalaney[m]> Alright, re-verified my nick with matrix thanks for the tips was having trouble figuring out how to get a hold of NickServ via matrix. Back to my duet 5 question, I guess what I'm asking is how are people booting mainline? Cadmium? If so... I've tried generating an image and booting from developer mode (with dev_boot_usb == 1) but I keep getting "No valid image detected" when using that image via boot from external disk option in
<ajhalaney[m]> developer mode. The chromeos recovery image works, so I know that the USB hardware is at least working. But before I go down the Cadmium path more I just wanted to know if Dylanger was using Cadmium as well when successful on duet 5 or something else?
* ajhalaney[m] sees amstan's comment about running cgpt to checkout the boot disk and goes to try that
<javierm> ajhalaney[m]: have you seen https://github.com/eballetbo/chromebooks ?
<ajhalaney[m]> I have not, thank you!
<javierm> ajhalaney[m]: you are welcome. That's what I used to flash a USB disk and boot mainline kernel + distro on my hp x2 chromebook
<javierm> ajhalaney[m]: just sudo ./chromebook-setup.sh do_everything --architecture=arm64 --storage=/dev/sdb
<javierm> and then you can re-deploy the kernel with sudo ./chromebook-setup.sh deploy_kernel --architecture=arm64 --storage=/dev/sdb
<javierm> or just the modules with sudo ./chromebook-setup.sh deploy_modules --architecture=arm64 --storage=/dev/sdb
qzed has joined #aarch64-laptops
SallyAhaj has quit [Remote host closed the connection]
<Dylanger> Yeah I'm using Cadmium on my Duet 5
<Dylanger> It should boot for you
<Dylanger> Did you dd the resulting image directly on top of a USB?
<macc24> ajhalaney[m]: try these steps(copied directly from cadmium discord) https://bpa.st/4M5A
<macc24> for duet 5 disregard 2nd step - it's not supported before recent commit
<ajhalaney[m]> I think I've followed those steps properly from 972c155917e2a5246d65c2fd2f54eb0b95970f4e in Cadmium (flashed directly to the USB stick via ./build-all.sh /dev/sdc, didn't do the image + dd approach). I'm building with the chromebooks repo listed above right now. I'll come back to the Cadmium approach after I try that (and will head to the support channel for it to follow up). Thanks all!
<macc24> eh... did it break /again/
<macc24> ajhalaney[m]: what do you have in cadmium config file
<ajhalaney[m]> uh whatever is the default macc24 - if that was part of the instructions I definitely messed that up.
<ajhalaney[m]> yup
* ajhalaney[m] facepalmms
<macc24> ajhalaney[m]: switch ROOTFS to debian and it'll be fine, TARGET now is practically obsolete and will be dropped when i get around to it
<ajhalaney[m]> macc24: I'll do that and regenerate the image and let you know how it goes
hexdump0815 has quit [Server closed connection]
hexdump0815 has joined #aarch64-laptops
amstan has joined #aarch64-laptops
amstan has left #aarch64-laptops [#aarch64-laptops]
amstan has joined #aarch64-laptops