Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Generic armv7l Linux build for Beagleboard &co. #576

Closed
wants to merge 14 commits into from

5 participants

@damiannz

This is a generic Linux build of oF for ARM Cortex A8/9 devices (Beagleboard, Pandaboard, Gumstix, Tegra 250, IGEPv2, ...) with built-in NEON optimizations in the included libs and makefiles (via gcc -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -mfloat-abi=softfp)

Demo User and others added some commits
Demo User beagleboard empty example compiling 499fa96
Damian Stewart @beagleboard opencv armv7l libs 1ae513c
Damian Stewart @beagleboard updated makefiles for armv7l; fixed error in config.make a49f789
Damian Stewart @beagleboard Poco 1.4.0 armv7l build; updated Makefiles based on github head
Poco built with:
./configure --no-sharedlibs --no-tests --no-samples --omit=Data,Crypto,Zip

also edited poco-1.4.0/build/config/Linux:
LINKMODE=STATIC
...
RELEASEOPT_CC   = -O3 -DNDEBUG -march=armv7-a -mtune=cortex-a8 -finline-functions -funroll-all-loops  -O3 -funsafe-math-optimizations -mfpu=neon -ftree-vectorize -mfloat-abi=softfp
RELEASEOPT_CXX  = -O3 -DNDEBUG -march=armv7-a -mtune=cortex-a8 -finline-functions -funroll-all-loops  -O3 -funsafe-math-optimizations -mfpu=neon -ftree-vectorize -mfloat-abi=softfp
176f459
Damian Stewart @beagleboard renamed makefile->Makefile; fixed config.make; updated
devApps/linux/copyMakefiles.sh
245ddf6
Damian Stewart @beagleboard Merge branch 'FIX_linux_Makefiles_config.make' into damians_beagleboa…
…rd_tweaks
b917415
@arturoc
Owner
@damiannz

interesting! i'm using Ubuntu 10.10 .... just had a bit of dig about, one guy tested hardfp with povray on the beagleboard and saw a 5-6% performance increase.. not really worth rebuilding for me but might reevaluate that when i get the DSP chain working at the same as computer vision (ouchies).

but having just seen some specs: i think it would be easier to simply get a Pandaboard :-)

@ofTheo
Owner

@arturoc going to let you handle this one :)

@arturoc
Owner
@arturoc
Owner

hey damian

i've merged this with master in my damian_linuxarm7 branch, can you check that i have not broke arm7?

also does this include you other pull request? i guess so because the makefiles are already capital M in this one and the LDFLAGS thing is fixed

Damian Stewa... added some commits
Damian Stewart @beagleboard linuxarmv7l: added libRtAudio fe40d10
Damian Stewart @beagleboard Merge remote branch 'origin/master' into FEATURE_add_linuxarmv7l
Conflicts:
	apps/addonsExamples/3DModelLoaderExample/config.make
	apps/addonsExamples/allAddonsExample/Makefile
	apps/addonsExamples/allAddonsExample/config.make
	apps/addonsExamples/allAddonsExample/makefile
	apps/addonsExamples/networkTcpClientExample/Makefile
	apps/addonsExamples/networkTcpClientExample/config.make
	apps/addonsExamples/networkTcpClientExample/makefile
	apps/addonsExamples/networkTcpServerExample/Makefile
	apps/addonsExamples/networkTcpServerExample/config.make
	apps/addonsExamples/networkTcpServerExample/makefile
	apps/addonsExamples/networkUdpReceiverExample/config.make
	apps/addonsExamples/networkUdpSenderExample/config.make
	apps/addonsExamples/ofxAssimpExample/config.make
	apps/addonsExamples/ofxCvHaarFinderExample/config.make
	apps/addonsExamples/ofxSynthExample/config.make
	apps/addonsExamples/ofxSynthSequencingExample/config.make
	apps/addonsExamples/opencvExample/config.make
	apps/addonsExamples/oscReceiveExample/config.make
	apps/addonsExamples/oscSenderExample/config.make
	apps/addonsExamples/threadedImageLoaderExample/config.make
	apps/addonsExamples/vectorGraphicsExample/config.make
	apps/addonsExamples/xmlSettingsExample/config.make
	apps/androidExamples/androidAudioExample/Makefile
	apps/androidExamples/androidCameraExample/Makefile
	apps/androidExamples/androidEmptyExample/Makefile
	apps/devApps/linux/Makefile
	apps/devApps/linux/copyMakefile.sh
	apps/devApps/ofPathExample/Makefile
	apps/examples/advanced3dExample/config.make
	apps/examples/advancedEventsExample/config.make
	apps/examples/audioInputExample/config.make
	apps/examples/audioOutputExample/config.make
	apps/examples/blendingExample/config.make
	apps/examples/dirListExample/config.make
	apps/examples/dragDropExample/config.make
	apps/examples/easyCamExample/config.make
	apps/examples/emptyExample/config.make
	apps/examples/eventsExample/config.make
	apps/examples/firmataExample/config.make
	apps/examples/fontShapesExample/config.make
	apps/examples/fontsExample/config.make
	apps/examples/graphicsExample/config.make
	apps/examples/imageLoaderExample/config.make
	apps/examples/imageSaverExample/config.make
	apps/examples/movieGrabberExample/config.make
	apps/examples/moviePlayerExample/config.make
	apps/examples/ofBoxExample/config.make
	apps/examples/polygonExample/config.make
	apps/examples/serialExample/config.make
	apps/examples/soundPlayerExample/config.make
	apps/examples/soundPlayerFFTExample/config.make
	apps/examples/textureExample/config.make
	apps/examples/textureScreengrabExample/config.make
	apps/examples/vectorMathExample/config.make
	apps/examples/windowExample/Makefile
	apps/examples/windowExample/config.make
