Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Missing directories/files #16

Open
holoGDM opened this issue Apr 11, 2018 · 1 comment
Open

Missing directories/files #16

holoGDM opened this issue Apr 11, 2018 · 1 comment

Comments

@holoGDM
Copy link

holoGDM commented Apr 11, 2018

When im trying to execute commands from instruction only one is executed:

root@beaglebone:~# /bin/bash -c "/bin/echo uart > /sys/devices/platform/ocp/ocp:P9_21_pinmux/state"
/bin/bash: /sys/devices/platform/ocp/ocp:P9_21_pinmux/state: No such file or directory
root@beaglebone:~# /bin/bash -c "/bin/echo uart > /sys/devices/platform/ocp/ocp:P9_22_pinmux/state"
/bin/bash: /sys/devices/platform/ocp/ocp:P9_22_pinmux/state: No such file or directory
root@beaglebone:~# /bin/bash -c "/bin/echo uart > /sys/devices/platform/ocp/ocp:P9_24_pinmux/state"
/bin/bash: /sys/devices/platform/ocp/ocp:P9_24_pinmux/state: No such file or directory
root@beaglebone:~# /bin/bash -c "/bin/echo uart > /sys/devices/platform/ocp/ocp:P9_26_pinmux/state"
/bin/bash: /sys/devices/platform/ocp/ocp:P9_26_pinmux/state: No such file or directory
root@beaglebone:~# /bin/bash -c "/bin/echo pruecapin_pu > /sys/devices/platform/ocp/ocp:P8_15_pinmux/state"
root@beaglebone:~# 

kernel:

root@beaglebone:~# uname -a
Linux beaglebone 4.4.113-ti-rt-r149 #1 SMP PREEMPT RT Fri Apr 6 22:38:23 UTC 2018 armv7l GNU/Linux
root@beaglebone:~# 
@holoGDM
Copy link
Author

holoGDM commented Apr 18, 2018

There are some changes in linux kernel. Now BBBlue overlays and tree need to be configured in such way:

https://groups.google.com/forum/#!searchin/beaglebone/.dtbo$20holosian%7Csort:date/beaglebone/plsVAbhiYxE/-fYLsJA4CAAJ


ExecStartPre=/bin/bash -c "/bin/echo uart > /sys/devices/platform/ocp/ocp:P9_21_pinmux/state"
ExecStartPre=/bin/bash -c "/bin/echo uart > /sys/devices/platform/ocp/ocp:P9_22_pinmux/state"
ExecStartPre=/bin/bash -c "/bin/echo uart > /sys/devices/platform/ocp/ocp:P9_24_pinmux/state"
ExecStartPre=/bin/bash -c "/bin/echo uart > /sys/devices/platform/ocp/ocp:P9_26_pinmux/state"
ExecStartPre=/bin/bash -c "/bin/echo pruecapin_pu > /sys/devices/platform/ocp/ocp:P8_15_pinmux/state"

those settings are probably not needed anymore (or am wrong? - please correct me in that case)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant