Building a Yocto image for wp76/9x28 fails no recipe - Documentation Request

Hi,

I am having a difficult time finding documentation for the steps to build a new yocto image for any MangoH boards. The documentation here : Building Custom Yocto Image is all that I can find, however, the repositories that are linked to are inaccessible.

Attempt to follow Wiki Directions

For example, these commands give an error because this is an internal git server to Sierra.

**WP85** :
repo init -u git://gerrit-legato/manifest -m lxswi/branches/master/systems/wp85xx.xml -g “default,amss”

**WP76** :
repo init -u git://gerrit-legato/manifest -m lxswi/branches/master/systems/wp76xx.xml

So I downloaded the file that @nick suggested, http://downloads.sierrawireless.com/AirPrime/WPx5xx/Release15/Legato-Dist-Source-mdm9x15-SWI9X15Y_07.12.14.00.tar.bz2

and did my best to make it up along the way.

First off here, step 2 is impossible because there is 1) no repo and 2) no rule to make image_src:

  1. Synchronize repo and build yocto

repo sync
make image_src
make: *** No rule to make target `image_src’. Stop.

Next we have :

WP76:
bitbake -c compile -f linux-quic
bitbake -c build -f linux-quic
bitbake -c build -f mdm9x28-image-minimal
bitbake: command not found

So i went into poky and sourced the build environment…:

. poky/oe-init-build-env

Then tried to build with the commands from the other post…

rauger@M2MD-Ubuntu-Dev:~/repos/yocto/Legato-Dist-Source-mdm9x15-SWI9X15Y_07_13_05_yocto$ . poky/oe-init-build-env

You had no conf/local.conf file. This configuration file has therefore been

created for you with some default values. You may wish to edit it to, for

example, select a different MACHINE (target hardware). See conf/local.conf

for more information as common configuration options are commented.

You had no conf/bblayers.conf file. This configuration file has therefore been

created for you with some default values. To add additional metadata layers

into your configuration please add entries to conf/bblayers.conf.

─────

The Yocto Project has extensive documentation about OE including a reference

manual which can be found at:

http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:

http://www.openembedded.org/

Shell environment set up for builds.

You can now run ‘bitbake <target>’

Common targets are:

core-image-minimal

core-image-sato

meta-toolchain

meta-ide-support

You can also run generated qemu images with a command like ‘runqemu qemux86’

rauger@M2MD-Ubuntu-Dev:~/repos/yocto/Legato-Dist-Source-mdm9x15-SWI9X15Y_07_13_05_yocto/build$ ls
conf

rauger@M2MD-Ubuntu-Dev:~/repos/yocto/Legato-Dist-Source-mdm9x15-SWI9X15Y_07_13_05_yocto/build$ bitbake -c compile -f linux-quic
Parsing recipes: 100% |#######################################################################################################################| Time: 0:00:16

Parsing of 864 .bb files complete (0 cached, 864 parsed). 1318 targets, 50 skipped, 0 masked, 0 errors.

ERROR: Nothing PROVIDES ‘linux-quic’

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

EDIT: I found a readme file in meta-swi-extras/readme/README.build.wp76.md. In it, it says to build, run make. This took about 45 minutes, but only the mdm9x15 was built(wp85) rather than the 9x28(wp76).

Further in the docs, to build wp76:
make dev
bitbake -c cleansstate busybox
bitbake busybox
bitbake mdm9x28-image-minimal

– The last command, mdm9x28 fails with:

rauger@M2MD-Ubuntu-Dev:~/repos/yocto/Legato-Dist-Source-mdm9x15-SWI9X15Y_07_13_05_yocto/build_bin$ bitbake mdm9x28-image-minimal
Loading cache: 100% |#########################################################################################################################| Time: 0:00:00
Loaded 2612 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################| Time: 0:00:00
Parsing of 1906 .bb files complete (1904 cached, 2 parsed). 2614 targets, 372 skipped, 0 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_swi-mdm9xxx-bin ‘^/home/rauger/repos/yocto/Legato-Dist-Source-mdm9x15-SWI9X15Y_07_13_05_yocto/meta-swi/…/meta-swi-extras/meta-swi-mdm9xxx-bin/’
WARNING: No bb files matched BBFILE_PATTERN_swi-mdm9xxx-bin ‘^/home/rauger/repos/yocto/Legato-Dist-Source-mdm9x15-SWI9X15Y_07_13_05_yocto/meta-swi/…/meta-swi-extras/meta-swi-mdm9xxx-bin/’
ERROR: Nothing PROVIDES ‘mdm9x28-image-minimal’. Close matches:
mdm9x15-image-minimal
mdm9x15-image-initramfs
core-image-minimal

Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

There isn’t a recipe for 9x28… so how are we supposed to build it?

It seems that you downloaded the 9x15 (wp75, wp85) tarball rather than the 9x28/9x06/9x07 (wp76, wp77) one.