Difference between revisions of "SamyGO OpenEmbedded"


From SamyGO
Jump to: navigation, search
 
(42 intermediate revisions by the same user 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 SVN SamyGO trunk repository which supports only TV with firmwares listed below!'''
+
You can easily setup cross compile toolchain or/and create rootfs image for external boot.
  
'''US: T-CHE6AUSC, T-CHEAUSC, T-CHE7AUSC'''
 
  
'''AU: T-CHL5DAUC, T-CHL7DAUC, T-CHU7DAUC'''
+
'''Note: This instruction refer to SVN SamyGO repository which supports only TV with firmwares listed below!'''
  
'''EU: T-CHL5DEUC, T-CHL7DEUC, T-CHU7DEUC'''
+
'''T-CHL7DEUC, T-CHEAUSC, T-CHL7DAUC''' (B650 and B750 series)
  
'''Supported host systems are: Linux Debian 5.0 and Ubuntu 10.4 (both 32/64 bits versions), Mac OS X 10.5.6 (using Fink)'''
+
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:
 
Host systems need some preparations:
  
'''Ubuntu/Debian'''
+
'''Debian:'''
  
  sudo apt-get install build-essential coreutils wget g++ subversion cvs git-core texi2html texinfo \
+
  sudo apt-get install build-essential coreutils subversion cvs git-core texi2html texinfo \
  patch make help2man diffstat bzip2 sed gawk chrpath desktop-file-utils  
+
  patch help2man intltool diffstat bzip2 wget sed gawk chrpath desktop-file-utils libssl-dev libX11-dev libXt-dev
  
'''Ubuntu only:'''
+
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.
  
You need to reconfigure 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 .
  
  sudo dpkg-reconfigure dash
+
Install needed packages:
 +
 
 +
  sudo port install gawk gsed wget getopt help2man texinfo intltool desktop-file-utils coreutils gnutar
  
  
Line 28: Line 35:
  
  
Pull trunk svn repository from:
 
  
svn co http://samygo.svn.sourceforge.net/svnroot/samygo samygo
 
  
after pull, you can enter ''samygo'' directory:
+
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/oe/trunk
+
  cd samygo
  
 
then do:
 
then do:
Line 40: Line 49:
 
  . setup.sh
 
  . setup.sh
  
Script setup will generate two files: ''build-samygo/conf/local.conf'' and ''build-samygo/env.source'' .
+
Script setup will generate two files: '''build-samygo/conf/local.conf''' and '''build-samygo/env.source''' .
 
 
Now you are in ''build-samygo'' directory.
 
 
 
If you like build only a toolchain use this command:
 
 
 
bitbake task-samsung-toolchain
 
  
If you like build rootfs image for tv with firmware T-CHL7DEUC use this command:
+
If you like build rootfs image use this command:
  
  bitbake externalboot-T-CHL7DEUC
+
  bitbake externalboot-base
  
After building all tools, results are at ''build-samygo/tmp/deploy/images'' 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.