Git Product home page Git Product logo

Comments (10)

alexanderhiam avatar alexanderhiam commented on July 30, 2024

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.

deepakkarki avatar deepakkarki commented on July 30, 2024

I guess you are right. I only found '.dts' files.
test2
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.

deepakkarki avatar deepakkarki commented on July 30, 2024

All the corresponding ".dtbo" files are present in /lib/firmware though. Is this where they are supposed to be?

from pybbio.

alexanderhiam avatar alexanderhiam commented on July 30, 2024

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.

alexanderhiam avatar alexanderhiam commented on July 30, 2024

Oops, I mean do you have dtc installed # which dtc

from pybbio.

deepakkarki avatar deepakkarki commented on July 30, 2024
  • Only ".dtb" files are present /lib/firmware/PyBBIO-src
  • which dtc prints nothing!

from pybbio.

alexanderhiam avatar alexanderhiam commented on July 30, 2024

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.

deepakkarki avatar deepakkarki commented on July 30, 2024

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.

alexanderhiam avatar alexanderhiam commented on July 30, 2024

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.

deepakkarki avatar deepakkarki commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.