How to make an angstrom rootfs for MIPS CI20

From eLinux.org
Revision as of 08:49, 4 December 2014 by Vincent (talk | contribs) (Add a new page with the instructions for creating an Angstrom rootfs for MIPS CI20)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Downloading Angstrom v2014.12

Clone the angstrom-v2014.12-yocto1.7 branch from the Angstrom git repository by issuing the following command:

git clone -b angstrom-v2014.12-yocto1.7 git://github.com/Angstrom-distribution/setup-scripts.git

Configuring Angstrom

Enter into the new "setup-scripts" directory which has been creating when cloning the previous git repository, and configure Angstrom:

cd setup-scripts
MACHINE="ci20" ./oebb.sh config ci20

Adding the CI20 machine

Create the "sources/openembedded-core/meta/conf/machine/ci20.conf" file:

cat > sources/openembedded-core/meta/conf/machine/ci20.conf << "EOF"
#@TYPE: Machine
#@NAME: CI20
#@DESCRIPTION: MIPS Creator CI20

require conf/machine/include/tune-mips32r2.inc

DEFAULTTUNE = "mips32r2el"
MACHINE_FEATURES = "serial"
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS4"
IMAGE_FSTYPES ?= "tar.bz2"
EOF

Building the rootfs

Source the environment script and create the rootfs tarball:

source environment-angstrom-v2014.12
MACHINE="ci20" bitbake development-xfce-image

When the build process finishes you will find your rootfs image in the "deploy/glibc/images/ci20/" directory.

deploy/glibc/images/ci20/Angstrom-development-XFCE-image-glibc-ipk-v2014.12-ci20.rootfs.tar.bz2