#
#asahi · 2022-10-13 13:31
WhyNotHugoI get the idea tho; the watchdog isn't what I had in mind.
#asahi · 2022-10-13 13:30
sveni wouldn't call that developer mode
#asahi · 2022-10-13 13:30
WhyNotHugosven: Oh, the watchdog is somewhat of a "developer mode" kind of thing.
#asahi · 2022-10-13 13:29
sven(from https://opensource.apple.com/source/bless/bless-204.81.1/test/test_bless2.auto.html)
#asahi · 2022-10-13 13:29
svenso I guess just set alt-boot-volume to the target
#asahi · 2022-10-13 13:29
sven"--setboot --bootonce sets nvram alt-boot-volume"
#asahi · 2022-10-13 13:24
sventrue
#asahi · 2022-10-13 13:22
jannauthe interesting bit is how the only next boot from volume x is implemented. we could then have a boot picker in u-boot/grub/sd-boot... as well
#asahi · 2022-10-13 13:17
svenyup, there's boot-volume and boot-info-payload
#asahi · 2022-10-13 13:17
svenisn't there even a boot-uuid or something like that in nvram? I bet all you have to do is change that to the correct value and then reboot
#asahi · 2022-10-13 13:16
svenit won't even show the boot selection, it'll just wait for another machine with Apple Configurator to restore it
#asahi · 2022-10-13 13:15
sventhat watchdog thing goes into a very low level recovery mode fwiw
#asahi · 2022-10-13 13:15
jannaudefine available. there is no code which does that on linux side. but that's very likely how the boot picker implements that it. note that slecting a statup disk reboots the machine
#asahi · 2022-10-13 13:12
WhyNotHugoSo picking the next startup disk is available via nvram?
#asahi · 2022-10-13 13:11
jannauwhy do you want to boot into recovery? to select macos in the boot picker? it should be possible to select the startup disk from linux via nvram
#asahi · 2022-10-13 13:02
WhyNotHugoCould uboot potentially implement that using that interface?
#asahi · 2022-10-13 13:02
WhyNotHugoI think it usually goes through a UEFI call?
#asahi · 2022-10-13 13:02
WhyNotHugobootctl and some other bootloaders have a "reboot into firmware" mechanism.
#asahi · 2022-10-13 12:36
svenhttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/watchdog/apple_wdt.c#n20 that's one way, not sure if there's something easier as well ;)
#asahi · 2022-10-13 12:33
WhyNotHugoIs it possible to tell an M1 device to "reboot into fireware recovery mode"?
#asahi · 2022-10-13 12:25
Tramtristnot sure how the bridge works either 🙃
#asahi · 2022-10-13 12:21
Tramtristhm
#asahi · 2022-10-13 12:11
Tramtristwho owns the asahi matrix room?
#asahi · 2022-10-13 12:11
Tramtristah so same as irc then
#asahi · 2022-10-13 12:08
Siilwyn[m]if you create a room you 'own' that room as admin and you can add moderators etc. yourself, if that's what you mean?
#asahi · 2022-10-13 11:53
TramtristMatrix is pretty open by design... if you have to moderate it I think you have to talk to the node owner? Not exactly sure either
#asahi · 2022-10-13 11:53
Tramtristirc4eva
#asahi · 2022-10-13 10:16
j`eyowayss[m]: good luck!
#asahi · 2022-10-13 10:15
owayss[m] * thank you so much, \[j`ey](https://matrix.to/#/@_oftc_j`ey:matrix.org) . i am going to compile with this config, but i can already it see the relevant config parameters properly included:... (full message at <https://matrix.org/_matrix/media/r0/download/matrix.org/ZBkBWawpmslDuAnxARqQVKaI>)
#asahi · 2022-10-13 10:15
owayss[m]> <@_oftc_j`ey:matrix.org> I guess it's a transitive dependcy, since it isnt in that Konfig directly... (full message at <https://matrix.org/_matrix/media/r0/download/matrix.org/kGIqJGqLfrRIoOOlAoMhxOwL>)
#asahi · 2022-10-13 10:15
owayss[m]<j`ey> "I guess it's a transitive..." <- thank you so much, j`ey . i am going to compile with this config, but i can already it see the relevant config parameters properly included:... (full message at <https://matrix.org/_matrix/media/r0/download/matrix.org/fUBizZerFEYVnSDdMEgcRNWc>)
#asahi · 2022-10-13 09:59
j`eyI guess it's a transitive dependcy, since it isnt in that Konfig directly
#asahi · 2022-10-13 09:58
j`eyowayss[m]: i looked in menuconfig and saw: DEPENDS on FTRACE
#asahi · 2022-10-13 09:57
owayss[m]j`ey: oh, apparently i have not:... (full message at <https://matrix.org/_matrix/media/r0/download/matrix.org/tvxECEmimuUdKXQMgMWtKzWT>)
#asahi · 2022-10-13 09:56
j`eyowayss[m]: so you've enabled CONFIG_FTRACE?
#asahi · 2022-10-13 09:51
owayss[m]i realize this is purely linux `Kconfig`, but i wanted to confirm: is there anything specific to Asahi that might result in that configuration (or others) being discarded despite all its config dependencies being met (as defined by https://github.com/AsahiLinux/linux/blob/0a6d7d45414a77876e8e9a77e454af754cea3a60/kernel/trace/Kconfig#L631)?
#asahi · 2022-10-13 09:51
owayss[m]👋 a question on `Kconfig`: a particular configuration i am interested in (`CONFIG_KPROBE_EVENTS`, for hooking bpf programs to kernel entry functions) is being omitted from my final kernel configuration when asahi's PKGBUILD runs `make olddefconfig` in https://github.com/AsahiLinux/PKGBUILDs/blob/main/linux-asahi/PKGBUILD#L55 )
#asahi · 2022-10-13 08:21
marcanit's not that common anyway. community moderation is imperfect, that's just life on the internet.
#asahi · 2022-10-13 08:20
as400[m]heh - "innocent" :)
#asahi · 2022-10-13 08:20
marcanI generally expect innocent people to ask if that happens :)
#asahi · 2022-10-13 08:20
marcanit happened once, the person PMed me, I removed it
#asahi · 2022-10-13 08:19
ElvishJerricco[m]is there risk of bans like that preventing some non-trolls from ever joining without moderators realizing it?
#asahi · 2022-10-13 08:18
marcanfor small-ish communities, you can often ban entire ISPs and only hit one person (at least long enough for them to go away), which is quite effective against typical trolls
#asahi · 2022-10-13 08:18
marcanyeah, I'm used to using IP masks to get rid of trolls/spammers effectively, losing that on Matrix is... really not great :(
#asahi · 2022-10-13 06:54
svenI wonder if moderation is possible on the matrix side but even that would be annoying
#asahi · 2022-10-13 06:51
svenmarcan: hah, I also almost banned all of Matrix by accident yesterday :D
#asahi · 2022-10-13 06:36
mpsin sound section I meant to say
#asahi · 2022-10-13 06:35
mpsthere is line 'status = "disabled";', change it to 'status = "okay";' and rebuild dtbs
#asahi · 2022-10-13 06:34
mpssearch for something like this 'DANGER ZONE: You can blow your speakers!'
#asahi · 2022-10-13 06:32
mpssnek: look at kernel source in arch/arm64/boot/dts/apple/ for DTS file for your model

plus ›