Exercise \- Run SBL on QEMU

Note

In this exercise, we’ll learn how to boot to SBL Shell in QEMU emulator.

You can execute SBL with the following steps:

  1. Working on Command Prompt

  2. Execute SBL on QEMU by using the following command:

  • Windows:

    "C:\Program Files\qemu\qemu-system-x86_64.exe" -m 256M -machine q35 -serial stdio  -pflash Outputs\qemu\SlimBootloader.bin
    
  • Linux:

    qemu-system-x86_64 -m 256M -machine q35 -serial mon:stdio -nographic -pflash Outputs/qemu/SlimBootloader.bin
    
Compile completed

Tip

Quit QEMU emulator

  • Windows:

    CTRL + c
    
  • Linux:

    CTRL + a, then x