This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Build error on AM/DM37x EVM for WEC7 environment

Other Parts Discussed in Thread: OMAP3530

Hi there, I used the existing supported BSPs for OMAP3530 family provided during WEC7 installation.  The build was successful on this case.  But I am unable to boot the device through SD card.

Then, I downloaded the actual BSPs from Adeneo site and I am facing the issue that oal.h file was not found.  Actually TI is recommending to use the BSPs download from Adeneo instead of which comes built-in with WEC7.  As indicated in microsoft forum, I checked the DIRS file (to remove the oal.h was not found error) in C:\WINCE700\platfrom folder and it presents and I simply deleted.  Also, I couldn't see oal.h file in platform\common folder either.  Can you please guide me where the dirs file should be present (and what content should it has) and how to get the oal.h file to complete the build successfully.

Once I remove that dirs file then, I could see the following build msgs.

C:\WINCE700\build.log(32370) :   Error: Could not find file 'C:\WINCE700\OSDesigns\OSDesign5\OSDesign5\RelDir\EVM_OMAP3530_ARMV7_Checked\oal.exe' on disk {log="C:\WINCE700\build.log(32370)"}
C:\WINCE700\build.log(32373) :   Error: failed setting line {log="C:\WINCE700\build.log(32373)"}
C:\WINCE700\public\common\oak\misc\makeimg.proj(688,5): error MSB3073: The command "romimage C:\WINCE700\OSDesigns\OSDesign5\OSDesign5\RelDir\EVM_OMAP3530_ARMV7_Checked\ce.bib  " exited with code 1. {log="C:\WINCE700\build.log(32374)"}
  C:\WINCE700\public\common\oak\misc\makeimg.proj(688,5): error MSB3073: The command "romimage C:\WINCE700\OSDesigns\OSDesign5\OSDesign5\RelDir\EVM_OMAP3530_ARMV7_Checked\ce.bib  " exited with code 1. {log="C:\WINCE700\build.log(32381)"}
BLDDEMO: ERROR: Error(s) in makeimg phase. See C:\WINCE700\build.log for details. {log="C:\WINCE700\build.log(32388)"}
BLDDEMO: BUILDMSG: BldDemo ended at 17:16:00.94 on Tue 07/07/2015 (exit code 1)
BuildLogs: BUILDMSG: Exiting: BldDemo1.bat  -q (result code 1).
BuildLogs: BUILDMSG: C:\WINCE700\build.log
BuildLogs: BUILDMSG: C:\WINCE700\build.out
BuildLogs: BUILDMSG: C:\WINCE700\build.wrn
BuildLogs: BUILDMSG: C:\WINCE700\build.err

Please help to resolve this build errors.

Thanks and Regards,

