Building an Ångström Image/Flasher with Replicape Support
Building an Ångström Image/Flasher with Replicape Support
We have begun the process to build an image/eMMC flasher with Replicape and Redeem support. It is a work-in-progress, but if you want to follow along—or better yet contribute—here are the steps to get started:
Start with a computer running a recent version of a Linux distribution. We use Ubuntu 12.04 LTS. Make sure you have a LARGE harddrive, as Openembedded needs a lot of working space to accomplish the task (plan for 200-300+ GB).
1. $ git clone https://github.com/Angstrom-distribution/setup-scripts
2. $ cd setup-scripts
3. $ git checkout -b angstrom-v2013.12-yocto1.5 origin/angstrom-v2013.12-yocto1.5
4. $ MACHINE=beaglebone ./oebb.sh config beaglebone
5. $ cd sources
6. $ git clone https://github.com/moto-timo/meta-replicape.git
7. Append setup-scripts/sources/layers.txt:
meta-replicape,git://github.com/moto-timo/meta-replicape.git,master,HEAD
8. Add meta-replicape to your layers by appending setup-scripts/conf/bblayers.conf:
BSPLAYERS ?= " \
${TOPDIR}/sources/meta-beagleboard/common-bsp \
...
${TOPDIR}/sources/meta-minnow \
${TOPDIR}/sources/meta-replicape \
"
9. Change back to the setup-scripts directory
10. $ . environment-angstrom-v2013.12
11. $ MACHINE=beaglebone bitbake systemd-gnome-image
You can also build individual parts of the image separately, such as:
$ MACHINE=beaglebone bitbake pypruss
You might get tired of typing MACHINE=beaglebone, so you can append your setup-scripts/conf/local.conf file with the following:
MACHINE ??="beaglebone"
The resulting images or .ipk packages will be in the setup-scripts/deploy directory.
Things to come
- We have more work to do to get a completely functioning image. Check back for updates.
- We are working on creating the eMMC flasher automatically with OE.
- We are working on cross-compiling Slic3r into the image to directly convert STL files to G-code.