Board-specific boot firmware
The CDSP/NSP machines can use the host firmware shipped in pc-bios,
selected with -bios. These images contain H2 and either the booter
or loadlinux loader. Use -L to specify QEMU’s firmware directory
when running an uninstalled build.
Machine |
CPU |
|
Image suffix |
|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hexagon_loadlinux_<suffix>Boots a guest operating system written for the Hexagon VM interface. Despite the name, it is not specific to Linux. H2 starts the guest from an image that QEMU has placed at the
-kerneladdress in the table above.hexagon_booter_<suffix>Runs H2 user programs. The booter creates a VM, loads a program that it reads from the host through semihosting, and waits for the program to exit:
qemu-system-hexagon -M qcs6490-cdsp -serial stdio -display none \ -bios hexagon_booter_qcs6490_cdsp \ -semihosting-config enable=on,target=native,arg=booter,arg=prog.elf
Programs are loaded at
0xa2000000by default; the booter’s--guest_baseoption changes this (arg=--helplists its options).For more info, see <https://github.com/qualcomm/hexagon-hypervisor>.