#
✕ nick:marcan
#asahi · 2021-04-28 13:54
marcanif you're thinking of the hypervisor thing I've been schemeing, that's a very thin layer which will only emulate one or two critical peripherals, so it's not really comparable
#asahi · 2021-04-28 13:54
marcanand similarly, if qemu grows support for M1 peripherals, it'll work for booting macos on macos, or on linux
#asahi · 2021-04-28 13:53
marcannormal linux VMs will work on asahi by emulating other standard ARM platforms, which qemu can already do
#asahi · 2021-04-28 13:53
marcanqemu? only for booting macos and for testing/experiment purposes (modwizcode was working on that, they're in #asahi-dev)
#asahi · 2021-04-28 13:51
marcanpersonally, I say we just follow that kind of pattern for everything, except if we know about specific major versions we might want to insert those in the second compatible or so
#asahi · 2021-04-28 13:51
marcanbecause if we don't and the thing ends up having differences, we end up with an incompatible DT scenario
#asahi · 2021-04-28 13:50
marcanwe should include those ~everywhere (really, serial could've had one too)
#asahi · 2021-04-28 13:50
marcankettenis1: per-soc properties are a good idea, yes
#asahi · 2021-04-28 13:50
marcanillya: yes, but that's not most of the work, the peripheral emulation is
#asahi · 2021-04-28 13:49
marcanbut we're not nearly that confident for most of the other stuff
#asahi · 2021-04-28 13:49
marcanthat's why I called that one apple,s5l-uart
#asahi · 2021-04-28 13:49
marcankettenis1: if it's a very obvious one, like I did for serial which AIUI is the same since the dark ages, then I think it makes sense
#asahi · 2021-04-28 11:16
marcanI'm not sure to what extent e.g. macos will run on ARM without a working SEP, so depending on how broken it is with missing hardware things could get very complicated
#asahi · 2021-04-28 11:15
marcanyou'd also need some boot stub code most likely; m1n1 isn't in the right place in the boot hierarchy to do that for you so it wouldn't help
#asahi · 2021-04-28 11:14
marcanwell, regardless of what the host is, qemu would need to implement a bunch of apple-specific hardware most likely
#asahi · 2021-04-28 11:11
marcanwhat hypervisor? :-)
#asahi · 2021-04-28 11:11
marcanillya: as a guest of what?
#asahi · 2021-04-28 11:11
marcansven: what's the current state of the clock stuff in kernel land?
#asahi · 2021-04-26 14:41
marcanthat should be the one applicable to M1
#asahi · 2021-04-26 14:41
marcanlook in ACTLR_EL1
#asahi · 2021-04-26 14:41
marcanJaehyuk[m]: TSO shouldn't be in HID9, that's probably for older CPUs
#asahi · 2021-04-26 14:40
marcanI am not worried about people sharing ADTs on IRC and such (though I wouldn't commit them to an actual source tree)
#asahi · 2021-04-26 14:40
marcanpipcet[m]: I think the information in the ADT is largely not copyrightable, as it is a set of facts
#asahi · 2021-04-24 03:13
marcan99% sure
#asahi · 2021-04-24 03:13
marcandtantono[m]: it's locked down
#asahi · 2021-04-23 13:55
marcanall the memes.
#asahi · 2021-04-23 13:55
marcanShiz: derp. fixed.
#asahi · 2021-04-22 01:27
marcanthe mach-o code needs to support more features. this is why I reworked chainload.py to work differently the other day, so it builds the memory image in pure python first (it would be too inefficient to do it all remotely on-device, and this allows me to play relocation games more easily too)
#asahi · 2021-04-21 18:06
marcanso yeah, that's the story, and now I'm going to go to sleep and see if I can actually be productive tomorrow :P
#asahi · 2021-04-21 18:06
marcanexactly.
#asahi · 2021-04-21 18:05
marcanbut given some of what I've seen in their code, I have my doubts that they are as thorough as I try to be when understanding hardware; after all, to make a VM you just need to bullshit things enough for the one OS that matters (iOS) to run on it, not actually understand the hardware fully :-)
#asahi · 2021-04-21 18:05
marcanpersonally, given that they obviously have at least self-made hardware documentation (since their main product is a VM after all), if they want to gain some community goodwill I would suggest they start releasing that, rather than a PoC kernel :-)
#asahi · 2021-04-21 18:04
marcaneither way, we clearly have very different development methodologies, and goals; if they want to help the community out, they can start by talking to us :-)
#asahi · 2021-04-21 18:02
marcanI have strong evidence that their drivers are developed by reverse engineering macOS drivers; that may or may not be legal depending on how they do it exactly, but without further assurances about their development process, I am not willing to risk things by working directly with their code as a base
#asahi · 2021-04-21 18:01
marcan... it takes real effort to do things right and get them upstreamed rather than just dump out a PoC on github
#asahi · 2021-04-21 18:01
marcanas far as I can tell, they have no real interest in upstreaming; given the lack of communication from them, and that they haven't even updated their kernel since february, it was 1) a background PR project they had, but with little interest in upstreaming, which 2) they hastily released to stick it to me, and then 3) made empty promises about upstreaming, but quickly 4) lost interest after realizing ...
#asahi · 2021-04-21 17:59
marcannor did they reply to any of my submissions, which were CCed to them
#asahi · 2021-04-21 17:59
marcanbut after this PR stunt, they promised to upstream things and never did; never_released tried to upstream some bits and they never replied on the mailing list to any of that series
#asahi · 2021-04-21 17:58
marcanthe whole thing was very clearly a reactionary thing to get some PR for them, because the CTO was mad at me because I said we couldn't use a vendordump-style kernel with no signoff
#asahi · 2021-04-21 17:58
marcanI pointed that out, they removed the file from their server, then it came back without the blob
#asahi · 2021-04-21 17:57
marcanthen the next day they released a kernel blob (no source) that also contained the broadcom firmware embedded (taken from macOS, not legally redistributable)
#asahi · 2021-04-21 17:57
marcanthen he stopped replying, and they announced "we've ported Linux to M1" the next day
#asahi · 2021-04-21 17:57
marcanthe CTO got mad at me, went on a nonsensical tirade on DMs, while I tried to calmly explain what would be needed for the community to be able to use their code
#asahi · 2021-04-21 17:56
marcanthen I heard nothing from them until around when the macOS beta with external kernel support was released; I tweeted something about not being able to use the old sandcastle kernel they had released (because it wasn't properly signed off nor had it been released with usable history / any kind of traceability)
#asahi · 2021-04-21 17:55
marcanthe CTO had DMed me about them being working on this internally before; I asked for details and he said "oh actually it's not a priority any more"
#asahi · 2021-04-21 17:55
marcanpipcet[m]: it wasn't the community reaction that got corellium to reconsider putting more resources into it; it was the opposite
#asahi · 2021-04-20 18:46
marcannice built in fast as heck SSD for metadata, plug in some USB or TB HDDs for data
#asahi · 2021-04-20 18:46
marcaneither way I've been meaning to build a Ceph cluster at home out of cheap ARM boards... but if I get like 4 Mac Minis I could dual purpose them as OSDs and build hosts :p
#asahi · 2021-04-20 18:45
marcanexactly :p
#asahi · 2021-04-20 18:45
marcanalso is it actually faster than an M1?

plus ›