#
…

2021-05-23

00:48JoshuaAshton has joined #asahi
02:36_whitelogger has joined #asahi
02:46YichaoYu[m] has joined #asahi
03:26marvin24_ has joined #asahi
03:29Namidairo has joined #asahi
03:29marvin24 has quit [Ping timeout: 480 seconds]
04:52ar has quit [Quit: brb]
04:56ar has joined #asahi
06:11rwhitby has joined #asahi
06:17rwhitby has quit [Quit: rwhitby]
06:17rwhitby has joined #asahi
06:19rwhitby has quit []
06:46VinDuv has joined #asahi
06:55marvin24_ is now known as marvin24
06:55marvin24 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
06:55marvin24 has joined #asahi
09:37Misthios has joined #asahi
09:40crabbedhaloablut has quit []
09:40crabbedhaloablut has joined #asahi
09:43phiologe has joined #asahi
09:47VinDuv has quit [Quit: Leaving.]
09:50kettenis_ has joined #asahi
09:52kettenis has quit [Ping timeout: 480 seconds]
10:34richbridger has quit [Remote host closed the connection]
10:36sven has quit [Quit: ZNC 1.8.2 - https://znc.in]
10:36sven has joined #asahi
10:37sven has quit []
10:37sven has joined #asahi
11:50kettenis_aplns0 at simplebus0
11:50kettenis_nvme0 at aplns0:, NVMe 1.1
11:50kettenis_nvme0: APPLE SSD AP0256Q, firmware 2.101.1, serial 0ba010fae425241b
11:50kettenis_scsibus0 at nvme0: 2 targets, initiator 0
11:51kettenis_sd0 at scsibus0 targ 1 lun 0: <NVMe, APPLE SSD AP0256, 2.10>
11:51kettenis_sd0: 239372MB, 4096 bytes/sector, 61279344 sectors
11:51kettenis_The first signs of life from the NVMe SSD in OpenBSD
11:52marcanawesome!
11:52marcankettenis_: I assume openbsd already has patches for the apple-isms in x86 macs?
11:52marcan(or did they go back to standards-compliant?)
11:52kettenis_not, they deviated even more
11:53marcansven: so how's the clock stuff going? ;)
11:53kettenis_and the dart stuff? ;);)
11:54svenmarcan: well, i could just submit the thing that maps a page for each clock to start a discussion
11:54marcansure, if you don't have any obviously-correct ideas
11:54marcanhow did the mfd/regmap stuff end up?
11:54kettenis_I have U-Boot booting the side-core that acts as the NVMe controller
11:54marcansyscon was it>?
11:54marcankettenis_: firmware is preloaded, right?
11:54marcanthis is where osx wedges right now, so this might be useful to try in the HV
11:54sveni had a prototype but uhh... no one else really does it and it doesn't look like it's obviously-correct
11:54marcanif you have a thing I can just boot
11:55sveni can mention it in the first mail as an alternative though
11:55svenalright, let me rebase that and submit it then
11:56kettenis_I think it is important to stress that we really, really want to express the clock hierarchy in the device tree instead of the driver
11:56sveni can show the draft here before i submit it :)
11:57marcankettenis_: I wonder how we should handle these side cores too
11:58kettenis_marcan: I can give you a u-boot binary + device tree that you could chainload
11:58marcanthat would be helpful :)
11:58marcan+ bsd? or is it built in?
11:58marcanoh u-boot already has nvme code, right
11:58kettenis_at least the bits that start the core and get the firmware ready
11:59kettenis_it'll boot a standard OpenBSD snapshot install image from usb
11:59marcanI guess we should do that for linux too instead of trying to put that into the kernel
11:59marcanlet the bootloader spin up all the side cores
12:00kettenis_the SMC side-core is already running but still needs the mailbox handshake to make it accept commands from the AP side
12:01kettenis_that was already working in u-boot to access the GPIO that turns on the WiFi chip
12:01kettenis_(I might have broken it with the NVMe support though)
12:04kettenis_to activate the nvme stuff you need to enter "nvme scan" at the u-boot prompt
12:04kettenis_(I can build you a version that does that automatically if you want)
12:05psydroid[m] is now known as psydroid
12:07kettenis_I want u-boot to be able to access the NVMe such that it can load the EFI bootloader from it
12:07kettenis_(probably GRUB for Linux)
12:09kettenis_two other OpenBSD developers have been working on the OpenBSD nvme driver for this thing
12:10kettenis_once that's done I'll have a look at beating the u-boot nvme driver into submission
12:26Lightsword has joined #asahi
13:28jryans has joined #asahi
14:28pugguu has joined #asahi
14:34pugguu has quit [Remote host closed the connection]
14:35pugguu has joined #asahi
15:00pugguu has quit [Remote host closed the connection]
15:01pugguu has joined #asahi
15:01marcankettenis_: cool, thanks! will give it a shot tomorrow on the HV :)
15:05pugguuHey marcan whens the next stream aprox
15:06marcanprobably tomorrow morning JST, maybe 11 or 12?
15:29ar has quit [Quit: leaving]
15:29ar has joined #asahi
16:05cepheus[m] has joined #asahi
16:05cepheus[m] is now known as cepheus
16:28cepheus has quit [Quit: authenticating]
16:28cepheus has joined #asahi
16:36kubes has joined #asahi
17:47choozy has joined #asahi
18:04ar has quit [Quit: brb]
18:04ar has joined #asahi
18:08kettenis_that has a cleaned up version of the code
18:09kettenis_the device tree is starting to become a mix of official bindings, bindings under review and the corellium bindings
18:14kettenis_ is now known as kettenis
18:36mini has quit [Quit: ZNC closing...]
18:43minimaul has joined #asahi
18:58marvin24 has quit [Ping timeout: 480 seconds]
19:23pugguu has quit [Read error: Connection reset by peer]
19:23ar has quit [Quit: brb]
19:23ar has joined #asahi
19:23pugguu has joined #asahi
19:36pugguu has quit [Read error: Connection reset by peer]
19:37pugguu has joined #asahi
19:38Gue______ has joined #asahi
20:07pugguu has quit [Ping timeout: 480 seconds]
20:09Gue______ has quit [Ping timeout: 480 seconds]
20:24kubes has quit [Quit: Leaving]
21:04adamcstephens has joined #asahi
21:13richbridger has joined #asahi
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:05yrlf has joined #asahi
23:38choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
23:55erincandescent has joined #asahi
…