mix nerves.gen.qemu_script (nerves_system_x86_64 v1.17.1) View Source

Generates a shell script for starting QEMU on a firmware image that uses nerves_system_x86_64.

To use the generated script, first create the firmware image using:

$ mix firmware.image [path/to/my_app.img]

Place this image somewhere where it won't get overwritten. This image has a similar purpose to the MicroSD card, Flash memory or hard drive that a real target would use.

Next, run this command and specify the path to the image. This path may be overridden when invoking the script.

Example usage:

$ mix nerves.gen.qemu_script [path/to/my_app.img]

If the .img file isn't specified, it will default to the OTP application's name plus the .img extension.



Link to this section Summary


Callback implementation for Mix.Task.run/1.

Link to this section Functions

Callback implementation for Mix.Task.run/1.