Setting up a cross compiling toolchain

Ideas and dreaming will go this forum

cyberdemon79
Official SamyGO Developer
Posts: 37
Joined: Tue May 04, 2010 10:43 am

Re: Setting up a cross compiling toolchain

Post by cyberdemon79 »

Hi,
could someone please upload ln52a750.zip anywhere?
Thank you :)
User avatar
erdem_ua
SamyGO Admin
Posts: 3125
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Setting up a cross compiling toolchain

Post by erdem_ua »

Don't be sad. Developers different than users. Users are comments on tools they thing good for them. So they don't post topics like here.
And even I have suffering about same problem as a project admin :)
Since Samsung removed their source from internet.
They said will put back but they doesn't put it back... Might be later.
Unfortunately we couldn't release those files here directly but we can rewrite required parts of uboot code.
So have little patient. I guess aquadran fix svn soon.
Regards.
majonezz
SamyGO Project Donor
Posts: 63
Joined: Sat Feb 06, 2010 10:44 am
Location: Wroclaw, Poland

Re: Setting up a cross compiling toolchain

Post by majonezz »

Ok, i'm giving up. None of above scripts worked for me :(
Has someone compiled binaries for ubuntu 2.6.28-11-server ? I'm trying to compile simple program to read i2c devices.
arris69
Official SamyGO Developer
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 »

majonezz wrote:Ok, i'm giving up. None of above scripts worked for me :(
Has someone compiled binaries for ubuntu 2.6.28-11-server ? I'm trying to compile simple program to read i2c devices.
why you don't use oe from svn?
i dont't like to remove other peoples articles from wiki, but the script toolchain build method is not very effectiv.

but samsung has own i2c implementation and not use the linux api (as far i saw).

hth
arris
majonezz
SamyGO Project Donor
Posts: 63
Joined: Sat Feb 06, 2010 10:44 am
Location: Wroclaw, Poland

Re: Setting up a cross compiling toolchain

Post by majonezz »

arris69 wrote:
majonezz wrote:Ok, i'm giving up. None of above scripts worked for me :(
Has someone compiled binaries for ubuntu 2.6.28-11-server ? I'm trying to compile simple program to read i2c devices.
why you don't use oe from svn?
i dont't like to remove other peoples articles from wiki, but the script toolchain build method is not very effectiv.

but samsung has own i2c implementation and not use the linux api (as far i saw).

hth
arris
Thanks very much for advice, but there are some problems with online content needed for compile i guess. I'm not so familiar with tolls like cvs. I'm getting follownig error:

Code: Select all

DEBUG: providers for ipkg-utils-native are: ['ipkg-utils-native']
NOTE: current path: SamyGO-Extensions-image (SamyGO-Extensions-image) -> ipkg-utils-native (ipkg-utils-native)
NOTE: dependencies for ipkg-utils-native are: quilt-native
DEBUG: already built /home/mrrfm/svn/samygo/SamyGO-Extensions/SamyGO-Extensions/oe/packages/quilt/quilt-native_0.45.bb in this run
NOTE: package ipkg-utils-native-1.6+cvs20050404: started
DEBUG: Executing task do_fetch
NOTE: package ipkg-utils-native-1.6+cvs20050404-r09: task do_fetch: started
NOTE: Fetch cvs://anoncvs:anoncvs@anoncvs.handhelds.org/cvs;module=ipkg-utils
DEBUG: Running /usr/bin/env cvs -d:pserver:anoncvs:anoncvs@anoncvs.handhelds.org:/cvs co -D 20050930 ipkg-utils
cvs [checkout aborted]: connect to anoncvs.handhelds.org(128.31.0.23):2401 failed: Connection refused
NOTE: Task failed: Fetch failed: ipkg-utils
NOTE: package ipkg-utils-native-1.6+cvs20050404-r09: task do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package ipkg-utils-native-1.6+cvs20050404: failed
ERROR: Build of SamyGO-Extensions-image failed
make: *** [gallery] B??d 1
Edit: Ok, i've answered myself: Handhelds.org is undergoing renovations - The site should be active on the week of December 1st, 2010!
Is there any alternative for handhelds cvs?
marcelru
Official SamyGO Developer
Posts: 171
Joined: Thu Oct 01, 2009 7:27 am

Re: Setting up a cross compiling toolchain

Post by marcelru »

Hi stefanth,

The samygo-toolchain-fc11 files have been designed to build a toolchain for the UExxB70xx-series and a bunch of other 2009 models.
As such, it will not work straight away for your TV. You will need the kernel code and toolchain code for your specific model for that.
Check out opensource.samsung.com for that

I tried and build it using cygwin 1.5, but that attempt failed miserably, because glibc would not build. There is a workaround for that: just rip the libraries built by glibc from your TV and you are home free.

As for a building environment, I did not like to do that, because I feel that the toolchain should build out-of-the-box.

Anyway, dynamic69, robbiesz and a bit of my work is now a bit obsolete. I would try and check out SamyGO Open Embedded for toolchain implementation (see wiki for that) if I were you.

grtz,

marcelr

Post Reply

Return to “[B] Brainstorm”