#
…

2022-01-22

00:02m6wiq has quit [Quit: Leaving]
00:14aleasto has quit [Quit: Konversation terminated!]
00:37gladiac is now known as Guest76
00:37gladiac has joined #asahi-dev
00:37thevar1able has joined #asahi-dev
00:42Guest76 has quit [Ping timeout: 480 seconds]
00:44thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
00:46thevar1able has joined #asahi-dev
00:46refi64 has quit [Quit: The Lounge - https://thelounge.chat]
00:46refi64 has joined #asahi-dev
00:51yuyichao has quit [Ping timeout: 480 seconds]
01:18Guest3 has quit [Remote host closed the connection]
01:19balrog has joined #asahi-dev
01:27alyssamarcan: 3 seems right yeah
01:29user982492 has joined #asahi-dev
01:30user982492_ has joined #asahi-dev
01:30user982492 has quit [Read error: Connection reset by peer]
01:34alyssaY'all think there's a secret Asahi development channel
01:34alyssaThere's not
01:35alyssaThere is, however, marcan and I me shitposting while Sven sends confused emojis
01:40JTLlol nice
01:41user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:14user982492 has joined #asahi-dev
02:20Emantor has quit [Quit: ZNC - http://znc.in]
02:20Emantor has joined #asahi-dev
02:35yuyichao has joined #asahi-dev
02:39thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
02:42koorogi1 has quit [Server closed connection]
02:42koorogi1 has joined #asahi-dev
02:44rcombs has quit [Server closed connection]
02:46rcombs has joined #asahi-dev
02:57jevinskie[m]sven: nice work! I hope to try it out with my modification of apfs-fuse to boot macos
03:14thevar1able has joined #asahi-dev
03:18kendfinger has quit [Server closed connection]
03:18kendfinger has joined #asahi-dev
03:24phiologe has joined #asahi-dev
03:27PhilippvK has quit [Ping timeout: 480 seconds]
03:30kov has quit [Quit: Coyote finally caught me]
03:34thevar1able has quit [Ping timeout: 480 seconds]
03:36Z750 has quit [Server closed connection]
03:36Z750 has joined #asahi-dev
03:57x56_ has quit [Server closed connection]
03:57x56 has joined #asahi-dev
04:08cyrozap has quit [Server closed connection]
04:09cyrozap has joined #asahi-dev
04:10user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:19hays has quit [Server closed connection]
04:19hays has joined #asahi-dev
05:02marcanalyssa: re nvme, not a priority but in the mid term I've been leaning towards having m1n1 chainload itself from the ESP as a way to allow upgrades without having to go into 1TR
05:02marcanmostly so we can update devicetrees from distros
05:02marcanso nvme will be useful for that
05:03marcanwill have to come up with some secureboot scheme for it though. I've been thinking of making the next progress report also a call out to distros to talk about stuff like that...
05:04marcanprobably easiest is to just throw a signature on it and have some "official" asahi signed m1n1 binaries or distros can build their own with their own key (or users can build their own etc) and the installer just installs whatever signed build is appropriate for $distro
05:16user982492 has joined #asahi-dev
05:19marcanalright, I feel like documentation today, let me work on that
05:52user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:02x56 has quit [Remote host closed the connection]
06:02kendfinger has quit [Remote host closed the connection]
06:02Z750 has quit [Remote host closed the connection]
06:02kendfinger has joined #asahi-dev
06:02Z750 has joined #asahi-dev
06:03x56 has joined #asahi-dev
06:03Z751 has joined #asahi-dev
06:03Z750 has quit [Read error: Connection reset by peer]
06:03kendfinger has quit [Read error: Connection reset by peer]
06:04kendfinger has joined #asahi-dev
06:28refi64 has quit [synthon.oftc.net weber.oftc.net]
06:28refi64 has joined #asahi-dev
06:40Graypup_ has quit [Server closed connection]
06:40Graypup_ has joined #asahi-dev
07:05Guest394 has quit [Server closed connection]
07:26user982492 has joined #asahi-dev
07:54kode54 has quit [Server closed connection]
07:54kode54 has joined #asahi-dev
07:55yuyichao has quit [Remote host closed the connection]
07:55yuyichao has joined #asahi-dev
08:10jeffmiw has joined #asahi-dev
08:33alyssa has quit [Server closed connection]
08:33alyssa has joined #asahi-dev
08:40King_InuYasha has quit [Server closed connection]
08:40King_InuYasha has joined #asahi-dev
10:01mixi has joined #asahi-dev
10:46aleasto has joined #asahi-dev
11:05mazmarcan: one thing I have been thinking about is to be able to get m1n1 to wait a couple of seconds before starting the payload it is bundled with. this would allow sneaky chainloading from a m1n1 that was bundled with u-boot to a new m1n1 with more experimental feature.
11:05marcanmaz: that's what would happen with -v (once I implement it), it would wait a few seconds for USB enumeration
11:07* marcanis 3800 words into a wiki one-stop article about how these machines work and what you need to know as a distro/bootloader/etc dev
11:07mazmarcan: ah! that'd be fab.
11:19poviknot exactly what you want, but maybe it helps
11:24mazpovik: it is close to what I'd need, but not quite that. my m1 is permanently hooked to another box that captures its serial port and also uploads the chained m1n1 over USB. I think the sole enumeration would count as activity, and would drop directly into the proxy.
11:24povikyeah, that's what i thought
11:25mazI guess what I'd need would be to directly start the proxy, and only start the payload if no activity happens within x seconds.
11:27mazof course, I could always get rids of USB altogether, as I don't have to upload huge payloads anymore (it was massively useful when I was uploading full kernels).
11:29marcanI could add some kind of knob to make the proxy itself time out
11:30marcannot what I'd do for regular installs, but it would work for you
11:31mazmarcan: yeah, that's really not something you'd want for 'production' stuff, but that would be useful to transiently test, let's say, a new u-boot version.
11:32mazdefinitely a dev feature
11:36amw has quit [Ping timeout: 480 seconds]
11:45jannaumaz: you could have udev chainload the current m1n1 + u-boot when the on device m1n1 connects. a little fragile but you don't need to go through macos recovery for updating the default u-boot
11:47povikah, graphs are a general thing in devicetrees
11:47povikthat explains where audio-graph-card came from
11:48povikkettenis: once i think you said you don't know which of audio-graph-card or simple-audio-card is preferred
11:48povikit's audio-graph-card apparently
11:49kettenisdon't remember saying that ;)
11:49poviknevermind then
11:49ketteniswe have support for both in OpenBSD
11:50mazjannau: yup, that's another possibility. I'll give it a shot.
11:50maz(feels like a poor-man's TFTP boot... ;-)
11:50kettenisso if audio-graph-card is a better fit you should probably use that
11:51poviki am going to, audio-graph-card can better support the multispeaker arrangements
11:57user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:00minecrellpovik: what about audio-graph-card2? :P
12:03poviki know it's there, but that's about all i know
12:10povikhm, but looking into it further we may need audio-graph-card2
12:10povikwe need multiple codec DAIs per one cpu DAI
12:10povikthere's no users of audio-graph-card2 in upstream devicetrees though
12:13minecrellit's still "experimental" according to the code (using it will produce a warning)
12:14minecrellimo the whole sound card stuff is almost infinitely confusing in Linux. There are 3 different generic sound card drivers, tons of hardware/vendor-specific ones and you almost always run into some limitations somewhere :S
12:14minecrellI guess it's hard to cover all use cases
12:20lonjil2 is now known as lonjil
12:20lonjil is now known as lonjil2
12:20lonjil2 is now known as lonjil
12:39marcangoing to get dinner, but this is what I've been typing up: https://mrcn.st/p/u89nqBhg (still incomplete, I just got to the interesting bit...)
12:39kov has joined #asahi-dev
12:39marcanin case anyone wants to take a look :)
12:40marcanI'm basically trying to condense info about how these things work (to provide background) and then talk about how we think other OSes should interop
12:43alyssai will not learn systermverilog i will not learn systemverilog i will not learn systemverilog
12:43j`eyquite a novel marcan
12:44Jamie[m]1lmao alyssa
12:48alyssamaybe i'll just. start writing a software model. and um
12:51alyssamarcan: 'a "typical" ARM64 machine'
12:51alyssai have never met such a machine in my life
12:52alyssaa "typical" ARM64 machine is a broken copy of u-boot stuffed in /boot/ that boots a random zImage also stuffed in /boot/
12:53amw has joined #asahi-dev
12:57marcanalyssa: okay, a mythological ARM SystemReady machine
13:00alyssamythological, there we go
13:02amw has quit [Ping timeout: 480 seconds]
13:04Jamie[m]1AVD is missing from the firmwares table, if you're not aware
13:05marcanit isn't?
13:05marcan| AVD | SoC | Audio/Video Decoder | No | Embedded in XNU | OS | OS | ~40 KB
13:05alyssaI saw AVD
13:06Jamie[m]1oop sorry not sure how i missed that lol
13:06alyssaAVE isn't there, but I haven't seen firmware for it
13:08Jamie[m]1yeah it is
13:08Jamie[m]1glad i'm not the only one struggling to read the table somehow :3
13:10Jamie[m]1(there's an AVE.img4 in preboot)
13:11Jamie[m]1APR is one that I haven't seen firmware for
13:13Jamie[m]1where is the "Audio/Video Decoder" description of AVD coming from? I don't think I've seen any audio stuff in my poking of it
13:13Jamie[m]1(as for AVE, though I haven't looked at that one)
14:15gladiac is now known as Guest162
14:15gladiac has joined #asahi-dev
14:21Guest162 has quit [Ping timeout: 480 seconds]
15:30aleasto has quit [Quit: Konversation terminated!]
15:30aleasto has joined #asahi-dev
15:40alyssaprobably "Apple Video En/Decoder"
15:45alyssanot sure there's a ref for that other than citogensis of marcan's own twitter, though ;-)
15:45aleasto has quit [Remote host closed the connection]
15:46aleasto has joined #asahi-dev
15:47aleasto has quit []
15:47aleasto has joined #asahi-dev
15:52aleasto has quit [Remote host closed the connection]
15:52aleasto has joined #asahi-dev
15:52aleasto has quit [Remote host closed the connection]
15:52aleasto has joined #asahi-dev
16:24psykose has joined #asahi-dev
17:30marcanand yeah, I think Apple is probably more correct? since they don't do audio lol
17:30marcanmy brain just goes AV = Audio/Video
17:30marcan(clearly I haven't been corrupted by Japan enough yet)
17:31marcanalyssa: AVE is there
17:31marcanhow on earth are you two both missing things
17:42user982492 has joined #asahi-dev
17:44jbowen has joined #asahi-dev
17:56jbowen has quit [Quit: leaving]
17:57jbowen has joined #asahi-dev
18:14user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:17alyssamarcan: ...so iit is.
20:31thevar1able has joined #asahi-dev
20:34thevar1able has quit []
20:40thevar1able has joined #asahi-dev
20:41thevar1able has quit []
21:15kenzie35 has quit [Server closed connection]
21:15kenzie35 has joined #asahi-dev
21:19bpye has quit [Server closed connection]
21:19bpye has joined #asahi-dev
21:40yrlf has quit [Quit: The Lounge - https://thelounge.chat]
21:42yrlf has joined #asahi-dev
21:53nepeat has quit [Server closed connection]
21:54nepeat has joined #asahi-dev
22:05thevar1able has joined #asahi-dev
22:07thevar1able has quit []
22:09thevar1able has joined #asahi-dev
22:09thevar1able has quit []
22:16aleasto has quit [Ping timeout: 480 seconds]
22:26user982492 has joined #asahi-dev
22:30user982492 has quit []
22:38aleasto has joined #asahi-dev
22:42daniels has quit [Server closed connection]
22:42daniels has joined #asahi-dev
22:48aleasto has quit [Quit: Konversation terminated!]
22:48aleasto has joined #asahi-dev
23:11thevar1able has joined #asahi-dev
23:17aleasto has quit [Remote host closed the connection]
23:18aleasto has joined #asahi-dev
23:19thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
23:20thevar1able has joined #asahi-dev
23:23aleasto has quit [Quit: Konversation terminated!]
23:23aleasto has joined #asahi-dev
23:24m42uko_ has joined #asahi-dev
23:24aleasto has quit [Remote host closed the connection]
23:26aleasto has joined #asahi-dev
23:28m42uko has quit [Ping timeout: 480 seconds]
23:31thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
23:33aleasto has quit [Remote host closed the connection]
23:33aleasto has joined #asahi-dev
23:36amw has joined #asahi-dev
23:41aleasto has quit [Quit: Konversation terminated!]
23:41conradev has quit [Server closed connection]
23:41aleasto has joined #asahi-dev
23:41conradev has joined #asahi-dev
23:45aleasto has quit [Remote host closed the connection]
23:45aleasto has joined #asahi-dev
23:47al3xtjames has quit [Server closed connection]
23:48al3xtjames has joined #asahi-dev
23:49aleasto has quit []
23:50aleasto has joined #asahi-dev
23:59thevar1able has joined #asahi-dev
…