#
✕ nick:arnd
#asahi-dev · 2022-04-05 18:28
arndj`ey: I decided to stop trying for the moment, shouldn't be too hard from here tomorrow
#asahi-dev · 2022-04-05 16:28
arndThanks!
#asahi-dev · 2022-04-05 16:09
arndok, got it. So I reinstall m1n1 with no payload and then pass it u-boot or a kernel from the host, right
#asahi-dev · 2022-04-05 16:07
arndok, I see, then there must be another problem. Does the ttyACM only work if I boot into m1n1 without the u-boot payload?
#asahi-dev · 2022-04-05 16:02
arndwhich of the 6 type-c ports is the debug port? Do I need a C-to-C cable or can I plug the other end into a USB-A port on my host?
#asahi-dev · 2022-04-05 16:01
arndIt took me a while to get macos into a working state with updates and repartitioning, and then I managed to get into u-boot with _jannau_'s m1n1, I can see the output on my hdmi capture, but I have not figured out what I need to do to make the ttyACM devices appear on my host to talk to u-boot without a keyboard
#asahi-dev · 2022-04-05 08:07
arndI think _jannau_ meant the t6002 specifically isn't extensive tested in hv mode yet, but I guess it's easier for me to get started that way, usb-acm sounds more pleasant than a second monitor with no scrollback
#asahi-dev · 2022-04-05 07:59
arndright, good idea
#asahi-dev · 2022-04-05 07:51
arndusing efi-earlycon for debugging does sound easier than serial, as I don't have another mac
#asahi-dev · 2022-04-05 07:49
arndok, I think I can find room for one of my old screens on the desk, or use a capture card to view the screen on my current system
#asahi-dev · 2022-04-05 07:41
arnd_jannau_: is it enough to boot into a kernel with display and keyboard,or do I need a serial console?
#asahi-dev · 2022-04-05 07:38
arndmaz, _jannau_, thanks!
#asahi-dev · 2022-04-05 07:35
arndMy Mac Ultra (t6002) is going to arrive later today, is there anything I can start trying out on it already, or is it pointless until marcan has done some of the initial work? In the github sources I don't see any reference to the machine or the SoC yet
#asahi-dev · 2022-03-22 13:00
arndand then some drivers slipped in that completely ignored some of the decisions we had already made for the other drivers
#asahi-dev · 2022-03-22 12:59
arndI'm probably responsible for some of the early mistakes, but fundamentally we had (right from the start) people trying to fit very different hardware concepts into a single API
#asahi-dev · 2022-03-22 12:58
arndmarcan: I completely agree with your description of the problems in the mailbox subsystem, don't have any good ideas for solving them either though
#asahi-dev · 2022-03-22 12:46
arndand it's the rtkit-helper (and below) that is shared with nvme and DCP, right?
#asahi-dev · 2022-03-22 12:42
arndok, got it. I don't think I'll be able to remember all this, but I the bigger picture makes sense
#asahi-dev · 2022-03-22 12:35
arndso T2 macs use the same rtkit stack for SMC as the M1 macs?
#asahi-dev · 2022-03-22 12:30
arndare there multiple instances running the same type of firmware on the chip but with different purposes?
#asahi-dev · 2022-03-22 12:29
arndis there some more information about the rtkit documented somewhere? I'm probably still missing a few of the fundamental bits
#asahi-dev · 2022-03-22 12:27
arndright, makes sense
#asahi-dev · 2022-03-22 10:40
arndregarding the rtkit driver, the mailbox subsystem is generally a very leaky abstraction, but the one thing it does provide is a way to multiplex a number of mailbox instances over a shared hardware block, and a somewhat generalized DT binding for describing that multiplexing
#asahi-dev · 2022-03-22 10:38
arndsven: not sure if that has any implications on the DT binding, kettenis might have an opinion on what representation of the SART makes the most sense for openbsd or u-boot though
#asahi-dev · 2022-03-22 10:37
arndsven: ok, thanks for the background, I'll read the implementation again to get to a more informed opinion. For the moment, I'm leaning towards "not-in-my-backyard" and would rather see the SART code merged into the nvme driver because that keeps it out of drivers/soc ;-)
#asahi-dev · 2022-03-22 10:34
arndsven: so there is no address translation at all between NVMe and RAM, but multiple address filters?
#asahi-dev · 2022-03-22 10:28
arndok
#asahi-dev · 2022-03-22 10:28
arndhow is the NVMMU represented in the DT?
#asahi-dev · 2022-03-22 10:25
arnddo we know of any devices other than the NVMe controller using sart or a related block?
#asahi-dev · 2022-03-22 10:25
arndsven: I'm trying to make sense of the nvme+sart driver, as it feels a bit awkward to have a custom interface for something that is half an IOMMU. I think i would be nicer to either have sart fully integrated with the apple-nvme driver, or more generic with its own dma_map_ops or as part of drivers/iommu.
#asahi-dev · 2022-03-15 14:45
arndare there any (x86) laptops that correctly set bCountryCode in a way that distros make use of? I always assumed this required user input anyway
#asahi-dev · 2022-03-14 16:23
arndThere is a binding for the chromebook keyboard at include/dt-bindings/input/cros-ec-keyboard.h, but I think this is just to establish which keys are where, not what is printed on them
#asahi-dev · 2022-03-11 12:16
arndDettenhausen'
#asahi-dev · 2022-03-11 12:16
arndsven: feel free to come visit me in Dettenhause when I have mine and you want to try stuff out
#asahi-dev · 2022-03-11 12:14
arndright
#asahi-dev · 2022-03-11 12:13
arndApr 6
#asahi-dev · 2022-03-11 12:13
arndnot sure how much time I'll be able to spare on t6002 bringup myself, I might wait for you to get it all running first and use a VM guest until then.
#asahi-dev · 2022-03-11 12:11
arndmarcan: ok, sounds good. just making sure we aren't missing the merge window by accident. Sounds like 5.19 will be bigger then.
#asahi-dev · 2022-03-11 12:02
arndmarcan: is it intentional that you have not sent any dt changes for 5.18 my way? I see one small patch for the pmu that went into linux-next through the arm64 tree, but nothing else.
#asahi-dev · 2022-02-09 13:48
arndDoes a regmap based interface fit, where you only provide a set of registers to each child node, or does the main driver also need to talk to it directly?
#asahi-dev · 2022-02-09 13:47
arndok
#asahi-dev · 2022-02-09 13:46
arndthe question is whether this device is conceptually one main function with a few extra bits, or you would think of it as a collection of individual interfaces that are all equally important
#asahi-dev · 2022-02-09 13:45
arndMaking it an MFD is probably the most flexible, but if this is still conceptually just an RTC with some extra bits, I would make it a single node and a single driver that registers to the RTC subsystem and that also provides some other in-kernel interfaces.
#asahi-dev · 2022-02-08 13:10
arndardb says he has trouble joining oftc.net at the moment, but he's on libera.chat/#armlinux
#asahi-dev · 2022-02-08 13:09
arndhttps://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/log/?h=efi-psci
#asahi-dev · 2022-02-08 13:04
arndI just asked ardb to join this channel, not sure if he's around.
#asahi-dev · 2022-02-08 13:00
arndthere are apparently multiple ways that UEFI has for providing services to the OS, and ardb had a clear recommendation which one of those it should be, but I don't remember what that was
#asahi-dev · 2022-02-08 12:59
arndI meant implementing PSCI through a UEFI service
#asahi-dev · 2022-02-08 12:58
arndmarcan, kettenis: I don't have a reference, but when ardb said how he'd recommend doing it with EFI, it all seemed rather sensible to me
#asahi-dev · 2021-12-15 14:57
arndmarcan: the whitespace looks fine now, going through today's pull requests now

plus ›