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.

AM3358: u-boot Splash Bitmap

Part Number: AM3358

Hi,

I am trying to customize u-boot for show splash screen in my bbb (imgPinout):

CPU  : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black

I followed this guide (downloaded Processor Linux SDK 03.02.00.05 and use u-boot version inside) and compile successfully but splashscreen not work despite there aren't any errors.

There are many steps that isn't clear, I hope someone can help me to fix the problem.

1)  am335x-fb use hdmi port for output data?

2)  I have edited:

#define GPIO_BACKLIGHT_EN       GPIO_TO_PIN(3, 17)

     with:

#define GPIO_BACKLIGHT_EN       GPIO_TO_PIN(2, 25)

     according with pinout (see imgPinout above) for enable backlight. It is correct?

3)  It seems like everything works but the display is off. Maybe Backlight is problem?

Post a little bit log when start:

U-Boot 2016.05-00305-g6b0168e2f8-dirty (Aug 13 2019 - 16:01:34 +0200)

CPU  : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
       Watchdog enabled
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

reading splash.bmp.gz
<ethaddr> not set. Validating first E-fuse MAC
Net:   eth0: ethernet@4a100000

Thank you in advance

  • Hello Litterio,

    Please, edit the lcdbacklight function to fix this issue.

    void lcdbacklight(int on)
    {
            gpio_request(GPIO_BACKLIGHT_EN, "backlight_en");
            if (on)
                    gpio_direction_output(GPIO_BACKLIGHT_EN, 0);
            else
                    gpio_direction_output(GPIO_BACKLIGHT_EN, 1);
    }
    

    to

    void lcdbacklight(int on)
    {
            gpio_request(GPIO_BACKLIGHT_EN, "backlight_en");
            if (on)
                    gpio_direction_output(GPIO_BACKLIGHT_EN, 1);
            else
                    gpio_direction_output(GPIO_BACKLIGHT_EN, 0);
    }
    


    Best regards,
    Kemal

  • Hello Kemal,

    thank you for fast reply.

    I have editing but without success. The problem is same.

    I tried also with enter inside u-boot console and force bmp display with:

    => fatload mmc 0:1 0x82000000 splash.bmp.gz
    reading splash.bmp.gz
    8572 bytes read in 7 ms (1.2 MiB/s)
    => bmp display 0x82000000 0 0
    

    but my monitor is powered off.

    If normal booting, my monitor powered on when kernel load drm as:

    [    4.339091] tda998x 0-0070: found TDA19988
    [    4.522330] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops [tda998x])
    [    4.529926] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    4.536945] [drm] No driver support for vblank timestamp query.
    [    4.697271] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
    [    4.866744] Console: switching to colour frame buffer device 160x64
    [    4.943041] tilcdc 4830e000.lcdc: fb0: tilcdcdrmfb frame buffer device
    [    5.308428] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    Tue Aug 13 16:18:04 UTC 2019
    

    Thank you in advance

  • According with schematics I think that the problem is TDA19988 that convert signal RGB in HDMI.

    I'll trying to include this driver for test.

  • Yes, try to include this driver from the kernel and also see this thread.