Hello all,
I thought I'd fine clear information online how to do it, but I admit all this u-boot and linux kernel stuff has me confused in some things. Some other, not so much... it's a learning process.
I built a Cyclone V Linux image with Uboot using Buildroot and was able to customize a bunch of things to my liking. Most of it going very well.
Now, after start up, I'd like to either:
- Disable the Console output
- Move to Console output to ttyUSB0 (which in some cases may or may not be connected...)
- Redirect the Console or dmesg outputs to a file, so I can have a look at them after a reboot.
Thing is I want to use UART0 and UART1 for my own purposes and the additional ports (ttyUSB for example) in case I need the console. I can always log into the unit via SSH, so I don't necessarily need the console output.
Is it possible to do any of the three above? I guess. Where do I find information about /dev/console, which at the moment is the same as /dev/ttyS0 ?
Any pointers are very welcome.
Cheers,
Alberto