Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.
Hi,
I have not done any change in index.iws as its not my requirement.
I am struggling to download .bin, .elf file to QCA4020 server filesystem. Performed below procedure:
1. We have started the server on a PC using the command python -m SimpleHTTPServer 8080.
2. Opened the PC server ip in browser http://1952.168.1.120:8080.
3. On opening the server ip we are able to see the ota.bin file and .elf file.
My question is how to download these files to the QCA4020 board file system, not getting it ?
Tried to configure the qca4020 board as http client and connect it to the PC server and using httpc get 1 ota.bin command able to receive the ota.bin file sucessfully. Is this correct way download the file to file syste, if not please brief the commands and procedure?
Thank you
Akshaay
If you requirement is to perform OTA over http, kindly follow below instructions:
Server : python -m SimpleHTTPServer 8080
Client :
Connect QCA49020 to same Wifi and acquire IP address.
> "FwUp http wlan1 5000:192.168.1.120:8080 ota.bin" //if the wlan1 interface is being used(wlan setdevice 1)
after successful download you can accept the trial image to verify the OTA "FwUP trial 1" to accept and reboot the device.
You can also verify using "FwUp fwd" to find the cuurent and trial image contents.
Hello,
I tried this commands, after starting the server on my PC and entering the command FwUp http wlan1 5000:192.168.1.120:8080 ota.bin.
Below are the output i am getting:
FwUp> http wlan1 5000:192.168.1.120:80 ota.bin
FwUp: 11 0
.
...... (FwUp: 14 0 FwUp: 11 0 continues for few seconds)
1) Error for trail command it was showing "Fail to Accept Trial FWD".
Referring a forum link i found to do following changes to make FS2IMG=KEEP to eliminate above said error .
But how and where can i find FS2IMG & make the the change to FS2IMG?please explain.
Tried a solution eferring a forum post and made Flag = QAPI_FW_UPGRADE_FLAG_DUPLICATE_ACTIVE_FS inside Command_Fw_Upgrade_HTTP_Upgrade function. But still error for Trial command.
Thank you,
Akshaay