0
SecureXperts

Tinker board S / Enabling Serial Port hardware (USV Hat from StromPi)

Recommended Posts

Hi 

 

I need to do the following things on my Tinker Board S what i normally do on Raspberry Pi 3:

raspi-config; system; Hardware;  5 interfacing options, 6 Serial
Would you like a login shell to be accessible over serial? = No
Would you like the serial port hardware to be enabled? = Yes

then I need to add the following line in the /boot/config.txt

dtoverlay=rpi3-minuart-bt

This activates the Serial Console on /dev/serial0

Where do I config Serial and how?

what is the correct dtoverlay for the miniuar-bt in tinkerboard?

 

does anyone have a hint for me?

Share this post


Link to post
Share on other sites
23 hours ago, martinayotte said:

Your question is not really clear ...

What are you trying to achieve ?

Hi

I would need the GPIO 15 & 16 Serial Port at Physical Pin 8 and 10 referenced as /dev/serial0 or /dev/ttyAMA0 

 

 

image.thumb.png.1ce2db8f5215a8abf9cb53ad840df93a.png

 

And here dmesg output 

 

dmesg | grep tty
[    0.000000] Kernel command line: earlyprintk root=UUID=bae26a9d-0ce2-427d-b5ad-fc7e7f9144e6 rootwait rootfstype=ext4 console=ttyS2,115200n8 console=tty1 panic=10 consoleblank=0 loglevel=1 ubootpart=6dc22fe6-01 usb-storage.quirks=   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    0.001831] console [tty1] enabled
[    2.395963] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 39, base_baud = 1500000) is a 16550A
[    2.396976] ff190000.serial: ttyS1 at MMIO 0xff190000 (irq = 40, base_baud = 1500000) is a 16550A
[    2.398003] ff690000.serial: ttyS2 at MMIO 0xff690000 (irq = 41, base_baud = 1500000) is a 16550A
[    2.398219] console [ttyS2] enabled
[    5.187164] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB0
[    5.188446] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB1
[    5.190296] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB2
[    5.192186] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB3
[    8.533335] ttyS2 - failed to request DMA
[   10.494551] usb 1-1.1: cp210x converter now attached to ttyUSB4
[   10.542230] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB5
[   17.112699] ttyS0 - failed to request DMA

 

Thanks

Share this post


Link to post
Share on other sites
4 hours ago, SecureXperts said:

would need the GPIO 14 & 15 Serial Port at Physical Pin 8 and 10 referenced as /dev/serial0 or /dev/ttyAMA0

I don't own a TinkerBoard, but looking at kernel sources, the DT seems to have all UARTs already enabled.

But I presume that GPIO14/15 are not at /dev/serial0 or /dev/ttyAMA0, but maybe some thing like /dev/ttyS1 .

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0