none
Romimage Error While Building OSDesign RRS feed

  • Question

  • Hi All,

    When I build the Windows CE 7 OSDesign, randomly I get romimage failure error. 

    All of error is : 

    Error 1044 error MSB3073: The command "romimage C:\WINCE700\OSDesigns\AM335X_OS\AM335X_OS\RelDir\AM33X_BSP_ARMV7_Debug\ce.bib  " exited with code 1. {log="C:\WINCE700\build.log(93710)"} C:\WINCE700\public\common\oak\misc\makeimg.proj 680

    Sometimes, it build successfully but I dont make any changes and sometime give this error. 

    Why I get this error?

    Thanks.


    Murat.

    Thursday, August 2, 2012 12:03 PM

All replies

  • Do you have a virusscanner installed? They are known to interfere with the build system (build system usually complaining that the file is "in use"). Disable scanning of the \WINCE700 folder and its subfolders.

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.

    Thursday, August 2, 2012 12:04 PM
    Moderator
  • Michel,

    No, I dont use a virusscanner. 


    Murat.

    Thursday, August 2, 2012 12:21 PM
  • Hmm, that's very strange... You are sure there's really no virusscanner, not even Windows Defender, running?

    You can try to disable multi processor builds and see if that helps (see Tools->Options->Platform Builder for CE->OS Design and Build->Multiprocessor Build).


    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.

    Friday, August 3, 2012 12:02 AM
    Moderator
  • No romimage error occured, since yesterday. 

    But when I add a driver now I have get this error again. 

    Error 485 error : MAKEIMG: ERROR: An error occurred while making the image. Please inspect the image log. {log="C:\WINCE700\build.log(26242)"} C:\WINCE700\public\common\oak\misc\makeimg.proj 367

    It says "inspect the image log" but I cant find it. 

    When I working on Non OS CortexM3 platform, Keil projects have scatter file. 

    This file specifies code, ram etc regions.

    My problem can be about it?

    Windows CE have config.bib files and config.bib file works like as scatter files? 

    My config.bib files MEMORY Area is 

    MEMORY
    ;   Name             VA         Length       Type
        ARGS             $(IMAGE_SHARE_ARGS_CA)     $(IMAGE_SHARE_ARGS_SIZE)     RESERVED
        CPU_INFO $(CPU_INFO_ADDR_CA)         $(CPU_INFO_ADDR_SIZE)       RESERVED

        NK $(IMAGE_WINCE_CODE_CA) $(IMAGE_WINCE_CODE_SIZE) RAMIMAGE ; 98MB - 8K
        RAM $(IMAGE_WINCE_RAM_CA)       $(IMAGE_WINCE_RAM_SIZE) RAM       ; 70MB
    #if (defined SYSGEN_RAMDISK)    
        RAMDISK $(IMAGE_WINCE_RAM_DISK_CA_HEX) $(IMAGE_WINCE_RAM_DISK_SIZE_HEX) RESERVED ; 40MB
    #endif    
        DISPLAY $(IMAGE_WINCE_DISPLAY_CA)   $(IMAGE_WINCE_DISPLAY_TOTAL_SIZE) RESERVED ; 32MB reserved for display subsystem/Syslink IPC/VPSS M3 code/data.
        DRIVERS 8F000000     01000000     RESERVED ; 16MB reserved for drivers

    Total length is 256MB.  

    It is a overflow error? 



    Murat.

    Friday, August 3, 2012 10:16 AM
  • Did you mean that there is no log file at C:\WINCE700\build.log ?? This file should tell you what is the error. This is not the overflow error.

    Regards,
    Rakesh.

    Friday, August 3, 2012 10:47 AM
  • Ah okey its my error. 

    In platform reg file. I make mistake when I include the driver register file. 

    When I correct it, 

    my first problem occurs again. 

    Error 129 error MSB3073: The command "romimage C:\WINCE700\OSDesigns\AM335X_OS\AM335X_OS\RelDir\AM33X_BSP_ARMV7_Debug\ce.bib  " exited with code 1. {log="C:\WINCE700\build.log(10711)"} C:\WINCE700\public\common\oak\misc\makeimg.proj 680

    After that, I remove mydriver registry information from platform.reg file and I remove my module from platform.bib file. Because errors start to occur when I add my driver to OS.

    But I still get romimage error. 


    Murat.

    Friday, August 3, 2012 11:02 AM
  •  Can you show us the .bib entry that you are adding ?

    Regards,
    Rakesh.

    Friday, August 3, 2012 11:15 AM
  • config.bib file, isnt it?

    MY Config.bib file is : 

       

    #include "$(_TARGETPLATROOT)\SRC\INC\image_cfg.h"

    ;----------------------------------------------------MEMORY
    ;   Name            VA     Length       Type
        ARGS             $(IMAGE_SHARE_ARGS_CA)     $(IMAGE_SHARE_ARGS_SIZE)     RESERVED
        CPU_INFO $(CPU_INFO_ADDR_CA)         $(CPU_INFO_ADDR_SIZE)       RESERVED

        NK $(IMAGE_WINCE_CODE_CA) $(IMAGE_WINCE_CODE_SIZE) RAMIMAGE ; 98MB - 8K
        RAM $(IMAGE_WINCE_RAM_CA)       $(IMAGE_WINCE_RAM_SIZE) RAM       ; 70MB
    #if (defined SYSGEN_RAMDISK)    
        RAMDISK $(IMAGE_WINCE_RAM_DISK_CA_HEX) $(IMAGE_WINCE_RAM_DISK_SIZE_HEX) RESERVED ; 40MB
    #endif    
        DISPLAY $(IMAGE_WINCE_DISPLAY_CA)   $(IMAGE_WINCE_DISPLAY_TOTAL_SIZE)   RESERVED ; 32MB reserved for display subsystem/Syslink IPC/VPSS M3 code/data.
        DRIVERS 8F000000     01000000     RESERVED ; 16MB reserved for drivers---------------------------
    ;nk.exe:initialOALLogZones        00000000 0x7FFFFFFF    FIXUPVAR
    ;kernel.dll:initialKernelLogZones 00000000 0x7FFFFFFF    FIXUPVAR

    #if (defined SYSGEN_RAMDISK) 
    nk.exe:dwRamdiskEnabled 00000000    1    FIXUPVAR
    #endif

    CONFIG
    ; ROMSTART    = 80002000
        COMPRESSION=ON
        KERNELFIXUPS=ON
        AUTOSIZE=ON

    IF IMGPROFILER   
        PROFILE=ON
    ELSE
        PROFILE=OFF
    ENDIF

    IF IMGNAND
        ROMOFFSET=$(NAND_ROMOFFSET)
    ENDIF

    IF SYSGEN_RAMDISK
    FSRAMPERCENT=0x0A0A0A0A
    ENDIF


    Murat.

    Friday, August 3, 2012 11:28 AM
  • No I mean platform.bib file that you have modified.

    Rakesh.

    Friday, August 3, 2012 11:29 AM
  • Hi, Murat

    I sometime have this error too.

    I think , you dont need to modify anywhere. Look at your build logs.There should be a src  (or dll) which isnt built properly.Find it and rebuild manually.Then run Build Solution. It should work. 

    Friday, August 3, 2012 11:37 AM
  • Rakesh,

    My Platform.bib file summary is

    MODULES
    ;Name           Path                                            Memory Type
    ;------------   ----------------------------------------------  -----------

    ceddk.dll $(_FLATRELEASEDIR)\ceddk.dll NK  SHQ
    i2cproxy.dll         $(_FLATRELEASEDIR)\i2cproxy.dll         NK  SHK
    ;thermalprinter.dll   $(_FLATRELEASEDIR)\thermalprinter.dll   NK  SHK

    After romimage error I remove my module . 

    As Buğra says, Sometime I install my bsp again and I dont change anywhere but this error occurs again.
    It is completely randomly.

    Buğra,

    I have tried a lot of different variation and hierarcies. One Driver, Drivers, All Bsp or Solution. Clean Sysgen, other advanced build option etc. 

    But result is same. 


    Murat.


    • Edited by cakmakmurat Friday, August 3, 2012 11:47 AM
    Friday, August 3, 2012 11:43 AM
  • Murat,

    In your WINCE700 directory, there should be a file named build.lkb , Open it and search for a error.

    For example,

    The error that i got was ,

    Error: Could not find file 'D:\WINCE700\OSDesigns\UsbStack_WEC7\UsbStack_WEC7\RelDir\CEPC_x86_Release\dma8237_x86_ms_v1.dll' on disk
      dma8237_x86_ms_v1.dll.

    So i found dma8237 and rebuild it. Then it builds successfully.

    Friday, August 3, 2012 12:08 PM
  • Your platform.bib looks ok. Have you looked at the build.log file for the error ?? What is the error in that file ?

    Navigate to FLATRELEASE directory and make sure that your module dll is present there (thermalprinter.dll). If it is not there then build your module first. Also inspect the sources file of your driver and make sure that SKIPBUILD=1 is not skipping your module build.

    Then from VS->Build->Make Runtime Image.

    Regards,

    Rakesh.


    Friday, August 3, 2012 12:56 PM
  • I can build successfully now. :)

    If I cant, I will try your suggestions. 

    Thanks. 


    Murat.

    Friday, August 3, 2012 2:37 PM
  • Hi Murat,

    Please document what change you made to fix your build so that others may use this post in the future to solve their issue should they hit a similar failure.  Also, please credit the answers that helped you.

    Sincerely, IoTGirl

    Tuesday, July 21, 2015 9:01 PM
    Moderator