#
✕ nick:Necrosporus
#asahi · 2021-01-06 18:50
Necrosporusyeah, but it was already done by mar can
#asahi · 2021-01-06 18:49
Necrosporusif it will then indeed, booting arbitrary code is possible (in reality not just in docs)
#asahi · 2021-01-06 18:48
NecrosporusSo my idea is: change one byte in kernel binary (landing on a text string preferably), sign it with your own signature and see if it will start to boot
#asahi · 2021-01-06 18:47
NecrosporusThough as far as I get, iBoot will still only boot signed kernel, but with the setting it will boot self-signed kernels
#asahi · 2021-01-06 18:46
Necrosporusremoving signature shouldn't be impossible
#asahi · 2021-01-06 18:46
NecrosporusDid anybody try to load anything not signed by apple on m1's yet?
#asahi · 2021-01-06 18:45
NecrosporusYes, but doc is one thing and real test is another
#asahi · 2021-01-06 18:45
NecrosporusIs stage "test code execution" hard? Why not to try to change one random byte in macOS kernel and see if it can be booted? It will prove that indeed security settings allow custom code
#asahi · 2021-01-06 17:56
NecrosporusAnd why u-boot isn't used for x86, if it's that cool?
#asahi · 2021-01-06 17:55
NecrosporusAre there no alternatives?
#asahi · 2021-01-06 17:41
Necrosporusit supports many filesystems at least
#asahi · 2021-01-06 17:41
Necrosporusmaybe GRUB2?
#asahi · 2021-01-06 17:40
NecrosporusIs there a bootloader which supports APFS?
#asahi · 2021-01-06 17:39
NecrosporusAnd which particular implementation of EFI do they use?
#asahi · 2021-01-06 17:36
NecrosporusProbably. But other armv8 board seem to use u-boot only... or not?
#asahi · 2021-01-06 17:34
NecrosporusGrub in turn can load most of systems there are including bsd
#asahi · 2021-01-06 17:34
NecrosporusI am talking about running grub from iboot, so apple bootloader takes place of coreboot in this chain
#asahi · 2021-01-06 17:34
NecrosporusNo, I'm not talking about coreboot
#asahi · 2021-01-06 17:33
Necrosporus( I have flashed libreboot in it)
#asahi · 2021-01-06 17:33
NecrosporusSame as Coreboot → GRUB → Kernel on my thinkpad laptop
#asahi · 2021-01-06 17:33
NecrosporusI mean like iBoot → GRUB → Kernel
#asahi · 2021-01-06 17:32
NecrosporusIs it possible to use GRUB2?
#asahi · 2021-01-06 17:32
Necrosporushttps://www.cnx-software.com/2020/02/18/raspberry-pi-4-uefiacpi-firmware-aims-to-make-the-board-sbbr-compliant/
#asahi · 2021-01-06 17:31
Necrosporuswhy search engine has microsoft at the top?
#asahi · 2021-01-06 17:30
NecrosporusIsn't ESRT microsoft NMIH analog of device tree?
#asahi · 2021-01-06 17:28
NecrosporusI do not understand why are you not happy with regular u-boot like interface? Maybe it makes sense to make iBoot load Das u-boot which in turn can load any other OS
#asahi · 2021-01-06 17:26
NecrosporusStill some kind of shim bootloader is probably useful, since I doubt that iboot is easy to configure
#asahi · 2021-01-06 17:25
NecrosporusI thought it will be used as shim bootloader for linux
#asahi · 2021-01-06 17:25
NecrosporusI think it's less than ideal
#asahi · 2021-01-06 17:25
Necrosporuswhy do you want UEFI though?
#asahi · 2021-01-06 17:25
Necrosporusmarcan have said he's going to use the code he wrote for Wii before, which is planned to be the first custom code to be run. Then the kernel will handle the rest
#asahi · 2021-01-06 17:23
Necrosporusdiz3y, I don't get what you want? M1 has iBoot, it will boot the rest of the stuff. as far as I understand there will be a shim bootloader which can set up the UART and stuff and then linux kernel
#asahi · 2021-01-06 17:17
NecrosporusCoreboot can load u-boot as payload
#asahi · 2021-01-06 17:17
NecrosporusU-boot can implement UEFI
#asahi · 2021-01-06 17:17
NecrosporusDo you know what all those things do?
#asahi · 2021-01-06 16:25
NecrosporusAnd probably won't because it's outdated. I'm stuck with 2.6.34 kernel
#asahi · 2021-01-06 16:24
Necrosporusjn__, though linux-meson doesn't support my amlogic device :(
#asahi · 2021-01-06 09:15
NecrosporusWhy do you think that it's not already implemented?