Setup OpenEmbedded toolchain

Да се разработи Linux/OSGi базирана разпределена сензорна система за събиране на метеорологични данни, състояща се от сензорна, сервизна и приложна части. Съставните части на системата да са гъвкаво конфигурируеми и с възможност да работят върху различни платформи. Функционалността, свързана с всеки отделен сензор да е йерархично разпределена и да може да се преконфигурира по време на работа на системата. Всеки отделен сензор или група, както и поддържаните от тях услуги да се регистрират в системата автоматично след инсталирането и пускането им в действие. Интерфейса към потребителя и персонала по поддръжката да е унифициран и достъпен чрез специализирано приложение или Интернет. Да се дефинират критерии за оценка на системата и съставните и части. Да се извърши анализ на възможни решения съобразно дефинираните критерии.

Setup OpenEmbedded toolchain

Postby mladen » Wed Aug 17, 2011 4:00 pm

First of all you may want to install some useful packages(if you haven’t installed them already). Next commands have to be executed as root user.
Code: Select all
apt-get install nano mc openssh-server lrzsz htop

Now you can work on SSH terminal. Required software for OpenEmbedded can be found at OE host distributions wiki.

Check that /bin/sh (ls -l /bin/sh) is not symbolically linked to dash. "dash" is a POSIX compliant shell that is much smaller than "bash" -- however some broken shell scripts still make use of bash extensions while calling into /bin/sh. To work around this issue call
Code: Select all
dpkg-reconfigure dash

and select No when it asks you to install dash as /bin/sh.

If you don’t want to use packages from repository, you can build them manually from source. For this purpose check all OpenEmbedded Required Software or use special script for Ubuntu distribution
I prefer to use packages from Ubuntu universe repository. So let’s start with installing of necessary packages:
Code: Select all
apt-get install sed wget cvs subversion git-core coreutils unzip texi2html texinfo docbook-utils gawk python-pysqlite2 diffstat help2man make gcc build-essential g++ desktop-file-utils chrpath


Then we have to install some supplementary packages:
Code: Select all
apt-get install libxml2-utils xmlto python-psyco


OPTIONAL: following packages and their dependencies need to be installed in order to build the bitbake documentation (warning: over 160MB of installed packages).
Code: Select all
apt-get install docbook


This package is necessary to build some packages (in particular the esound documentation needs it).

NOTE: If you are building in container (LXC/OpenVZ) check presence of loadkeys tool (/bin/loadkeys). If there is no loadkeys, install console-tools package.
Code: Select all
apt-get install console-tools


Finally we have to install automake and autoconf packages
Code: Select all
apt-get install automake autoconf autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool gettext


Now we have all needed packages for using OpenEmbedded toolchain.
mladen
 
Posts: 10
Joined: Tue Feb 22, 2011 5:16 pm

Return to OSGi based sensor network

Who is online

Users browsing this forum: No registered users and 3 guests