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.

Starterware/AM5728: Boot logo display in U-boot

Part Number: AM5728
Other Parts Discussed in Thread: AM3359,

Tool/software: Starterware

Hi,

I want to display the boot logo on u-boot.

I tried the following...

But, I can not proceed because the error is constantly coming out.

#define CONFIG_VIDEO
#if 0
#define CONFIG_VIDEO
#define CONFIG_LCD
#endif
#ifdef CONFIG_VIDEO
#define CONFIG_VIDEO_LOGO
#define CONFIG_SPLASH_SCREEN
#define CONFIG_CMD_BMP
#define CONFIG_BMP_16BPP
#define CONFIG_VIDEO_BMP_RLE8
#define CONFIG_VIDEO_BMP_GZIP
#define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE (512 << 10)
#endif
#ifdef CONFIG_LCD
#define CONFIG_LCD_LOGO
#define CONFIG_SPLASH_SCREEN
#define CONFIG_BMP_16BPP
#endif

build error

/board-support/u-boot-2016.05/cmd/bmp.c:261: undefined reference to `video_display_bitmap'
common/built-in.o: In function `stdio_add_devices':
/board-support/u-boot-2016.05/common/stdio.c:301: undefined reference to `drv_video_init'
/opt/ti-processor-sdk-linux-rt-am57xx-evm-03.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils) 2.25.0 Linaro 2015_10 assertion fail /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/snapshots/binutils-gdb.git~linaro_binutils-2_25-branch/bfd/elf32-arm.c:7827
/opt/ti-processor-sdk-linux-rt-am57xx-evm-03.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils) 2.25.0 Linaro 2015_10 assertion fail /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/snapshots/binutils-gdb.git~linaro_binutils-2_25-branch/bfd/elf32-arm.c:7827
/opt/ti-processor-sdk-linux-rt-am57xx-evm-03.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ld.bfd: error: required section '.rel.plt' not found in the linker script
/opt/ti-processor-sdk-linux-rt-am57xx-evm-03.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ld.bfd: final link failed: Invalid operation

And I tried the following (AM3359).

but, But, I can not proceed because the error is constantly coming out.

Please tell us how to display the boot logo on u-boot of am5728.

Best Regards,

John Kim.

  • The software team have been notified. They will respond here.
  • Hi John,

    Do you successfully build the u-boot without splash screen (logo) configuration?

    BR
    Tsvetolin Shulev
  • Hi, Tsvetolin,

    Do you successfully build the u-boot without splash screen (logo) configuration?
    -> Yes, u-boot-2016.05 is working well now. and there is no problem build.

    Best Regards,
    John Kim
  • John,

    Could you post output of "git diff" command to see all your changes and their place?

    BR
    Tsvetolin Shulev
  • Hi,

    I removed ".git / .gitignore" files.

    My question is, how can u-boot display the boot logo?
    Why do you need change?

    In the default u-boot code, only the pin mux part and the flash update part have been modified.

    I tried the following...

    But, I can not proceed because the error is constantly coming out.

    #define CONFIG_VIDEO
    #if 0
    #define CONFIG_VIDEO
    #define CONFIG_LCD
    #endif
    #ifdef CONFIG_VIDEO
    #define CONFIG_VIDEO_LOGO
    #define CONFIG_SPLASH_SCREEN
    #define CONFIG_CMD_BMP
    #define CONFIG_BMP_16BPP
    #define CONFIG_VIDEO_BMP_RLE8
    #define CONFIG_VIDEO_BMP_GZIP
    #define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE (512 << 10)
    #endif
    #ifdef CONFIG_LCD
    #define CONFIG_LCD_LOGO
    #define CONFIG_SPLASH_SCREEN
    #define CONFIG_BMP_16BPP
    #endif



    Best Regards,
    John Kim

  • I asked you for changes "Boot logo" related changes which probably would help to investigate the error in compilation. But should be better to with clean steps to add Splash screen (Boot logo) as follow some tutorial. Check this for example:
    www.denx.de/.../UBootSplashScreen

    BR
    Tsvetolin Shulev
  • Hi,

    I added the following to display the Splash screen (Boot logo) :

    To use the splash screen, the following flags must be added.

    #define CONFIG_VIDEO
    #define CONFIG_VIDEO_LOGO

    #define CONFIG_SPLASH_SCREEN
    #define CONFIG_CMD_BMP
    #define CONFIG_BMP_16BPP
    #define CONFIG_VIDEO_BMP_RLE8
    #define CONFIG_VIDEO_BMP_GZIP
    #define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE (512 << 10)


    However, the following error has occurred:
    /board-support/u-boot-2016.05/cmd/bmp.c:261: undefined reference to `video_display_bitmap'
    common/built-in.o: In function `stdio_add_devices':
    /board-support/u-boot-2016.05/common/stdio.c:301: undefined reference to `drv_video_init'
    /opt/ti-processor-sdk-linux-rt-am57xx-evm-03.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils) 2.25.0 Linaro 2015_10 assertion fail /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/snapshots/binutils-gdb.git~linaro_binutils-2_25-branch/bfd/elf32-arm.c:7827
    /opt/ti-processor-sdk-linux-rt-am57xx-evm-03.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils) 2.25.0 Linaro 2015_10 assertion fail /home/tcwg-buildslave/workspace/tcwg-make-release/label/tcwg-x86_64-ex40/target/arm-linux-gnueabihf/snapshots/binutils-gdb.git~linaro_binutils-2_25-branch/bfd/elf32-arm.c:7827
    /opt/ti-processor-sdk-linux-rt-am57xx-evm-03.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ld.bfd: error: required section '.rel.plt' not found in the linker script
    /opt/ti-processor-sdk-linux-rt-am57xx-evm-03.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ld.bfd: final link failed: Invalid operation

    and, "Undefined reference to` video_display_bitmap '"We've added the following to catch the error:

    #define CONFIG_CFB_CONSOLE

    However, the following error has occurred:

    drivers/video/cfb_console.c: In function 'drv_video_init':
    drivers/video/cfb_console.c:2220:19: error: 'VIDEO_KBD_INIT_FCT' undeclared (first use in this function)
    keyboard_ok = !(VIDEO_KBD_INIT_FCT == -1);
    ^
    drivers/video/cfb_console.c:2220:19: note: each undeclared identifier is reported only once for each function it appears in
    drivers/video/cfb_console.c:2235:22: error: 'VIDEO_TSTC_FCT' undeclared (first use in this function)
    console_dev.tstc = VIDEO_TSTC_FCT; /* 'tstc' function */
    ^
    drivers/video/cfb_console.c:2236:22: error: 'VIDEO_GETC_FCT' undeclared (first use in this function)
    console_dev.getc = VIDEO_GETC_FCT; /* 'getc' function */



    Best Regards,
    John Kim

  • Hi,

    I am waiting for an answer.


    Best Regards,
    John Kim