wp85 rebuilding legato kernel

We would like to rebuild/reconfigure a custom kernel for the wp85 using instructions from this link:
legato.io/legato-docs/latest/yoc … ctoImages3
There does not appear to be a stdbuild.sh file
If attempting to run the standard example from README.build:
./build.sh -p …/poky/ -o …/meta-openembedded/ -l …/meta-swi -m swi-mdm9x15 -q -t -4 j 4 -d
gets this error:
loading cache: 100% |####################################################################################| ETA: 00:00:00
Loaded 782 entries from dependency cache.
NOTE: Error during finalise of /home/usr1/wp85/yocto/poky/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb| ETA: --:–:--
NOTE: Error during finalise of /home/usr1/wp85/yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.14.bb
ERROR: ExpansionError during parsing /home/usr1/wp85/yocto/poky/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb: Failure expanding variable do_patch: ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception MalformedUrl: The URL: ‘git://;protocol=file;branch=standard/swi-mdm9x15-yocto-1.7-swi-le55,meta-yocto-1.7-swi-le55;name=machine,meta’ is invalid and cannot be interpreted
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Is the swi-mdm9x15 argument correct for wp85 or is it possible the Legato-Dist-Source-mdm9x15-SWI9x15Y_07.08.03.00.tar.bz2 (from the Legato Downloads link) is not the latest?

If attempting to simply run ‘make’ (via these instructions legato.io/legato-docs/latest/yocto_build.html) from the yocto build generates the following errors:

Failed to fetch URL git://codeaurora.org/platform/hardware/ … LNX.LE.2.1

Fatal : unable to connect to codeaurora.org:

Any help would be appreciated.

Is there anyone else that was successful to build the kernel for wp85 ?

Hi tlapsley,

Have you tried to run:

    make image

Before building kernel? You need to run this command only once. After that you can:

    cd poky
    source ./oe-init-build-env
    cd ../../build_bin
    bitbake -c cleanall linux-yocto (to clean)
    bitbake linux-yocto (to build it again)
    bitbake -c compile linux-yocto -f (to force kernel compilation)
    etc.

You can read more about bitbake commands at https://www.yoctoproject.org/documentation/bitbake-user-manual-0 .

Please, let me know if you have any other questions.

Best regards,
Dragan

I have the same problem, but make image didn’t help:

ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository ‘/home/igor/yocto/build_bin/downloads/git2/codeaurora.org.platform.hardware.libhardware’…
fatal: unable to connect to codeaurora.org:
codeaurora.org[0: 198.145.29.80]: errno=Connection refused
ERROR: Function failed: Fetcher failure for URL: ‘git://codeaurora.org/platform/hardware/libhardware;branch=LNX.LE.2.1’. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/igor/yocto/build_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libhardware/1.0-r0/temp/log.do_fetch.22981
ERROR: Task 1284 (/home/igor/yocto/meta-swi/meta-swi-mdm9xxx/recipes-bsp/libhardware/libhardware.bb, do_fetch) failed with exit code ‘1’

Doing ./build.sh -p ../poky/ -o ../meta-openembedded/ -l ../meta-swi -m swi-mdm9x15 -q -t 4 -j 4 -d throws another error:
ERROR: ExpansionError during parsing /home/igor/yocto/poky/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb: Failure expanding variable do_patch: ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception MalformedUrl: The URL: ‘git://;protocol=file;branch=standard/swi-mdm9x15-yocto-1.7-swi-le55,meta-yocto-1.7-swi-le55;name=machine,meta’ is invalid and cannot be interpreted

I have Legato Linux distribution Version 16.07.0 downloaded from source.sierrawireless.com/resour … linuxdist/ and I am trying to build on ubuntu 16.04.
Any help will be appreciated.