free UART
#1
Did someone manage to disable Serial Console to free up the UART for other another purpose?
  Reply
#2
(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
  Reply
#3
Switching the UART in the Linux dts should work fine, but I think there are other UARTs in the pin multiplex?
Come have a chat in the Pine IRC channel >>
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Using multiple UART's on Rock64. ramprasad 0 880 08-29-2022, 01:22 PM
Last Post: ramprasad
  Using multiple UART's on Rock64. sachineswar 0 860 08-29-2022, 12:31 PM
Last Post: sachineswar
  If installing free software system which devices will not work? heocb 6 6,751 08-17-2018, 09:42 AM
Last Post: heocb
  bootlin creates free vpu software for the rock64? heocb 2 3,450 08-13-2018, 04:00 PM
Last Post: mcerveny
  Debian image takes all Free Space croquin 2 2,587 02-28-2018, 04:04 PM
Last Post: dkryder
  Configure the UART 1 for connecting Bluetooth module channaankit25 2 3,484 10-11-2017, 10:09 AM
Last Post: MarkHaysHarris777

Forum Jump:


Users browsing this thread: 1 Guest(s)