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.

关于ti-processor-sdk-linux-am335x-evm-03.03.00.04编译后u-boot(SPL)无法启动的问题



大家好,我最近刚着手使用AM3358开发自己的设备(整体设计参考的是Beaglebone black),下载的SDK包版本为ti-processor-sdk-linux-am335x-evm-03.03.00.04,我想把u-boot编译完成后生成的spl/u-boot-spl.bin和u-boot.img通过串口下载到板子中。板子上电后发现就打印了几个CCCC字符,然后通过xmodem下载u-boot-spl.bin,但是下载完就卡出不动了! 通过SD卡方式,完全没有任何反应。 通过示波器,下载完u-boot-spl.bin RTC的时钟晶振起来了。

我使用了下面编译方式:

在u-boot目录执行:

1)make O=am335x CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm am335x_evm_defconfig

2)make O=am335x CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm

卡着不动了:

CCCCCCCCCCCCCCCCCCCCCCCCCCCC
Starting xmodem transfer.  Press Ctrl+C to cancel.
Transferring u-boot-spl.bin...
  100%      72 KB       6 KB/sec    00:00:11       0 Errors  

网上说可能是EEPROM的问题,我参考了:www.deyisupport.com/.../128026.aspx

请求技术支持。

  • 是自己的板子么?有没有修改DDR3的配置?

  • 先通过CCS+JTAG测试一下硬件是否稳定

  • 是自己的板子,是EEPROM里面有个板子的型号选错了,现在SPL可以跑起来了,但是启动u-boot的时候报错了。

    U-Boot SPL 2016.05-00319-gcf14e63-dirty (Jul 14 2017 - 10:43:22)
    Timed out in wait_for_event: status=0000
    Check if pads/pull-ups of bus are properly configured
    Trying to boot from UART
    CCCCC
    Starting ymodem transfer.  Press Ctrl+C to cancel.
    Transferring u-boot.img...
      100%     625 KB       5 KB/sec    00:02:01       1 Errors  

    Loaded 640932 bytes


    U-Boot 2016.05-00319-gcf14e63-dirty (Jul 14 2017 - 10:43:22 +0800)

    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
    MMC: no card present
    ** Bad device mmc 0 **
    Using default environment

    <ethaddr> not set. Validating first E-fuse MAC
    Net:   eth0: ethernet@4a100000
    Warning: usb_ether MAC addresses don't match:
    Address in SROM is         de:ad:be:ef:00:01
    Address in environment is  a8:1b:6a:c9:f7:44
    , eth1: usb_ether
    Press SPACE to abort autoboot in 2 seconds
    MMC: no card present
    MMC: no card present
    MMC: no card present
    MMC: no card present
    MMC: no card present
    ** First descriptor is NOT a primary desc on 1:1 **
    switch to partitions #0, OK
    mmc1(part 0) is current device
    ** No partition table - mmc 1 **
    ** First descriptor is NOT a primary desc on 1:1 **
    switch to partitions #0, OK
    mmc1(part 0) is current device
    ** First descriptor is NOT a primary desc on 1:1 **
    SD/MMC found on device 1
    ** No partition table - mmc 1 **
    ## Error: "bootcmd_nand0" not defined
    starting USB...
    USB0:   Port not available.
    ethernet@4a100000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    BOOTP broadcast 5
    BOOTP broadcast 6
    BOOTP broadcast 7
    BOOTP broadcast 8
    BOOTP broadcast 9
    BOOTP broadcast 10
    BOOTP broadcast 11
    BOOTP broadcast 12
    BOOTP broadcast 13
    BOOTP broadcast 14
    BOOTP broadcast 15
    BOOTP broadcast 16
    BOOTP broadcast 17

  • 问题解决了。这个是正常的,按下空格就可以进入到uboot模式了。

  • 请问你的uboot日志中显示 mmc1 无法识别 这个问题如何解决的?