Coder Social home page Coder Social logo

Comments (7)

giuliomoro avatar giuliomoro commented on August 17, 2024

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.

giuliomoro avatar giuliomoro commented on August 17, 2024

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.

giuliomoro avatar giuliomoro commented on August 17, 2024

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.

giuliomoro avatar giuliomoro commented on August 17, 2024

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.

giuliomoro avatar giuliomoro commented on August 17, 2024

Comment by giuliomoro
Monday Apr 24, 2017 at 16:22 GMT


actually none of /usr/xenomai/bin/* relies on libxenomai

from bela-image-builder.

giuliomoro avatar giuliomoro commented on August 17, 2024

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 to make

from bela-image-builder.

giuliomoro avatar giuliomoro commented on August 17, 2024

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)

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.