Problems using TFFS with Intel flash 28F640 - VxWorks

This is a discussion on Problems using TFFS with Intel flash 28F640 - VxWorks ; Hi guys. I have problems trying to write a file system using TFFS. I use: - MPC860 processor - Intel's flash28F640 flash device - Tornado environment ver. 2.0.2 - VxWorks OS ver. 5.4 1. Can I use the TFFS package ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Problems using TFFS with Intel flash 28F640

  1. Problems using TFFS with Intel flash 28F640

    Hi guys.
    I have problems trying to write a file system using TFFS.
    I use:
    - MPC860 processor
    - Intel's flash28F640 flash device
    - Tornado environment ver. 2.0.2
    - VxWorks OS ver. 5.4

    1. Can I use the TFFS package for flash28F640 device, or is it limited
    to the devices listed in sysTffs.c ?

    If I use #define INCLUDE_MTD_I28F008, I get the following build errors:

    partialImage.o: In function `i28f008Identify':
    partialImage.o(.text+0x92e38): undefined reference to `flIntelIdentify'
    partialImage.o(.text+0x92e64): undefined reference to `flIntelIdentify'
    partialImage.o(.text+0x92ea0): undefined reference to `flIntelIdentify'
    partialImage.o(.text+0x9303c): undefined reference to `flIntelSize'
    partialImage.o: In function `mountLowLevel':
    partialImage.o(.text+0xa8284): undefined reference to `flIdentifyFlash'
    partialImage.o: In function `flMount':
    partialImage.o(.text+0xa92ec): undefined reference to `flIdentifyFlash'
    partialImage.o: In function `flFormat':
    partialImage.o(.text+0xa93d0): undefined reference to `flIdentifyFlash'

    2. Do I have to add sysTffs.c module explicitly to the project?
    VxWorks manual only instructs to add INCLUDE_TFFS include - is there
    anything else I am supposed to do?
    3. Apparently the problem is not finding a flIntelIdentify' function.
    Can I (do I have to) supply it, and if so - where and in what format?
    4. Is it possible I don't have the TFFS package - though I have the
    sysTffs.c module, and the Tornado environment allows me to add TrueFFS
    Flash File System through the Include / Exclude components?

    Thanks for your help


  2. Re: Problems using TFFS with Intel flash 28F640

    Hi:

    Sounds like you need to add the MTD-level driver to your project that
    includes these entry points. There are a couple of tables to manually
    update to get the type of flash driver (MTD) configured into the TFFS.
    Sometimes the BSP vendor supplies them pre-modified, sometimes it DIY.

    We get doc from our vendor on the supplied MTD's and how to write your
    own. WRS supplies the TFFS now, but I don't think provides any MTDs.

    There are a lot of steps to get a TFFS going , and they used to be
    described in an old manual for TFFS V1.0 (which I have somewhere).
    I'll send it along when I find it.

    Do turn it on in Tornado, which should get you the tffs .o, and add in
    the sysTffs and MTD when you find/mod them.

    Good luck,
    LC
    mic_z wrote:
    > Hi guys.
    > I have problems trying to write a file system using TFFS.
    > I use:
    > - MPC860 processor
    > - Intel's flash28F640 flash device
    > - Tornado environment ver. 2.0.2
    > - VxWorks OS ver. 5.4
    >
    > 1. Can I use the TFFS package for flash28F640 device, or is it limited
    > to the devices listed in sysTffs.c ?
    >
    > If I use #define INCLUDE_MTD_I28F008, I get the following build errors:
    >
    > partialImage.o: In function `i28f008Identify':
    > partialImage.o(.text+0x92e38): undefined reference to `flIntelIdentify'
    > partialImage.o(.text+0x92e64): undefined reference to `flIntelIdentify'
    > partialImage.o(.text+0x92ea0): undefined reference to `flIntelIdentify'
    > partialImage.o(.text+0x9303c): undefined reference to `flIntelSize'
    > partialImage.o: In function `mountLowLevel':
    > partialImage.o(.text+0xa8284): undefined reference to `flIdentifyFlash'
    > partialImage.o: In function `flMount':
    > partialImage.o(.text+0xa92ec): undefined reference to `flIdentifyFlash'
    > partialImage.o: In function `flFormat':
    > partialImage.o(.text+0xa93d0): undefined reference to `flIdentifyFlash'
    >
    > 2. Do I have to add sysTffs.c module explicitly to the project?
    > VxWorks manual only instructs to add INCLUDE_TFFS include - is there
    > anything else I am supposed to do?
    > 3. Apparently the problem is not finding a flIntelIdentify' function.
    > Can I (do I have to) supply it, and if so - where and in what format?
    > 4. Is it possible I don't have the TFFS package - though I have the
    > sysTffs.c module, and the Tornado environment allows me to add TrueFFS
    > Flash File System through the Include / Exclude components?
    >
    > Thanks for your help



  3. Re: Problems using TFFS with Intel flash 28F640

    Thanks.
    About that "WRS supplies the TFFS now, but ..." thing - I came into
    conclusion that maybe I just don't have the TFFS package, since it
    appears as optional.
    On the other hand - I do have the sysTffs.c module - so I'm a bit
    confused.
    I understand from your answer that I just have to write (adjust) the
    MTD.
    Is that the case, or having sysTffs.c doesn't mean I have the package?


  4. Re: Problems using TFFS with Intel flash 28F640

    Hi:

    Check your setup.log in the tornado base directory and look for:
    15-Feb-06.12:44 100-25031-30 Tornado Full Simulator: Windows
    15-Feb-06.12:44 100-24992-30 Tornado Tools: Windows x ppc
    15-Feb-06.12:47 100-25092-30 TrueFFS Support Library: mpc85xx
    15-Feb-06.12:47 100-24993-30 TrueFFS Support Library: ppc40x
    15-Feb-06.12:47 100-24994-30 TrueFFS Support Library: ppc44x
    15-Feb-06.12:47 100-24998-30 TrueFFS Support Library: ppc6xx
    15-Feb-06.12:47 100-24995-30 TrueFFS Support Library: ppc74xx
    15-Feb-06.12:47 100-24999-30 TrueFFS Support Library: ppc7xx
    15-Feb-06.12:47 100-24996-30 TrueFFS Support Library: ppc82xx
    15-Feb-06.12:47 100-24997-30 TrueFFS Support Library: ppc8xx

    sysTffs.c is sort of the glue layer between the flash file system
    library and the flash memory interface. It's where you'd interface to
    your own MTD library or the one's provide by WRS or your BSP vendor.

    Getting the TFFS "license" will add the required library and .o to your
    Tornado tree. You still have to configure it into your kernel and
    bootrom.

    Good luck,
    lc

    mic_z wrote:
    > Thanks.
    > About that "WRS supplies the TFFS now, but ..." thing - I came into
    > conclusion that maybe I just don't have the TFFS package, since it
    > appears as optional.
    > On the other hand - I do have the sysTffs.c module - so I'm a bit
    > confused.
    > I understand from your answer that I just have to write (adjust) the
    > MTD.
    > Is that the case, or having sysTffs.c doesn't mean I have the package?



  5. Re: Problems using TFFS with Intel flash 28F640

    Thanks.
    LarryC wrote:
    > Hi:
    >
    > Check your setup.log in the tornado base directory and look for:
    > 15-Feb-06.12:44 100-25031-30 Tornado Full Simulator: Windows
    > 15-Feb-06.12:44 100-24992-30 Tornado Tools: Windows x ppc
    > 15-Feb-06.12:47 100-25092-30 TrueFFS Support Library: mpc85xx
    > 15-Feb-06.12:47 100-24993-30 TrueFFS Support Library: ppc40x
    > 15-Feb-06.12:47 100-24994-30 TrueFFS Support Library: ppc44x
    > 15-Feb-06.12:47 100-24998-30 TrueFFS Support Library: ppc6xx
    > 15-Feb-06.12:47 100-24995-30 TrueFFS Support Library: ppc74xx
    > 15-Feb-06.12:47 100-24999-30 TrueFFS Support Library: ppc7xx
    > 15-Feb-06.12:47 100-24996-30 TrueFFS Support Library: ppc82xx
    > 15-Feb-06.12:47 100-24997-30 TrueFFS Support Library: ppc8xx
    >
    > sysTffs.c is sort of the glue layer between the flash file system
    > library and the flash memory interface. It's where you'd interface to
    > your own MTD library or the one's provide by WRS or your BSP vendor.
    >
    > Getting the TFFS "license" will add the required library and .o to your
    > Tornado tree. You still have to configure it into your kernel and
    > bootrom.
    >
    > Good luck,
    > lc
    >
    > mic_z wrote:
    > > Thanks.
    > > About that "WRS supplies the TFFS now, but ..." thing - I came into
    > > conclusion that maybe I just don't have the TFFS package, since it
    > > appears as optional.
    > > On the other hand - I do have the sysTffs.c module - so I'm a bit
    > > confused.
    > > I understand from your answer that I just have to write (adjust) the
    > > MTD.
    > > Is that the case, or having sysTffs.c doesn't mean I have the package?



+ Reply to Thread