Search the Community
Showing results for tags 'uart'.
Found 4 results
-
Hi all, I'm deploying Tinker Board 3S units in an embedded product where physical debug interfaces need to be locked down for security. I want to completely disable the debug UART console (3-pin header, ttyFIQ0 @ 1500000 baud) so that no shell access or boot log output is possible through the serial port. What I've considered so far: - Removing "console=ttyFIQ0,1500000" from the kernel command line - Masking getty@ttyFIQ0.service - Disabling the UART node in the device tree (status = "disabled") My questions: 1. Is removing the kernel console parameter + masking getty sufficient, or does U-Boot itself also output to this UART before the kernel takes over? If so, is there a way to silence U-Boot output as well? 2. Is there a recommended device tree overlay approach to fully disable this UART on the RK3566? 3. Are there any side effects to disabling this UART (e.g., boot failures, watchdog issues)? Environment: - TinkerOS Debian on eMMC - Headless deployment, SSH-only access over Ethernet Any guidance or experience with production hardening on TB3S would be appreciated. Thanks!
-
I need help. I have a Tinker Board S R2. I want to use UART with Android 11 OS. Is this possible? In some information, Tinker Board 2 use UART with Android OS by "Mraa library for android". But, I want use it with Tinker Board S R2. Please, give me a answer. Thanks.
- 6 replies
-
- tinker board s r2
- uart
-
(and 1 more)
Tagged with:
-
Hello. I want to use Uart in GPIO with Tinker Board S R2. But, below url, there are information aboutTinker Board 2 Series. https://github.com/TinkerBoard/TinkerBoard/wiki/Developer-Guide#mraa-library-for-android In Tinker Board S R2, Where is 'config.txt' ? I make it in /dtoverlay/config.txt, but i think it doesn't working. How to use GPIO port in Tinker Board S R2? How can I use 'config.txt' file? Thanks.
- 1 reply
-
- tinkerboardsr2
- uart
-
(and 3 more)
Tagged with:
-
Hello, As the ASUS Tinker Board has so many wonderful features and direct access of lower level peripherals, I've decided to migrate my development from raspberry Pi to Tinker board. Right now, I'm starting with a basic UART code which sends and receive some strings serially but unfortunately it is not working as expected. The UART I'm trying to use UART1 (Pin number 8 and 10). Right now, if (serialDataAvail(fd)) is getting true every single time. After reading the data serialGetchar(fd), I found out that, the RX pin is in low state (receiving 255 continuously). Although, my code has no error, but I'll still add it here. #include <stdio.h> #include <string.h> #include <errno.h> #include <wiringPi.h> #include <wiringSerial.h> int main () { int fd,inCount = 0 ; char inBuff[500],OutBuff[500]; if (wiringPiSetup () == -1) { fprintf (stdout, "Unable to start wiringPi: %s\n", strerror (errno)) ; return 1 ; } else printf("wiringPi: init successfull! \n\r"); if((fd = serialOpen ("/dev/ttyS0", 115200)) < 0) { fprintf (stderr, "Unable to open serial device: %s\n", strerror (errno)) ; return 1 ; } else printf("Serila: /dev/ttyS0 successfully opened! \n\r"); while (1) { if (serialDataAvail(fd)) { inBuff[inCount] = serialGetchar(fd); if ( inBuff[inCount] == '\n') { printf("RX String=%s"); memset(inBuff,'\0',inCount); inCount = 0 ; } inCount++; if ( inCount == 500) { inCount = 0; memset(inBuff,'\0',inCount); } } } } The reply of "dmesg | grep tty" is attached below.
