corellium / preloader-m1

Preloader for Linux on M1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

 Preloader-M1
 ~~~~~~~~~~~~~

To build:

 * make sure you have the appropriate toolchain (see Makefile),
 * put links to Image and apple-m1-j274.dtb from kernel build in cwd,
 * run make.

This results in a file called test.macho.

To use macho: start your mac in 1TR (hold power button during boot, select Options)
and run the following commands:

  bputil -n -k -c -a -s
  csrutil disable
  csrutil authenticated-root disable

The above commands need to be run only once.

To install an image:

  kmutil configure-boot -c test.macho -v /Volumes/Macintosh HD/

To revert back to original Mac OS boot:

  bputil -n pol change

About

Preloader for Linux on M1

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 91.7%Language:Assembly 7.1%Language:Makefile 1.2%