free UART - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85) +--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88) +--- Thread: free UART (/showthread.php?tid=5426) |
free UART - drekrob - 12-06-2017 Did someone manage to disable Serial Console to free up the UART for other another purpose? RE: free UART - dontpostalot - 12-18-2017 (12-06-2017, 07:06 AM)drekrob Wrote: Did someone manage to disable Serial Console to free up the UART for other another purpose? I think I just did, here are the steps: sudo apt-get install device-tree-compiler dtc -I dtb -O dts /boot/efi/dtb > tmp.dts // open tmp.dts with your text editor find section 'serial@ff130000' and set status from 'disabled' to 'okay' // then scroll down to find the 'fiq-debugger' section, set this status to 'disabled', save it dtc -I dts -O dtb tmp.dts > tmp.dtb sudo cp tmp.dtb /boot/efi/dtb after a reboot /dev/ttyS2 should be ready to use, good luck RE: free UART - xalius - 12-18-2017 Switching the UART in the Linux dts should work fine, but I think there are other UARTs in the pin multiplex? |