H/W 디자인시 uartlite를 추가하고, 전송 속도를 115200이 아닌값을 설정한 경우 petalinux 설정에서 아래와 같이 설정이 uartlite로 설정이 변경된다.
Subsystem AUTO Hardware Settings->Serial Settings->system stdin/stdout baudrate for psu_uart_0 (19200) --->
여기서 uartlite의 설정은 19200으로 설정함.
build/conf/plnxtool.conf 이곳에 SERIAL_CONSOLES이 19200으로 되어있음
이는 Xilinx의 버그 이며, 아래와 같이 설정으로 hang을 벗어날수있다.
vi ~/project-spec/meta-user/conf/petalinuxbsp.conf
SERIAL_CONSOLES = "115200;ttyPS0"
설정 추가후 빌드
Xilinx 이슈 Link
https://support.xilinx.com/s/article/76468?language=en_US
https://support.xilinx.com/s/question/0D52E00006hpPSvSAM/console-ps-uart0-baud-rate-bug-when-a-different-axi-uart-lite-instantiated-in-pl-with-a-different-baud-rate?language=en_US
댓글 없음:
댓글 쓰기