I have an external serial peripheral that needs to be setup on Linux boot, on an embedded system. What I need is sending a short configuration string as early as possible during system boot, so my procedure is simply
- Set port to 115200 bps
- Send a string, like "ABCDE\r\n"
I see that recent kernels support an early-on serial console, but what I need is not a console (my peripheral can also send meaningless data in that phase, plus I'll be showing a splash screen in graphic mode), just a fast initialization for the the peripheral.
How can it be done?