#
…

2021-06-01

00:28choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
01:07bgb has joined #asahi
02:08bgb has quit [Ping timeout: 480 seconds]
02:20PhilippvK has joined #asahi
02:24phiologe has quit [Ping timeout: 480 seconds]
02:40bgb has joined #asahi
02:50bgb has quit [Ping timeout: 480 seconds]
03:04bgb has joined #asahi
03:12marvin24 has joined #asahi
03:14reillyeon has joined #asahi
03:15marvin24_ has quit [Ping timeout: 480 seconds]
03:27bloom /window 11
03:55bgb_ has joined #asahi
03:55bgb has quit [Ping timeout: 480 seconds]
05:03linuxgemini has quit [Remote host closed the connection]
05:03ave has quit [Remote host closed the connection]
05:38bgb has joined #asahi
05:39bgb_ has quit [Ping timeout: 480 seconds]
05:41VinDuv has joined #asahi
06:25VinDuv has quit [Quit: Leaving.]
06:33SunWuKung has joined #asahi
06:55bisko has quit [Quit: Textual IRC Client: www.textualapp.com]
06:58bgb has quit [Ping timeout: 480 seconds]
07:05bgb has joined #asahi
07:20mazsven: do you have a branch somewhere with the whole dart+pcie?
08:00yuyichao_ has quit [Ping timeout: 480 seconds]
08:07whitingdev has joined #asahi
08:12bgb_ has joined #asahi
08:14bgb has quit [Ping timeout: 480 seconds]
08:16whitingdev has quit []
08:19tomtastic has quit [Ping timeout: 480 seconds]
08:41tomtastic has joined #asahi
08:51kit_ty_kate1 has joined #asahi
08:51kit_ty_kate has quit [Read error: Connection reset by peer]
09:13bgb_always fail at self.p.hv_start when running run_guest.py(OSError: [Errno 6] Device not configured), can anyone figure out why?
09:18lethalbit has joined #asahi
09:22bgb_ has quit [Ping timeout: 480 seconds]
09:39bgb_ has joined #asahi
09:55klaus_ has quit [Quit: leaving]
10:16tsida has joined #asahi
10:36klltkr has joined #asahi
10:43linuxgemini has joined #asahi
10:43ave has joined #asahi
10:53yuyichao_ has joined #asahi
11:09klltkr has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
11:15bgb_ has quit [Ping timeout: 480 seconds]
11:19roxfan has quit [Ping timeout: 480 seconds]
11:22klaus has joined #asahi
11:36bgb_ has joined #asahi
11:53choozy has joined #asahi
12:10tardyp has joined #asahi
12:23tardyp has quit []
12:23tardyp has joined #asahi
12:54choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
13:04bgb has joined #asahi
13:05bgb_ has quit [Ping timeout: 480 seconds]
13:24bisko has joined #asahi
13:29bgb has quit [Ping timeout: 480 seconds]
13:30klaus has quit [Remote host closed the connection]
13:32klaus has joined #asahi
14:12klltkr has joined #asahi
14:27klltkr has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
15:00_whitelogger has joined #asahi
15:40erincandescent_ has joined #asahi
15:43erincandescent has quit [Ping timeout: 480 seconds]
15:55SunWuKung has quit [Remote host closed the connection]
16:03linuxgemini has quit [Remote host closed the connection]
16:03ave has quit [Read error: Connection reset by peer]
16:10VinDuv has joined #asahi
16:40linuxgemini has joined #asahi
16:40ave has joined #asahi
17:08SunWuKung has joined #asahi
17:12choozy has joined #asahi
17:30yuyichao_ has quit [Ping timeout: 480 seconds]
17:34choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
17:39kettenisnow has working NVMe support
17:41Andalu30 has joined #asahi
17:57whitingdev has joined #asahi
18:15Epsillion has joined #asahi
18:15bps has quit [Read error: Connection reset by peer]
18:18bloomcongratulations!!!
18:30jackhill has joined #asahi
18:36bloomkettenis: Ah, you're OpenBSD Mark, ok :p
18:45kettenisyup, this means I can boot OpenBSD from the internal disk now
18:46kettenisshould be possible to do the same with linux once there is a distro with support
18:50bloomkettenis: how is OpenBSD on M1 nowadays? I'm a long time Linux user but I might flirt with other religions if they beat us to M1 :-p
18:51kettenisI still need to iron out a few issues in the installer to deal with the apple partitions
18:52kettenisand there is an annoying bug with the SMP kernel
18:52j_eykettenis: does openbsd require reviews for all changes?
18:53svenpeter[m]maz: the whole thing is quite an ugly mess with two different pcie nodes for uboot and Linux right now because I was too lazy to fix some incompatibilities, but I can push it tomorrow
18:53kettenisj_ey: yes, but the process is a lot quicker
18:54j_eykettenis: I saw the 'ok @foo' on some commits, but not all, thats why I was unsure
18:56kettenisbasically ethernet, usb type-A, usb type-C, NVMe, serial console and framebuffer console (at iBoot resolution) work now
18:57kettenissome churn to be expected as we align DT bindings though
18:57Misthiosnice, was kinda expecting netbsd to get support before openbsd (or it is just me that thinks that netbsd is supposed to run on lots of stuff?)
18:58j_eyMisthios: kettenis has been working hella hard :)
18:58Misthiosbut hey we all know that windows arm will be last anyway :)
18:59svenpeter[m]Oh yes, and thanks to him Linux will also get pcie support quicker :-)
19:00j_eyand uboot..
19:01kettenisupstreaming the u-boot code is going to take some time
19:08bloomkettenis: damn, nice
19:09bloom("Seriously, why don't we have a linux downstream with all of this working?" "..Isn't it called /corellium/linux-m1?")
19:18whitingdev has quit []
19:48Andalu30 has quit [Ping timeout: 480 seconds]
20:04alessandrorzz[m]M1n1 means only for Mac mini?
20:05j_eynah, m1n1 is the bootloader-ish thing
20:05jnalessandrorzz[m]: no, it got its name for a different thing called mini, but that's obscure history
20:07kettenism1n1 as in "to be used as a payload for m1n1"
20:08kettenisit works on the M1 macbook as well, although it'll probably throw some errors about missing PCIe devices
20:16svenbloom: shush.. now where's my downstream drm driver though? :-P
20:24VinDuv has quit [Quit: Leaving.]
20:49alessandrorzz[m]But this is for dual boot or for what?
20:50svendual boot is already supported by apple's firmware (iBoot)
20:51svenm1n1 does very low-level hardware initialization (and also provides a nice experimentation / reverse engineering playground)
20:51svenu-boot then takes care of some more hw initialization and also comes with drivers to boot linux from various peripherals
20:51j_eyalessandrorzz[m]: the github link is for loading the kernel from the disk, rather than dowloading the kernel via serial/USB from another computer
20:52svenit's also for bringing up pcie before loading the linux kernel over serial :D
21:00bloomsven: I imagine long term moving the early hw into from m1n1 into u-boot is probably a good idea
21:00bloomiBoot -> U-Boot -> Linux
21:01jnthat's certainly shorter than iboot -> m1n1 -> uboot -> grub -> linux :)
21:01j_eybut then you need to duplicate all of the mac specific stuff into other bootloaders
21:01j_eyif people dont want to use uboot
21:01pipcet[m]iboot -> linux -> linux :-)
21:01svenbloom: sure, whatever works
21:01svenbloom: technically m1n1 and u-boot will become one anyway
21:02j_eytechnically as in.. cat m1n1 uboot > img ?
21:02svenyeah :D
21:02jnsven: one binary but not one source tree
21:03alessandrorzz[m]<j_ey "alessandrorzz: the github link i"> And i can put it into a vm?
21:03svenyes. but i guess one source tree is also fine if that's more maintainable long term
21:03bloomjn: I'm coming from Arm world
21:03bloomand embeddedish at that
21:03bloommainline U-Boot is the gold standard what more do you want
21:03bloomanything else you can chainload from u-boot anyway?
21:03j_eyalessandrorzz[m]: its for bare metal
21:04* bloomdoesn't understand why you want GRUB int he chain
21:04jnbloom: i agree, i'm in favor of putting hw init in uboot too, long term. (but then again, i'm only armchair-designing from the sidelines)
21:04j_eyalessandrorzz[m]: its not for a vm
21:04svenbecause we need more bootloaders!
21:05kettenison many platforms u-boot has multiple stages anyway: TPL, SPL and U-Boot proper
21:05kettenism1n1 kinda takes the place of SPL
21:05jngrub was mentioned in a blog post (might have been on asahilinux.org) - i guess the point was in having a nice interactive boot menu
21:06bloomkettenis: nod, I was imagining porting m1n1 code to an SPL stage but.. I guess it doesn't /really/ matter
21:06alessandrorzz[m]In other vm likes utm vm , they put the ram disk, the kernel and another things to boot arch Linux, where I can find this stuff to put into another emulator like parallels?
21:07EER has quit [Remote host closed the connection]
21:07kettenisthe whole idea is that if you're interested in just using an OS on the M1 you install m1n1 with a U-Boot payload from 1TR
21:08kettenisand after that you can just boot a standard OS install image and install as if you're on PC or an ARM server machine
21:08kettenisthe whole arm embedded approach of having separate images for each individual board makes no sense for the mainsream dostros
21:09kettenisdistros i mean
21:09kettenisit just happens that many distros use grub
21:11kettenisOpenBSD has its own EFI bootloader that has some neat tricks up its sleeve to start the kernel with its entropy pool already initialized
21:11kettenisIt also means that you can install a kernel by just copying it to /
21:12kettenisas the OpenBSD bootloader understands the FFS filesystem that we use
21:32bloomfair enough
21:32bloomI think I have err armbedded stockholm syndrome
21:34jni can't concinvingly say that i don't have that too
21:35jnthe last two vendor bootloaders that i messed with weren't even uboot but some weird inhouse stuff
21:51yuyichao_ has joined #asahi
21:56SunWuKung has quit [Remote host closed the connection]
22:07pipcet[m]kettenis: is your config file for u-boot available by any chance? I'd like to give your code a spin
22:54kettenisapple_m1_defconfig in that tree
22:55pipcet[m]thanks, sorry, I found it
23:39jn has quit [Remote host closed the connection]
23:40jn has joined #asahi
…