Difference between revisions of "Mini2440 Openembedded"

From Kenneth Noyens
Jump to: navigation, search
Line 19: Line 19:
 
Install some packages:
 
Install some packages:
 
<pre>
 
<pre>
sudo apt-get install python git-core python-dev python-psyco ccache patch quilt m4 sed docbook bison build-essential subversion libc6-dev help2man mktemp texi2html gawk texinfo
+
sudo apt-get install python git-core python-dev python-psyco ccache patch quilt m4 sed docbook bison build-essential  
sudo apt-get install libboost-dev autoconf automake autotools-dev docbook-dsssl docbook-utils dvipdfmx icecc jadetex lacheck latex-beamer latex-xcolor libosp5 libostyle1c2 libsgmls-perl libsp1c2 lmodern openjade pgf prosper ps2eps python-pysqlite2 sgmlspl sp tex-common texlive-base texlive-base-bin texlive-base-bin-doc texlive-common texlive-doc-base texlive-extra-utils texlive-fonts-recommended texlive-fonts-recommended-doc texlive-generic-recommended texlive-latex-base texlive-latex-base-doc texlive-latex-recommended texlive-latex-recommended-doc texlive-pstricks texlive-pstricks-doc tipa
+
sudo apt-get install subversion libc6-dev help2man mktemp texi2html gawk texinfo
 +
sudo apt-get install libboost-dev autoconf automake autotools-dev docbook-dsssl docbook-utils dvipdfmx icecc
 +
sudo apt-get install autoconf automake autotools-dev docbook-dsssl docbook-utils dvipdfmx icecc jadetex lacheck latex-beamer
 +
sudo apt-get install latex-xcolor libosp5 libostyle1c2 libsgmls-perl libsp1c2 lmodern openjade pgf prosper ps2eps python-pysqlite2
 +
sudo apt-get install sgmlspl sp tex-common texlive-base texlive-base-bin texlive-base-bin-doc texlive-common texlive-doc-base
 +
sudo apt-get install texlive-extra-utils texlive-fonts-recommended texlive-fonts-recommended-doc
 +
sudo apt-get install texlive-generic-recommended texlive-latex-base texlive-latex-base-doc texlive-latex-recommended
 +
sudo apt-get install texlive-latex-recommended-doc texlive-pstricks texlive-pstricks-doc tipajadetex lacheck
 +
sudo apt-get install latex-beamer latex-xcolor libosp5 libostyle1c2 libsgmls-perl libsp1c2 lmodern openjade pgf prosper  
 +
sudo apt-get install ps2eps python-pysqlite2 sgmlspl sp tex-common texlive-base texlive-base-bin texlive-base-bin-doc  
 +
sudo apt-get install texlive-common texlive-doc-base texlive-extra-utils texlive-fonts-recommended texlive-fonts-recommended-doc  
 +
sudo apt-get install texlive-generic-recommended texlive-latex-base texlive-latex-base-doc texlive-latex-recommended  
 +
sudo apt-get install texlive-latex-recommended-doc texlive-pstricks texlive-pstricks-doc tipa  
 
</pre>
 
</pre>
  
Line 33: Line 45:
 
  - BBFILES = "/home/oe/oe/base/recipes/*/*.bb"
 
  - BBFILES = "/home/oe/oe/base/recipes/*/*.bb"
 
  - #ASSUME_PROVIDED += "gcc3-native"
 
  - #ASSUME_PROVIDED += "gcc3-native"
  - TMPDIR = /home/oe/oe/sources
+
  - TMPDIR = /home/oe/oe/build
 
Disable dash:
 
Disable dash:
 
<pre>
 
<pre>

Revision as of 12:50, 20 February 2010

Under construction


I made a virtual machine running ubuntu 9.10 (32bit).
My username on this system is oe.

Make the following directory structure:

cd ~
mkdir oe
cd oe
mkdir build
mkdir sources

Install bitbake:

wget http://oss.leggewie.org/oe/deb/bitbake_1.8.18-1_all.deb
sudo dpkg -i bitbake_1.8.18-1_all.deb

Install some packages:

sudo apt-get install python git-core python-dev python-psyco ccache patch quilt m4 sed docbook bison build-essential 
sudo apt-get install subversion libc6-dev help2man mktemp texi2html gawk texinfo
sudo apt-get install libboost-dev autoconf automake autotools-dev docbook-dsssl docbook-utils dvipdfmx icecc 
sudo apt-get install autoconf automake autotools-dev docbook-dsssl docbook-utils dvipdfmx icecc jadetex lacheck latex-beamer 
sudo apt-get install latex-xcolor libosp5 libostyle1c2 libsgmls-perl libsp1c2 lmodern openjade pgf prosper ps2eps python-pysqlite2 
sudo apt-get install sgmlspl sp tex-common texlive-base texlive-base-bin texlive-base-bin-doc texlive-common texlive-doc-base 
sudo apt-get install texlive-extra-utils texlive-fonts-recommended texlive-fonts-recommended-doc 
sudo apt-get install texlive-generic-recommended texlive-latex-base texlive-latex-base-doc texlive-latex-recommended 
sudo apt-get install texlive-latex-recommended-doc texlive-pstricks texlive-pstricks-doc tipajadetex lacheck 
sudo apt-get install latex-beamer latex-xcolor libosp5 libostyle1c2 libsgmls-perl libsp1c2 lmodern openjade pgf prosper 
sudo apt-get install ps2eps python-pysqlite2 sgmlspl sp tex-common texlive-base texlive-base-bin texlive-base-bin-doc 
sudo apt-get install texlive-common texlive-doc-base texlive-extra-utils texlive-fonts-recommended texlive-fonts-recommended-doc 
sudo apt-get install texlive-generic-recommended texlive-latex-base texlive-latex-base-doc texlive-latex-recommended 
sudo apt-get install texlive-latex-recommended-doc texlive-pstricks texlive-pstricks-doc tipa 

Get the latest openembedded (for mini2440):

git clone git://repo.or.cz/openembedded/mini2440.git base
cp base/mini2440_local_conf_example.conf base/conf/local.conf
nano base/conf/local.conf

and edit 4 lines:

- DL_DIR = "/home/oe/oe/sources"
- BBFILES = "/home/oe/oe/base/recipes/*/*.bb"
- #ASSUME_PROVIDED += "gcc3-native"
- TMPDIR = /home/oe/oe/build

Disable dash:

dpkg-reconfigure dash
and select 'no'

edit /etc/sysctl.conf (as root) and add the following line:

vm.mmap_min_addr = 0

And reboot
Start building a console image:

export BBPATH=/home/oe/oe/base
bitbake console-image
/oeroot/build/deploy/glibc/images/mini2440/