说明一下,我这个项目用了3个串口,手动进到root里面,再./main,运行程序,串口打开正常。但是我在rcS最后加入
cd root
./main &
第一个串口打开正常,其他两个串口报错standard input is not a terminal device
Starting logging: OK
Initializing random number generator... [ 1.666634] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting network: OK
open ttyS2 .....
fcn鑕t done!
open ttyS1 .....
fcntl=0
standard input is not a terminal device
fd-open=4
set done!
open ttyS0 .....
fcntl=0
standard input is not a terminal device
fd-open=5
set done!
离线