Comments (7)
Comment by giuliomoro
Monday Apr 24, 2017 at 13:02 GMT
the -no-pie
is generated by xeno-config
you can manage to compile with
# remove dependencies from libasound:
# truncate files
echo > core/Midi.cpp
echo > core/Midi.h
# then remove `-lasound` from `Makefile`
At this point it compiles but it does not run:
it returns -EINVAL
(invalid argument) when trying to do rt_task_bind
or rt_task_create
. Perhaps something went wrong in compiling libraries and tools ?
from bela-image-builder.
Comment by giuliomoro
Monday Apr 24, 2017 at 14:32 GMT
/usr/xenomai/bin/latency
does not depend on any of the xenomai lib (strange enough).
So I guess there may be something broken in the libxenomai
build
from bela-image-builder.
Comment by LBDonovan
Monday Apr 24, 2017 at 14:38 GMT
really? but /usr/xenomai/bin/xeno-test also runs fine...
from bela-image-builder.
Comment by LBDonovan
Monday Apr 24, 2017 at 14:39 GMT
I did have to compile xenomai slightly oddly with '-f-no-pie' and '-no-pie' in CFLAGS and LDFLAGS, which did seem kinda wrong...
from bela-image-builder.
Comment by giuliomoro
Monday Apr 24, 2017 at 16:22 GMT
actually none of /usr/xenomai/bin/*
relies on libxenomai
from bela-image-builder.
Comment by giuliomoro
Tuesday Apr 25, 2017 at 01:44 GMT
Got it to compile and run. I can even use the scope!
Recap:
- fix the xenomai lib (see #10)
- make sure the appropriate
.dtb
is loaded: add this line
dtb=am335x-bone-bela.dtb
somewhere in/boot/uEnv.txt
- compile with the
COMPILER=gcc
flag tomake
from bela-image-builder.
Comment by giuliomoro
Wednesday Apr 26, 2017 at 00:09 GMT
Boots and runs also on BBGW and BBBW.
Also hacked together a dtb for BBBW which makes the wifi module recognized. This is the diff between the stock BBBW and the BBBW that works for me (I basically diffed BBB vs BBG and tried to disable the same things (HDMI, some McASP) in the BBBW:
https://gist.github.com/giuliomoro/0b553fd15611a439c3eef6115b3e2122
from bela-image-builder.
Related Issues (20)
- on bullseye bela_flash_emmc doesn't work HOT 1
- disable some unneeded systemd services
- bela_flash_emmc.sh needs fixing HOT 1
- Add a patch for PTP HOT 4
- on v0.5.0 (Bullseye), you are not properly kicked out of ssh session HOT 1
- Just Getting Started but I have Used Bela before Today HOT 5
- More of a question: Seeing a large (6-9dB) difference in low frequency gain on the inputs between v3.8h and v3.8a HOT 3
- mount /tmp as tmpfs HOT 1
- bela.version is now legacy and should be removed.
- make Bela image on SD card bootable when eMMC has current bb.org image HOT 2
- uboot needs updating HOT 1
- get bela.local to work on windows HOT 1
- build_bela.sh: Xenomai repo branch renamed HOT 3
- You may get an EPERM when trying to schedule a thread with RR
- Add updated HoRNDiS 9.2 HOT 1
- there is a folder in /home with the username of the user who built the image, and it shouldn't be there
- use local file cache to speed up rootfs build
- add a build of STK
- see what can be updated from mainline
- sudo: /etc/sudoers.d is owned by uid 1000, should be 0
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 bela-image-builder.