You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Discord server, we've been discussing the idea of using Unicorn (which uses QEMU) to emulate the SecureROM payload, and therefore test that our code works without a device physically used for testing. This has the advantages of:
Being possible to run on each checkin in the GitHub Actions environment
Being possible to run on all supported SoCs without all hardware in the hands of any one person
Being faster and less frustrating then using a physical device in tight work loops
Being a general BAMF flex...
Because Unicorn does not provide hardware, we would have to specifically handle interrupts and MMIO for the USB controller.
QEMU and Unicorn currently puke due to a lack of support for arbitrary MSR (machine specific registers). This should be handled with QEMU / xnu-qemu-arm64 as a dependency
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the Discord server, we've been discussing the idea of using Unicorn (which uses QEMU) to emulate the SecureROM payload, and therefore test that our code works without a device physically used for testing. This has the advantages of:
Because Unicorn does not provide hardware, we would have to specifically handle interrupts and MMIO for the USB controller.
QEMU and Unicorn currently puke due to a lack of support for arbitrary MSR (machine specific registers). This should be handled with QEMU /
xnu-qemu-arm64
as a dependencyBeta Was this translation helpful? Give feedback.
All reactions