Unable to access other UART devices
#2
Hi,

I'm using Ayufan's 3.40 kernel, and I find out that UART2 is disabled by default in data tree file. It's possibility that it's also disabled on anarsoul's kernel, so this is a way how to enable it:
PHP Code:
sudo apt-get install device-tree-compiler
sudo dtc 
-I dtb -O dts -o devicetree.dts /boot/pine64/sun50i-a64-pine64-sopine.dtb 
Now, open devicetree.dts in your favorite editor, search for uart@01c28800, and there should be status = "disabled"; , replace "disabled" with "okay", and save (maybe you will have problems with permissions, so chown the file).

Then:
PHP Code:
sudo mv /boot/pine64/sun50i-a64-pine64-sopine.dtb /boot/pine64/sun50i-a64-pine64-sopine.o.dtb
sudo dtc 
-I dts -O dtb -/boot/pine64/sun50i-a64-pine64-sopine.dtb devicetree.dts 

Now, restart your SOPINE. You should get /dev/ttyS2 here, this is your UART2 :-) .


- gamiee
Also known as gamiee


Messages In This Thread
RE: Unable to access other UART devices - by gamelaster - 10-07-2018, 06:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to change resolution and poor performance MaWalla 3 5,513 12-26-2017, 11:06 AM
Last Post: dkryder

Forum Jump:


Users browsing this thread: 1 Guest(s)