Yocto wandboard

提供: KiyomiWiki
移動: 案内検索

ubuntu 12.04 install

virtualboxをインストールして、ubuntu 12.04 LTSをインストールします。

Host packages install

$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat
$ sudo apt-get install libsdl1.2-dev xterm sed cvs subversion coreutils texi2html \
docbook-utils python-pysqlite2 help2man make gcc g++ desktop-file-utils \
libgl1-mesa-dev libglu1-mesa-dev mercurial autoconf automake groff curl lzop asciidoc
$ sudo apt-get install uboot-mkimage

repo utility install

$ wget -O repo http://storage.googleapis.com/git-repo-downloads/repo
$ chmod a+x repo
$ sudo mv repo /usr/bin/.

Yocto Project Setup (fsl-comminuty-bsp 3.14.28の場合)

  • 1.8 - codename Fido:
$ mkdir fsl-community-bsp
$ cd fsl-community-bsp
$ repo init -u https://github.com/Freescale/fsl-community-bsp-platform
$ repo sync -j8
$ export MACHINE=wandboard
$ . ./setup-environment build
$ bitbake core-image-base

Yocto Project Setup (fsl-community-bsp 3.10.17の場合)

  • 1.7 - codename Dizzy:
$ mkdir fsl-community-bsp
$ cd fsl-community-bsp
$ repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b dizzy
$ repo sync -j8
$ export MACHINE=wandboard-quad
$ . ./setup-environment build
$ bitbake core-image-base

SDカードへ書き込み (SD=/dev/sdbの場合)

$ sudo dd if=tmp/deploy/images/wandboard-quad/core-image-base-wandboard-quad.sdcard of=/dev/sdb bs=1M