Difference between revisions of "SamyGO OpenEmbedded"


From SamyGO
Jump to: navigation, search
 
(55 intermediate revisions by 2 users not shown)
Line 1: Line 1:
You can easily setup cross compile toolchain or/and create rootfs package for external boot.
+
This is SamyGO port of [http://www.openembedded.org OpenEmbedded].
  
'''Note: This instruction refer to TRUNK tree of SVN SamyGO repository which support only LExxB65x, LExxB75x, PSxxB65x TV series.'''
+
You can easily setup cross compile toolchain or/and create rootfs image for external boot.
  
'''Supported host systems are: Linux Debian 5.0 and Ubuntu 9.10 (both 32/64 bits versions), Mac OS X 10.5.6 (using Fink)'''
 
  
If you have installed ''bitbake'' on system, it will conflict with SamyGO bitbake version. So please uninstall if possible.
+
'''Note: This instruction refer to SVN SamyGO repository which supports only TV with firmwares listed below!'''
  
Pull trunk svn repository from:
+
'''T-CHL7DEUC, T-CHEAUSC, T-CHL7DAUC''' (B650 and B750 series)
  
  svn co http://samygo.svn.sourceforge.net/svnroot/samygo samygo
+
Supported host systems are: '''Linux Debian 6.0+''' (both 32/64 bits versions), '''Mac OS X 10.8''' (using MacPorts)
 +
 
 +
Host systems need some preparations:
 +
 
 +
'''Debian:'''
 +
 
 +
  sudo apt-get install build-essential coreutils subversion cvs git-core texi2html texinfo \
 +
patch help2man intltool diffstat bzip2 wget sed gawk chrpath desktop-file-utils libssl-dev libX11-dev libXt-dev
 +
 
 +
You need to reconfigure /bin/sh to use bash using below command and select "No" when it asks you to install dash as /bin/sh.
 +
 
 +
sudo dpkg-reconfigure dash
 +
 
 +
'''Mac OS X MacPorts:'''
 +
 
 +
Install Xcode.
 +
 
 +
Install MacPorts using instruction http://www.macports.org/install.php .
 +
 
 +
Install needed packages:
 +
 
 +
sudo port install gawk gsed wget getopt help2man texinfo intltool desktop-file-utils coreutils gnutar
 +
 
 +
 
 +
----
  
after pull, you can enter ''samygo'' directory:
 
 
cd samygo
 
  
then do:
 
  
. setup.sh
 
  
Script setup will generate two files: ''build/conf/local.conf'' and ''build/env.source'' .
+
Pull SamyGO OpenEmbedded from branch '''branch-b-series''' in svn repository:
  
If you like compile on parallel, you need uncomment line "PARALLEL_MAKE" in ''build/conf/local.conf'' file plus optionaly change for your needs number of threads of ''make'' will run.  
+
svn co svn://svn.code.sf.net/p/samygo/code/oe/branches/branch-b-series samygo
  
Now you are in ''build'' directory.
+
after pull, you can enter '''samygo''' directory:
 +
 +
cd samygo
  
'''Note: you must always be in build directory before run bitbake command.'''
+
then do:
  
If you like build only a toolchain use this command:
+
. setup.sh
  
bitbake task-samsung-toolchain
+
Script setup will generate two files: '''build-samygo/conf/local.conf''' and '''build-samygo/env.source''' .
  
 
If you like build rootfs image use this command:
 
If you like build rootfs image use this command:
  
  bitbake samygo-externalboot-image
+
  bitbake externalboot-base
 
 
Bitbake could complain about not installed packages like "help2man", "diffstat", "texinfo". You needed to install them also.
 
  
After building all tools, results are at ''build/tmp'' directory.
+
After building all tools, results are at '''build-samygo/tmp/deploy/images''' directory.

Latest revision as of 18:50, 2 May 2013

This is SamyGO port of OpenEmbedded.

You can easily setup cross compile toolchain or/and create rootfs image for external boot.


Note: This instruction refer to SVN SamyGO repository which supports only TV with firmwares listed below!

T-CHL7DEUC, T-CHEAUSC, T-CHL7DAUC (B650 and B750 series)

Supported host systems are: Linux Debian 6.0+ (both 32/64 bits versions), Mac OS X 10.8 (using MacPorts)

Host systems need some preparations:

Debian:

sudo apt-get install build-essential coreutils subversion cvs git-core texi2html texinfo \
patch help2man intltool diffstat bzip2 wget sed gawk chrpath desktop-file-utils libssl-dev libX11-dev libXt-dev

You need to reconfigure /bin/sh to use bash using below command and select "No" when it asks you to install dash as /bin/sh.

sudo dpkg-reconfigure dash

Mac OS X MacPorts:

Install Xcode.

Install MacPorts using instruction http://www.macports.org/install.php .

Install needed packages:

sudo port install gawk gsed wget getopt help2man texinfo intltool desktop-file-utils coreutils gnutar





Pull SamyGO OpenEmbedded from branch branch-b-series in svn repository:

svn co svn://svn.code.sf.net/p/samygo/code/oe/branches/branch-b-series samygo

after pull, you can enter samygo directory:

cd samygo

then do:

. setup.sh

Script setup will generate two files: build-samygo/conf/local.conf and build-samygo/env.source .

If you like build rootfs image use this command:

bitbake externalboot-base

After building all tools, results are at build-samygo/tmp/deploy/images directory.