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.

使用 am335x-evm-sdk-src-02.00.01.07 的源码,UBOOT阶段使用LCD控制器后,内核启动串口控制台输出乱码。



这个问题之前也有人问过,链接如下:www.deyisupport.com/.../99099.aspx

帖子内的仁兄用了 在uboot下不使能AM335X lcd控制器的办法 规避了问题;但这样一来 uboot阶段就无法加入开机画面了;这严重影响用户体验。

想问下 ti 的 FAE 以及各位大侠,这个问题现在新版本的sdk搞定了吗? 或者再 am335x-evm-sdk-02.00.01.07 上有什么高招可以彻底解决改问题么?

  • 你好,我用这个版本的内核编译了就是引导不起来,uboot最后打印了starting kernel 之后就没了,是不是我的内核编译不对呀,应该如何编译的呀,能帮我解答下吗

  • 具体是这样的

    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- omap2plus_defconfig
    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage LOADADDR=0x80008000

    U-Boot SPL 2013.10 (Jul 07 2016 - 15:54:56)

    U-Boot 2013.10 (Jul 07 2016 - 15:54:56)

    I2C: ready
    DRAM: 256 MiB
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Error - No Valid Environment Area found
    *** Warning - bad CRC, using default environment

    Net: <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot: 0 
    U-Boot# 
    U-Boot# setenv ipaddr 201.123.116.138
    U-Boot# setenv serverip 201.123.116.13
    U-Boot# tftp $loadaddr uImage 
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 201.123.116.13; our IP address is 201.123.116.138
    Filename 'uImage'.
    Load address: 0x80200000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #########################
    292 KiB/s
    done
    Bytes transferred = 4117408 (3ed3a0 hex)
    U-Boot# bootm $loadaddr
    ## Booting kernel from Legacy Image at 80200000 ...
    Image Name: Linux-3.12.10-ti2013.12.01
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 4117344 Bytes = 3.9 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK

    Starting kernel ...

  • 3.12 的内核,应该使用设备树方式启动了。好好去看下这方面的知识吧。