Difference between revisions of "SamyGO OpenEmbedded"


From SamyGO
Jump to: navigation, search
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
This is SamyGO port of [http://www.openembedded.org OpenEmbedded].
 +
 
You can easily setup cross compile toolchain or/and create rootfs image for external boot.
 
You can easily setup cross compile toolchain or/and create rootfs image for external boot.
  
  
'''Note: This instruction refer to SVN SamyGO trunk repository which supports only TV with firmwares listed below!'''
+
'''Note: This instruction refer to SVN SamyGO repository which supports only TV with firmwares listed below!'''
 
 
'''US: T-CHE6AUSC, T-CHEAUSC, T-CHE7AUSC'''
 
 
 
'''AU: T-CHL5DAUC, T-CHL7DAUC, T-CHU7DAUC'''
 
 
 
'''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 32 bits)
+
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 subversion cvs git-core texi2html texinfo \
 
  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
+
  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 /bin/sh to use bash using below command and select "No" when it asks you to install dash as /bin/sh.  
Line 26: Line 21:
 
  sudo dpkg-reconfigure dash
 
  sudo dpkg-reconfigure dash
  
'''Mac OS X:'''
+
'''Mac OS X MacPorts:'''
  
Install Xcode from install DVD.
+
Install Xcode.
  
Install Fink using instruction http://www.finkproject.org/download/srcdist.php?phpLang=en .
+
Install MacPorts using instruction http://www.macports.org/install.php .
  
 
Install needed packages:
 
Install needed packages:
  
  fink install gawk sed wget getoptbin help2man texinfo desktop-file-utils
+
  sudo port install gawk gsed wget getopt help2man texinfo intltool desktop-file-utils coreutils gnutar
  
Do workaround OE sanity checks for '''chrpath''':
 
  
sudo touch /usr/local/bin/chrpath
+
----
 +
 
  
----
 
  
  
Pull SamyGO OpenEmbedded from trunk svn repository:
+
Pull SamyGO OpenEmbedded from branch '''branch-b-series''' in svn repository:
  
  svn co http://samygo.svn.sourceforge.net/svnroot/samygo samygo
+
  svn co svn://svn.code.sf.net/p/samygo/code/oe/branches/branch-b-series samygo
  
after pull, you can enter ''samygo'' directory:
+
after pull, you can enter '''samygo''' directory:
 
   
 
   
  cd samygo/oe/trunk
+
  cd samygo
  
 
then do:
 
then do:
Line 55: 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.