This README file contains information on the contents of the
meta-mbed-raspberrypi layer.
The meta-mbed-raspberrypi layer contains mbed_sdcard_image-rpi-class
that can be used to build an SD-card image capable of firmware update through
Mbed Cloud Client. In practice this means an image with additional partitions
and u-boot bootloader.
To use this layer, use the supplied local.conf.sample or add following lines to
your local.conf-file:
MACHINE = "mbed-rpi3"
KERNEL_IMAGETYPE="uImage"
#ENABLE_UART is strictly not necessary, but can help with debugging issues.
ENABLE_UART="1"
The Mbed Edge on Raspberry Pi 3 is currently tested on top of the morty-version
of the Yocto and with this layer. The following repositories are required to build
an image with Raspberry Pi 3 support:
In order to use this layer, you need to make the build system aware of it.
Assuming the meta-mbed-raspberrypi layer exists at the top-level of your
Yocto build tree, you can add it to the build system by adding the
location of the meta-mbed-raspberrypi layer to bblayers.conf,
along with any other layers needed. e.g.:
BBLAYERS ?= " \
/path/to/yocto/meta \
/path/to/yocto/meta-poky \
/path/to/yocto/meta-openembedded \
/path/to/yocto/meta-raspberrypi
/path/to/yocto/meta-mbed-raspberrypi \
"