Simplify switching between serial connections on target device
We have devices which use separate serial outputs for MCC, AP and SCP output.
Currently we use the “new_connection” boot method to switch between UART0 and UART1 in order to catch the kernel booting once MCC flash stage is complete, but this solution is not ideal.
To reduce the number of actions that must be defined in jobs, my recommendation is to allow multiple connections (possibly defined with a particular tag in “connection_tags” for the device) to be established and continuously output to the logs throughout a job. Each action/stage could then select which connection is actually monitored and interacted with via the “connection” option (example below).
- boot: namespace: target connection: uart1 method: minimal