1. Install required software and configure environment.
1.a: sudo apt-get install git help2man gawk texi2html texinfo build-essential unzip diffstat subversion texinfo cvs chrpath
1.b: Reconfigure dash: sudo dpkg-reconfigure dash, select no

2. Grab latest Angstrom distribution from GitHub.
2.a: Make a folder for your Angstrom distribution. Make sure you have enough disk space. According to different build option, it may take up to 10~15 GB to build it.
2.b: git clone git://github.com/Angstrom-distribution/setup-scripts.git (This should be fast). After finished, go to setup-scripts folder.
2.c: MACHINE=beagleboard ./oebb.sh config beagleboard (This will take several minutes)
2.d: MACHINE=beagleboard ./oebb.sh update (This should be fast)
2.e: MACHINE=beagleboard ./oebb.sh bitbake systemd-gnome-image (This will take several hours! Be prepared)
There are several options for bitbake:
virtual/kernel: Linux kernel only, no MLO, u-boot or root file system.
console-image: Linux kernel + MLO, u-boot and root file system.
systemd-gnome-image: console-image + gnome based desktop environment.
Here I used systemd-gnome-image.

3. The compiled files are at: your folder/setup-scripts/build/tmp-Angstrom_vxxxxxx/deploy/images/beagleboard/. If you compiled with console-image or systemd-gnome-image, you should see MLO, u-boot.img, uImage and root file system in tar file named something like “Angstrom-console-image-eglibc-ipk-v2012.05-beagleboard.rootfs.tar.bz2”.



創作者 silentlain 的頭像

SilentLain's Blog

silentlain 發表在 痞客邦 留言(0) 人氣()