Yocto/Fast Start

From Chiliboard Wiki
Jump to: navigation, search

Yocto: fast start

This document describes how to download, setup and build Yocto based system image. For faster downloads, git repositories will be cloned without history.

Image generation

Download

git clone git://git.yoctoproject.org/poky --depth 1 -b fido
cd poky
git clone git://git.yoctoproject.org/meta-ti --depth 1 -b fido
git clone https://github.com/chilisom/meta-chilisom.git

Configure

Create build directory and generate local config files:

TEMPLATECONF=meta-chilisom/conf source ./oe-init-build-env

Now it is time to review and change conf/local.conf file.

Build

To build system image:

bitbake core-image-base

Rsults are in poky/build/tmp/deploy/images/<board name>/

SD Card preparation

How to create partitions, please refer to: Chiliboard/Arch_Linux and Chiliboard/Getting_started

Necessary files on 1st FAT bootable partition:

  • MLO
  • u-boot.img
  • uEnv.txt
  • zImage

On second ext4 partition, you have to unpack generated root filesystem:

core-image-base-chiliboard.tar.bz2

and

  • /boot/zImage-am335x-chiliboard-nand256-ram256-lcd.dtb