#asahi · 2021-01-08 11:59
marcanhaven't tried it but https://derflounder.wordpress.com/2018/01/06/setting-your-mac-to-receive-macos-beta-updates-using-seedutil/#asahi · 2021-01-08 11:58
marcanbut, you know, we could just wait a week or two :-)#asahi · 2021-01-08 11:58
marcanthere *may* be some horribly convoluted workaround to do that today... something along the lines of "copy python from macos, run it, use ctypes to invoke the correct methods"; not sure if W^X would prevent that from working#asahi · 2021-01-08 11:57
marcanand to sign that you need to invoke the SEP in 1TR#asahi · 2021-01-08 11:56
marcanbut they are SEP-signed#asahi · 2021-01-08 11:56
marcanNecrosporus: yes, files in the preboot volume IIRC#asahi · 2021-01-08 11:56
marcanespecially the kind used for kernels#asahi · 2021-01-08 11:55
marcanthis platform... isn't like any other platform#asahi · 2021-01-08 11:55
marcanno offense but it's not terribly helpful to suggest random things because they happen to work on other platforms#asahi · 2021-01-08 11:55
marcanNecrosporus: which is a completely different security architecture#asahi · 2021-01-08 11:55
marcanthe SEP signs the secureboot policy#asahi · 2021-01-08 11:55
marcanyou can't just sign it#asahi · 2021-01-08 11:54
marcanyou need to add the file's hash to the secureboot policy#asahi · 2021-01-08 11:54
marcanthe elf might as well be a raw binary file#asahi · 2021-01-08 11:54
marcanI won't do those things#asahi · 2021-01-08 11:54
marcan(I always make this kind of low level stuff as "jump to entrypoint" blobs anyway, so it will work wrapped up in any executable format for the most part)#asahi · 2021-01-08 11:53
marcan(also I might just find/make an elf/blob to macho converter, because I don't feel like requiring a macho toolchain)#asahi · 2021-01-08 11:52
marcanit goes through the SEP#asahi · 2021-01-08 11:52
marcanyou need to sign a secureboot policy#asahi · 2021-01-08 11:52
marcanthat's not how it works#asahi · 2021-01-08 11:48
marcanI think the macho files should have the load address, but either way I intend to write position-independent code#asahi · 2021-01-08 11:48
marcanbut I actually intend for my first "I'm alive" test to be writing to the framebuffer#asahi · 2021-01-08 11:48
marcan(because of Apple's Samsung SoC legacy)#asahi · 2021-01-08 11:47
marcanit's a samsung UART#asahi · 2021-01-08 11:47
marcanas for UART, we know how the UART works and where it lives from the devicetree#asahi · 2021-01-08 11:47
marcanit should show up Real Soon Now I believe#asahi · 2021-01-08 11:47
marcanthere is a kmutil feature missing#asahi · 2021-01-08 08:13
marcanI'll accept the invite but no promises I can actually spend any time there :)#asahi · 2021-01-08 08:11
marcanI would appreciate it if you keep the moderation standards in line with our CoC#asahi · 2021-01-08 08:11
marcanrootspring[m]: that's okay, just don't consider officially sanctioned or anything. I don't have time to manage a subreddit tbh, so if you want to do that, go ahead#asahi · 2021-01-08 05:54
marcan*that#asahi · 2021-01-08 05:54
marcanAlex[m]17: yeah taht kind of thing#asahi · 2021-01-08 05:54
marcan(I hear)#asahi · 2021-01-08 05:53
marcanit's recovery mode copying stuff to the SSD so iBoot can boot it#asahi · 2021-01-08 05:53
marcanyes, but it's not iBoot booting from external USB#asahi · 2021-01-08 05:53
marcanapparently recovery mode copies stuff from external to ssd or something when you try to do that#asahi · 2021-01-08 05:53
marcanand it's not real#asahi · 2021-01-08 05:53
marcanI hear that's a hack#asahi · 2021-01-08 05:52
marcanthis is all subject to change as we go#asahi · 2021-01-08 05:52
marcananyway#asahi · 2021-01-08 05:52
marcanmini may or may not gain the ability to boot from internal SSD, depending on the internal interface for that. if it's simple sure, if it's complicated then no.#asahi · 2021-01-08 05:51
marcan(I've seen longer things than that :p)#asahi · 2021-01-08 05:51
marcanit's entirely possible that the chain will end up being mini - u-boot - linux#asahi · 2021-01-08 05:51
marcanas I don't plan on adding *that* to mini#asahi · 2021-01-08 05:51
marcanas in USB host#asahi · 2021-01-08 05:51
marcanu-boot will be more useful if, say, we decide that we want a bootloder that has USB support#asahi · 2021-01-08 05:50
marcanand if after that all I need to do to boot linux is put it in RAM and call it with some params, that's easier than porting u-boot at that point#asahi · 2021-01-08 05:50
marcanAlex[m]17: I know, but the reason for reinventing the wheel with mini is not to write a full blown bootloader, but to have a veeery small test environment and remote RPC protocol for hardware investigation#asahi · 2021-01-08 05:47
marcanif they really did put APFS in ROM that will be a boon to exploiters, because there is no way in hell they didn't screw that up#asahi · 2021-01-08 05:46
marcanFWIW I think there is a SPI flash or something that contains device info and may contain an iBoot stage, but I'm unclear on the details