Setting up a cross compiling toolchain

Ideas and dreaming will go this forum

User avatar
arris69
SamyGO Moderator
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Setting up a cross compiling toolchain

Post by arris69 » Fri Feb 04, 2011 8:17 pm

juuso wrote:
arris69 wrote:...no openembedded documentation available on the internet?
Sure, it is, but how to compile apps (e.g PVR) from sources with OE? Here aren`t any bb recipes to use bitbake :?
look into branch-0-0-1/oe/packages/SamyGO-Template/ how to fetch sources from forum and build the prog.
but better to tell the releaser of app he should provide one (really it's his 'job')
Could you tell command to build toolchain using OE?
:?: bitbake task-samsung-toolchain :?:
but if you try to build any other package this will build the toolchain, logical :roll: , then how do you like to compile apps without toolchain.
p.s. If i try build mc with command

Code: Select all

bitbake mc
i get connection error:

Code: Select all

cvs [checkout aborted]: connect to anoncvs.handhelds.org(128.31.0.23):2401 failed: Connection refused
NOTE: Task failed: Fetch failed: apps/update-rc.d
ERROR: TaskFailed event exception, aborting
ERROR: Build of virtual:native:/home/juuso/samygo/oe/trunk/oe/recipes/update-rc.d/update-rc.d_0.7.bb do_fetch failed
ERROR: Task 618 (virtual:native:/home/juuso/samygo/oe/trunk/oe/recipes/update-rc.d/update-rc.d_0.7.bb, do_fetch) failed


I found, that handhelds.org was under maintenance until 1.12.2010... Now we have February, it is still not available...
but be warned, in branch is a lot of stuff just prepared for devels to start the work. so if you like to build something for c series then you are the devel :twisted:
other thing, it makes no sense to play around with openembedded if extensions pack for your machine is in download section, they are built with more recent oe-layout. it makes sense if you like to devel some new stuff.

hth
arris

User avatar
juusso
SamyGO Moderator
Posts: 9450
Joined: Sun Mar 07, 2010 6:20 pm

Re: Setting up a cross compiling toolchain

Post by juusso » Wed May 11, 2011 9:43 am

Finally i got cross-compiling toolchain working.
I`ve download the latest (2011.03-41) Sourcery G++ Lite 2011.03-41 for ARM GNU/Linux and easy set it up.

But i have a question to an experts:
This version contains latest binutils, gcc and other stuff:
GNU Binary Utilities (2.20.51-sg++)
GNU C & C++ Compilers (4.5.2-sg++)
GNU C Library (2.13-sg++)
GNU Debugger (7.2.50-sg++)
Could this be the reason, that i because of newest versions can`t compile low level applications (kernel, u-boot) and get errors about undeclared values?
I know, samsung provides binutils 2.17.50 and gcc 4.2 with it sources, but i could`n make toolchain working. Now i guess might it could better to download another toolchain from CodeSourcery (2007-q3-51) with versions on it:
GNU Binary Utilities (2.18.50-sg++)
GNU C & C++ Compilers (4.2.1-sg++)
GNU C Library
GNU Debugger (6.6.50-sg++)
List of all available toolchains for arm is here.

What do you think?
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

User avatar
arris69
SamyGO Moderator
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Setting up a cross compiling toolchain

Post by arris69 » Fri May 13, 2011 8:10 pm

juuso wrote:...
i guess you won't be happy with binutils other than 2.17.50 from samsung. and if you wanna be at the safe side use also glibc from samsung sources.
but what do you plan to do and wat do you exactly need?

arris

User avatar
juusso
SamyGO Moderator
Posts: 9450
Joined: Sun Mar 07, 2010 6:20 pm

Re: Setting up a cross compiling toolchain

Post by juusso » Fri May 13, 2011 8:19 pm

Thanx, i understood.
No special aims, just to have it right working.
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

User avatar
juusso
SamyGO Moderator
Posts: 9450
Joined: Sun Mar 07, 2010 6:20 pm

Re: Setting up a cross compiling toolchain

Post by juusso » Sat Dec 31, 2011 6:28 pm

Thanks and welcome :-)
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

User avatar
juusso
SamyGO Moderator
Posts: 9450
Joined: Sun Mar 07, 2010 6:20 pm

Re: Setting up a cross compiling toolchain

Post by juusso » Tue Aug 13, 2013 8:29 am

Working cross-compilation toolchain is available on SamyGO svn:

Code: Select all

svn checkout svn://svn.code.sf.net/p/samygo/code/develop/toolchains/T-CH arm_v5t_vfp_le
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

Post Reply

Return to “[B] Brainstorm”

Who is online

Users browsing this forum: No registered users and 2 guests