Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Access to .dts file through adb shell

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 1/18/2018 16:53:16      1#
Open the dts file with text.
Using Linux system will be better.
Find out the uart you need to change, and match the key word, "uart"  and set"status=okay"
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 1/20/2018 11:34:40      2#
KrunalShah Posted at 1/19/2018 14:07
we are also trying the Linux way you suggested but in linux also we are not able to locate the path  ...

u should set "okay" uart in the source code. No access in adb shell command line. Usually, adb shell devicetree just provide interface for check there status. only few allow to change or access .

just modify the source code and recomplie them , reflash kernel and resource.
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 1/20/2018 11:36:39      3#
KrunalShah Posted at 1/19/2018 14:07
we are also trying the Linux way you suggested but in linux also we are not able to locate the path  ...
  1. &uart0 {
  2.         pinctrl-names = "default";
  3.         pinctrl-0 = <&uart0_xfer &uart0_cts>;                                                                                                  
  4.         status = "okay";
  5. };
Copy the code


like this. add it in rk3399-firefly.dts
complie and reflash
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 1/23/2018 09:23:23      4#
KrunalShah Posted at 1/22/2018 16:55
Thank You for your inputs.But I don't know where to copy this code and how to compile and reflash th ...

http://en.t-firefly.com/doc/product/index/id/3.html

all step you can find out in this website.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list