25286a9
Damian Stewart @beagleboard armv7l: addded libtess2 50269eb
@damiannz
@arturoc
Owner
Damian Stewa... added some commits
Damian Stewart @beagleboard removed ofAppNoWindow 805821b
Damian Stewart @beagleboard updated makefile clean targets 6ab2a9e
@ofTheo
Owner

can I can close this?

@arturoc
Owner
@arturoc
Owner

Hey damian

i'm merging this, but in one of your last commits you removed ofAppNoWindow. is that correct? the opencv example is not working cause it has dependencies with ofAppNoWindow, i've fixed it temporarily by removing the NO_WINDOW define.

@damiannz
@arturoc
Owner
@bilderbuchi bilderbuchi referenced this pull request
Closed

PR tracking issue #835

@ofTheo
Owner

I am going to close this unless @arturoc and @damiannz thinks it should stay open.

@ofTheo ofTheo closed this
@arturoc
Owner

hey didn't saw your last message, we are working in this, it's actually almost there. i'm reopening the PR

@arturoc arturoc reopened this
@ofTheo
Owner

oh sorry - damian told me to close it.

@damiannz

oh what? i thought we were holding off until 008...

@bilderbuchi
Owner

I milestoned it for 0080 for now.

@damiannz damiannz was assigned
@bakercp
Collaborator

Just to make the connection -- I think a lot of the Raspberry Pi momentum will help this effort move along too. We are making a special effort to make sure that our RPI efforts are generic enough to also be useful to the the whole arm family.

@bakercp
Collaborator

@arturoc @damiannz @bilderbuchi correct me if I'm wrong, but will the "raspberry pi" branch (probably better referred to as the e-linux branch) merger replace this PR?

@bilderbuchi
Owner

i would think so, but only damian or arturo can answer that with certainty..

@damiannz

I guess so. The major work here really was the makefiles, and with the rewrite for RPI, it doesn't really make much sense to keep this open. @arturoc?

@arturoc
Owner

yes everything in here is already in the raspberry branch, also this libraries were soft float and every platform seems to support hard float now. the only other thing i can remember is the ofAppNoWindow class but i included a newer version in the raspberry branch

and yes, we should begin to call it e-linux or arm-linux or something like that :)

@arturoc
Owner

i'm closing it

@arturoc arturoc closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 18, 2011
  1. beagleboard empty example compiling

    Demo User authored
Commits on May 19, 2011
  1. opencv armv7l libs

    Damian Stewart @beagleboard authored Demo User committed
  2. updated makefiles for armv7l; fixed error in config.make

    Damian Stewart @beagleboard authored
  3. Poco 1.4.0 armv7l build; updated Makefiles based on github head

    Damian Stewart @beagleboard authored
    Poco built with:
    ./configure --no-sharedlibs --no-tests --no-samples --omit=Data,Crypto,Zip
    
    also edited poco-1.4.0/build/config/Linux:
    LINKMODE=STATIC
    ...
    RELEASEOPT_CC   = -O3 -DNDEBUG -march=armv7-a -mtune=cortex-a8 -finline-functions -funroll-all-loops  -O3 -funsafe-math-optimizations -mfpu=neon -ftree-vectorize -mfloat-abi=softfp
    RELEASEOPT_CXX  = -O3 -DNDEBUG -march=armv7-a -mtune=cortex-a8 -finline-functions -funroll-all-loops  -O3 -funsafe-math-optimizations -mfpu=neon -ftree-vectorize -mfloat-abi=softfp
  4. renamed makefile->Makefile; fixed config.make; updated

    Damian Stewart @beagleboard authored
    devApps/linux/copyMakefiles.sh
  5. Merge branch 'FIX_linux_Makefiles_config.make' into damians_beagleboa…

    Damian Stewart @beagleboard authored
    …rd_tweaks
  6. armv7l: openFrameworks compiled lib: poco fix

    Damian Stewart @beagleboard authored
