Mini2440 Openembedded
From Kenneth Noyens
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 sudo apt-get install libgtk2.0-dev
Get the latest openembedded:
git clone git://git.openembedded.org/openembedded base cp base/conf/local.sample base/conf/local.conf nano base/conf/local.conf
and edit 5 lines:
- DL_DIR = "${HOME}/oe/sources" - BBFILES = "${HOME}/oe/base/recipes/*/*.bb" - TMPDIR = "${HOME}/oe/build" - MACHINE = "mini2440" - uncomment DISTRO= - comment (or remove) the last line
Disable dash:
sudo dpkg-reconfigure dash and select 'no'
Start building a console image:
export BBPATH=/home/oe/oe/base bitbake console-image
After this, you can find your compiled filesystem/kernel/uboot in
/home/oe/oe/build/deploy/glibc/images/mini2440/
Set up a TFTP/NFS with this filesystem and kernel for testing.
You can find the information about setting up a DHCP/TFTP/NFS on the Mini2440 Linux page
If you have any remarks about my tutorial, please mail me at me [a-t] noyenskenneth [d0t] be