This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Display Splash Screen at bootup with OMAP3530/BSP6.15.00

Hi All,

I have a custom OMAP3530-based board.  I am unsuccessfuly trying to have an 8-bit bitmap file displayed as the splash screen instead of the default 4-color bars (Red, Green, Blue, Yellow) at boot-up.  I have done the follows:

1. Change ShowLogo() in bsp_logo.c to read just the size of the bitmap data instead of 921600 (3 * 640 * 480) by default
2. Change configure_dss() in bsp_logo.c to set DISPC_GFX_ATTRIBUTES to BITMAP8 instead of RGB24
3. Build XLDR
4. Concatenate the bitmap file with size of about 300K bytes to TIEVM3530-nand.raw
5. Erase the first 8 blocks of NAND (4 for XLDR, 2 for EBOOT, and 2 for Bitmap)
6. Flash NAND with the combo file

With some debug printf, I can see that after bootup the XLDR runs normally; the EBOOT code successfully calls ShowLogo() to read bitmap data and transfer it to video memory  However, I have a black screen until WinCE shell is displayed.

I appreciate any help that you can give me.

Thanks,

Luan

 

  • Luan,

    A couple of comments:

    1. The splash image is displayed in Eboot. If you changed ShowLogo(), Eboot needs to be rebuilt too.

    2. step 4 is not very clear to me. However if you include logo.bmp in "FILES", TIEVM3530-nand-log.raw file is crated with logo file built in.

    3. Not sure how big is your bitmap file(300K?) .  2 blocks is about 256KBytes.

    Thanks,

    Tao


  • Hi Tao,

    To respond to your comments above,

    (1) I did rebuild  the Eboot.  I actually put some debug prints in bsp_logo.c to verify that the bitmap data was getting read.

    (2) I did not know the about putting logo.bmp in FILES directory so that it gets concatenated to TIEVM3530-nand.raw automatically to get TIEVM3530-nand-logo.raw so I did the concatenation manually.  The results are the same for both methods.

    (3) My bitmap file is about 300K, so I erased the first 9 blocks (4 for XLDR, 2 for EBBOT, and 3 for Bitmap) and flashed them with TIEVM3530-nand-logo.raw.

    As I said in the previous post, I got a black screen whether I set  DISPC_GFX_ATTRIBUTES to BITMAP8 or RGB24.  I do not know what else I need to do to display the bitmap file correctly.

    I appreciate your advice.

    Luan

     

      

  • Luan,

    I tried to use 8bit bitmap file for splash screen  and I did not see the black screen.

    Could you please try the following, to see if we are on the same page?

    1. In bsp_logo.c change BYTES_PER_PIXEL to 1 for 8bit bitmap.

        set  DISPC_GFX_ATTRIBUTES to BITMAP8 as you already did.

    2. rename your bitmap file to logo.bmp ( I attache the file I used for your reference). Compile EBOOT and XLDR which generates tievm3530-nand-logo.raw

    3. Flash the raw file and reboot the board.

    Let me know your results.

    thanks,

    tao

     

    5123.Logo_bit8.zip

  • Hi Tao,

    I did what you advised and still got a black screen.  I undid the changes in bsp_logo.c (BYTES_PER_PIXEL  = 3, DISPC_GFX_ATTRIBUTES  = RGB24) and used the original TI bitmap file (the one with a cell phone).  I still got a black screen.

    I tested both cases on the EVM.  The RGB24 case has a correct display but the BITMAP8 case looks like the screen is up-side down and the color is wrong.

    I do not understand why my custom board does not  display the bitmap file while the Explorer shell and my application GUI are displayed correctly.  Also, I did not change the memory mapping of the bootloader.

    Do you have any other ideas for me?  By the way, does logo_bit8.bmp display correctly on your unit?

    Thanks,

    Luan

  • Luan,

    1. Regarding the tests you did on EVM,

    If you used the BITMAP8 file I created, and it looks upside down that is because the image itself is different from the original TI bitmap delivered in 6.15. I attached the BITMAP8 version of the original TI bitmap for your reference.

    I also saw the color is not displayed properly. This is due to BITMAP8 needs CLUT (Color Look up table). If you have the table, you can configure DISPC_GFX_TABLE_BA to point to your CLUT table address. Please note the address passed should be physical address.

        OUTREG32( &pDisplayRegs->DISPC_GFX_TABLE_BA, OALVAtoPA(clut_bitmap8));

        CLRREG32( &pDisplayRegs->DISPC_CONFIG, DISPC_CONFIG_PALETTEGAMMATABLE );

        /* Load CLUT table */
        SETREG32( &pDisplayRegs->DISPC_CONFIG, DISPC_CONFIG_LOADMODE(1) );

    2. Regarding the black screen problem on your customized board

    If Eboot can not find logo file(not flashed in NAND), the default display will be 4 rectangles with color red, green, blue and yellow. Do you see this screen?

    If this is not showing , there maybe some configurations missing in your EBoot, such as back light, power, clock...


    Thanks,

    Tao

    0005.Logo.zip


  • Hi Tao,

    Because my customized board does display the original TI bitmap properly, I do not need to work on the BITMAP8 version at this time.  I now use the original TI bitmap for testing.

    If I flash NAND on my board with MyBoard-nand.raw, it displays the 4 rectangles with color red, green, blue and yellow properly.  However, if I flash NAND on my board with MyBoard-nand-logo.raw,  I got a black screen.

    I verify the video data by adding code at the end of ShowLogo() but before a call to lcd_config(framebuffer) to compute a checksum of the data in framebuffer with size of 921,600 bytes (3 * 640 * 480).  The checksum from my board is the same as that from the EVM.

    I also had an external voltage source for my back light so backlight can't not be a problem.

    Please let me know if you have any other suggestions for me.

    Thanks,

    Luan

  • Hi Tao,

    My first sentence in the previous post should be "Because my customized board does NOT display the original TI bitmap properly, I do not need to work on the BITMAP8 version at this time." 

    BR,

    Luan