Does the m1/m2 expose a serial port on the USB-C connector? I haven't seen that outside of mobile phones that require special debugging jigs (most requiring a secret resistor values between various pins to turn it on). More info in the README: https://git.kernel.org/pub/scm/linux/kernel/git/maz/cs-hw.gi... This actually looks like something I needed to build for some low-level bootloader work, and I had exactly the s…
See https://github.com/AsahiLinux/docs/wiki/HW%3AUSB-PD - some of the USB-C ports respond to USB PD Vendor-Defined Messages to trigger a bunch of debug features, including rebooting the SoC or configuring one of the internal UARTs to output to two pins on the USB-C connector.
In my design I needed to do the a similar thing -- physically switch the USB2.0 lines between USB and raw serial. Using the pico for a USB serial gadget is smart. I used a USB/serial adapter for my project and it was a PITA.