More than one week for I did try to generate yocto for my FX30 cat1 (Release R16.0.1.006 + Legato 19.11.5)
My first mistake was to try to build with ubuntu 21 : I failed.
Then I decided to use a docker with a ubuntu:18_04 and I is a little better but some issues remain.
I did download the src with the getsrc and it is ok.
But when I jump in swi-linux-src and run make one warning :
meta-columbia-x/meta-columbia-x-cat1/build.sh: line 854: [: =: unary operator expected
Then I run : “ENABLE_DOTA_STANDALONE=false make” and one error (I did have the first time) :
ERROR: No recipes available for:
/home/root/workspaceLegato/swi-linux-src/meta-columbia-x/rootfs/recipes/columbia-initscripts/columbia-initscripts.bbappend
Is the solution do link meta-swi-mdm9x28-fx30 to meta-swi-mdm9x28-wp ?
What the solution to generate for FX30? I want to generate with a system with extra software.
running the following command is OK
ENABLE_DOTA_STANDALONE=false LANG=en_US.UTF-8 make PROD=fx30
But after, trying to build, launch my generation and the error is :
** ERROR:
/home/root/workspaceLegato/leaf-data/fx30new/fx30-cat1-legato/drivers/spisvc/spisvc.mdef: error: ‘/home/root/workspaceLegato/swi-linux-src/build_bin/tmp/sysroots/swi-mdm9x28-wp/usr/src/kernel’ is not a valid kernel source directory.
Makefile:3: recipe for target ‘all’ failed
Nothing in the sysroots directory…
Any idea on how to generate the linux.cwe for the fx30 cat1?
what did you see inside /home/root/workspaceLegato/leaf-data/fx30new/ and /home/root/workspaceLegato/leaf-data/fx30new/fx30-cat1-legato/?
Can you do “ls” and paste here?
You can create another project in vscode to use package swi-fx30-catm_3.0.0 without swi-linux
After that you can see if you can compile application with that project
Hello,
My modem is CAT-1 and i try to generate linux for it.
What i can see is that env variables when setting leaf getsrc swi-linux are wrong. It refers a PROD=wp instead of PROD=fx30 and nothing in build_bin/tmp/sysroots.
What I have done is : MACH=mdm9x28 PROD=wp make
It succeds after hours of compil but it still don’t work.
Try to generate the firmware including legato and my app with a custom yocto (linux ?) system.
Reading legato doc, it seems like it is possible to get the sources for linux and legato with getsrc but the way to generate in visual code after is not so clear (I can’t find the way). I wonder how the Sierra people can achieve that.
I did succeed in producing yocto_wp76xx.4k.cwe when running the makefile in swi-linux-src.
I try to use it in generating the firmware, replacing linux.cwe with yocto_wp76xx.4k.cwe in my Makefile. It generates the spk file.
But I think I made a mistake with my FX30 modem. I try to install the yocto.cwe directly coypiing it to the modem and then updating with update dowload yocto_wp76xx.4k.cwe. It was not a goot idea. The modem is out. Is there a way to recover? i did try the reset button with no success.
No more USB port when I connect to PC. I did try reset button of the modem but nothing more.
What I have done is :
Transert the yocto file in the modem file system,
connect the modem with ssh,
try to update with update command (not sure I use fwupdate).
Everithing works correct with lot of ++++++++ , the modem then restart but no more USB connexion now.
I’ve heard of the ST1 pin on the modem for hardreset ? I did try to open the modem but the screw are incridibly difficult to withdraw.