Difference between revisions of "Mini2440 Openembedded"
From Kenneth Noyens
Line 1: | Line 1: | ||
− | |||
− | |||
I made a virtual machine running ubuntu 9.10 (32bit).<br> | I made a virtual machine running ubuntu 9.10 (32bit).<br> | ||
My username on this system is oe.<br> | My username on this system is oe.<br> |
Revision as of 21:58, 20 February 2010
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
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