Karthick

  • Hi,

    Do you see oal.h file in this folder? 

    :\WINCE700\platform\common\src\inc

    It should be there by default. If no then some installation issues. If its there and still its throwing error then you can try to rebuild the BSP unless there is no INCLUDES path changes.

    Regards,

    Seetharam

  • Hi Seetharam, I could n't see 'inc' folder reside in src. Instead I checked C:\WINCE700\platform\COMMON\SRC\SOC\COMMON_TI_V1\COMMON_TI\INC this location and found no oal.h files. I installed the BSPs downloaded from Adeneo: www.adeneo-embedded.com/.../16478...

    Regards,
    Karthick
  • Hi Karthick,

    As far as I know you should have "ARM", "common", "inc" folders inside src folder. These are platform independent.

    Can you check in some other systems with WEC7 installed.
  • Hi Seetharam, thanks for your suggestion.  Earlier I removed the OMAP3530 BSPs comes along with WEC7 as builtin and installed the BSPs (OMAP3530) from adeneo site.  As said by you, it's look like I should use BSPs in combined form to build successfully.  

    Once I placed, the ARM, common, inc folders under src, I am able to compile and build all the files until the following error has popped up at the time when the image files should be generated.  The error as follows;

    C:\WINCE700\build.log(72847) : Error: Could not find file 'C:\WINCE700\OSDesigns\OSDesign6_combinedBSP\OSDesign6_combinedBSP\RelDir\EVM_OMAP3530_ARMV7_Release\oal.exe' on disk {log="C:\WINCE700\build.log(72847)"}
    C:\WINCE700\build.log(72850) : Error: failed setting line {log="C:\WINCE700\build.log(72850)"}

    Do you have any clue to resolve this.  Please help.

    Thanks and Regards,

    Karthick

  • Hi Karthick,

    Its actually those folders are common for all the platforms. Like when you remove you are not supposed to remove those folders. 

    ok, now can you execute Rebuild current bsp and subprojects command in the platform builder window? 

    I had faced this issue, this might be due to building options. Try rebuilding the project using above said command. Its the last command in build options.

    Regards,

    Seetharam

  • Hi Seetharam, I did the 'Rebuild current bsp and subprojects command' from Build menu, but I am facing the same problem again. Please let know if anything to try out.

    Regards,
    Karthick
  • Hi,

    Can you check if oal.exe is generated in EVM_OMAP3530_ARMV7_Release folder?

    If not there, can you rebuild OAL folder in EVM_OMAP3530 and check if its getting generated in Release folder. If it did, you can execute build current bsp and suprojects again and try building entire bsp again.

    Regards,
    Seetharam
  • Hi, I opened the oal folder under 'ti_evm_3530' ( I don't know why this folder is present inside the platform folder). Actually I am expecting EVM_OMAP3530 folder as indicated by you. Please make me clear, that ti_emv_3530 is created when I installed WEC7. And, this EVM_OMAP3530 is created when I installed Adeneo BSPs for OMAP3530.

    Now I could see that 'ti_evm_3530' under oal I clicked Open build window, and in command prompt I gave build command.. but it built with errors.

    Do you know why this ti_evm_3530 is there instead of EVM_OMAP3530 though I installed BSPs for OMAP3530.

    Regards,
    Karthick
  • Hi,

    I indicated because it was shown in your build error path.

    You should use EVM_OMAP3530 folder only, not the other one. Clear me these things :

    1. You have EVM_OMAP3530 folder inside Platform.
    2. You have Common folder inside Platform.
    3. check if EVM_OMAP3530 is getting built, while building if you monitor build log you can find out.
    4. check if OAL.exe is present in release folder. (C:\WINCE700\OSDesigns\OSDesign6_combinedBSP\OSDesign6_combinedBSP\RelDir\EVM_OMAP3530_ARMV7_Release)
    5. Rebuild only OAL folder and check if oal.exe is getting built. Path : Platform/EVM_OMAP3530/SRC/OAL

    Regards,
    Seetharam
  • Hi Seetharam, I uninstalled everything and installed again as indicated.
    Everything as said is perfect now. Able to generate OAL.exe...but getting this error now,

    D:\WINCE700\build.log(37932) : Error: Could not find file 'D:\WINCE700\OSDesigns\EVM_3530\EVM_3530\RelDir\EVM_OMAP3530_ARMV7_Release\cmemk.dll' on disk {log="D:\WINCE700\build.log(37932)"}
    D:\WINCE700\build.log(37935) : Error: failed setting line {log="D:\WINCE700\build.log(37935)"}


    If you come across this please let know.

    Thank you,
    Karthick
  • Hi Seetharam,
    Finally the build is complete! Required image files were generated successfully. The reason behind to the error was that environment variable for dvsdk_install_dir should be indicate to the directory where it’s placed. Usually TI assumes it sits in C: drive…We can chage it by right click on OS_design ->properties->Environment.

    Thanks for your support. It really helped me a lot.!

    Regards,
    Karthick
  • Hi..

    Nice to know that. Good luck.

    Regards,
    Seetharam