|
|
Home » Community » Newbie corner » Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++? [message #37955 is a reply to message #37926] |
Sat, 24 November 2012 20:21 |
Didier
Messages: 680 Registered: November 2008 Location: France
|
Contributor |
|
|
Hi wolfgang,
if you have U++ running on the Raspberry PI the half of the work is done : you all the bibs and the includes that you need to compile apps for the Raspberry PI.
Here is what I did to make a cross compile environment for the gumstix (ARM cortex-A8).
1 - Make a copy of /usr/lib and /usr/include from the Raspberry PI to you're computer ==> this is the easiest way to get all the compatible libs and includes.
2 - Compile a GCC suite for the ARM11
To do this I used open-embedded environnement. But you can try this
http://raspberrypi.stackexchange.com/questions/1/how-do-i-bu ild-a-gcc-4-7-toolchain-for-cross-compiling
3 - You need a correct U++ Build Method (xxx.BM files)
I have attached the one I use to cross compile towards cortex-A8
The important things to notice are :
- gcc name ( arm-angstrom-linux-gnueabi-g++ in my case )
- --sysroot=PATH_TO_COPIED_USR options added to compiler and linker (to tell gcc to use the wright libs)
- path to the gcc bins directly set
- -mcpu=cortex-a8 -mfpu=neon : options for cortex-A8
- remove SSE2 form the default options (SSE2 is not part of ARM instructions set)
4 - Report the corrections made to Upp code (/Core/Config.h) : add __arm__
5 - Some Upp pitfalls/bugs on ARM to be aware of :
MT does not work : apps get stuck in infinite loop on start ==> I didn't have time to look into it
This should help you start up quickly
[Updated on: Sat, 24 November 2012 20:35] Report message to a moderator
|
|
|
|
|
Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: Wolfgang on Fri, 03 August 2012 13:25
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: Didier on Fri, 03 August 2012 18:16
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: twkrimm on Tue, 07 August 2012 16:47
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: mirek on Tue, 07 August 2012 18:28
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: Wolfgang on Thu, 09 August 2012 15:30
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: mirek on Thu, 09 August 2012 20:04
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: Wolfgang on Fri, 10 August 2012 20:58
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: Wolfgang on Sun, 12 August 2012 09:58
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: Wolfgang on Sun, 12 August 2012 12:41
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: Wolfgang on Sun, 12 August 2012 21:39
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: Wolfgang on Sat, 18 August 2012 16:37
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: Wolfgang on Sat, 18 August 2012 22:07
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: koldo on Sat, 18 August 2012 23:59
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: kohait00 on Tue, 04 September 2012 12:51
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: Zbych on Tue, 04 September 2012 15:42
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: mirek on Tue, 04 September 2012 18:17
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: Zbych on Tue, 04 September 2012 18:45
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: NilaT on Wed, 14 November 2012 21:11
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: NilaT on Fri, 16 November 2012 08:05
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: Wolfgang on Fri, 23 November 2012 20:49
|
|
|
Re: Raspberry (Raspbian) - ARM 6 Core + Ultimate++?
By: Didier on Sat, 24 November 2012 20:21
|
Goto Forum:
Current Time: Fri May 10 02:22:42 CEST 2024
Total time taken to generate the page: 0.01927 seconds
|
|
|