piinst  
                
                  
                    June 17, 2019,  1:50pm
                   
                  1 
               
             
            
              I’m talking about the fwupdate that resides in /legato/systems/current/bin/fwupdate on the yocto target (e.g. WPxxxx).
The command “fwupdate download FILE” appears to install a file that’s already been copied to the yocto target filesytem. e.g. as described below:
Copy mcu-rmfw-boot-yocto-legato_wp85.cwe to FX30 filesystem using scp. 
Open a ssh session 
Execute fwupdate download mcu-rmfw-boot-yocto-legato_wp85.cwe 
 
 
That is, it’s not a actually a download as we commonly use the term. Just want to be sure I got this right.
Thanks
             
            
              
            
           
          
            
            
              Hi piinst,
You’re correct, the term “download” is only performing a local install onto your device and is not pulling anything from the network.
BR,
             
            
              1 Like 
            
            
           
          
            
              
                Kalai  
              
                  
                    October 7, 2021, 12:37pm
                   
                  3 
               
             
            
              
 piinst:
 
already
 
 
hi
             
            
              
            
           
          
            
              
                Kalai  
              
                  
                    October 7, 2021, 12:39pm
                   
                  4 
               
             
            
              my legato version is 19.11.2_0605efd89621fc4e2a956917f98c7d61
             
            
              
            
           
          
            
              
                jyijyi  
              
                  
                    October 7, 2021, 12:41pm
                   
                  5 
               
             
            
              You can use busybox to ftp download
  
  
    Maybe you can try this busybox for ftpget command and see if it works for you.busybox-armv5l_1.26  (1.1 MB) 
./busybox-armv5l_1.26 ftpget 123.123.123.123 --username USER --password PASSWORD --port 21 --verbose data.txt
   
 
             
            
              
            
           
          
            
              
                Kalai  
              
                  
                    October 7, 2021, 12:43pm
                   
                  6 
               
             
            
              which cwe file should i use from these two legato-squashfs.ubi.cwe or legato.cwe
             
            
              
            
           
          
            
              
                jyijyi  
              
                  
                    October 7, 2021, 12:43pm
                   
                  7 
               
             
            
              Are they the same?
             
            
              
            
           
          
            
              
                Kalai  
              
                  
                    October 7, 2021, 12:46pm
                   
                  8 
               
             
            
              legato.cwe file is cretaed as linkage file whereas legato-squashfs.ubi.cwe file size is 7.6 mb
             
            
              
            
           
          
            
              
                Kalai  
              
                  
                    October 7, 2021, 12:49pm
                   
                  9 
               
             
            
              can i get any sample how to download and update the CWE file
             
            
              
            
           
          
            
              
                jyijyi  
              
                  
                    October 7, 2021, 12:55pm
                   
                  10 
               
             
            
              Then you should use legato-squashfs.ubi.cwe
             
            
              
            
           
          
            
              
                Kalai  
              
                  
                    October 7, 2021, 12:55pm
                   
                  11 
               
             
            
              yes am using that but getting the following error
Jan  1 07:12:03 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[8211]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxCoreDumpFileBytes to value 8192.
             
            
              
            
           
          
            
              
                jyijyi  
              
                  
                    October 7, 2021, 12:55pm
                   
                  12 
               
             
            
              You can use “fwupdate download xxx.cwe” to upgrade fw
             
            
              
            
           
          
            
              
                jyijyi  
              
                  
                    October 7, 2021, 12:56pm
                   
                  13 
               
             
            
              That means your cwe has problem
             
            
              
            
           
          
            
              
                jyijyi  
              
                  
                    October 7, 2021, 12:58pm
                   
                  15 
               
             
            
              You should use “make wp76xx” to build the legato cwe