Forums - Issue of building Helloworld_demo of QCA4020

2 posts / 0 new
Last post
Issue of building Helloworld_demo of QCA4020
joe2
Join Date: 22 Oct 19
Posts: 1
Posted: Tue, 2019-10-22 19:31
Hello, I got some issue when I build the Helloworld_demo code, the SDK version is "QCA4020.OR.3.0 QCA OEM Standard SDK024+CDB".
base the log, seen it case 3 file was missing, WLAN_QAPI.lib, CUST_IPSTACK_INICHE.lib and cust_wlan_lib.lib. I can't find those file in the SDK also. Do anyone know how to get those file and fix the issue?
 
Log as below:
 
10:24:10 **** Incremental Build of configuration Default for project Helloworld_demo ****
build.bat t 4020 cdb 2p0 
****************************************************************************
Building Quartz Helloworld Demo for v2 Chipset
RTOS             threadx
CHIPSET VARIANT  qca4020
*****************************************************************************
Exporting Device config files....
GENERATING DEVCFG....
Building hello_world.c
Building pal\pal.c
Building export\platform_oem.c
Building export\platform_oem_som.c
Building export\platform_oem_mom.c
Building export\DALConfig_devcfg.c
Building export\DALConfig_fom.c
Building export\devcfg_devcfg_data.c
Building export\devcfg_fom_data.c
Building export\UsrEDL.c
Attempting to convert windows paths: output\LinkerLibs.txt
Generating Linker Scripts...
Linking...
arm-none-eabi-ld: cannot find ../../../../../lib/cortex-m4IPT/threadx/WLAN_QAPI.lib: No such file or directory
arm-none-eabi-ld: cannot find ../../../../../lib/cortex-m4IPT/threadx/CUST_IPSTACK_INICHE.lib: No such file or directory
arm-none-eabi-ld: cannot find ../../../../../lib/cortex-m4IPT/threadx/cust_wlan_lib.lib: No such file or directory
Usage: python diagMsgCompact.py <Output ELF> <Output string database File> <Input ELF> <input pickle file> <CompactType: Intermediate or Final>
 
diagMsgCompact.py: error: Specified ELF file does not exist.
Hashing...
Traceback (most recent call last):
  File "..\..\..\..\..\build\scripts\createxbl.py", line 708, in <module>
    main()
  File "..\..\..\..\..\build\scripts\createxbl.py", line 234, in main
    zi_oob_enabled)
  File "..\..\..\..\..\build\scripts\createxbl.py", line 296, in merge_elfs
    mbn_tools.preprocess_elf_file(elf_in_file_name1) 
  File "E:\QCA4020\QCA4020.OR.3.0 QCA OEM Standard SDK024+CDB\build\scripts\mbn_tools.py", line 1995, in preprocess_elf_file
    elf_fp = OPEN(elf_file_name, 'rb')
  File "E:\QCA4020\QCA4020.OR.3.0 QCA OEM Standard SDK024+CDB\build\scripts\mbn_tools.py", line 2197, in OPEN
    raise RuntimeError, "The file could not be opened: " + file_name
RuntimeError: The file could not be opened: output\Quartz.elf
 
10:25:35 Build Finished. 0 errors, 0 warnings. (took 1m:25s.782ms)
 
  • Up0
  • Down0
c_rpedad
Profile picture
Join Date: 18 Jun 18
Location: San Jose
Posts: 317
Posted: Tue, 2019-10-22 23:04

From the provided log, I could observe you are using QCA4024 software which doesnt have the WLAN functionality.

if you want to build for QCA4024 - kindly use  " build.bat t 4024 cdb"

in case if you want to build for QCA4020, please download the appropriate SDK4020+CDB and build using "build.bat t 4020 cdb"

SDK for QCA4020 - https://www.qualcomm.com/products/qca4020/tools-software
SDK for QCA4024 - https://www.qualcomm.com/products/qca4024/tools-software

 

  • Up0
  • Down0
or Register

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.