3.1
Getting Started and Customization
3.1.1
Getting Started
3.1.1.1
Prerequisites
To install Docker Engine on your platform
Please refer to Docker Installation Guide for details:
https://docs.docker.com/engine/installation/
To pull ubuntu 12.04 image from Docker Hub & run the image
$ docker pull advrisc/u12.04-quarklbv2
$
docker
quarklbv2 /bin/bash
To copy BSP from local filesystem to the container
$ docker cp ${BSP_PACK} quarkLBV2011:/home/adv/
To copy files from the container's filesystem to local machine
$ docker cp quarkLBV2011:/home/adv/${BSP_HOME}/${BDIR}/tmp/
deploy/images/quark ~
3.1.1.2
Conventions
${BOARD_ID}: board ID
e.g. ubc222 or ubc221
${IMAGE_PACK}: prebuilt image pack
e.g. ubc222 or ubc221
${IMAGE_DIR}: the directory prebuilt image pack extracted to
e.g. ~/U222LIV2011_quark_2016-01-29
${BSP_PACK}: BSP pack
e.g. U222LIV2011_quark_2016-01-29.zip
${BSP_HOME}: the directory BSP pack extracted to
e.g. ~/LBV2011/meta-clanton_v1.2.0
${BDIR}: build directory
e.g. yocto_build
${SD_MOUNT}: mount point of SD card in Ubuntu
e.g. /media/sdf1
${POKY}: Yocto poky version
e.g. 1.7.2
UBC-222 User Manual
run
--name
quarkLBV2011
16
-it
advrisc/u12.04-