MDB runner is not capturing real board's output #26676
Labels
area: ARC
ARC Architecture
area: Documentation
area: Sanitycheck
Sanitycheck has been renamed to Twister
priority: low
Low impact/importance bug
With addition of MDB runner (see #24806) it's now possible to run Zephyr binaries on both ARC boards and nSIM simulator via MetaWare debugger. But while it works OK-ish (see #26272) with manual execution and to some extent with
sanitycheck
script with simulatednsim_*
targets, attempt to usesanitycheck
script with ARC boards results on all failed tests.That's because MDB runner is based on
ZephyrBinaryRunner
(see https://github.com/zephyrproject-rtos/zephyr/blob/master/scripts/west_commands/runners/mdb.py#L13) which listens onstdout
of the spawned process. But in case of real board connected via UART we need to act more like OpenOCD runner listening on the specified serial port.Obviously there're 2 options on how to solve this:
nsim_hs_smp
).But looking forward with addition of MetaWare toolchain support (see #22668) we'd like to have an ability to use MetaWare tools for everything (both building and running) w/o any extra tools, so having MDB runner capable of running Zephyr on real targets in
sanitycheck
could be a very nice addition. So I'd prefer the second option to be implemented.The text was updated successfully, but these errors were encountered: