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.

335x uboot-2018 logo

大佬好:

我目前在使用335x的2018版本的uboot,SDK版本是ti-processor-sdk-linux-am335x-evm-05.03.00.07。目前这个版本的logo显示遇到点问题,想求助下:

帖子里看到了很多关于335x的uboot显示logo,不知道我使用的这个版本里是否已经做了logo处理?我尝试移植帖子上的

https://e2echina.ti.com/question_answer/dsp_arm/sitara_arm/f/25/t/122028?pi58417=4&keyMatch=335x%20uboot%20logo&tisearch=Search-CN-Everything

过程,处理完语法上的问题之后,启动Uboot并未能成功加载出Logo,显示的是乱码,我在想会不会是uboot版本的不同导致的呢?

回归到最初的问题,uboot-2018版本是否已经加入了logo显示,如果加入了,那如何使用?如果没加入,是否有驱动包可以移植呢?

  • 参考上边的文档移植,弄了一下午还没弄好额。。。系统启动的时候卡在:

    U-Boot SPL 2018.01-00571-gdeced8b229-dirty (Aug 19 2019 - 17:34:00)
    Trying to boot from MMC1
    *** Warning - bad CRC, using default environment



    U-Boot 2018.01-00571-gdeced8b229-dirty (Aug 19 2019 - 17:34:00 +0800)

    CPU : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM: 256 MiB
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0
    *** Warning - bad CRC, using default environment

    [LCD] Initializing LCD frambuffer at 8ffb0000

    最后一行打印是我加的,代码位置在common/lcd.c文件中的
    static int lcd_init(void *lcdbase)
    {
    printf("[LCD] Initializing LCD frambuffer at %p\n", lcdbase);
    lcd_ctrl_init(lcdbase);

    /*
    * lcd_ctrl_init() of some drivers (i.e. bcm2835 on rpi) ignores
    * the 'lcdbase' argument and uses custom lcd base address
    * by setting up gd->fb_base. Check for this condition and fixup
    * 'lcd_base' address.
    */
    if (map_to_sysmem(lcdbase) != gd->fb_base)
    lcd_base = map_sysmem(gd->fb_base, 0);

    debug("[LCD] Using LCD frambuffer at %p\n", lcd_base);

    lcd_get_size(&lcd_line_length);
    lcd_is_enabled = 1;
    lcd_clear();
    lcd_enable();

    /* Initialize the console */
    lcd_set_col(0);
    #ifdef CONFIG_LCD_INFO_BELOW_LOGO
    lcd_set_row(7 + BMP_LOGO_HEIGHT / VIDEO_FONT_HEIGHT);
    #else
    lcd_set_row(1); /* leave 1 blank line below logo */
    #endif

    return 0;
    }

    理了理,感觉嵌套越来越深了。。。。还没解决。。。
  • 你有编译成功并成功运行的uboot的经历吗
  • 嗯,有啊,05版本的还有06版本的SDK都可以编译成功的。03也试过,也可以的。

  • 看了一下如果按照上面的改有点多,你最好一步步加了再编译将去试试,一次加全了不好定位错误
  • 我还是用之前论坛公布的老的uboot移植logo那块弄好了,新版本的不知道啥情况额。。。。没具体查

  • 也是一个信息点,感谢分享
  • 你也在做335x的开发吗?能否留个联系方式方便探讨问题呢?QQ:541237941
  • 有问题直接在论坛发帖交流,这也方便以后遇到类似的问题的人