# Warnings when creating the \`spk\` file with Modem Firmware from Firmware 15.1 Components

**URL:** <https://forum.legato.io/t/warnings-when-creating-the-spk-file-with-modem-firmware-from-firmware-15-1-components/6717>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [March 13, 2024, 7:13pm UTC](https://forum.legato.io/t/warnings-when-creating-the-spk-file-with-modem-firmware-from-firmware-15-1-components/6717 "2024-03-13T19:13:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![upsampled](https://avatars.discourse-cdn.com/v4/letter/u/bc8723/32.png) [@upsampled](https://forum.legato.io/u/upsampled)\
**Post date:** [March 13, 2024, 7:13pm UTC](https://forum.legato.io/t/warnings-when-creating-the-spk-file-with-modem-firmware-from-firmware-15-1-components/6717/1 "2024-03-13T19:13:23Z")

</div>

I am trying to create base images for WP7702 devices in a production environment using the following components derived form the Firmware 15.1 (FW 15.1) release:

- `appsboot_wp77xx.cwe`  
generated from yocto distro from FW 15.1, assuming bootloader
- `yocto_wp77xx.4k.cwe`  
generated from yocto from FW 15.1, assuming kernel and rootfs
- `legato-squashfs.ubi.cwe`  
downloaded from FW 15.1, assuming legato host tools
- `9999999_9907618_SWI9X06Y_02.36.08.09_00_GENERIC_001.079_000.spk`  
downloaded from FW 15.1, assuming the generic, closed-source modem firmware

When I try to bundle these components into a `spk` file, i get the error below. If i remove the modem firmware file from the arguments, the `spk` files builds without errors.

My question is: Is the error correct? If yes, how do I include modem firmware updates to my target? If no, how do i know to ignore this and future errors like it?

```auto
swicwe -o my-image.spk -c ./build_bin/tmp/deploy/images/swi-mdm9x28-wp/yocto_wp77xx.4k.cwe ./build_bin/tmp/deploy/images/swi-mdm9x28-wp/appsboot_wp77xx.cwe ./legato-squashfs.ubi.cwe ./9999999_9907618_SWI9X06Y_02.36.08.09_00_GENERIC_001.079_000.spk
...
Parsing input file ./9999999_9907618_SWI9X06Y_02.36.08.09_00_GENERIC_001.079_000.spk
 Type Size(Exclude Header) Product Compress Version
*SPKG 18201505 Y931 0 9999999_9907618_SWI9X06Y_02.36.08.09_00_GENERIC_001.079_000
Warning - PID mismatch: Y921 and Y931
*BOOT 412672 Y931 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: Y921 and Y931
 HASH 6480 9X06 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: 9X28 and 9X06
 SBL1 405392 9X06 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: 9X28 and 9X06
*MODM 17755900 Y931 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: Y921 and Y931
 HASH 6560 9X06 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: 9X28 and 9X06
 TZON 551644 9X06 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: 9X28 and 9X06
 QRPM 156736 9X06 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: 9X28 and 9X06
 DSP2 17039360 9X06 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: 9X28 and 9X06
*FILE 31733 Y931 0 9999999_9907618_SWI9X06Y_02.36.08.09_00_GENERIC_001.079_000
Parsed image is SPKG, finding components
Found BOOT component
Found MODM component
Found FILE component
Concatenating images

```

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 14, 2024, 2:27am UTC](https://forum.legato.io/t/warnings-when-creating-the-spk-file-with-modem-firmware-from-firmware-15-1-components/6717/2 "2024-03-14T02:27:34Z")

</div>

does it work if you download the combined spk without modem image to module?  
Does it work if you download the combined spk with modem image to module?

Have you tried to combine all official image with swicwe and download to module to test?  
[https://source.sierrawireless.com/resources/airprime/software/wp77xx/wp77xx-firmware-release-15,-d-,1-components/#sthash.oc6NQ8hc.97PAqLh7.dpbshttps://source.sierrawireless.com/resources/airprime/software/wp77xx/wp77xx-firmware-release-15,-d-,1-components/#sthash.oc6NQ8hc.97PAqLh7.dpbs](https://source.sierrawireless.com/resources/airprime/software/wp77xx/wp77xx-firmware-release-15,-d-,1-components/#sthash.oc6NQ8hc.97PAqLh7.dpbshttps://source.sierrawireless.com/resources/airprime/software/wp77xx/wp77xx-firmware-release-15,-d-,1-components/#sthash.oc6NQ8hc.97PAqLh7.dpbs)

---

<div class="post-metadata">

**Author:** ![upsampled](https://avatars.discourse-cdn.com/v4/letter/u/bc8723/32.png) [@upsampled](https://forum.legato.io/u/upsampled)\
**Post date:** [March 14, 2024, 8:14pm UTC](https://forum.legato.io/t/warnings-when-creating-the-spk-file-with-modem-firmware-from-firmware-15-1-components/6717/3 "2024-03-14T20:14:46Z")

</div>

> Have you tried to combine all official image with `swicwe` and download to module to test?

This is reproduceable using the official files in Firmware 15.1 page (see below).

> does it work if you download the combined spk with or without modem image to module?

Not sure, as I don’t see those file in the FW 15.1 Components page. I also don’t think that will help with my core issue.

```auto
bldr@570be578aa32:/tmp/stock_fw_15.1$ md5sum ./*
93606b8811edeb924f52cf82f66fe1f1 ./9999999_9907618_SWI9X06Y_02.36.08.09_00_GENERIC_001.079_000.spk
5130239a2a974984ff2bc38cd6d93925 ./legato-squashfs.ubi.cwe
200cfb4694ac712b2b71a3a3faeb203a ./my-image.cwe
2adc30b821bc837177e6a084df914fb1 ./yocto.cwe
bldr@570be578aa32:/tmp/stock_fw_15.1$ swicwe -o my-image.cwe -c ./legato-squashfs.ubi.cwe ./yocto.cwe ./9999999_9907618_SWI9X06Y_02.36.08.09_00_GENERIC_001.079_000.spk
input image type is APPL
input image type is APPL
input image type is SPKG
Parsing input file ./legato-squashfs.ubi.cwe
 Type Size(Exclude Header) Product Compress Version
*APPL 7340432 Y921 0 21.05.0 bb3ea8b jenkins 2022/02/17 02:36:43
 USER 7340032 9X28 0 21.05.0 bb3ea8b jenkins 2022/02/17 02:36:43
Parsed image is Legato/Linux
Parsing input file ./yocto.cwe
 Type Size(Exclude Header) Product Compress Version
*APPL 34799644 Y931 0 SWI9X06Y_03.00.13.00 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-2367 2022/12/28 0212/28/22
Warning - PID mismatch: Y921 and Y931
 HASH 6560 9X06 0 SWI9X06Y_03.00.13.00 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-2367 2022/12/28 0212/28/22
Warning - PID mismatch: 9X28 and 9X06
 APBL 602142 9X06 0 SWI9X06Y_03.00.13.00 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-2367 2022/12/28 0212/28/22
Warning - PID mismatch: 9X28 and 9X06
 SYST 22806528 Y931 0 SWI9X06Y_03.00.13.00 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-2367 2022/12/28 0212/28/22
Warning - PID mismatch: Y921 and Y931
 APPS 11382814 9X06 0 SWI9X06Y_03.00.13.00 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-2367 2022/12/28 0212/28/22
Warning - PID mismatch: 9X28 and 9X06
Parsed image is Legato/Linux
Parsing input file ./9999999_9907618_SWI9X06Y_02.36.08.09_00_GENERIC_001.079_000.spk
 Type Size(Exclude Header) Product Compress Version
*SPKG 18201505 Y931 0 9999999_9907618_SWI9X06Y_02.36.08.09_00_GENERIC_001.079_000
Warning - PID mismatch: Y921 and Y931
*BOOT 412672 Y931 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: Y921 and Y931
 HASH 6480 9X06 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: 9X28 and 9X06
 SBL1 405392 9X06 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: 9X28 and 9X06
*MODM 17755900 Y931 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: Y921 and Y931
 HASH 6560 9X06 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: 9X28 and 9X06
 TZON 551644 9X06 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: 9X28 and 9X06
 QRPM 156736 9X06 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: 9X28 and 9X06
 DSP2 17039360 9X06 0 SWI9X06Y_02.36.08.09 000000 AZUSW2-CTO-CRG-sign-production-wp77xx-795 2022/06/24 06:06/24/22
Warning - PID mismatch: 9X28 and 9X06
*FILE 31733 Y931 0 9999999_9907618_SWI9X06Y_02.36.08.09_00_GENERIC_001.079_000
Parsed image is SPKG, finding components
Found BOOT component
Found MODM component
Found FILE component
Concatenating images

CWE Header Generator 3.01. Copyright Sierra Wireless, Inc., 2012
  Output CWE Header File /tmp/temp.mbn.hdr
  Image size 0x398c06d, crc32 0x2ee5dc89

```

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 15, 2024, 1:07am UTC](https://forum.legato.io/t/warnings-when-creating-the-spk-file-with-modem-firmware-from-firmware-15-1-components/6717/4 "2024-03-15T01:07:48Z")

</div>

> [@upsampled](#):
>
> I also don’t think that will help with my core issue.

If the combined spk with or without modem image is working fine in module, that means those warning message is not important

---

<div class="post-metadata">

**Author:** ![upsampled](https://avatars.discourse-cdn.com/v4/letter/u/bc8723/32.png) [@upsampled](https://forum.legato.io/u/upsampled)\
**Post date:** [March 18, 2024, 4:47pm UTC](https://forum.legato.io/t/warnings-when-creating-the-spk-file-with-modem-firmware-from-firmware-15-1-components/6717/5 "2024-03-18T16:47:25Z")

</div>

Sorry, but I am going to have to escalate this issue through my WP distributor. Your tools needs to correctly alert when they are making a package that may harm or not update a certain aspect of the device. I do not want my team to get used to ignoring this warning only to brick devices when it correctly triggers in the future.

Also there are two sets of model numbers: the WP series (wp77, wp76. etc.) and the Product ID. The Product ID is referenced above (Y921, Y931, 9X06, 9X28 ) and in the image generation (`bitbake mdm9x28-image-minimal`). Is there documentation mapping this two sets of identifiers?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [March 18, 2024, 5:36pm UTC](https://forum.legato.io/t/warnings-when-creating-the-spk-file-with-modem-firmware-from-firmware-15-1-components/6717/6 "2024-03-18T17:36:57Z")

</div>

Probably you need to ask your distributor

You can also see here

> [@PID mismatch from leaf images files](https://forum.legato.io/t/pid-mismatch-from-leaf-images-files/6457/3):
>
> Hmmm the official one has the mixed PIDs as well it seems. Possibly an ommission from SWI? Either way I guess what I have is OK to use in the final product… swicwe -P ../leaf-data/current/fx30-catm-image/9999999\_9907618\_SWI9X06Y\_02.13.02.00\_00\_GENERIC\_001.009\_001-full.spk Type Size(Exclude Header) Product Compress Version \*SPKG 59762921 Y931 0 9999999\_9907618\_SWI9X06Y\_02.13.02.00\_00\_GENERIC\_001.009\_001 \*BOOT 404432 …
