# SPK that flashes to a FX30(WP7607-1) does not flash to FX30S(WP7611-1)

**URL:** <https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139>\
**Category:** FX30\
**Created:** [March 1, 2023, 1:59pm UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139 "2023-03-01T13:59:13Z")\
**Posts on this page:** 20\
**Page:** 2

<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:** [March 1, 2023, 5:28pm UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/21 "2023-03-01T17:28:10Z")

</div>

I’ll try rebuild yocto… but do I just make the swi-linux source as is ? Or do I need to do something else…

---

<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:** [March 1, 2023, 5:31pm UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/22 "2023-03-01T17:31:01Z")

</div>

Before building the image, you need to change yocto/meta-swi/common/recipes-core/cwetool/cwetool/yoctocwetool.sh

> **[Flashing custom image to new WP7607-1 Modules don't work](https://forum.legato.io/t/flashing-custom-image-to-new-wp7607-1-modules-dont-work/6086/18)**
>
> try the following: open yocto/meta-swi/common/recipes-core/cwetool/cwetool/yoctocwetool.sh in line 59 , change it to COMPAT\_BYTE=00000101 rebuild the yocto image by “make clean” and “make” command download the yocto.cwe image to module

---

<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:** [March 2, 2023, 9:44am UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/23 "2023-03-02T09:44:33Z")

</div>

Won’t this only give me a new linux image file? Or will it also give me a modem image file as well?

---

<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:** [March 2, 2023, 9:55am UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/24 "2023-03-02T09:55:42Z")

</div>

this is only for yocto image and bootloader (appboot) image.  
Not related to modem 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:** [March 2, 2023, 6:48pm UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/25 "2023-03-02T18:48:19Z")

</div>

> [@jyijyi](#):
>
> Or you need to rebuild the yocto.cwe

So I’ve tried to build yocto using the following steps

On Ubuntu 18.04LTS

1. I install leaf
2. Setup up profile using swi-fx30-cat1\_2.0.0
3. Install java
4. Default sh to bash
5. Install apt-get packages from this page [Install the Application Framework - Legato Docs](http://docs.legato.io/19_11_6/basicBuildLegato.html) just in case
6. leaf getsrc swi-linux
7. Update yoctocwetool.sh as suggested
8. make PROD=FX30

It gets what seems most of the way through but fails at task mdm9x28-image-minimal.bb:do\_image

```auto

WARNING: wl18xx-firmware-r8.a9.14-r4+gitrAUTOINC+2568d8f61f do_populate_lic: wl18xx-firmware: No generic license file exists for: TI-TSPA in any provider
WARNING: qca9377-bt-firmware-1.1-r0 do_populate_lic: qca9377-bt-firmware: No generic license file exists for: QCA-TSPA in any provider
WARNING: ima-policy-1.0-r1 do_install: IMA: Immutable files will not be protected.
WARNING: mdm9x28-image-minimal-1.0-r0.0 do_rootfs: The license listed QCA-TSPA was not in the licenses collected for recipe qca9377-bt-firmware
WARNING: mdm9x28-image-minimal-1.0-r0.0 do_rootfs: The license listed TI-TSPA was not in the licenses collected for recipe wl18xx-firmware
ERROR: mdm9x28-image-minimal-1.0-r0.0 do_image: Function failed: do_generate_version_file (log file is located at /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/log.do_image.26334)
ERROR: Logfile of failure stored in: /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/log.do_image.26334
Log data follows:
| DEBUG: Executing python function do_image
| NOTE: Executing mklibs_optimize_image ...
| DEBUG: Executing shell function mklibs_optimize_image
| DEBUG: Shell function mklibs_optimize_image finished
| NOTE: Executing do_generate_version_file ...
| DEBUG: Executing shell function do_generate_version_file
| + DST=/home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/rootfs/etc/legato/version
| + ROOTFS_DST=/home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/rootfs/etc/rootfsver.txt
| ++ dirname /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/rootfs/etc/legato/version
| + mkdir -p /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/rootfs/etc/legato
| ++ date +%F_%T
| + gen_date=2023-03-02_18:25:11
| ++ echo /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta-poky /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta-yocto-bsp /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-oe /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-networking /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-python /home/legato/projects/DLC-Gateways/swi-linux-src/meta-gplv2 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/common /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9xxx /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28-fx30 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/common /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9xxx-bin /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-bin /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-fx30-bin
| ++ tr ' ' '\n'
| ++ head -1
| ++ grep poky
| + poky_dir=/home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta
| ++ cd /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta
| ++ git describe --tags '--match=yocto*'
| fatal: detected dubious ownership in repository at '/home/legato/projects/DLC-Gateways/swi-linux-src/poky'
| To add an exception for this directory, call:
|
| git config --global --add safe.directory /home/legato/projects/DLC-Gateways/swi-linux-src/poky
| + VERSION_poky=
| + bb_exit_handler
| + ret=128
| + case $ret in
| + case $BASH_VERSION in
| + echo 'WARNING: /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/run.do_generate_version_file.26334:1 exit 128 from '\''VERSION_poky=$(cd $poky_dir && git describe --tags --match="yocto*")'\'''
| WARNING: /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/run.do_generate_version_file.26334:1 exit 128 from 'VERSION_poky=$(cd $poky_dir && git describe --tags --match="yocto*")'
| + exit 128
| DEBUG: Python function do_image finished
| ERROR: Function failed: do_generate_version_file (log file is located at /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/log.do_image.26334)
ERROR: Task (/home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image-minimal.bb:do_image) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4061 tasks of which 7 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image-minimal.bb:do_image
Summary: There were 18 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Makefile:384: recipe for target 'image_bin' failed
make: *** [image_bin] Error 1

```

I did “make clean” before “make PROD=FX30”

---

<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:** [March 3, 2023, 12:41am UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/26 "2023-03-03T00:41:26Z")

</div>

Does it work?

```auto
fatal: detected dubious ownership in repository at '/home/legato/projects/DLC-Gateways/swi-linux-src/poky'
| To add an exception for this directory, call:
|
| git config --global --add safe.directory /home/legato/projects/DLC-Gateways/swi-linux-src/poky

```

You also need to see here:

> [@FX30s- R15 beta version unable to repo sync](https://forum.sierrawireless.com/t/fx30s-r15-beta-version-unable-to-repo-sync/26450/3):
>
> Hi @ravishkrishnan.kunch R15 BP2 is available in leaf now to fx30-catm. You will have to perform some extra steps: Remove references to old packages rm -rf ~/.cache/leaf/files/\* rm -rf ~/.leaf/fx30-catm-linux-src\_R15.0.2.001.BP2 sudo rm -rf ~/.leaf/wp77-toolchain\_SWI9X06Y\_03.00.03.00-linux64 Setup new leaf workspace leaf setup -p swi-fx30-catm\_4.0.0.beta leaf getsrc swi-linux sha384sum ~/.cache/leaf/files/\*fx30-catm-linux-src\_R15.0.2.001.BP2.leaf expected hash output: 519621fbf16…

---

<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:** [March 3, 2023, 8:53am UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/27 "2023-03-03T08:53:25Z")

</div>

Did not spot the git error thanks… that is resolved… but I am still getting the do\_generate\_version\_file error

```auto

DEBUG: Executing python function do_image
NOTE: Executing mklibs_optimize_image ...
DEBUG: Executing shell function mklibs_optimize_image
DEBUG: Shell function mklibs_optimize_image finished
NOTE: Executing do_generate_version_file ...
DEBUG: Executing shell function do_generate_version_file
+ DST=/home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/rootfs/etc/legato/version
+ ROOTFS_DST=/home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/rootfs/etc/rootfsver.txt
++ dirname /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/rootfs/etc/legato/version
+ mkdir -p /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/rootfs/etc/legato
++ date +%F_%T
+ gen_date=2023-03-03_08:21:41
++ echo /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta-poky /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta-yocto-bsp /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-oe /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-networking /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-python /home/legato/projects/DLC-Gateways/swi-linux-src/meta-gplv2 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/common /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9xxx /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28-fx30 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/common /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9xxx-bin /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-bin /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-fx30-bin
++ tr ' ' '\n'
++ grep poky
++ head -1
+ poky_dir=/home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta
++ cd /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta
++ git describe --tags '--match=yocto*'
+ VERSION_poky=yocto-2.5.3-35-gcbb677e9a0
++ echo /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta-poky /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta-yocto-bsp /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-oe /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-networking /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-python /home/legato/projects/DLC-Gateways/swi-linux-src/meta-gplv2 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/common /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9xxx /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28-fx30 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/common /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9xxx-bin /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-bin /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-fx30-bin
++ tr ' ' '\n'
++ grep -E 'meta-oe$'
+ meta_oe_dir=/home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-oe
++ cd /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-oe
++ git rev-parse --short HEAD
+ VERSION_meta_oe=8760facba
+ echo /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta-poky /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta-yocto-bsp /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-oe /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-networking /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-python /home/legato/projects/DLC-Gateways/swi-linux-src/meta-gplv2 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/common /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9xxx /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28-fx30 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/common /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9xxx-bin /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-bin /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-fx30-bin
+ grep meta-swi/common
/home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta-poky /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta-yocto-bsp /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-oe /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-networking /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-python /home/legato/projects/DLC-Gateways/swi-linux-src/meta-gplv2 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/common /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9xxx /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28-fx30 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/common /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9xxx-bin /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-bin /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-fx30-bin
++ echo /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta-poky /home/legato/projects/DLC-Gateways/swi-linux-src/poky/meta-yocto-bsp /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-oe /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-networking /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-python /home/legato/projects/DLC-Gateways/swi-linux-src/meta-gplv2 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/common /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9xxx /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28-fx30 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/common /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28 /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9xxx-bin /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-bin /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-fx30-bin
++ tr ' ' '\n'
++ grep -E 'meta-swi/common$'
+ meta_swi_dir=/home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/common
+ cd /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/common
++ git describe --tags --exact
+ meta_swi_tag=SWI9X06Y_02.35.02.00
++ git rev-parse --short HEAD
+ VERSION_meta_swi=62a9465
+ '[' -n SWI9X06Y_02.35.02.00 ']'
+ VERSION_meta_swi='(SWI9X06Y_02.35.02.00) 62a9465'
+ '[' -n /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/common ']'
+ cd /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/common
++ git describe --tags --exact
+ meta_swi_extras_tag=SWI9X06Y_02.35.00.00
++ git rev-parse --short HEAD
+ VERSION_meta_swi_extras=c0aad6c
+ '[' -n SWI9X06Y_02.35.00.00 ']'
+ VERSION_meta_swi_extras='(SWI9X06Y_02.35.00.00) c0aad6c'
+ determine_kernel_versions
+ cd /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/deploy-mdm9x28-image-minimal-image-complete
+ '[' '!' -e /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/deploy-mdm9x28-image-minimal-image-complete/mdm9x28-image-minimal-swi-mdm9x28-fx30-20230303082130.rootfs.manifest ']'
+ echo 'Image manifest does not exist.'
Image manifest does not exist.
+ exit 1
+ bb_exit_handler
+ ret=1
+ case $ret in
+ case $BASH_VERSION in
+ echo 'WARNING: /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/run.do_generate_version_file.27148:1 exit 1 from '\''exit 1'\'''
WARNING: /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/run.do_generate_version_file.27148:1 exit 1 from 'exit 1'
+ exit 1
DEBUG: Python function do_image finished
ERROR: Function failed: do_generate_version_file (log file is located at /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/tmp/work/swi_mdm9x28_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0/temp/log.do_image.27148)

```

---

<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:** [March 3, 2023, 8:56am UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/28 "2023-03-03T08:56:34Z")

</div>

This might require a clean a build again… the timestamp in the filename is different for the manifest file… I will try that…

Here go another few hours _doh_

---

<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:** [March 3, 2023, 12:51pm UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/29 "2023-03-03T12:51:34Z")

</div>

OK this time it got a little further but ended with an error

Higher up the log there is this error

> ERROR: Checksum failure fetching [http://downloads.yoctoproject.org/releases/uninative/2.4/x86\_64-nativesdk-libc.tar.bz2;sha256sum=06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0](http://downloads.yoctoproject.org/releases/uninative/2.4/x86_64-nativesdk-libc.tar.bz2;sha256sum=06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0)  
> W

This is the full log

```auto
make prod=FX30
"meta-swi/build.sh" -p poky/ -o meta-openembedded/ -l meta-swi -x "kernel" -j 9 -t 9 -g -a "LEGATO_WORKDIR=/home/legato/projects/DLC-Gateways/swi-linux-src/legato/" -a "IMA_SUPPORT_TOOLS_REPO=git:///home/legato/projects/DLC-Gateways/swi-linux-src/legato/3rdParty/ima-support-tools/.git;protocol=file;usehead=1" -a "IMA_SUPPORT_TOOLS_REV=\${AUTOREV}" -a LK_REPO_DIR="/home/legato/projects/DLC-Gateways/swi-linux-src" -a LK_REPO_NAME="lk" -a LK_REPO="file://lk" -m swi-mdm9x28 -P wp -b build_bin -q
Poky dir: /home/legato/projects/DLC-Gateways/swi-linux-src/poky
OE meta: /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded
SWI meta dir: /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi
Linux repo dir: /home/legato/projects/DLC-Gateways/swi-linux-src/kernel
Number of make threads 9
Number of bitbake tasks 9
With Legato
Extra options added - LEGATO_WORKDIR=/home/legato/projects/DLC-Gateways/swi-linux-src/legato/
Extra options added - IMA_SUPPORT_TOOLS_REPO=git:///home/legato/projects/DLC-Gateways/swi-linux-src/legato/3rdParty/ima-support-tools/.git;protocol=file;usehead=1
Extra options added - IMA_SUPPORT_TOOLS_REV=${AUTOREV}
Extra options added - LK_REPO_DIR=/home/legato/projects/DLC-Gateways/swi-linux-src
Extra options added - LK_REPO_NAME=lk
Extra options added - LK_REPO=file://lk
SWI machine: swi-mdm9x28
SWI product: wp
Build dir: /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin
Enable Qualcomm Proprietary bin
You had no conf/local.conf file. This configuration file has therefore been
created for you with some default values. You may wish to edit it to, for
example, select a different MACHINE (target hardware). See conf/local.conf
for more information as common configuration options are commented.

You had no conf/bblayers.conf file. This configuration file has therefore been
created for you with some default values. To add additional metadata layers
into your configuration please add entries to conf/bblayers.conf.

The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/

### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'
+ layer: meta-oe
         -> /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-oe
+ layer: meta-networking
         -> /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-networking
+ layer: meta-python
         -> /home/legato/projects/DLC-Gateways/swi-linux-src/meta-openembedded/meta-python
+ layer: meta-gplv2
         -> /home/legato/projects/DLC-Gateways/swi-linux-src/meta-gplv2
+ layer: meta-swi/common
         -> /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/common
+ layer: meta-swi/meta-swi-mdm9xxx
         -> /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9xxx
+ layer: meta-swi/meta-swi-mdm9x28
         -> /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi/meta-swi-mdm9x28
+ layer: meta-swi-extras/common
         -> /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/common
+ layer: meta-swi-extras/meta-swi-mdm9x28
         -> /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28
+ layer: meta-swi-extras/meta-swi-mdm9xxx-bin
         -> /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9xxx-bin
+ layer: meta-swi-extras/meta-swi-mdm9x28-bin
         -> /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-bin
+ layer: meta-swi-extras/meta-swi-mdm9x28-wp-bin
         -> /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-wp-bin
Yocto machine: swi-mdm9x28-wp
Adding option LEGATO_BUILD with value true
Adding option IMA_BUILD with value false
Adding option IMA_CONFIG with value
Adding option IMA_LOCAL_CA_X509 with value
Adding option IMA_PRIV_KEY with value
Adding option IMA_PUB_CERT with value
Adding option IMA_KERNEL_CMDLINE_OPTIONS with value
Adding option ENABLE_IMA with value 0
Adding option IMA_PUBLIC_CERT with value
Adding option IMA_PRIVATE_KEY with value
Adding option IMA_SMACK with value
Adding option ENABLE_FX30 with value
Adding option ROOTFS_VERSION with value
Adding option LEGATO_WORKDIR with value /home/legato/projects/DLC-Gateways/swi-linux-src/legato/
Adding option IMA_SUPPORT_TOOLS_REPO with value git:///home/legato/projects/DLC-Gateways/swi-linux-src/legato/3rdParty/ima-support-tools/.git;protocol=file;usehead=1
Adding option IMA_SUPPORT_TOOLS_REV with value ${AUTOREV}
Adding option LK_REPO_DIR with value /home/legato/projects/DLC-Gateways/swi-linux-src
Adding option LK_REPO_NAME with value lk
Adding option LK_REPO with value file://lk
Adding option EXT_SWI_IMG with value false
Adding option INITRAMFS_IMAGE_BUNDLE with value 1
Adding option INITRAMFS_IMAGE with value mdm9x28-image-initramfs
Adding option FIRMWARE_PATH with value
Adding option PACKAGECONFIG_remove with value gnutls
Build image of minimal rootfs (for swi-mdm9x28).
WARNING: Layer swi-wp-bin should set LAYERSERIES_COMPAT_swi-wp-bin in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer swi-wp-bin should set LAYERSERIES_COMPAT_swi-wp-bin in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: /home/legato/projects/DLC-Gateways/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-bin/recipes/swimtd/swimtd_git.bb: Unable to get checksum for swimtd SRC_URI entry swimtd-bin.tar.bz2: file could not be found | ETA: --:--:--Parsing recipes: 100% |#######################################################################################################################################################################################################################################################################################| Time: 0:00:53Parsing of 2164 .bb files complete (0 cached, 2164 parsed). 3083 targets, 339 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime gps-utils (gps-utils, gpsd)
Consider defining a PREFERRED_RPROVIDER entry to match gps-utils

Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "swi-mdm9x28-wp"
DISTRO = "poky-swi-ext"
DISTRO_VERSION = "2.5.3"
TUNE_FEATURES = "arm armv7a vfp neon"
TARGET_FPU = "softfp"
meta
meta-poky
meta-yocto-bsp = "HEAD:cbb677e9a09d5dad34404a851f7c23aeb5122465"
meta-oe
meta-networking
meta-python = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-gplv2 = "HEAD:813b7d2b5573d8591c6cd8087b326f0a0703d6b9"
common
meta-swi-mdm9xxx
meta-swi-mdm9x28 = "HEAD:62a9465b731f6866cf159e11ceb037ba3242203d"
common
meta-swi-mdm9x28
meta-swi-mdm9xxx-bin
meta-swi-mdm9x28-bin
meta-swi-mdm9x28-wp-bin = "HEAD:c0aad6c6bc29e4953e26a418824c4d55c3a73b74"

NOTE: Fetching uninative binary shim from http://downloads.yoctoproject.org/releases/uninative/2.4/x86_64-nativesdk-libc.tar.bz2;sha256sum=06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0
WARNING: Checksum mismatch for local file /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/downloads/uninative/06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0/x86_64-nativesdk-libc.tar.bz2
Cleaning and trying again.
WARNING: Renaming /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/downloads/uninative/06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0/x86_64-nativesdk-libc.tar.bz2 to /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/downloads/uninative/06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0/x86_64-nativesdk-libc.tar.bz2_bad-checksum_4b6fb2106c2f18b8f9c8ac67e1cf9e57
WARNING: Checksum failure encountered with premirror download of http://downloads.yoctoproject.org/releases/uninative/2.4/x86_64-nativesdk-libc.tar.bz2;sha256sum=06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0 - will attempt other sources.
WARNING: Failed to fetch URL http://downloads.yoctoproject.org/releases/uninative/2.4/x86_64-nativesdk-libc.tar.bz2;sha256sum=06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0, attempting MIRRORS if available
WARNING: Checksum mismatch for local file /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/downloads/uninative/06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0/x86_64-nativesdk-libc.tar.bz2
Cleaning and trying again.
WARNING: Renaming /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/downloads/uninative/06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0/x86_64-nativesdk-libc.tar.bz2 to /home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/downloads/uninative/06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0/x86_64-nativesdk-libc.tar.bz2_bad-checksum_4b6fb2106c2f18b8f9c8ac67e1cf9e57
ERROR: Checksum failure fetching http://downloads.yoctoproject.org/releases/uninative/2.4/x86_64-nativesdk-libc.tar.bz2;sha256sum=06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0
WARNING: Disabling uninative as unable to fetch uninative tarball: Fetcher failure for URL: 'http://downloads.yoctoproject.org/releases/uninative/2.4/x86_64-nativesdk-libc.tar.bz2;sha256sum=06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0'. Checksum mismatch!
File: '/home/legato/projects/DLC-Gateways/swi-linux-src/build_bin/downloads/uninative/06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0/x86_64-nativesdk-libc.tar.bz2' has sha256 checksum 26d46c61ad88cc245e31c88549717c0092a838d111b93ec169d88b08cc027581 when 06f91685b782f2ccfedf3070b3ba0fe4a5ba2f0766dad5c9d1642dccf95accd0 was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "4b6fb2106c2f18b8f9c8ac67e1cf9e57"
SRC_URI[sha256sum] = "26d46c61ad88cc245e31c88549717c0092a838d111b93ec169d88b08cc027581"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

WARNING: To build your own uninative loader, please bitbake uninative-tarball and set UNINATIVE_TARBALL appropriately.
Initialising tasks: 100% |####################################################################################################################################################################################################################################################################################| Time: 0:00:43NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: linux-libc-headers-3.18.140-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch 0001-if_ether-move-muslc-ethhdr-protection-to-uapi-file.patch
patching file include/uapi/linux/if_ether.h
Hunk #1 succeeded at 141 with fuzz 2 (offset 4 lines).

Now at patch 0001-if_ether-move-muslc-ethhdr-protection-to-uapi-file.patch
WARNING: linux-libc-headers-3.18.140-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch 0004-Avoid-in6_addr-redefinition.patch
patching file include/uapi/linux/if_bridge.h
Hunk #1 succeeded at 15 with fuzz 2.
patching file include/linux/netfilter.h
Hunk #1 succeeded at 5 (offset 1 line).

Now at patch 0004-Avoid-in6_addr-redefinition.patch
WARNING: system-core-1.0-r1 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch fix-big-endian-build.patch
patching file adb/usb_linux_client.c
Hunk #1 succeeded at 35 with fuzz 2 (offset 1 line).

Now at patch fix-big-endian-build.patch
WARNING: alsa-intf-1.0-r1 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch 0006-Wait-for-Audio-stream-to-end.patch
patching file libalsa-intf/aplay.c
Hunk #1 succeeded at 604 with fuzz 2 (offset 60 lines).

Now at patch 0006-Wait-for-Audio-stream-to-end.patch
WARNING: bridge-utils-1.6-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch kernel-headers_fix_in6_duplication.patch
patching file libbridge/libbridge.h
Hunk #1 succeeded at 24 with fuzz 1.

Now at patch kernel-headers_fix_in6_duplication.patch
WARNING: bluez5-5.50-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch 0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
patching file Makefile.obexd
Hunk #1 succeeded at 1 with fuzz 2 (offset -1 lines).
patching file obexd/src/org.bluez.obex.service
patching file obexd/src/org.bluez.obex.service.in

Now at patch 0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
WARNING: bluez5-5.50-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch 0001-Adding-MDM-specific-code-under-_PLATFORM_MDM_.patch
patching file tools/hciattach_rome.c
Hunk #1 succeeded at 1743 with fuzz 2 (offset 1 line).
Hunk #2 succeeded at 1876 (offset -1 lines).

Now at patch 0001-Adding-MDM-specific-code-under-_PLATFORM_MDM_.patch
WARNING: wpa-supplicant-2.6-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch 0001-wpa-supplicant-2.6.patch
patching file src/ap/ap_drv_ops.c
Hunk #1 succeeded at 492 (offset -77 lines).
patching file src/ap/dfs.c
Hunk #1 succeeded at 659 with fuzz 2 (offset 52 lines).
patching file src/drivers/driver_wext.c
Hunk #1 succeeded at 1656 (offset 94 lines).
Hunk #2 succeeded at 2277 (offset 109 lines).
patching file wpa_supplicant/ap.c
Hunk #1 succeeded at 670 with fuzz 2 (offset 115 lines).

Now at patch 0001-wpa-supplicant-2.6.patch
WARNING: wl18xx-firmware-r8.a9.14-r4+gitrAUTOINC+2568d8f61f do_populate_lic: wl18xx-firmware: No generic license file exists for: TI-TSPA in any provider
WARNING: qca9377-bt-firmware-1.1-r0 do_populate_lic: qca9377-bt-firmware: No generic license file exists for: QCA-TSPA in any provider
WARNING: ima-policy-1.0-r1 do_install: IMA: Immutable files will not be protected.
WARNING: mdm9x28-image-minimal-1.0-r0.0 do_rootfs: The license listed QCA-TSPA was not in the licenses collected for recipe qca9377-bt-firmware
WARNING: mdm9x28-image-minimal-1.0-r0.0 do_rootfs: The license listed TI-TSPA was not in the licenses collected for recipe wl18xx-firmware
NOTE: Tasks Summary: Attempted 4129 tasks of which 7 didn't need to be rerun and all succeeded.

Summary: There were 24 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Makefile:384: recipe for target 'image_bin' failed
make: *** [image_bin] Error 1

```

---

<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:** [March 3, 2023, 2:17pm UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/30 "2023-03-03T14:17:20Z")

</div>

Does this help?

[https://lists.yoctoproject.org/g/yocto/topic/82416004](https://lists.yoctoproject.org/g/yocto/topic/82416004)

---

<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:** [March 8, 2023, 9:59am UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/31 "2023-03-08T09:59:35Z")

</div>

I’ve managed to build yocto and the update cwe now flashed correctly. However the provided modem radio FW is still not correct. I am chasing that down through the disti…

But could you please explain what setting COMPAT\_BYTE to 0000101 does exactly as I don’t particularly want to use altered yocto in production.

---

<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:** [March 8, 2023, 10:14am UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/32 "2023-03-08T10:14:24Z")

</div>

it is precaution for downloding old yocto image which does not have the new memory driver.

What do you mean by "the provided modem radio FW is still not correct "?  
The 68MB full image?

If you just want to get the modem FW (no yocto, no legato image), you can get it here:  
[https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-16,-d-,0,-d-,1-components/#sthash.WV4n3xOX.dpbs](https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-16,-d-,0,-d-,1-components/#sthash.WV4n3xOX.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:** [March 8, 2023, 11:15am UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/33 "2023-03-08T11:15:28Z")

</div>

Yes both the full image/spk available at [source.sierrawireless.com](http://source.sierrawireless.com) as well as the images provided in leaf. I have tried the full image as well as the individual parts…

The Full image fails  
The modem image fails  
The linux image fails  
The legato image succeeds.

The above images all work for the WP7607-1 modem… but NOT the WP7611-1 modem… So SWI have not provided the correct images for this version of the FX30S modem…

The yocto (linux.cwe) file I built does download OK to the WP7611-1 modems with the COMPAT\_BYTE set to 0000101

Thanks,  
Karl

---

<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:** [March 8, 2023, 12:43pm UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/34 "2023-03-08T12:43:37Z")

</div>

Have you tried the modem FW (without yocto or legato image) here?  
[https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-16,-d-,0,-d-,1-components/#sthash.WV4n3xOX.dpbs](https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-16,-d-,0,-d-,1-components/#sthash.WV4n3xOX.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:** [March 8, 2023, 1:21pm UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/35 "2023-03-08T13:21:20Z")

</div>

Are these files the correct ones for the FX30S? Is it just the yocto and legato images that have been altered for the FX30S?

---

<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:** [March 8, 2023, 1:33pm UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/36 "2023-03-08T13:33:44Z")

</div>

no idea, maybe you follow up with distributor

---

<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:** [March 27, 2023, 8:56am UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/37 "2023-03-27T08:56:30Z")

</div>

Hi @jyijyi , SWI have sent me new modem image and yocto build (via my distributor), as the ones on leaf and at source seem to be wrong. I am not sure when they will officially release the update.

The new yocto image now downloads correctly using fwupdate… however the modem image does not.

However there are also _.nvu_ files (one per carrier). I am not sure what do to with it and whether that would fix the above problem? Do you know?

I get the following error in logread

```auto
Jan 10 23:34:15 fx30s user.err Legato: =ERR= | fwupdateDaemon[1181]/le_pa_fwupdate_singlesys T=main | cwe.c cwe_LoadHeader() 359 | Compressed image is not supported
Jan 10 23:34:15 fx30s user.err Legato: =ERR= | fwupdateDaemon[1181]/le_pa_fwupdate_singlesys T=main | cwe.c cwe_LoadHeader() 374 | Error when validate the header

```

swicwe -P gives me the following

```auto
Type Size(Exclude Header) Product Compress Version
*SPKG 27201984 Y921 0 INTERNAL_?_SWI9X07Y_02.37.03.00_?_?_?_?
HASH 6520 9X28 0 SWI9X07Y_02.37.10.00 5718ef CARMD-EV-SIGN01 2021/08/03 19:35:14
*BOOT 420864 Y921 0 SWI9X07Y_02.37.10.00 5718ef CARMD-EV-SIGN01 2021/08/03 19:35:14
HASH 6480 9X28 0 SWI9X07Y_02.37.10.00 5718ef CARMD-EV-SIGN01 2021/08/03 19:35:14
SBL1 413584 9X28 0 SWI9X07Y_02.37.10.00 5718ef CARMD-EV-SIGN01 2021/08/03 19:35:14
*MODM 26773400 Y921 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
HASH 6560 9X28 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
TZON 522748 9X28 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
QRPM 160112 9X28 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
DSP2 26082380 9X28 1 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15

```

Thanks,

---

<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:** [March 27, 2023, 9:13am UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/38 "2023-03-27T09:13:19Z")

</div>

I tried concatenating the nvu file with the modem cwe… which gave me the follow with swicwe -P… but it still fails with the errors (see further below)

`swicwe -c SWI9X07Y_02.37.03.00_GENERIC_002.095_003.nvu SWI9X07Y_02.37.03.00_NM.cwe -o modem.cwe`

```auto
swicwe -P modem.cwe
 Type Size(Exclude Header) Product Compress Version
*SPKG 27222932 Y921 0 9999999_9907152_SWI9X07Y_02.37.03.00_00_GENERIC_002.095_003
*BOOT 420864 Y921 0 SWI9X07Y_02.37.10.00 5718ef CARMD-EV-SIGN01 2021/08/03 19:35:14
 HASH 6480 9X28 0 SWI9X07Y_02.37.10.00 5718ef CARMD-EV-SIGN01 2021/08/03 19:35:14
 SBL1 413584 9X28 0 SWI9X07Y_02.37.10.00 5718ef CARMD-EV-SIGN01 2021/08/03 19:35:14
*MODM 26773400 Y921 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
 HASH 6560 9X28 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
 TZON 522748 9X28 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
 QRPM 160112 9X28 0 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
 DSP2 26082380 9X28 1 SWI9X07Y_02.37.03.00 73df45 CARMD-EV-SIGN01 2020/04/08 17:11:15
*FILE 27468 Y921 0 9999999_9907152_SWI9X07Y_02.37.03.00_00_GENERIC_002.095_003

```

```auto
Jan 11 00:20:46 fx30s user.err Legato: =ERR= | fwupdateDaemon[1349]/le_pa_fwupdate_singlesys T=main | cwe.c cwe_LoadHeader() 359 | Compressed image is not supported
Jan 11 00:20:46 fx30s user.err Legato: =ERR= | fwupdateDaemon[1349]/le_pa_fwupdate_singlesys T=main | cwe.c cwe_LoadHeader() 374 | Error when validate the header
Jan 11 00:20:46 fx30s user.err Legato: =ERR= | fwupdateDaemon[1349]/le_pa_fwupdate_singlesys T=main | pa_fwupdate_singlesys.c ParseCweHeader() 1166 | Error in parsing the CWE header
Jan 11 00:20:46 fx30s user.warn Legato: -WRN- | fwupdateDaemon[1349]/le_pa_fwupdate_singlesys T=main | pa_fwupdate_singlesys.c ParseAndStoreData() 1472 | Failed to parse a CWE header

```

---

<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:** [March 27, 2023, 9:57am UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/39 "2023-03-27T09:57:20Z")

</div>

OK so, I think the problem is that the DSP image in the modem image is compressed (see flag above) I can split that file from the image using “-@”… but how do I decompress it? Can I? Or do I need to get the uncompressed one from SWI?

---

<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:** [March 27, 2023, 10:46am UTC](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139/40 "2023-03-27T10:46:19Z")

</div>

I think that you need to use host PC to download

E.g.  
Swiflash in linux  
Or fdt2.exe in windows

Btw, what is the current firmware in ati3 and ati8 in your wp7611?

[Previous page](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139.md?page=1)

[Next page](https://forum.sierrawireless.com/t/spk-that-flashes-to-a-fx30-wp7607-1-does-not-flash-to-fx30s-wp7611-1/29139.md?page=3)
