完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在使用4.14.40-ti-r50内核和[U-Boot 2018.03-00002-gac9cce7c6a]的U-Boot版本运行Debian Stretch
我遇到的问题是我在更新设备树覆盖后无法控制我的GPIO。 我根据此pdf的第7页更新了DTO。 Skywire BeagleBone Black Cape可以按照预期连接到互联网,我现在无法控制任何其他GPIO。 我试图在/ sys / classes / gpio设置下手动控制GPIO的终端,它只显示2个甚至没有在BBB引脚图上的gpios,当我尝试将正确的GPIO导出到这个列表中时,我 能够更改值,但不会通过GPIO发送信号。 我甚至检查GPIO是否是MUX,但是它们没有显示为可用。 我正在考虑当我根据导致此问题的斗篷的用户手册更新设备树覆盖时。 我需要GPIO连接传感器和LED但不控制GPIO,我的程序将无法正常工作。 如果您需要任何其他日志文件,请告诉我。 以上来自于谷歌翻译 以下为原文 I am running Debian Stretch with the 4.14.40-ti-r50 kernel and a U-Boot version of [U-Boot 2018.03-00002-gac9cce7c6a] The problem that I am running into is that I am unable to control my GPIO’s after updating my Device Tree Overlay. I updated the DTO as per page 7 of this pdf. The Skywire BeagleBone Black Cape is able to connect to the internet as intended, I just cannot control any of the other GPIO’s now. I have tried to manually controll the GPIO’s through terminal under the /sys/classes/gpio settings and it only displays 2 gpios that are not even on the BBB pin out diagram, and when I try to export the correct GPIO’s into this list, I am able to change the values but it will not send the signal over the GPIO. I even check to see if the GPIO’s are MUX’d, but non of them show as available. I am thinking it was when I updated the device tree overlay as per the user manual for the cape that caused this issue. I am needing the GPIOs to connect to sensors and LEDs but without control of the GPIOs, my program won’t work. If you need any other log files, please let me know. |
|
相关推荐
2个回答
|
|
嗨特拉维斯,
我现在远离我的Skywire斗篷。 但是,没有斗篷使用的任何引脚应该可以通过/ sys / class / gpio自由导出。 您尝试导出哪些引脚,请记住默认情况下启用了hdmi-audio,因此您可能需要禁用某些板载设备: https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Disable_on-board_devices 问候, 以上来自于谷歌翻译 以下为原文 Hi Travis, I’m currently away from my Skywire cape. But yes, any pins not used by the cape should be free to export thru /sys/class/gpio. Which pins are you trying to export, remember hdmi-audio is enabled by default, so you might need to disable some of the on-board devices: https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Disable_on-board_devices Regards, |
|
|
|
下午好罗伯特,
感谢您的回复,但幸好我今天早些时候通过更改内核和Uboot版本来修复我的问题。 我的问题不再存在。 我想我应该把这个话题标记为封闭或者其他什么,我只是不确定如何。 但是再次感谢您抽出宝贵时间作出回应。 以上来自于谷歌翻译 以下为原文 Good Afternoon Robert, Thank you for responding, but thankfully I was able to fix my issue earlier today by changing the Kernel and Uboot versions. My problem is no longer existent. I guess I should mark this topic as closed or something, I just am not exactly sure how. But thank you again for taking the time to respond. |
|
|
|
只有小组成员才能发言,加入小组>>
3475 浏览 3 评论
516浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-21 13:19 , Processed in 0.557573 second(s), Total 78, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号