GithubHelp home page GithubHelp logo

Comments (4)

ccrisan avatar ccrisan commented on September 18, 2024

@jasaw I had a few spare days and managed to take care of various tasks I had planned for thingOS as well as motionEyeOS.

Now regarding this particular issue, what is the root cause of the problem? I don't think that changing the toolchain would make a significant difference.

Back in the day I wanted to have an OS image as small as possible and so I removed various files and directories that did not seem to be used. The RPi-specific cleanups.sh removes /opt/vc/src and /opt/vc/include (after building everything, from the very final target filesystem). Can this be related?

So what is this problem really about, as I can't seem to find any errors in building the currently selected packages?

from thingos.

jasaw avatar jasaw commented on September 18, 2024

@ccrisan I'm not 100% sure the official toolchain is the root cause of vcdbg failing to run. The previous time (more than 1 year ago) I built my own RPi Linux image from buildroot, I had to configure buildroot to use external toolchain, and point it to the official toolchain. I haven't checked whether there's a mismatch in our toolchain config vs the official toolchain.

On second thought, vcdbg failing to run may also be caused by mismatch of rpi-firmware version vs our kernel or toolchain. I noticed you have updated ThingOS's buildroot. May be worth trying vcdbg again, see if it's fixed.

Regarding the RPi cleanups.sh, vcdbg is provided by rpi-firmware as a binary only, so removing source and include files won't cause any problem. You also won't get any compile time errors because it's a binary. As you can see, running a pre-compiled binary can be problematic because we need to provide the same runtime environment in order to run it.

from thingos.

ccrisan avatar ccrisan commented on September 18, 2024

Can you try and see if the problem is still there with the current dev branch (either motionEyeOS or thingOS)?I'm planning on switching to an external toolchain for RPi as well, at least for the sake of reduced build time. At least RPi2 and RPi3 should behave well when compiled with linaro or similar.

from thingos.

jasaw avatar jasaw commented on September 18, 2024

@ccrisan Sorry about the late reply. I have just tested vcdbg on version 20180101, and it's working now. I'm going to close this issue as vcdbg works without changing to external toolchain.

from thingos.

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.