# Help creating full system spk for FX30 Cat1

**URL:** <https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063>\
**Category:** FX30\
**Created:** [February 17, 2023, 2:29pm UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063 "2023-02-17T14:29:56Z")\
**Posts on this page:** 16\
**Page:** 2

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 20, 2023, 10:18am UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/21 "2023-02-20T10:18:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![karlkuhn](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@karlkuhn](https://forum.sierrawireless.com/u/karlkuhn)\
**Post date:** [February 20, 2023, 10:20am UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/22 "2023-02-20T10:20:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 20, 2023, 10:29am UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/23 "2023-02-20T10:29:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![karlkuhn](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@karlkuhn](https://forum.sierrawireless.com/u/karlkuhn)\
**Post date:** [February 20, 2023, 10:35am UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/24 "2023-02-20T10:35:24Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 20, 2023, 10:58am UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/25 "2023-02-20T10:58:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![karlkuhn](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@karlkuhn](https://forum.sierrawireless.com/u/karlkuhn)\
**Post date:** [February 20, 2023, 11:12am UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/26 "2023-02-20T11:12:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 20, 2023, 11:29am UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/27 "2023-02-20T11:29:14Z")

</div>

Did you compare the build command for the two cases?

> **[mkapp - Legato Docs](https://docs.legato.io/latest/buildToolsmkapp.html)**
>
> legato™ is an open source Linux-based embedded platform designed to simplify connected IoT application development

---

<div class="post-metadata">

**Author:** ![karlkuhn](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@karlkuhn](https://forum.sierrawireless.com/u/karlkuhn)\
**Post date:** [February 20, 2023, 11:35am UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/28 "2023-02-20T11:35:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![karlkuhn](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@karlkuhn](https://forum.sierrawireless.com/u/karlkuhn)\
**Post date:** [February 20, 2023, 4:05pm UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/29 "2023-02-20T16:05:40Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 20, 2023, 4:09pm UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/30 "2023-02-20T16:09:14Z")

</div>

how big are the three files individually?

---

<div class="post-metadata">

**Author:** ![karlkuhn](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@karlkuhn](https://forum.sierrawireless.com/u/karlkuhn)\
**Post date:** [February 20, 2023, 4:13pm UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/31 "2023-02-20T16:13:38Z")

</div>

9999999\_9907152\_SWI9X07Y\_02.37.03.00\_00\_GENERIC\_002.095\_000-full.spk - 68Mb  
linux.cwe - 34Mb  
legato.wp76xx.cwe - 6.4Mb

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 20, 2023, 4:17pm UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/32 "2023-02-20T16:17:24Z")

</div>

“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.

---

<div class="post-metadata">

**Author:** ![karlkuhn](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@karlkuhn](https://forum.sierrawireless.com/u/karlkuhn)\
**Post date:** [February 20, 2023, 4:20pm UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/33 "2023-02-20T16:20:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 20, 2023, 4:22pm UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/34 "2023-02-20T16:22:16Z")

</div>

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](https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-16,-d-,0,-d-,1-components/#sthash.8bl9PQ7M.dpbs)

---

<div class="post-metadata">

**Author:** ![karlkuhn](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@karlkuhn](https://forum.sierrawireless.com/u/karlkuhn)\
**Post date:** [February 20, 2023, 4:38pm UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/35 "2023-02-20T16:38:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![karlkuhn](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@karlkuhn](https://forum.sierrawireless.com/u/karlkuhn)\
**Post date:** [February 20, 2023, 4:59pm UTC](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063/36 "2023-02-20T16:59:38Z")

</div>

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…

[Previous page](https://forum.sierrawireless.com/t/help-creating-full-system-spk-for-fx30-cat1/29063.md?page=1)
