Spotlight | Reviews | Current Issue | Academy | Newsletter | Subscribe | Shop |
Departments

Partner Links
Make your own website
WinWeb OnlineOffice
Comparing prices of hardware is worth it.
Price Comparison
What:
Where:
Country:
vacatures Netherlands njobs Linux vacatures
arbeit Deutschland njobs Linux arbeit
work United Kingdom njobs Linux jobs
Lavoro Italia njobs Linux lavoro
Emploi France njobs Linux emploi
trabajo Espana njobs Linux trabajo

user friendly

Admin Magazine

ADMIN Network & Security

Subscribe now and save!

 ADMIN - Explore the new world of system administration! ADMIN is a smart, technical magazine for IT pros on heterogeneous networks. Each issue delivers technical solutions to the real-world problems you face every day. Learn the latest techniques for better:

  • network security
  • system management
  • troubleshooting
  • performance tuning
  • virtualization
  • cloud computing

 on Windows, Linux, Solaris, and popular varieties of Unix.

http://www.admin-magazine.com/

  linux-magazine.com » Online » Blogs » Beagleblog » Baking Bits  

Beagleblog
Beagleblog

Baking Bits

To build the Angstrom distribution from source you need to set up the Openembedded environment. With help from the build tool Bitbake it can cross compile software for many embedded targets on a host PC. You will find Bitbake in the repositories of many standard Linux distributions. However I had some problems with the tool shipped in Ubuntu 9.10 Karmic Koala, so I just downloaded the Bitbake source and installed it. Just download the package from the web site, unpack it and execute »python setup.py install« as root.

You can get the Openembedded environment from the Git repository. For this I created a directory called »OE« in my home directory:

cd
mkdir OE
cd OE
git clone git://git.openembedded.org/openembedded.git openembedded

Now you need to edit the configuration file that determines the target system and some other parameters. Simply copy the sample configuration and edit it.

mkdir -p build/conf
cp openembedded/conf/local.conf.sample build/conf/local.conf

I had to change the following variables in the configuration:

MACHINE = "beagleboard"
BBFILES := "/home/oliver/OE/openembedded/recipes/*/*.bb"
DISTRO = "angstrom-2008.1"
TMPDIR = /home/oliver/OE/tmp

Additionally you need to remove the last line in the file starting with »REMOVE_THIS_LINE«, otherwise the build process will fail.

One the documentation web page on Openembedded and Angstrom you will find a link to a small file called »source-me.txt« which sets the required environment variables for the build process. I only changed the variable that points to the Openembedded tree:

export OETREE=/home/oliver/OE

Make the changes effective by executing »source source-me.txt« in the Bash shell.

With all requirements fulfilled the build process starts with the command »bitbake base-image« which builds a minimal image. To build Angstrom with a graphical user interface you can use »bitbake x11-image«. The Bitbake tool will complain if there are still requirements missing. For instance I had to set the kernel variable »/proc/sys/vm/mmap_min_addr« and install some more tools on the Ubuntu host PC, among them »texinfo« for the »makeinfo« requirement.

When Angstrom starts to build you need some patience if you don't own a fast PC. On my home machine with and Athlon 2800+ and 1 GB of RAM it took several days, including sleeping breaks. You should install the Python Psyco extension to speed up the process at least a little bit. And be sure to build only the required locales by setting the appropriate variable in your »local.conf«:

GLIBC_GENERATE_LOCALES = "en_US.UTF-8 en_GB.UTF-8 de_DE.UTF-8"

When the build completes successfully you need to copy the distribution files and the bootloader to the SD card you are using for the Beagleboard file systems. In my case I had the root fs mounted on »/media/ALINUX« and the VFAT boot fs mounted on »/media/BOOT«:

tar xf ./tmp/deploy/glibc/images/beagleboard/console-image-beagleboard.tar -C /media/ALINUX
cp ./tmp/deploy/glibc/images/beagleboard/uImage-beagleboard.bin /media/BOOT/

Plug the SD card back into the Beagleboard slot and happily boot your self-compiled Angstrom distribution:


Comments

great post

peer Oct 25, 2010 7:35am GMT

Thanks a lot for sharing the article on cash. That's a awesome article. I enjoyed the article a lot while reading. Thanks for sharing such a wonderful article.I want to say very thank you for this great informations. now i understand about it. Thank you !
http://www.cocoschanel.com
http://www.gucciguccis.com
http://www.urboots.com
http://www.handbags2012.com
http://www.louisvuittonslv.com
http://www.uggmalls.com

SHARE MARKET TIPS BY BUZZINGSTREET.COM

BUZZINGSTREEET Oct 15, 2010 5:08am GMT

Dear Visitor,
Market is showing some good move. Nifty traders are now confused if they should go short in Nifty from current level of 5400 or should go further long. NSE and BSE are the two major stock exchanges of Indian stock market. Keeping in mind that many investors and traders are very much confused with the current market move, we have stared posting " title="technical research reports"> technical research reports These reports are highly accurate and are available for free.

Regards
Stock market investment if done with proper research and updated knowledge than it can give very lucrative results. There are four basic golden rules of stock market which are to be followed. (thebuzzingstreet1@gmail.com)www.buzzingstreet.com


Nifty is on its peak now and is turning volatile. Investors are suggested to book long delivery positions soon. As after some more upmove we can see profit booking in the market soon. Investors are suggested to grab quality stocks at lower level again.

Thanks but why not Ubuntu?

BuffPuff Jan 31, 2010 8:17am GMT

I just finished creating an Ubuntu Install for my little Beagle, I forgot to add the wireless drivers so no network, but I will fix that soon and then I will try to get GUI up an running from a repo (if I find one).

I understand that Angstrom works out of the box with gui and such, but is there no possibility to get that functionality from the Karmic ARM port?

Thanks

alcy Jan 09, 2010 5:31pm GMT

Nice tutorial. Bookmarked it happy

Print this page. Recommend
Share