customer upgrade system from SDK6.0 to Processor SDK6.0, in the old kernel 3.2, the UART default name is ttyO0, now it is ttyS0,
How to map ttyS0 to ttyO0, then no need to modify application code.
Or how to change the name of ttyS0 to ttyO0?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
customer upgrade system from SDK6.0 to Processor SDK6.0, in the old kernel 3.2, the UART default name is ttyO0, now it is ttyS0,
How to map ttyS0 to ttyO0, then no need to modify application code.
Or how to change the name of ttyS0 to ttyO0?
Well, udev could change the name.
However, my problem is that i'm using the old file system in kernel3.2 and the old uart's initial name seems to be ttyO* without udev rules.
Could change uart initial name in the new kernel ? The initial output of debug serial:
[ 0.000420] Console: colour dummy device 80x30
[ 0.000450] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000457] This ensures that you still see kernel messages. Please
user5872934 said:Could change uart initial name in the new kernel ?
I guess you could, but why not use udev, it is simple and easy.