Swi-fx30-catm_3.0.0 build error in swi-linux

sorry instead of
IMAGE_INSTALL += " cronie"
I used
IMAGE_INSTALL_append = " cronie"

Has using IMAGE_INSTALL += " cronie" addressed the issue for you?

How about “make clean” first?
And then add cronie

And then “make MACH=mdm9x28 PROD=fx30”

Here I can build it:

Thanks @jyijyi
Adding cronie after “make clean”, i was able to build.

Another Yocto customization which we require is adding the custom Yocto layer like the above mention talon layer mention in FX30 (wp7702) and Talon IoT card - #2 by cchenry by @cchenry

Can you help us figure-out why adding this layer is resulting in “QA Issue: sierra-lowtempfix” error.

I don’t know, but if you do a make clean first, you should not see such issue

is there any other way other than “make clean”
when ever i am making changes - ex : adding a new recipe.
i am getting this error “sierra-lowtempfix” , and I have to make clean to again build it.
this is taking a lot of time to REBUILD

currently there is no solution.
Workaround is that you first use swi-fx30-catm-2.0.0 to do your development, after that port all your modification to swi-fx30-catm-3.0.0 and build after “make clean”

But “make clean” will delete the bblayer.conf file.
which is required to add a new custom layer.
How can be add a custom layer without editing the bblayer.conf

How about adding your recipe in current existing layer?

Hi @ravishkrishnan.kunch

A couple things you can try to improve your build time:

  1. Try the bitbake command directly:
    Type:
    make dev
    bitbake -c build

  2. Implement yocto share state cache. Basically, once you build the image, move the cache to another location, and then point to it. The next time you build with sstate cache, only the packages that are required will be built.

BR,
Chris

Thanks @cchenry
How to point to the copied state cache? is this some configuration.

i was able to build
But now i am unable to flash the cwe file using swiflash
**swiflash -m “wp77xx” -i boot-yocto-legato_wp77xx.cwe **
Detecting USB of the target
DONE
Communicating with the target
DONE
Switching to firmware download mode
…DONE
Downloading the firmware
…ERROR: Firmware Download failed. Callback status 59399DONE
ERROR: Firmware Download Failed

You can transfer the cwe file to module and use fwupdate command in target module to update

[quote=“jyijyi, post:26, topic:25090, full:true”]
You can transfer the cwe file to module and use fwupdate command in target module to update
[/quote
fwupdate also not working
root@fx30s:~# fwupdate download boot-yocto-legato_wp77xx.cwe
Connecting to service …
Can’t open file ‘boot-yocto-legato_wp77xx.cwe’ : No such file or directory
root@fx30s:~# ls
boot-yocto-legato_wp77xx.cwe

swiflash -m "wp77xx" -r is also working after flashing Sierra Wireless FX30 Firmware CatM
https://downloads.sierrawireless.com/airlink/FX30/CatM/FX30_WP77xx_full_R14.1.1.002-sierra-SWI9X06Y_02.36.06.00.cwe
Will the swiflash tool not work with R14.1.1 based Firmware ?
we have been using the swiflash in our production for R9.1.1 based firmware.

You need to specify the absolute path

E.g.

fwupdate download /tmp/boot-yocto-legato_wp77xx.cwe

installation was not successful it got stuck at this point
root@fx30s:~# fwupdate download /home/root/boot-yocto-legato_wp77xx.cwe
Connecting to service …
Download started …
Download successful
Installing & Reboot …

But the Gateway got rebooted , but the changes are not visible in the rootfs

Probably the yocto image is too big, you can download just the yocto.cwe to confirm if it can upgrade

How big is your yocto.cwe image now?

With the Yocto.cwe file also it is failing to install.

What is response on

At!entercnd=“A710”
At!partition?
At!partition=?

With R14.1.1 microcom looks buggy, microcom -E /dev/ttyAT is not echoing the commands.

please find the response to the AT commands -
Mon Jan 10 04:58:07 UTC 2022
Manufacturer: Sierra Wireless, Incorporated
Model: FX30S(WP7702)
Revision: SWI9X06Y_02.36.06.00 63d944 jenkins 2020/12/10 19:12:28
IMEI: 354723090117127
IMEI SV: 6
FSN: VU847300341510
+GCAP: +CGSM,+DS

OK
Mon Jan 10 05:00:20 UTC 2022
OK
Mon Jan 10 05:02:33 UTC 2022
PART BLOCK SIZE
NAME OFFSET (KB)
0:SBL 00000000 2560
0:MIBIB 0000000A 2560
0:BACKUP 00000014 6656
0:SECURITY 0000002E 1024
0:PERSIST 00000032 2048
0:EFS2 0000003A 17920
0:SWIFOTA 00000080 81152
0:TZ 000001BD 1536
0:DEVCFG 000001C3 768
0:RPM 000001C6 768
0:modem 000001C9 32768
0:aboot 00000249 1024
0:boot 0000024D 15360
0:system 00000289 30720
0:LEFWKRO 00000301 8960
0:SWIRW 00000324 25600
0:USERAPP 00000388 134144
0:RESERVED 00000594 55808
0:SLOT_2 0000066E 34304
0:SLOT_1 000006F4 34304
0:SLOT_0 0000077A 34304

OK
root@fx30s:~# echo ‘At!partition=?’ > /tmp/input
root@fx30s:~# ./atinout /tmp/input /dev/ttyAT /tmp/output
root@fx30s:~# echo "date -u cat /tmp/output" >> /home/at_log
root@fx30s:~# cat /home/at_log
Mon Jan 10 04:58:07 UTC 2022
Manufacturer: Sierra Wireless, Incorporated
Model: FX30S(WP7702)
Revision: SWI9X06Y_02.36.06.00 63d944 jenkins 2020/12/10 19:12:28
IMEI: 354723090117127
IMEI SV: 6
FSN: VU847300341510
+GCAP: +CGSM,+DS

OK
Mon Jan 10 05:00:20 UTC 2022
OK
Mon Jan 10 05:02:33 UTC 2022
PART BLOCK SIZE
NAME OFFSET (KB)
0:SBL 00000000 2560
0:MIBIB 0000000A 2560
0:BACKUP 00000014 6656
0:SECURITY 0000002E 1024
0:PERSIST 00000032 2048
0:EFS2 0000003A 17920
0:SWIFOTA 00000080 81152
0:TZ 000001BD 1536
0:DEVCFG 000001C3 768
0:RPM 000001C6 768
0:modem 000001C9 32768
0:aboot 00000249 1024
0:boot 0000024D 15360
0:system 00000289 30720
0:LEFWKRO 00000301 8960
0:SWIRW 00000324 25600
0:USERAPP 00000388 134144
0:RESERVED 00000594 55808
0:SLOT_2 0000066E 34304
0:SLOT_1 000006F4 34304
0:SLOT_0 0000077A 34304

OK
Mon Jan 10 05:03:07 UTC 2022
To print partition table: AT!PARTITION?
To modify partition sizes: AT!PARTITION=,[,,…]
- name of the first partition to modify its size, can be blank
- new size in KB of the first partition
,… - new sizes of next partitions
for example: AT!PARTITION=0:boot,2560
List of partitions whose size can be modified:

None/Not Allowed

OK