uboot에서 bootargs를 통해 uart baudrate을 설정하고싶습니다.
글쓴이: mogin1 / 작성시간: 화, 2010/06/15 - 12:42오전
uboot에서 bootargs를 통해 uart baudrate을 설정하고싶습니다.
uboot에서는 디폴트 콘솔을 ttySAC0로 설정하고 9600n81로 설정하였습니다.
bootargs=root=/dev/nfs rw nfsroot=192.168.100.151:/home/s3c2440/rootnfs/ ip=192.168.100.155:192.168.100.151:192.168.100.1:255.255.255.0::eth0:off ethaddr=00:0C:29:B4:AA:22 console=ttySAC0,9600n81
근데 부팅하고 나서
inittab에서는
ttySAC0::respawn:/sbin/getty -L 115200 ttySAC0
으로 getty를 실행시켜서 baudrate이 바껴버립니다...
getty실행할때 bootargs로 넘겨받은 값으로 콘솔을 열려고 하는데 좋은방법이없을까요?
Forums:
댓글 달기