2021-07-25
00:00tsida has quit [Remote host closed the connection]
00:17al3xtjames has quit [Quit: Ping timeout (120 seconds)]
00:17al3xtjames has joined #asahi
00:26al3xtjames9 has joined #asahi
00:28al3xtjames has quit [Ping timeout: 480 seconds]
00:28al3xtjames9 is now known as al3xtjames
02:35PhilippvK has joined #asahi
02:38phiologe has quit [Ping timeout: 480 seconds]
03:12skipwich has quit [Ping timeout: 480 seconds]
04:58quarkyalice has quit [Ping timeout: 480 seconds]
06:10TheJollyRoger2 is now known as TheJollyRoger
06:20trippeh has quit [Quit: leaving]
08:07tomtastic_ has joined #asahi
08:09tomtastic has quit [Ping timeout: 480 seconds]
09:36tsida has joined #asahi
09:46tomtastic_ has quit [Ping timeout: 480 seconds]
09:53bps has quit [Ping timeout: 480 seconds]
09:53tomtastic has joined #asahi
10:01tomtastic has quit [Ping timeout: 480 seconds]
10:04tomtastic has joined #asahi
10:12tomtastic_ has joined #asahi
10:14tomtastic has quit [Ping timeout: 480 seconds]
10:24tomtastic_ has quit [Ping timeout: 480 seconds]
10:25tomtastic has joined #asahi
10:33bps has joined #asahi
10:42johnnywalkins has joined #asahi
11:05aleasto has joined #asahi
11:18bps has quit [Ping timeout: 480 seconds]
11:44svenalright, i think i'm happy with dart/dev now. would be great if some people could test it to make sure everything still works and then i'll probably send v5 a week or so from now
11:54yuyichao has quit [Remote host closed the connection]
11:54yuyichao_ has joined #asahi
11:57aleasto has quit [Ping timeout: 480 seconds]
11:57aleasto has joined #asahi
12:55aleasto has quit [Remote host closed the connection]
13:19bps has joined #asahi
14:08frode_0xa has joined #asahi
14:08frode_0xa has quit []
14:09frode_0xa has joined #asahi
14:24Mary has quit [Quit: byeee]
14:27amw has quit [Ping timeout: 480 seconds]
14:33skipwich has joined #asahi
14:37amw has joined #asahi
14:37johnnywalkins has quit [Remote host closed the connection]
14:39skipwich has quit [Quit: DISCONNECT]
14:39skipwich has joined #asahi
14:41skipwich has quit []
14:41skipwich has joined #asahi
14:46Mary has joined #asahi
15:19everslick has quit [Ping timeout: 480 seconds]
15:35marcansven: hopefully I get back on a dev flow next week, and I want to spend a day or two poking at linux merge branches and testing all that stuff
15:38sventhe only thing that just works is the dart branch fwiw. the rest is in various state of broken and/or requires hacks :D
15:49svenfor the rest of the branches.. i2c needs a gpio controller for the interrupt, pcie needs the dt bindings (i think kettenis submitted some but i don't want what their status is)+u-boot for the bringup+dart
15:53svenit's litterally 16x2 registers. first one is the address and second one is the lengths (+some flags)
15:53marcanI was thinking we might as well have an apple nvme ASC driver that would also take care of that
15:54svenbut yeah, maybe just a special compatible for the mailbox driver that whitelists the shared memory in SART
16:00sveneither way, we can just have a apple,mbox = <&ans_mbox 0x20>, <&ans_mbox 0x21>; or something like that in the nvme node. that should bring up ANS then. or maybe have it send a ping message to the asc and wait for the reply
16:01marcanyeah, it probably makes sense to just have a special nvme subdriver that mostly does nothing
16:01sventwo reasons: there's only one iommu per bus and there's no domain type for "passthrough only"
16:03svenhttps://github.com/torvalds/linux/blob/9f7b640f001f9781e0803fb60e7b3e7f2f1a1757/drivers/iommu/iommu.c#L1853 bus_set_iommu
16:05svenhrm, though i guess i'd have to look up how to make that work. usually bus_set_iommu is called with platform_bus_type or pci_bus_type
16:05svenbut i guess you could just call it with dev->bus for the ans device and it should do the right thing
16:09marcan/home/marcan/asahi/git/linux/drivers/iommu/arm/arm-smmu/arm-smmu.c: err = bus_set_iommu(&fsl_mc_bus_type, ops);
16:10svenif it was used in multiple places we could probably implement our own dma_map_ops or something for it, but meh.
16:12marcanactually one way to do it would be to have the ASC driver just have a callback to set some kind of extra map_ops
16:12marcanand then the (very simple) ANS driver knows about SART and sets that prior to calling init on the ASC device
16:50svennot very important because we can just turn them all on from m1n1, but uh.. i think we should have them at some point
17:07tobikoch has quit [Quit: WeeChat 2.8]
17:18pinskia has quit [Remote host closed the connection]
17:19pinskia has joined #asahi
17:21svenlast time i tried to give it to you you wanted me to send you the busybox source code via snailmail :-P
17:21tomtastic_ has joined #asahi
17:23tomtastic has quit [Ping timeout: 480 seconds]
17:28svenalyssa: https://f.svpe.de/99f754dcb35025b32f5fdfd093133c30ef8ad3e54a3046fc1c919e664668c59a_.config
18:11svenare you using the latest dart/dev btw? not that it matters, but i'd like more people to test the current version :)
18:15alyssaok, progress. systemd is unhappy, looks like more .config stuff missing for proper debian
18:17cth451_desktop(I'll be happy with a initrd sh, but no luck so far)
18:18cth451_desktopmaybe i should try strip down my initrd.
19:05crabbedhaloablut has joined #asahi
19:10loki_val_ has joined #asahi
19:11loki_val has quit [Ping timeout: 480 seconds]
19:13crabbedhaloablut has quit [Ping timeout: 480 seconds]
19:23julianp[m] has joined #asahi
19:29svenhrm, i've seen that happen when i try to chainload too early after a reboot. but that's kinda expected i think
19:49loki_val_ has quit []
19:49crabbedhaloablut has joined #asahi
20:01sventhe uart doesn't exactly have any flow control. so if i chainload too early it'll send the first request, the request will get lost and i will never get a reply
20:43kettenisso after processing a few more mailbox messages in u-boot I don't see any further messages when using NVMe in OpenBSD
20:44kettenisI also have a workaround for the hangs I was seeing, so I can actually run off the NVMe and do a full build of the OS now
20:46kettenisso I suspect the code we have that deals with the weird way apple does the command queues isn't quite right yet
21:00sventhe dart binding has been reviewed as well. i'll probably need one or two more versions for the driver itself though
21:07svenmake sure your kernel has 45d39448b4d0260743f25d88fd929451ec8296f2, otherwise dwc3 can't do 64 bit reads/writes
21:09alyssasven: I have a more specific symptom now -- sometime during boot, the USB device (hub) itself gets disconnected -- like, power cut -- then immmediately reconnecetd
21:11alyssausb-a flash drive --> usb-a hub --> usb-c port behaves differently than usb-a flash drive --> usb-c port
21:22svennot sure if we need to do something special (like sending another message to that pd chip) for hi-power modes though
21:34jabashque has quit [Quit: Connection closed for inactivity]
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:01yrlf has joined #asahi