locked
silly question about diskcache.dll RRS feed

  • Question

  • I can't seem to figure out how to include it in my sysgen.

    I hacked in in sort of... I added this line to my bib, I can easily make my own catalog entry... but I feel like there should be one already, 

     diskcache.dll   $(_PROJECTOAKROOT)\target\ARMV4I\retail\diskcache.dll             NK  SHK

    Other then that there doesnt seem to be a catalog entry or anything that enables CE_MODULES_DISKCACHE.... at least not normally. I feel like I'm missing something simple... oh so very simple.

    Tuesday, April 17, 2012 7:31 PM

Answers

  • You can explicitely include diskcache appending

    set CE_MODULES=%CE_MODULES% diskcache

    to your %_PROJECTROOT%\oak\misc\cesysgen.bat file

    The effect will be that the following excerpt from common.bib

    ; @CESYSGEN IF CE_MODULES_DISKCACHE
       diskcache.dll    $(_FLATRELEASEDIR)\diskcache.dll             NK  SHK
    ; @CESYSGEN ENDIF

    won't be filtered out. Anyway it's basically what you've already got


    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom www.eurotech.com Check my blog: http://lcalligaris.wordpress.com


    Wednesday, April 18, 2012 7:56 AM

All replies

  • This is part of my file winceos.bat, located at c:\wince600\public\cebase\oak\misc\winceos.bat

    Doesn't this mean that when I choose any of these file systems (EXFAT, TFAT, or FATFS) from the Catalog view of PB or directly via my BSP's batch file *or* that I choose something that depends on those file systems, that I would get diskcache as well?

    HTH

        REM // FatFS support
        if "%SYSGEN_EXFAT%"=="1"  set __SYSGEN_FAT_SUPPORT=1
        if "%SYSGEN_FATFS%"=="1"  set __SYSGEN_FAT_SUPPORT=1
        if "%SYSGEN_TFAT%"=="1"   set __SYSGEN_FAT_SUPPORT=1
        if not "%__SYSGEN_FAT_SUPPORT%"=="1" goto SkipFatSupport
            set SYSGEN_STOREMGR=1
            set SYSGEN_MSPART=1
            set __SYSGEN_NEED_LOC_SUPPORT=1
            set CE_MODULES=%CE_MODULES% exfat fatutil diskcache
            if not "%__SYSGEN_FULLGWES%"=="1" set SYSGEN_FATUTIL_NOUI=1
            if "%SYSGEN_FATUTIL_NOUI%"=="1" set FATUTIL_COMPONENTS=fatutil_noui
            if not "%SYSGEN_FATUTIL_NOUI%"=="1" set FATUTIL_COMPONENTS=fatutil_ui
            set FATUTIL_COMPONENTS=%FATUTIL_COMPONENTS% fatutil_main exfatutil
            if "%__SYSGEN_FULLGWES%"=="1" set SYSGEN_FMTMSG=1
        :SkipFatSupport

    Tuesday, April 17, 2012 8:55 PM
  • ah we were using a 3rd party filesystem so the fat filesystems were disabled.

    There was no selection for diskcache dll which i believe our 3rd party can use.

    Wednesday, April 18, 2012 12:37 AM
  • You can explicitely include diskcache appending

    set CE_MODULES=%CE_MODULES% diskcache

    to your %_PROJECTROOT%\oak\misc\cesysgen.bat file

    The effect will be that the following excerpt from common.bib

    ; @CESYSGEN IF CE_MODULES_DISKCACHE
       diskcache.dll    $(_FLATRELEASEDIR)\diskcache.dll             NK  SHK
    ; @CESYSGEN ENDIF

    won't be filtered out. Anyway it's basically what you've already got


    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom www.eurotech.com Check my blog: http://lcalligaris.wordpress.com


    Wednesday, April 18, 2012 7:56 AM