Rebuilding Legato Kernel


#1

We would like to rebuild/reconfigure a custom kernel for the wp85 using instructions from this link:

http://legato.io/legato-docs/latest/yocto_legato.html#getstartedYoctoLinux_rebuildYoctoImages
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 http://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/libhardware;branch=LNX.LE.2.1

Fatal : unable to connect to codeaurora.org:

Any help would be appreciated.


#2

Hi,
Would be better to ask this particular question on the legato forum:
https://forum.sierrawireless.com/viewforum.php?f=177
cheers,
Ashish


#3