Norman James | 4c50fca | 2015-11-01 07:39:29 -0600 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | systemctl stop serial-getty@ttyS0 | ||||
4 | |||||
Norman James | ed04317 | 2016-02-10 07:03:07 -0600 | [diff] [blame] | 5 | # Setup VUART |
6 | VUART=/sys/devices/platform/ahb/ahb:apb/1e787000.vuart | ||||
7 | echo 4 > $VUART/sirq | ||||
8 | echo 0x3f8 > $VUART/lpc_address | ||||
9 | echo 1 > $VUART/enabled |