项目作者: linumiz

项目描述 :
Yocto meta BSP layer for Variscite
高级语言: BitBake
项目地址: git://github.com/linumiz/meta-variscite.git
创建时间: 2019-08-19T20:48:07Z
项目社区:https://github.com/linumiz/meta-variscite

开源协议:MIT License

下载


meta-variscite image build

Required packages on Ubuntu

This section provides required packages on an Ubuntu Linux distribution:

Essentials

Packages needed to build an image for a headless system:

  1. $ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
  2. build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
  3. xz-utils debianutils iputils-ping python-git repo bmap-tools

Download meta-variscite project manifest

To easily manage different git repositories layers, meta-variscite project is using Android repo tool,

First initialize repo specifying the project manifest and the corresponding branch:

  1. $ repo init -u https://github.com/linumiz/meta-variscite.git -m conf/samples/variscite.xml -b master

then checkout the project source tree:

  1. $ repo sync -j10

Configuring the project

meta-variscite offers pre-configured machine templates, tested and ready to use.

  • variscite
  1. $ cd variscite/
  2. $ TEMPLATECONF=meta-variscite/conf/samples/ source oe-init-build-env

Build the project

SD image

  1. $ bitbake variscite-image-base-sd

eMMC image

  1. $ bitbake variscite-image-base-emmc

Flashing the Image

SD image

After successfull compilation you will find the image in below name, which can be
directly flashed into SD card

  1. dd if=./variscite-image-base-sd.wic of=/dev/sdX bs=10M

eMMC image

Pre-requiste SD image flashed and sucessfull linux booting. Copy below two images to SD card

  1. dd if=./variscite-image-base-emmc.wic of=/dev/mmcblkX bs=10M