none
Address map RRS feed

  • Question

  • Dear all,

     

    There is any way to map diagnostic Frame buffer address in wince?

    Means wince should point to the same Frame buffer address which is used in diagnostic code.

    Because I want to display the image which is stored in the frame buffer.When wince is loading from nand.

    With Thanks

    nadini

     

     

    Monday, November 15, 2010 1:31 PM

Answers

  • I have worked on iMX31 and I think that IPU driver is the same...

    I have shown a splashscreen in bootloader at startup and the same splashscreen from the frame buffer when windows ce starts. I have made it in the following way :

    • modified config.bib to define e predefined FRAMEBUFFER area;
    • modified OALDisplaySplashScreen() in PLATFORM\<myPlt>\SRC\OAL\OALLIB\display.c to alloc frame buffer with pfb = (BYTE *)OALPAtoUA(IMAGE_BOOT_DISPLAY_RAM_START);
    • modified SetupVideoMemory() in PLATFORM\<myPlt>\SRC\DRIVERS\IPU\DISPLAY\COMMON\ddipu.cpp in the same way :

    PHYSICAL_ADDRESS phyAddr;
    phyAddr.QuadPart = IMAGE_WINCE_IPU_RAM_START;
    m_nVideoMemorySize = (ULONG) IMAGE_WINCE_IPU_RAM_SIZE;

    ...

    m_pVideoMemory = MmMapIoSpace(phyAddr, m_nVideoMemorySize, FALSE);

    Paolo.

    • Marked as answer by nadini Friday, January 21, 2011 12:42 PM
    Tuesday, November 16, 2010 7:59 AM

All replies

  • Yes you can do so.

     

    You can write a function which shall initialize the display sub system and assign the physical address of the diagnostic frame buffer.

     

    When winCe is loading from flash you need to call this function to display the image.

     

    Which processor are you using ?

     

    Thanks

    Misbah

    Monday, November 15, 2010 3:33 PM
  • Dear sir,

     

    Thanks for your quick responce.

     

    I will try the same and update you.

    I am using Imx51 processor.

    What I am trying is.In D:\WINCE600\PLATFORM\COMMON\SRC\SOC\COMMON_FSL_V2_PDK1_7\IPUV3\BASE\PDK in this path we are having one file which will contain the frame buffer address for wince write?

    So in image_cfg.h file I am getting ipuv3 buffer address,there I am placing my diagnostic frame buffer address.

    Is I am in write path to trace the issue?

     

    With Thanks

    nadini

     

     

     

     

     

     

    With Thanks

    nadini

     

    Tuesday, November 16, 2010 7:41 AM
  • I have worked on iMX31 and I think that IPU driver is the same...

    I have shown a splashscreen in bootloader at startup and the same splashscreen from the frame buffer when windows ce starts. I have made it in the following way :

    • modified config.bib to define e predefined FRAMEBUFFER area;
    • modified OALDisplaySplashScreen() in PLATFORM\<myPlt>\SRC\OAL\OALLIB\display.c to alloc frame buffer with pfb = (BYTE *)OALPAtoUA(IMAGE_BOOT_DISPLAY_RAM_START);
    • modified SetupVideoMemory() in PLATFORM\<myPlt>\SRC\DRIVERS\IPU\DISPLAY\COMMON\ddipu.cpp in the same way :

    PHYSICAL_ADDRESS phyAddr;
    phyAddr.QuadPart = IMAGE_WINCE_IPU_RAM_START;
    m_nVideoMemorySize = (ULONG) IMAGE_WINCE_IPU_RAM_SIZE;

    ...

    m_pVideoMemory = MmMapIoSpace(phyAddr, m_nVideoMemorySize, FALSE);

    Paolo.

    • Marked as answer by nadini Friday, January 21, 2011 12:42 PM
    Tuesday, November 16, 2010 7:59 AM