> On 1. Nov 2026, at 23:05, Dr. David Alan Gilbert <[email protected]> wrote:
>
> Hi Brian,
> I tried your hexagon support booting qurt images, very nice!
> I did:
>
> ./qemu-system-hexagon -M virt -kernel ./qccdsp8380.mbn -nographic
>
> and got something believable.
>
> Do you have glue that lets you run comms to the emulated qurt via
> fastrpc in the same way that, say a Llama running on a normal
> Linux host would?
> It feels useful for debugging/watching what maths kernels are
> doing.
Hi,
There’s no FastRPC… however:
You can download the Hexagon SDK from
https://softwarecenter.qualcomm.com/catalog/item/Hexagon_SDK
That comes with a version of QuRT that is semi-hosted as runelf.pbn.
A working QuRT loading on top of that (w/ a semi-hosted -M option):
-kernel /opt/Hexagon_SDK/6.7.0.0/rtos/qurt/computev75/sdksim_bin/runelf.pbn \
-append
'/opt/Hexagon_SDK/6.7.0.0/libs/run_main_on_hexagon/ship/hexagon_toolv19_v75/run_main_on_hexagon_sim
-- libmain.so'
The QEMU on Hexagon inside of the Hexagon also (used to) comes with an oddball
QEMU Hexagon
version inside the package that has HMX emulation as a closed-source module,
but that’s a
separate story that is going to be wound down thankfully.
If you don’t want to use the Hexagon SDK, there’s another option through
hexagon-hypervisor which
has a very partial QuRT compat story. Or outright Linux on Hexagon which works
too…
The (modern) kernel tree for Linux on Hexagon being at
https://git.kernel.org/pub/scm/linux/kernel/git/bcain/linux.git/log/?h=hexagon
A pre-built artefact exists at
https://artifacts.codelinaro.org/ui/native/codelinaro-toolchain-for-hexagon/23.1.2/qcs6490-cdsp/
with the booter at
https://artifacts.codelinaro.org/ui/native/codelinaro-toolchain-for-hexagon/23.1.2/hexagon-hypervisor/
>
> (Not urgent, I'm just trying to get my head around it on my
> X1 laptop)
>
> Thanks in advance,
>
> Dave
> --
> -----Open up your eyes, open up your mind, open up your code -------
> / Dr. David Alan Gilbert | Running GNU/Linux | Happy \
> \ dave @ treblig.org | | In Hex /
> \ _________________________|_____ http://www.treblig.org |_______/
>