OpenEmbedded Torrent Instructions

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(New page: {{Note|Tcsh users should use 'setenv VAR val' instead of 'export VAR=val', and '. file' instead of 'source file'.}} After downloading an OpenEmbedded Torrent, there are two variables ...)
 
Line 1: Line 1:
{{Note|Tcsh users should use 'setenv VAR val' instead of 'export VAR=val', and '. file' instead of 'source file'.}}
+
{{Note|Tcsh users should use "setenv VAR val" instead of "export VAR=val", and ". file" instead of 'source file'.}}
  
 
After downloading an [[OpenEmbedded Torrent]], there are two variables that need to be exported in the shell environment.  
 
After downloading an [[OpenEmbedded Torrent]], there are two variables that need to be exported in the shell environment.  

Revision as of 21:54, 14 February 2009

NOTE: {{{1}}}


After downloading an OpenEmbedded Torrent, there are two variables that need to be exported in the shell environment.

 export MACHINE=om-gta02
 export OE_HOME=${HOME}/oe

The following three variables are set here for the purpose of generality. They should be included in the name of your torrent file.

DISTRO=angstrom-2008.1
ARCH=x86_64-linux
TIMESTAMP=20090214
TARBALL_LOC=${HOME}

Please follow the following instructions for preparing the pre-compiled OpenEmbedded build environment.

 mkdir -p ${OE_HOME}
 tar xpjf ${TARBALL_LOC}/openmoko-${MACHINE}-${DISTRO}-${ARCH}-${TIMESTAMP}.tar.bz2 -C ${OE_HOME}
 cd ${OE_HOME}
 echo ${OE_HOME}/build-${MACHINE}/tmp > ${OE_HOME}/build-${MACHINE}/tmp
 source setup-env

The next step is to rebuild non-portable packages required for native and cross compilation. All of such packages are pulled in via dependency, when building the 'console-image' recipe.

bitbake console-image

That's it! You are now ready to do system development or application development to your heart's content!

Personal tools
NOTE: {{{1}}}


After downloading an OpenEmbedded Torrent, there are two variables that need to be exported in the shell environment.

 export MACHINE=om-gta02
 export OE_HOME=${HOME}/oe

The following three variables are set here for the purpose of generality. They should be included in the name of your torrent file.

DISTRO=angstrom-2008.1
ARCH=x86_64-linux
TIMESTAMP=20090214
TARBALL_LOC=${HOME}

Please follow the following instructions for preparing the pre-compiled OpenEmbedded build environment.

 mkdir -p ${OE_HOME}
 tar xpjf ${TARBALL_LOC}/openmoko-${MACHINE}-${DISTRO}-${ARCH}-${TIMESTAMP}.tar.bz2 -C ${OE_HOME}
 cd ${OE_HOME}
 echo ${OE_HOME}/build-${MACHINE}/tmp > ${OE_HOME}/build-${MACHINE}/tmp
 source setup-env

The next step is to rebuild non-portable packages required for native and cross compilation. All of such packages are pulled in via dependency, when building the 'console-image' recipe.

bitbake console-image

That's it! You are now ready to do system development or application development to your heart's content!