Executor: Add support for Apple M1/2
DUT setup process (manual):
- Install in expert mode (m1n1 only, once per firmware version)
Boot flow:
- Use a udev rule to make the central scrutinizer appear at
/dev/ci-tron/central scrutinizer/$picoserial
- When m1n1 booted, new USB devices appear. Use a udev rule to make it appear at
/dev/ci-tron/m1n1/$machineserial
:- Run a m1n1 script to select the firmware you want to use (may involve a reboot of the machine)
- Run a m1n1 script to boot the right kernel/initrd/kernel cmdline
- If m1n1 device missing, send reboot command over the central scrutiziner device (PDU driver)
- Use the machine's serial ID as the salad/MaRS machine ID
- Rather than shutting down, just use reboot to go back to m1n1
This will require:
- Having support for "boot drivers"
- Allow specifying boot-driver-specific parameters: m1n1 binary, firmware version