marcia k wilburcordell wilbur
Published © GPL3+

Yocto on Beaglebone Black

Use Yocto on BeagleBone Black.

IntermediateFull instructions provided2 hours7,590
Yocto on Beaglebone Black

Things used in this project

Hardware components

BeagleBone Black
BeagleBoard.org BeagleBone Black
×1
microHDMI to HDMI cable
×1
micrSD card and adapter
×1

Software apps and online services

Debian or Ubuntu

Story

Read more

Schematics

Beagleboard

6ethlyujcdklzl08vhv6

Code

Depends

snippets
get
	sudo apt-get install bc build-essential chrpath diffstat gawk git libncurses5-dev pkg-config socat subversion texi2html texinfo u-boot-tools           

Clone the Yocto Repo

snippets
Clone the Yocto repo
$ git clone -b jethro git://git.yoctoproject.org/poky.git poky-jethro 

Clone OpenEmbedded repo

snippets
Clone the OpenEmbedded repo
$ git clone -b jethro git://git.openembedded.org/meta-openembedded

Clone the Beaglebone Black Repo

snippets
Clone the Beaglebone Black Repo
	$ git clone git://github.com/beagleboard/meta-beagleboard

Initialize the build directory

snippets
manually or use the script
source oe-init-build-env 

Partition the sd card

snippets
use a script or gparted - whatever you usually use. Be careful to only partition the SD card. Use dh -f or lsblk to see which device! Be careful not to hose your OS!
$ sudo apt-get install gparted

Minimal rootfs instructions - Install device tree files and kernel uImage to rootfs/boot

snippets
For minimal rootfs - not core-image
$ sudo cp uImage-beaglebone.bin /media/root/boot/uImage
$ sudo cp uImage-am335x-bone.dtb /media/root/boot/am335x-bone.dtb 
$ sudo cp uImage-am335x-boneblack.dtb /media/root/boot/am335x-boneblack.dtb

Run the build

snippets
Run the build
	$bitbake core-image-sato

Credits

marcia k wilbur

marcia k wilbur

2 projects • 1 follower
hacker maker slacker command line junkie :)
cordell wilbur

cordell wilbur

1 project • 0 followers

Comments