Comments (10)
Hmm, that is a bit odd. I believe that capemgr raises an IOError when it can't find an overlay file, so it could be that the overlays didn't get compiled right when you installed. What's the output of # ls /lib/firmware/PyBBIO-*
?
from pybbio.
I guess you are right. I only found '.dts' files.
I didn't think there would be a problem regarding this as when I ran setup.py, it got installed with zero warnings!
How do I fix this!
Thanks.
from pybbio.
All the corresponding ".dtbo" files are present in /lib/firmware though. Is this where they are supposed to be?
from pybbio.
Wait, they are present or they aren't? They're not there in the screen grab, which would cause the IOError. Do you have gcc installed? # which gcc
from pybbio.
Oops, I mean do you have dtc installed # which dtc
from pybbio.
- Only ".dtb" files are present /lib/firmware/PyBBIO-src
- which dtc prints nothing!
from pybbio.
To install dtc on Ubuntu:
# wget -c https://raw.github.com/RobertCNelson/tools/master/pkgs/dtc.sh
# chmod +x dtc.sh
# ./dtc.sh
Then run the PyBBIO installation again and it should work.
from pybbio.
I did an "apt-get install device-tree-compiler" (dtc.sh was not able to complete execution for network reasons, so I chose apt-get as an alternative). Installation of dtc was successful and "# which dtc" printed "/usr/bin/dtc"
Now I tried installing PyBBIO again, but it gives me this error while setup.py executing :
(I believe the error is caused at line 130-132 in PyBBIO /tools /install-bb-overlays.py)
************ stderr output ***********
dtc: invalid option -- '@'
Usage:
dtc [options]
Options:
-h
This help text...... etc
same thing repeated many times, one for each dts file.
from pybbio.
Yeah, the current dtc build for Ubuntu has a bug. The dtc.sh script is a workaround to build it from source until the apt build is updated. How did it fail?
from pybbio.
It's just a network problem, the beaglebone black does not connect to all the links.
"Err http://ports.ubuntu.com raring-updates/multiverse
could not connect "
Fails at different points of time though
(i.e.) one time it goes through till 12 Get requests (Get:12 http://ports.ubuntu.com raring/universe Translation-en [4,613 kB] )
sometime it fails at 3rd Get request itself!
No big deal, I'll fix it soon. Should work after that! [I'm also considering switching back to angstrom linux]
from pybbio.
Related Issues (20)
- I2C Library
- Unable to use PWM1A and PWM1B at the same time HOT 2
- Analog In not recognized HOT 4
- pwmFrequency int division vs float division
- GPIO resource busy error
- SPI0.write crashes Beagleblone HOT 1
- SPI0.write crashes Beagleblone HOT 1
- Questions about Contributions HOT 1
- Pull-ups, pull-down configuration issue
- GPIO configuration bug HOT 2
- SystemError: NULL result without error in PyObject_Call when testing blink.py
- example blink.py error with beaglebone black HOT 2
- BBIOServer_test.py error HOT 4
- MAX31855_test.py problem HOT 4
- importing bbio causes immediate segfault HOT 8
- WebCam - no module named gst HOT 1
- GPIO does not work after "bbio.pinMode" HOT 3
- no module named WebCam HOT 9
- Problem running PyBBIO ADC code on BBB attached to 4D Systems 4DCAPE HOT 8
- not an issue but a doubt HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybbio.