Comments (4)
@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.
@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.
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.
@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)
- Just changing version does not change the rootfs HOT 11
- FAT32 /data partition HOT 6
- Adding a new Board (x86_64) HOT 3
- Wrong FAT in wiki/Partitions HOT 1
- Restart wifi instead of reboot whole system HOT 2
- Option to install pre-releses using fwupdate HOT 1
- Need to update wpa_supplicant.con info HOT 3
- Wiki: no space usage estimation in Getting Started's Prerequisites HOT 1
- Several missing Wiki pages HOT 1
- Tried to build ThingOS got err LD_LIBRARY_PATH env vars HOT 1
- Building on Arch Linux host broken HOT 2
- Compilation Error: No rule to make target 'arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4.dtb' HOT 1
- why does motioneyeos always fail on boot at wpa_supplicant? HOT 3
- How to create wpa_supplicant, where to put it and what should be in it? HOT 1
- Support for Raspberry Pi Zero 2 W HOT 7
- Discussion: how about Buildroot externals? HOT 6
- RaspberryPi 0W: fwupdate fails from time to time HOT 3
- RaspberryPi 0W: Wifi AP is broken
- FTP WebCam HOT 1
- Question: Where do the initrd.gz files come from? 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 thingos.