Disable serial debug on UART0 and enable it on UART4

162 views
Skip to first unread message

An Ra

unread,
Aug 4, 2018, 3:59:38 PM8/4/18
to BeagleBoard

Hi all,

I am using a Pocketbeagle running debian 9.3 (downloaded from the beagleboard.org).
Could someone please show me how:

1) to disable the serial debug on UART0 to use this interface normally with other devices and not for debugging.
2) and how to enable serial debugging (console) on UART4.

These changes would rather be undone after reboot.

I tried googling it of course, but none of the solutions I found seems to work.

Thanks

An Ra

unread,
Aug 6, 2018, 3:02:54 PM8/6/18
to BeagleBoard
I was able to answer my first question based on this discussion:

Typing "systemctl mask serial...@ttyS0.service" returned "Failed to mask unit: The name org.freedesktop.PolicyKit1 was not provided by any .service files".
After adding sudo: "sudo systemctl mask serial...@ttyS0.service" and rebooting, the service "serial...@ttyS0.service" disappeared from "systemctl --full".
Reply all
Reply to author
Forward
0 new messages