[BBB] Am I building the latest Angstrom image right?

I want to build the latest Angstrom-Cloud9-IDE-GNOME-xxx image for the beaglebone black on an ubuntu host. Can someone please confirm these steps?

MACHINE=beaglebone

(or is it beagleboneblack? Where are the choices for MACHINE?)

git clone https://github.com/Angstrom-distribution/setup-scripts.git
cd setup-scripts
./oebb.sh config beaglebone (or is it beagleboneblack?)
./oebb.sh update

./oebb.sh bitbake cloud9-gnome-image

(Is this the right image? What are the choices for this? I know of systemd-image and cloud9-image)

And does the build succeed reliably and repeatably for you? Or is it highly sensitive to the alignment of the planets…

Thanks,
Jim

Hi Jim.

I’m also interested in this information. Maybe Gerald can share how he builds the official images for the BBB.

I’ve been trying to both figure out how to build those images and also figure out how to build a minimal/headless image.

Chris

Me? Build images? Now that is a funny one! I use em. I don’t build em.

Gerald

Koen builds the official images. Now and again, I build images to make sure the process is reproducible. I’ve had an outstanding issue with building gnome-applets on Ubuntu 12.04 (Koen is using Fedora), but otherwise haven’t had issues reproducing the builds.

The output is a root file system along with kernel and bootloader builds. The flashing process is done (per my understanding at least) with this script: https://github.com/beagleboard/meta-beagleboard/blob/master/contrib/bone-flash-tool/emmc.sh.

not building an angstrom image but i wanted to use OE to build a
basic image for my BBB as the basis for a couple upcoming embedded
linux classes, so i whipped this up:

http://www.crashcourse.ca/wiki/index.php/BBB

seems to work, but i'm open to suggestions for improvement.

rday

i once wrote a wiki page explaining the mechanics of the flasher
image ... now where did i put it ... ah, here it is:

  http://www.crashcourse.ca/wiki/index.php/BBB_software_update_process

i *think* it's still accurate.

rday

If you uncompress the latest flasher image in http://beagleboard.org/latest-images, it looks like it creates a minimal root filesystem, the flashing utility (script?), and the rootfs tarball to be flashed to the eMMC’s linux partition:

cd build/
ls -AlF
-rw-r–r–. 1 root 358828968 Jun 20 04:16 Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone.rootfs.tar.gz

If I try the Angstrom build myself, using ‘MACHINE=beaglebone’ and bitbake target = ‘cloud9-gnome-image’, I get a file by the same name:

cd build/tmp-angstrom_v2012_12-eglibc/deploy/images/beaglebone
ls -AlF

-rw-r–r-- 1 jlf 340413308 Jun 27 21:31 Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone.rootfs.tar.gz

The 2 rootfs tarballs seem to fairly close in size. Does this mean I’m doing it right?
Does this mean the BBW and BBB use the same rootfs?
Can someone please confirm the MACHINE and bitbake target used?

Thanks,
Jim

You’re basically correct and I do what you’ve suggested to produce builds myself. I did however have to move to using Fedora to build that image. I could build the kernel no problem in ubuntu though.