marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
JoshuaAshton has joined #asahi
_whitelogger has joined #asahi
YichaoYu[m] has joined #asahi
marvin24_ has joined #asahi
Namidairo has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
ar has quit [Quit: brb]
ar has joined #asahi
rwhitby has joined #asahi
rwhitby has quit [Quit: rwhitby]
rwhitby has joined #asahi
rwhitby has quit []
VinDuv has joined #asahi
marvin24_ is now known as marvin24
marvin24 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
marvin24 has joined #asahi
Misthios has joined #asahi
crabbedhaloablut has quit []
crabbedhaloablut has joined #asahi
phiologe has joined #asahi
VinDuv has quit [Quit: Leaving.]
kettenis_ has joined #asahi
kettenis has quit [Ping timeout: 480 seconds]
richbridger has quit [Remote host closed the connection]
sven has quit [Quit: ZNC 1.8.2 - https://znc.in]
sven has joined #asahi
sven has quit []
sven has joined #asahi
<kettenis_> aplns0 at simplebus0
<kettenis_> nvme0 at aplns0:, NVMe 1.1
<kettenis_> nvme0: APPLE SSD AP0256Q, firmware 2.101.1, serial 0ba010fae425241b
<kettenis_> scsibus0 at nvme0: 2 targets, initiator 0
<kettenis_> sd0 at scsibus0 targ 1 lun 0: <NVMe, APPLE SSD AP0256, 2.10>
<kettenis_> sd0: 239372MB, 4096 bytes/sector, 61279344 sectors
<kettenis_> The first signs of life from the NVMe SSD in OpenBSD
<marcan> awesome!
<marcan> kettenis_: I assume openbsd already has patches for the apple-isms in x86 macs?
<marcan> (or did they go back to standards-compliant?)
<kettenis_> not, they deviated even more
<marcan> heh
<marcan> lovely
<marcan> sven: so how's the clock stuff going? ;)
<kettenis_> and the dart stuff? ;);)
<sven> marcan: well, i could just submit the thing that maps a page for each clock to start a discussion
<marcan> sure, if you don't have any obviously-correct ideas
<marcan> how did the mfd/regmap stuff end up?
<kettenis_> I have U-Boot booting the side-core that acts as the NVMe controller
<marcan> syscon was it>?
<marcan> kettenis_: firmware is preloaded, right?
<kettenis_> right
<marcan> this is where osx wedges right now, so this might be useful to try in the HV
<sven> i had a prototype but uhh... no one else really does it and it doesn't look like it's obviously-correct
<marcan> if you have a thing I can just boot
<sven> i can mention it in the first mail as an alternative though
<marcan> sure
<sven> alright, let me rebase that and submit it then
<kettenis_> 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
<sven> yes
<sven> i can show the draft here before i submit it :)
<marcan> kettenis_: I wonder how we should handle these side cores too
<kettenis_> marcan: I can give you a u-boot binary + device tree that you could chainload
<marcan> that would be helpful :)
<marcan> + bsd? or is it built in?
<marcan> oh u-boot already has nvme code, right
<kettenis_> at least the bits that start the core and get the firmware ready
<marcan> yeah
<kettenis_> it'll boot a standard OpenBSD snapshot install image from usb
<marcan> I guess we should do that for linux too instead of trying to put that into the kernel
<marcan> let the bootloader spin up all the side cores
<kettenis_> the SMC side-core is already running but still needs the mailbox handshake to make it accept commands from the AP side
<kettenis_> that was already working in u-boot to access the GPIO that turns on the WiFi chip
<kettenis_> (I might have broken it with the NVMe support though)
<kettenis_> to activate the nvme stuff you need to enter "nvme scan" at the u-boot prompt
<kettenis_> (I can build you a version that does that automatically if you want)
psydroid[m] is now known as psydroid
<kettenis_> I want u-boot to be able to access the NVMe such that it can load the EFI bootloader from it
<kettenis_> (probably GRUB for Linux)
<kettenis_> two other OpenBSD developers have been working on the OpenBSD nvme driver for this thing
<kettenis_> once that's done I'll have a look at beating the u-boot nvme driver into submission
Lightsword has joined #asahi
jryans has joined #asahi
pugguu has joined #asahi
pugguu has quit [Remote host closed the connection]
pugguu has joined #asahi
pugguu has quit [Remote host closed the connection]
pugguu has joined #asahi
<marcan> kettenis_: cool, thanks! will give it a shot tomorrow on the HV :)
<pugguu> Hey marcan whens the next stream aprox
<marcan> probably tomorrow morning JST, maybe 11 or 12?
ar has quit [Quit: leaving]
ar has joined #asahi
cepheus[m] has joined #asahi
cepheus[m] is now known as cepheus
cepheus has quit [Quit: authenticating]
cepheus has joined #asahi
kubes has joined #asahi
choozy has joined #asahi
ar has quit [Quit: brb]
ar has joined #asahi
<kettenis_> that has a cleaned up version of the code
<kettenis_> the device tree is starting to become a mix of official bindings, bindings under review and the corellium bindings
kettenis_ is now known as kettenis
mini has quit [Quit: ZNC closing...]
minimaul has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
pugguu has quit [Read error: Connection reset by peer]
ar has quit [Quit: brb]
ar has joined #asahi
pugguu has joined #asahi
pugguu has quit [Read error: Connection reset by peer]
pugguu has joined #asahi
Gue______ has joined #asahi
pugguu has quit [Ping timeout: 480 seconds]
Gue______ has quit [Ping timeout: 480 seconds]
kubes has quit [Quit: Leaving]
adamcstephens has joined #asahi
richbridger has joined #asahi
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
yrlf has joined #asahi
choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
erincandescent has joined #asahi