Help creating full system spk for FX30 Cat1

why it is in wp85 folder ?
Didn’t you are building with “make wp76xx”?

Sorry corrected it… I am building for multiple platforms… same question still applies

you don’t need to care about update file anymore as it is already embedded into legato.cwe

Hi @jyijyi, do you know the answer? I do have requirement to use update files at time… e.g. update devices in field… without having to send whole legato.cwe or worse full system spk…

So I’d still be interested in the answer if you know it?

I don’t know
Have you downloaded your update file to module to verify?

yes I have and it seems fine… which is why I am confused between the two and why they are so different in size

Did you compare the build command for the two cases?

I’ll have to dig into the logs… but good idea…

Now that I have my legato.cwe built, I am trying to create a complete spk with everthing in it to flash a device only once…

The command I’ve used it

swicwe -c …/leaf-data/current/fx30-cat1-image/9999999_9907152_SWI9X07Y_02.37.03.00_00_GENERIC_002.095_000-full.spk …/leaf-data/current/fx30-cat1-linux-image/linux.cwe legato.wp76xx.cwe -o full.wp76x.spk

I have tested each image individually. They all work correctly when sending with fwupdate download.

However when combine the images the resulting spk is over 100Mb and seems to fail to download.

  1. Am I using the correct image files, particularly the linux.cwe (that I’m assuming is the yocto image). Is that correct?
  2. Is there a reason I should not combine all three images? The modem, yocto and legato image in the way I have.
  3. Anything obvious I am doing wrong?

Thanks,

how big are the three files individually?

9999999_9907152_SWI9X07Y_02.37.03.00_00_GENERIC_002.095_000-full.spk - 68Mb
linux.cwe - 34Mb
legato.wp76xx.cwe - 6.4Mb

“9999999_9907152_SWI9X07Y_02.37.03.00_00_GENERIC_002.095_000-full.spk” is the full SPK which already have the legato and yocto image.

ahhh that makes sense… find the modem only image… where is that in the leaf folders?

i don’t know, you need to search it
or you can use the WP76 one:
https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-16,-d-,0,-d-,1-components/#sthash.8bl9PQ7M.dpbs

Thanks I think this is the ultimate problem I think I’ve found the image… will try again and create my spk…

Just in case it helps other… when in a leaf shell there are environment variables that point to the images… doh…
e.g.
linux images - $(WP76XX_LINUX_IMAGES)
radio image - $(WP76XX_MODEM_IMAGES)

etc…