Commits on Jun 2, 2011
  1. linuxarmv7l: added libRtAudio

    Damian Stewart @beagleboard authored
Commits on Jun 6, 2011
  1. Merge remote branch 'origin/master' into FEATURE_add_linuxarmv7l

    Damian Stewart @beagleboard authored
    Conflicts:
    	apps/addonsExamples/3DModelLoaderExample/config.make
    	apps/addonsExamples/allAddonsExample/Makefile
    	apps/addonsExamples/allAddonsExample/config.make
    	apps/addonsExamples/allAddonsExample/makefile
    	apps/addonsExamples/networkTcpClientExample/Makefile
    	apps/addonsExamples/networkTcpClientExample/config.make
    	apps/addonsExamples/networkTcpClientExample/makefile
    	apps/addonsExamples/networkTcpServerExample/Makefile
    	apps/addonsExamples/networkTcpServerExample/config.make
    	apps/addonsExamples/networkTcpServerExample/makefile
    	apps/addonsExamples/networkUdpReceiverExample/config.make
    	apps/addonsExamples/networkUdpSenderExample/config.make
    	apps/addonsExamples/ofxAssimpExample/config.make
    	apps/addonsExamples/ofxCvHaarFinderExample/config.make
    	apps/addonsExamples/ofxSynthExample/config.make
    	apps/addonsExamples/ofxSynthSequencingExample/config.make
    	apps/addonsExamples/opencvExample/config.make
    	apps/addonsExamples/oscReceiveExample/config.make
    	apps/addonsExamples/oscSenderExample/config.make
    	apps/addonsExamples/threadedImageLoaderExample/config.make
    	apps/addonsExamples/vectorGraphicsExample/config.make
    	apps/addonsExamples/xmlSettingsExample/config.make
    	apps/androidExamples/androidAudioExample/Makefile
    	apps/androidExamples/androidCameraExample/Makefile
    	apps/androidExamples/androidEmptyExample/Makefile
    	apps/devApps/linux/Makefile
    	apps/devApps/linux/copyMakefile.sh
    	apps/devApps/ofPathExample/Makefile
    	apps/examples/advanced3dExample/config.make
    	apps/examples/advancedEventsExample/config.make
    	apps/examples/audioInputExample/config.make
    	apps/examples/audioOutputExample/config.make
    	apps/examples/blendingExample/config.make
    	apps/examples/dirListExample/config.make
    	apps/examples/dragDropExample/config.make
    	apps/examples/easyCamExample/config.make
    	apps/examples/emptyExample/config.make
    	apps/examples/eventsExample/config.make
    	apps/examples/firmataExample/config.make
    	apps/examples/fontShapesExample/config.make
    	apps/examples/fontsExample/config.make
    	apps/examples/graphicsExample/config.make
    	apps/examples/imageLoaderExample/config.make
    	apps/examples/imageSaverExample/config.make
    	apps/examples/movieGrabberExample/config.make
    	apps/examples/moviePlayerExample/config.make
    	apps/examples/ofBoxExample/config.make
    	apps/examples/polygonExample/config.make
    	apps/examples/serialExample/config.make
    	apps/examples/soundPlayerExample/config.make
    	apps/examples/soundPlayerFFTExample/config.make
    	apps/examples/textureExample/config.make
    	apps/examples/textureScreengrabExample/config.make
    	apps/examples/vectorMathExample/config.make
    	apps/examples/windowExample/Makefile
    	apps/examples/windowExample/config.make
  2. armv7l: addded libtess2

    Damian Stewart @beagleboard authored
Commits on Jun 13, 2011
  1. removed ofAppNoWindow

    Damian Stewart @beagleboard authored
  2. updated makefile clean targets

    Damian Stewart @beagleboard authored
Commits on Nov 7, 2011
  1. user makefile opts

    damian authored
Something went wrong with that request. Please try again.