Is it possible to reuse the SoC debug UART as two independent GPIO pins that can be controlled from Linux? If so, how?
04-11-2023, 06:26 PM
(This post was last modified: 04-11-2023, 06:27 PM by KC9UDX.)
Without revisiting the schematics, I'll say "no" until someone confirms it.
But converting RS232 to as much GPIO as you care to multiplex is do-able, even with off-the-shelf controllers. However I'm not aware of any that are cheap (think obscure industrial automation) nor any that would work at the PBPs baud rate. But if you're savvy you could make your own controller with a BASIC Stamp, Arduino, or even RockPro64.
What's even easier and much cheaper, is USB GPIO. You can even hide this inside the case (I've already thought about doing this).
I think there are. I had planned on using USB internally. But I could be wrong. It should be easy to tell by looking at the schematic and board layout.
Disabling the console would have to be done in your kernel (and U-Boot). It won't be the same as a Pi.