After installing openembedded from these
directions,
I’ve successfully compiled the helloworld-image target and have it running on
my beagleboard! After running bitbake helloworld-image
and bitbake
virtual/kernel
and finding something else to do for a few hours while
everything compiled, I had a usable rootfs and kernel image. I already had my
SD card partitioned, so I just erased the old Ã…ngstrom image and copied the new
stuff over.
To install the image to the SD card (Where BUILDDIR is the directory form which you ran bitbake, MMC_BOOT is the boot partition on your MMC card, and MMC_ROOT is the root partition:
- Go to
BUILDDIR/tmp/deploy/glibc/images/beagleboard
cp MLO-beagleboard /media/MMC_BOOT/MLO
cp u-boot-beagleboard.bin /media/MMC_BOOT/u-boot.bin
cp uImage-beagleboard.bin /media/MMC_BOOT/uImage
cd /media/MMC_ROOT
sudo tar -xvf BUILDDIR/tmp/deploy/glibc/images/beagleboard/helloworld-image-beagleboard.tar
Boot time is about 8 seconds from when it starts to unpack the kernel to executing userspace code.