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:U-boot 中显示引导徽标

Guru**** 2551200 points
Other Parts Discussed in Thread: AM3359, AM5728

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/620141/starterware-am5728-boot-logo-display-in-u-boot

器件型号:AM5728
主题中讨论的其他器件:AM3359

工具/软件:Starterware

您好!

我想在 u-boot 上显示引导标识。

我尝试了以下操作...

但是 、我无法继续、因为错误不断出现。

#define CONFIG_VIDEO
#if 0
#define CONFIG_VIDEO
#define CONFIG_LCD
#endif
#ifdef CONFIG_VIDEO
#define CONFIG_VIDEO_LOGO
#define CONFIG_SPLIT_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_SPLIT_SCREEN
#define CONFIG_BMP_16bpp
#endif

生成错误

/board-support/u-boot-2016.05/cmd/bmp.c:261:未`对 video_display_bitmap'的引用
common/built-in.o:在函数`stdio_add_devices'中:
/board-support/u-boot-2016.05/common/stdio.c:301:未`d对 RV_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断言失败/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断言失败/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:错误:所需的部分'.rel.plt'在链接器脚本中找不到
/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:最终链接失败:操作无效

我尝试了以下操作(AM3359)。

但是  、我无法继续、因为错误不断出现。

请告诉我们如何在 am5728的 u-boot 上显示引导标识。

此致、

John Kim。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    软件团队已收到通知。 他们将在这里作出回应。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    尊敬的 John:

    您是否成功构建了不带闪屏(徽标)配置的 u-boot?

    BR
    Tsvetolin Shulev
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    大家好、Tsvetolin、

    您是否成功构建了不带闪屏(徽标)配置的 u-boot?
    ->是的、u-boot-2016.05现在运行良好。 构建没有问题。

    此致、
    John Kim
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    John、

    您能否发布"git diff "命令的输出以查看您的所有更改及其位置?

    BR
    Tsvetolin Shulev
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    我删除了".git /.gignore"文件。

    我的问题是、u-boot 如何显示引导标识?
    您为什么需要更改?

    在默认 u-boot 代码中、仅修改了引脚多路复用器部件和闪存更新部件。

    我尝试了以下操作...

    但是 、我无法继续、因为错误不断出现。

    #define CONFIG_VIDEO
    #if 0
    #define CONFIG_VIDEO
    #define CONFIG_LCD
    #endif
    #ifdef CONFIG_VIDEO
    #define CONFIG_VIDEO_LOGO
    #define CONFIG_SPLIT_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_SPLIT_SCREEN
    #define CONFIG_BMP_16bpp
    #endif



    此致、
    John Kim

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我要求您进行与"Boot logo"相关的更改、这可能有助于调查编译中的错误。 但是、最好按照一些教程的说明、通过简洁的步骤添加启动界面(引导徽标)。 例如、请检查此项:
    www.denx.de/.../UBootSplashScreen

    BR
    Tsvetolin Shulev
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    我添加了以下内容以显示启动界面(启动徽标):

    要使用闪屏、必须添加以下标志。

    #define CONFIG_VIDEO
    #define CONFIG_VIDEO_LOGO

    #define CONFIG_SPLIT_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)


    但是、发生了以下错误:
    /board-support/u-boot-2016.05/cmd/bmp.c:261:未`对 video_display_bitmap'的引用
    common/built-in.o:在函数`stdio_add_devices'中:
    /board-support/u-boot-2016.05/common/stdio.c:301:未`d对 RV_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断言失败/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断言失败/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:错误:所需的部分'.rel.plt'在链接器脚本中找不到
    /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:最终链接失败:操作无效

    此外、 "未定义对` VIDUO_DISPLAY_BITMAP 的引用"我们添加了以下内容来捕获错误:

    #define CONFIG_CFB_console

    但是、发生了以下错误:

    drivers/video/CFB_console.c:在函数'DRV_video_init'中:
    drivers/video/CFB_console.c:2220:19:错误:未声明'video_KBD_init_FCT'(在该函数中首次使用)
    keyboard_ok =!(video_KBD_init_FCT =-1);
    ^μ A
    drivers/video/CFB_console.c:2220:19:注意:每个未声明的标识符只报告一次、用于显示的每个函数
    drivers/video/CFB_console.c:2235:22:错误:未声明'video_TSTC_FCT'(此函数中首次使用)
    console_dev.tstc = video_TSTC_FCT;/*'tstc'函数*/
    ^μ A
    drivers/video/CFB_console.c:2236:22:错误:未声明'video_GETC_FCT'(此函数中首次使用)
    console_dev.getc = video_GETC_FCT;/*'getc'函数*/



    此致、
    John Kim

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    我正在等待回答。


    此致、
    John Kim