Can someone explain how to get the serial ports to work on a beaglebone with the nodeJS resinOS image? I figure the solution is to add something to my Dockerfile. What is it?
My confusion is below:
I have no problems doing this on a beaglebone without resin.os.
There seems to be 2 methods of doing this for a beaglebone: writing to uEnv.txt, or echo BB-UART4 > /sys/devices/platform/bone_capemgr/slots
They don’t work inside the container. COPYing a uEnv.txt into the container (in the dockerfile), does nothing (there is no uEnv.txt in the filesystem anyway), and the result of running the following inside the container: echo BB-UART4 > /sys/devices/platform/bone_capemgr/slots is echo: write error: File exists.
What am I missing here?
Thanks a lot.