Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Meta layer to support jz mips boards
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
This README file contains information on building the meta-ci20 BSP layer, and booting the images contained in the /binary directory. Please see the corresponding sections below for details. Dependencies ============ This layer depends on: URI: git://git.openembedded.org/bitbake branch: master URI: git://git.openembedded.org/openembedded-core layers: meta branch: master URI: git://github/akuster/meta-ci20 branch: master Patches ======= Please submit any patches against this BSP to the Yocto mailing list (firstname.lastname@example.org) and cc: the maintainer: Maintainer: Armin Kuster <email@example.com> Table of Contents ================= I. Building the meta-ci20 BSP layer I. Building the meta-ci20 BSP layer ======================================== In order to build an image with BSP support for a given release, you need to download the corresponding BSP tarball from the 'Board Support Package (BSP) Downloads' page of the Yocto Project website. Having done that, and assuming you extracted the BSP tarball contents at the top-level of your yocto build tree, you can build a ci20 image by adding the location of the meta-ci20 layer to bblayers.conf, along with any other layers needed (to access common metadata shared between BSPs) e.g.: yocto/meta-xxxx \ yocto/meta-xxxx/meta-ci20 \ To enable the ci20 layer, add the ci20 MACHINE to local.conf: MACHINE ?= "ci20" You should then be able to build a ci20 image as such: $ source oe-init-build-env $ bitbake core-image-sato At the end of a successful build, you should have a live image that you can boot from a SD card (see instructions on how to do that below. # dd if=core-image-sato-ci20-20101207053738.rootfs.sdcard of=/dev/mmcblk0 bs=1M # sync # eject /dev/mmcblk0 To update upboot on the mmc card dd if=spl/u-boot-spl.bin of=/dev/mmcblk0 obs=512 seek=1 dd if=u-boot.img of=/dev/mmcblk0 obs=1K seek=14 sync