my first openembedded image
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/MLOcp u-boot-beagleboard.bin /media/MMC_BOOT/u-boot.bincp uImage-beagleboard.bin /media/MMC_BOOT/uImagecd /media/MMC_ROOTsudo 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.
