-
Notifications
You must be signed in to change notification settings - Fork 70
Wandboard (i.MX6)
This wiki page documents how to build an image with WPE for the Wandboard
Please be sure to first read the WPE introduction page and i.MX6 pages that gives an overview of the launchers and wpebackends available.
$ mkdir ${HOME}/bin
$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ${HOME}/bin/repo
$ chmod +x ${HOME}/bin/repo
$ export PATH="${HOME}/bin/:${PATH}"
We are using rocko version on this example (it is the last stable tested as of the moment of writing this). So to get the layers for that, we do:
$ mkdir wandboard-yocto
$ cd wandboard-yocto
$ repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b honister
$ repo sync
$ cd sources
$ git clone https://github.com/Igalia/meta-webkit
$ cd ..
$ MACHINE=wandboard DISTRO=fslc-wayland source setup-environment build
# Read and accept the EULA if you want to continue
Edit the file conf/bblayers.conf
and add meta-webkit at the bottom of the BBLAYERS
list , so it looks like this:
BBLAYERS = " \
${BSPDIR}/sources/poky/meta \
${BSPDIR}/sources/poky/meta-poky \
\
${BSPDIR}/sources/meta-openembedded/meta-oe \
${BSPDIR}/sources/meta-openembedded/meta-multimedia \
\
${BSPDIR}/sources/meta-freescale \
${BSPDIR}/sources/meta-freescale-3rdparty \
${BSPDIR}/sources/meta-freescale-distro \
${BSPDIR}/sources/meta-webkit \
"
- Edit and add on
conf/local.conf
this
# Accelerated video support
IMAGE_INSTALL:append = " gstreamer1.0-plugins-imx gstreamer1.0-plugins-imx-meta"
# WPEWebkit and cog launcher
IMAGE_INSTALL:append = " wpewebkit cog"
# Backend selection
PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-fdo"
# Uncomment this if you don't see video output via HDMI
# UBOOT_EXTLINUX_KERNEL_ARGS = "rootwait rw console=${console} video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24,bpp=32"
- Note: un-commenting the line about
UBOOT_EXTLINUX_KERNEL_ARGS
is needed for wandboard QuadPlus
bitbake core-image-weston
When it finish simply uncompress and write raw the wic image (with dd for example) to an sdcard and boot the board with it
cat tmp/deploy/images/wandboard/core-image-weston-wandboard.wic.gz | gzip -dc | dd of=/dev/mmcblk0 bs=4k
Simply insert the microSD card into the board and boot it.
But beware that the wandboard has two sdcard slots, and only the one below the heatsink can be used for boot.