Jump to content

Recommended Posts

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.

 

Share this post


Link to post
Share on other sites

Thank you for the answer.

But, In "UART_Test_SOP.pdf" file, 

1. Config the /dtoverlay/config.txt by adb commands. 

Thinker Board S R2 was not working that command 'adb pull /dtoverlay/config.txt'.

It is not exist file.

How can I solve it? 

Thanks.

 

Edited by kwakPro

Share this post


Link to post
Share on other sites

hello @kwakPro

did you first:

adb root

adb remount

adb pull /dtoverlay/config.txt

(edit)

and then 

adb push config.txt /dtoverlay/

?

Share this post


Link to post
Share on other sites

hello @tooz

Thank you for answer.

I did it.

but

adb pull /dtoverlay/config.txt

at this command, response is "No such file or directory"

image.png

 

so I check the file by adb shell

image.png

There is no file like config.txt

 

My Device is Tinker Board S R2, Android OS Version is "Tinker_Board_2-Android11-v2.0.6-20220303.img" (I think Tinker board 2 Series have that file..)

 

I need your help. 

How can i use UART1..?

 

Thanks.

image.png

Share this post


Link to post
Share on other sites
On 11/3/2022 at 1:02 PM, tooz said:

hello @kwakPro

did you first:

adb root

adb remount

adb pull /dtoverlay/config.txt

(edit)

and then 

adb push config.txt /dtoverlay/

?

/dtoverlay/config.txt does not exist in Android 11 v1.0.0 Tinkerboard S R2.0 release.

There are only cmdline.txt file and overlays folder:

WW_Tinker_Board:/dtoverlay $ ls -la
total 24
drwxrwxrwx  3 root root 16384 2021-12-14 01:16 .
drwxr-xr-x 25 root root  4096 2021-12-14 00:43 ..
-rwxrwxrwx  1 root root    58 2021-12-14 00:46 cmdline.txt
drwxrwxrwx  2 root root  2048 2021-12-14 00:46 overlays
WW_Tinker_Board:/dtoverlay $ 

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...