OpenEmbedded and Yocto
This page provides the Dragonboard410c specific instructions for flashing OpenEmbedded and Yocto images. For instructions on building the OE/Yocto images, please refer the generic OpenEmbedded guide.
Updating eMMC partitions and Bootloader
Build artifacts from your OE build will be flashed into the on-board eMMC (in contrast to some other boards which run their images from an SDcard). The OpenEmbedded BSP layer assumes that the Linux Bootloaders and eMMC partition layout are used on the board (not the Android ones; by default DragonBoards come pre-configured with the Android eMMC partition layout). You can download the latest Linux bootloader package for Dragonboard410c from here to your development host, it will be named something like
Whether your board is using the Android eMMC partition layout or the Linux partition eMMC layout, you will use the Android
fastboot utility on your development host for managing the board’s eMMC partitions. If you are using a relatively recent Linux distribution on your development host, it probably already has a package that includes the
fastboot utility (it might be named something like
android-tools-fastboot) so go ahead and install it on your development host.
The procedure for booting Dragonboard410c into
fastboot mode is given here. After getting into fastboot mode, update eMMC partition using the downloaded bootloader package by following instructions here
At this point your eMMC has the following partition layout:
bootis used for the boot image (kernel, device tree, initrd)
rootfsis used for the root file system
Flashing build artifacts
At the end of any successful build you will end up with the following artifacts (amongst others)
IMAGEwith the name of image you built. For example, if you built
These will be found in your
After getting into
fastboot mode, following commands can be used to flash built images onto Dragonboard410c’s eMMC.
$ gunzip IMAGE-dragonboard-410c.ext4.gz $ sudo fastboot flash boot boot-dragonboard-410c.img $ sudo fastboot flash rootfs IMAGE-dragonboard-410c.ext4