#
#asahi-dev · 2025-03-29 17:30
mischa85aight i'm back on t6041 duties again. this time taking a closer look at what happens regarding the HCR_EL2 register. it crashes on the first call: hcr = HCR(self.u.mrs(HCR_EL2))
#asahi-dev · 2025-03-29 12:58
fl0_idjannau no I hadn't thanks. I was just going based on wiki info
#asahi-dev · 2025-03-29 12:57
fl0_idchaos_princess thx. I found that, but then wasn't sure of that was only for sending to apple and it required rebooting and it was late...
#asahi-dev · 2025-03-29 09:09
apalosI think you can enable it then (famous last words)
#asahi-dev · 2025-03-29 09:09
apalosgreat, thanks
#asahi-dev · 2025-03-29 09:00
jannauyes, it still boots. tested to be sure
#asahi-dev · 2025-03-29 08:54
apalosThere's still a messs with EFI runtime services, but I plan to fix this as well at some point and set the permissions for that as well
#asahi-dev · 2025-03-29 08:53
apalosexcellent thanks,
#asahi-dev · 2025-03-29 08:53
jannauI think it still boots not 100% sure I tested though
#asahi-dev · 2025-03-29 08:51
apalosWe've fixed a few but you never know...
#asahi-dev · 2025-03-29 08:51
apalosWhich now blows up since the strings are emitted in .rodata which is properly protected now
#asahi-dev · 2025-03-29 08:51
apalosUnfortunately, there are places in u-boot where people were doing const char *blah and the write it...
#asahi-dev · 2025-03-29 08:50
apalosDoes it still boot?
#asahi-dev · 2025-03-29 08:50
apalosjannau: ah nice thanks!
#asahi-dev · 2025-03-29 08:42
jannauapalos: I did that last week: https://gist.github.com/jannau/73388b7cc9599ab6fea8fdc8ce3278ad
#asahi-dev · 2025-03-29 08:37
apalosand CONFIG_CMD_MEMINFO_MAP if you want to dump the mapping in the u-boot command line with 'meminfo'
#asahi-dev · 2025-03-29 08:36
apalosso you will need to enable CONFIG_MMU_PGPROT
#asahi-dev · 2025-03-29 08:33
apalosThere are reasons we don't enable by default yet so you have to do a menuconfig to enable it
#asahi-dev · 2025-03-29 08:33
apaloshttps://lore.kernel.org/u-boot/20250301164922.397441-1-ilias.apalodimas@linaro.org/ is applied in u-boot -next can anyone spin this for m1n1?
#asahi-dev · 2025-03-29 08:33
apalosI had a chat with jannau in private, but I think it's better to ask here
#asahi-dev · 2025-03-29 08:31
svenwow, totally missed that work
#asahi-dev · 2025-03-29 08:05
jannaufl0_id: have you seen https://github.com/AsahiLinux/docs/issues/85 and https://github.com/bluez/bluez/issues/722
#asahi-dev · 2025-03-29 05:42
chadmedi'll leave it until we sort out the tdm stuff upstream
#asahi-dev · 2025-03-29 05:41
chadmedit just dumps out the last set of VISENSE samples processed so we could see what the codecs were doing
#asahi-dev · 2025-03-29 05:40
chadmedit's not in the hot path its purely a debug feature
#asahi-dev · 2025-03-29 05:39
chaos_princessUp to y'all, i am not brave enough to sign off on safety decisions :P
#asahi-dev · 2025-03-29 05:37
chadmedit was only there to debug issues with the kernel lock but like its clearly stable lmfao
#asahi-dev · 2025-03-29 05:37
chadmedchaos_princess: tbh we can probably get rid of blackbox at some point
#asahi-dev · 2025-03-29 05:19
nicolas17(note that DynamicUser implies ProtectSystem)
#asahi-dev · 2025-03-29 05:18
nicolas17if you want to avoid having to create a real user account... yeahhh that's annoying
#asahi-dev · 2025-03-29 05:18
chaos_princessthat too won't hurt, but dynamicuser also simplifies packaging
#asahi-dev · 2025-03-29 05:18
nicolas17if you want to restrict it further for security, you could use ProtectSystem= and friends
#asahi-dev · 2025-03-29 05:10
chaos_princesssomewhat annoying that we can't just dynamicuser it due to blackbox
#asahi-dev · 2025-03-29 05:01
chadmedi gave the gentoo user audio membership anyway for good measure
#asahi-dev · 2025-03-29 05:01
chadmedyeah
#asahi-dev · 2025-03-29 05:01
chadmedprobably still needs audio
#asahi-dev · 2025-03-29 05:01
nicolas17on my old debian system those devices are "crw-rw----+ 1 root audio", so if you're not in the audio group you can't even open() them
#asahi-dev · 2025-03-29 05:01
chadmedbut it does it through alsa-lib
#asahi-dev · 2025-03-29 05:00
chadmedyeah
#asahi-dev · 2025-03-29 05:00
nicolas17does it open a /dev/snd/pcm* device and do read/write/ioctl to it?
#asahi-dev · 2025-03-29 04:59
nicolas17idk how audio works at that level
#asahi-dev · 2025-03-29 04:59
chadmeddo you need audio to just open a pcm?
#asahi-dev · 2025-03-29 04:58
chadmednicolas17: tbh the only real permission it needs is CAP_SYS_NICE so idk if the audio group is even necessary
#asahi-dev · 2025-03-29 04:23
chaos_princessYou need to install the profile for it to work: https://developer.apple.com/services-account/download?path=/OS_X/OS_X_Logs/Bluetooth_macOS.mobileconfig
#asahi-dev · 2025-03-29 02:46
fl0_idmmh I thought I maybe had an old version, but it seems the packet logger binary stayed the same, still a 2022 version number
#asahi-dev · 2025-03-29 02:33
fl0_idyes
#asahi-dev · 2025-03-29 02:33
fl0_idnicolas17 well that's a next step. but it would be weird if it doesn't decode anything.
#asahi-dev · 2025-03-29 02:33
nicolas17that's in xcode additional tools package, right?
#asahi-dev · 2025-03-29 02:32
nicolas17fl0_id: I tried it once and it logged stuff, but it seemed like the bluetooth stack used vendor-defined commands for basic operations (like sending LE advertisements) which the GUI didn't know how to decode
#asahi-dev · 2025-03-29 02:31
fl0_idI was experimenting with the bluetooth packet logger on macos for testing resume etc - is there a secret to use that app or is it know that only some combinations of software/hardware firmware work? It just doesn't give any output. kinda like this https://developer.apple.com/forums/thread/761623

plus ›