none
Built issue with xldr and WEC7 RRS feed

  • Question

  • Hi All,

    I am getting a compilation issue while calling a custom function in xloader main. The custom function communicates with NOR using SPI. During built i get the error in xldr. Below is the log ... Can you help me to resolve it :-

    BUILD: [01:0000005167:INFO  ] Finished pass 2
    BUILD: [01:0000005168:INFO  ]     romimage  xldrnand.bib
    BUILD: [01:0000005169:INFO  ]
    BUILD: [01:0000005170:INFO  ] Windows CE ROM Image Builder v7.0 Copyright (c) Microsoft Corporation
    BUILD: [01:0000005171:INFO  ] Built: Sep 28 2010 04:54:12
    BUILD: [01:0000005172:INFO  ]
    BUILD: [01:0000005173:INFO  ] Copying C:\WINCE700\OSDesigns\AM33X_BeagleBone\AM33X_BeagleBone\Wince700\AM33X_BB_BSP_ARMV7_Retail\cesysgen\platform\AM33X_BB_BSP\target\ARMV7\retail\xldrnand.exe to C:\WINCE700\OSDesigns\AM33X_BeagleBone\AM33X_BeagleBone\Wince700\AM33X_BB_BSP_ARMV7_Retail\cesysgen\platform\AM33X_BB_BSP\target\ARMV7\retail\nk.exe for debugger
    BUILD: [01:0000005174:INFO  ] Found pTOC at 000011bc
    BUILD: [01:0000005175:INFO  ] No imports for nk.exe
    BUILD: [01:0000005176:INFO  ] Processing XLDRNAND
    BUILD: [01:0000005177:INFO  ]
    BUILD: [01:0000005178:INFO  ] MODULES Section
    BUILD: [01:0000005179:INFO  ] Module                 Section  Start     Length  psize   vsize   Filler
    BUILD: [01:0000005180:INFO  ] ---------------------- -------- --------- ------- ------- ------- ------
    BUILD: [01:0000005181:INFO  ] nk.exe                 .text    402f2000   24576   24576   23296 o32_rva=00001000
    BUILD: [01:0000005182:INFO  ] nk.exe                 .pdata   402f8000    4096    4096     688 o32_rva=00018000
    BUILD: [01:0000005183:INFO  ] nk.exe                 .data    402f7b00     452     452   66696 FILLER->40306000
    BUILD: [01:0000005184:INFO  ] nk.exe                 E32      402f7cc4     112                 FILLER
    BUILD: [01:0000005185:INFO  ] nk.exe                 O32      402f7d34      72                 FILLER
    BUILD: [01:0000005186:INFO  ]
    BUILD: [01:0000005187:INFO  ] MODULES Section
    BUILD: [01:0000005188:INFO  ] Module                 Section  Start     Length  psize   vsize   Filler
    BUILD: [01:0000005189:INFO  ] ---------------------- -------- --------- ------- ------- ------- ------
    BUILD: [01:0000005190:INFO  ] nk.exe                 FileName 402f7d7c        7                 FILLER
    BUILD: [01:0000005191:INFO  ]
    BUILD: [01:0000005192:INFO  ] Unfilled ROM holes (address, length):
    BUILD: [01:0000005193:INFO  ] 402f82b0     3408   402f7d84      636   
    BUILD: [01:0000005194:INFO  ] total space 4044 in 2 ranges
    BUILD: [01:0000005195:INFO  ] Warning: FixupVar module not defined for dwEbootECCtype, assuming kernel.
    BUILD: [01:0000005196:INFO  ] Writing C:\WINCE700\OSDesigns\AM33X_BeagleBone\AM33X_BeagleBone\Wince700\AM33X_BB_BSP_ARMV7_Retail\cesysgen\platform\AM33X_BB_BSP\target\ARMV7\retail\XLDRNAND.bin
    BUILD: [01:0000005197:INFO  ] Table of contents  402f7dd8  00000020  (        32)
    BUILD: [01:0000005198:INFO  ] Writing ROM signature and TOC pointer at 402f1040
    BUILD: [01:0000005199:INFO  ] Kernel data copy section  402f7df8  00000010  (        16)
    BUILD: [01:0000005200:INFO  ] ROM Header                402f7d84  00000054  (        84)
    BUILD: [01:0000005201:INFO  ] First DLL Address:       4001f000
    BUILD: [01:0000005202:INFO  ] Last DLL Address:        4001f000
    BUILD: [01:0000005203:INFO  ] Physical Start Address:  402f1000
    BUILD: [01:0000005204:INFO  ] Physical End Address:    402f82b0
    BUILD: [01:0000005205:INFO  ] Start RAM:               40306000
    BUILD: [01:0000005206:INFO  ] Start of free RAM:       40318000
    BUILD: [01:0000005207:INFO  ] End of RAM:              4030a000
    BUILD: [01:0000005208:INFO  ] Number of Modules:       1
    BUILD: [01:0000005209:INFO  ] Number of Copy Sections: 1
    BUILD: [01:0000005210:INFO  ] Copy Section Offset:     402f7df8
    BUILD: [01:0000005211:INFO  ] FileSys 4K Chunks/Mbyte: 128 <2Mbyte  128 2-4Mbyte  0 4-6Mbyte  0 >6Mbyte
    BUILD: [01:0000005212:INFO  ] CPU Type:                    01c2h
    BUILD: [01:0000005213:INFO  ] Miscellaneous Flags:         0002h
    BUILD: [01:0000005214:INFO  ] Total ROM size:          000072b0 (     29360)
    BUILD: [01:0000005215:INFO  ] Error: Ram free start is after ram end.
    BUILD: [01:0000005216:INFO  ] Fatal error hit, exiting...
    BUILD: [01:0000005217:ERRORE] Error(s) in directory "C:\WINCE700\platform\AM33X_BB_BSP\SRC\BOOTLOADER\XLDR\NAND\".
    BUILD: [01:0000005218:ERRORE] NMAKE : fatal error U1077: 'C:\WINCE700\public\common\oak\Bin\i386\romimage.EXE' : return code '0x1'
    BUILD: [01:0000005219:INFO  ] Stop.
    BUILD: [01:0000005220:ERRORE] TargetExeFiles  -nologo BUILDMSG=Stop.  BUILDROOT=C:\WINCE700\platform\AM33X_BB_BSP LINKONLY=1 NOPASS0=1 failed - rc = 2.
    BUILD: [00:0000005221:PROGC ]                        Files  Warnings  Errors
    BUILD: [00:0000005222:PROGC ] Midl                       0         0       0
    BUILD: [00:0000005223:PROGC ] Message                    0         0       0
    BUILD: [00:0000005224:PROGC ] Precomp Header             0         0       0
    BUILD: [00:0000005225:PROGC ] Resource                   0         0       0
    BUILD: [00:0000005226:PROGC ] XRPack                     0         0       0
    BUILD: [00:0000005227:PROGC ] MASM                       0         0       0
    BUILD: [00:0000005228:PROGC ] SHASM                      0         0       0
    BUILD: [00:0000005229:PROGC ] ARMASM                     0         0       0
    BUILD: [00:0000005230:PROGC ] MIPSASM                    0         0       0
    BUILD: [00:0000005231:PROGC ] C++                        0         0       0
    BUILD: [00:0000005232:PROGC ] C                          3        42       0
    BUILD: [00:0000005233:PROGC ] CheckLibs                  0         0       0
    BUILD: [00:0000005234:PROGC ] Static Libraries           1         0       0
    BUILD: [00:0000005235:PROGC ] Exe's                      5         0       0
    BUILD: [00:0000005236:PROGC ] Dll's                      0         0       0
    BUILD: [00:0000005237:PROGC ] Preprocess deffile         0         0       0
    BUILD: [00:0000005238:PROGC ] Resx                       0         0       0
    BUILD: [00:0000005239:PROGC ] CSharp Compile             0         0       0
    BUILD: [00:0000005240:PROGC ] VCProj Compile             0         0       0
    BUILD: [00:0000005241:PROGC ] Other                      0        11       2
    BUILD: [00:0000005242:PROGC ]
    BUILD: [00:0000005243:PROGC ] Total                      9        53       2
    BUILD: [00:0000005244:PROGC ]
    BUILD: [00:0000005245:PROGC ] 53 Warnings,  2 Errors
    BUILD: [00:0000005246:PROGC ] GetSystemTimes (seconds): Idle: 15    Kernel: 20    User: 9    
    BUILD: [00:0000005247:PROGC ] Elapsed  time  (seconds): 7    
    Build for Windows CE (Release 601) (Built on May 28 2009 15:53:25)
    File names: Build.log Build.wrn Build.err BuildARMV7retail.dat
    CEBUILD: BUILDMSG: There were errors building. Check C:\WINCE700\build.err

    BLDDEMO: ERROR: There were errors building CEBASE.


    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India) www.tes-dst.com email-misbah.khan@tes-dst.com

    Wednesday, September 5, 2012 3:42 PM

All replies

  • On 9/5/2012 5:42 PM, Misbah Khan wrote:
    > Hi All,
    >
    > I am getting a compilation issue while calling a custom function in
    > xloader main. The custom function communicates with NOR using SPI.
    > During built i get the error in xldr. Below is the log ... Can you help
    > me to resolve it :-
    [...]
     
    Usually there are very tight size constraints for XLDR, depending on the
    HW platform. It seems that your code exceeded that size.
    If you are building a debug version of XLDR, try to build it as release.
    If you already are building release, you should consider if that code
    must be inside XLDR or could be moved to eboot where size constraints
    aren't so tight. If you can't move it, try to remove debug messages from
    XLDR (strings may take some space).
     
     

    Valter Minute
    Windows Embedded MVP
    http://geekswithblogs.net/WindowsEmbeddedCookbook
    Wednesday, September 5, 2012 5:09 PM