none
how WM6.1(19580) support 2G byte SLC Nand flash ? RRS feed

  • Question

  • hi all:

        my env is :

        WM6.1 ,builder number 19580

        S3C6410 platform

       i want to support 2G nand flash , i modify the memory.cfg.xml ,

     <NAND SECTORSIZE="0x800" BLOCKSIZE="0x20000" LENGTH="0x3c000000" ID="FLASH" />

    the free space just 900M bytes after system startup 

    if i change the LENGTH to 0x7c000000, dskimage.exe will faile ,log is:

    Microsoft (R) DskImage 5.2.0.0
    Disk Image Generation Utility
    Copyright (C) 2012 Microsoft Corporation All Rights Reserved.
    Using command line: SMDK6410Big.cfg.xml SMDK6410Big.sku.xml
    Using temporary directory: E:\WM611\release\WPC_SMDK6410Big_Retail\WPC\DskImage
    Parsing E:\WM611\release\WPC_SMDK6410Big_Retail\WPC\SMDK6410Big.cfg.xml
    Parsing E:\WM611\release\WPC_SMDK6410Big_Retail\WPC\SMDK6410Big.sku.xml
    Creating new output file E:\WM611\release\WPC_SMDK6410Big_Retail\WPC\FLASH.DIO
    FSDMGR: using .ini file "E:\WM611\release\WPC_SMDK6410Big_Retail\WPC\fsdmgr_nt.i
    ni"
    ERROR: FSDMgr API STG_NtDismountStore failed with error 203:The system could not
     find the environment option that was entered.
    Disk Image failed

    E:\WM611\release\WPC_SMDK6410Big_Retail\WPC>

    i don't know the realy reason why dskimage failed.

    my memory.cfg.xml is like below:

    <?xml version="1.0" encoding="utf-8" ?>
      2 <MEMORYCFG xmlns="http://schemas.microsoft.com/embedded/2004/10/ImageUpdate">
      3     <HARDWARE>
      4         <RAM START="0x80000000" LENGTH="0x0E500000"></RAM>
      5         <NAND SECTORSIZE="0x800" BLOCKSIZE="0x20000" LENGTH="0x7c000000" ID="FLASH" />
      6     </HARDWARE>
      7     <PARTITIONS>
      8         <BINARY DATAFILE="uldr.nb0" ID="ULDR" COMPRESS="1" STORAGE_ID="FLASH" />
      9         <RAMIMAGE ID="NK" STORAGE_ID="FLASH" COMPRESS="1" FIXUP_ADDRESS="0x80200000" ROMFLAGS="0x2" FSRAMPERCENT="0x00000020" />
     10         <IMGFS ID="OS" STORAGE_ID="FLASH" FREE_SPACE_BUFFER="0xA00000"></IMGFS>
     11         <USERSTORE ID="Storage" STORAGE_ID="FLASH" PART_TYPE="4"></USERSTORE>
     12     </PARTITIONS>
     13 </MEMORYCFG>

    Friday, August 31, 2012 9:51 AM

All replies