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.

u-boot board port

使用AM335x starter kit板子进行u-boot Board port实验,打开minicom,使用Xmodemn传输u-boot-spl.bin成功之后,传输u-boot.img失败了,

而且传输u-boot-spl.bin文件也是有时候能成功,大多时候也失败了。什么原因?

  • 我按照http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_UBoot_Board_Port给的步骤,有时候u-boot-spl.bin也传不了。

        

  • 使用Y modemn模式传之后,显示如下

    这个问题又该怎么解决呢?

  • 你在用XMODEM传送完u-boot-spl.bin文件后,应该会有log输出来啊,log出来后还会有C的输出,这时候再用Y MODEM去传u-boot.img。

    看你上面的截图,没有第一阶段SPL启动的启动信息,image有问题还是操作有问题?

  • 刚才做了一下,参考log如下:

    CCCC                      ->XMODEM传送了 u-boot-spl.bin,传送完成后有以下信息输出:
    U-Boot SPL 2013.01.01-g3abc5e0-dirty (Oct 17 2014 - 10:49:34)
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    CC                     ->YMODEM传送了 u-boot.img,传送完成后有以下信息输出:

    xyzModem - CRC mode, 0(SOH)/359(STX)/0(CAN) packets, 5 retries

    Loaded 364696 bytes


    U-Boot 2013.01.01-g3abc5e0-dirty (Oct 17 2014 - 10:49:34)

    I2C: ready
    DRAM: 256 MiB
    Steven: Caches Enabled Done!
    NAND: No NAND device found!!!
    0 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - readenv() failed, using default environment

    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    Net: <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot: 0
    U-Boot#

    如果你确认你用的image没问题、操作也没问题的话,建议你换一个串口工具试试看,我在WIN7下用TeraTerm操作是没问题的。

  • 您好!我按照以下步骤:

    具体的在:http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_UBoot_Board_Port中。u-boot.img一直传输失败

  • Teraterm是安装在Windows系统中吗?该如何使用?

  • 你传完u-boot-spl.bin了之后,有信息输出吗?第二阶段传送u-boot.img之前,你的SPL启动并且打第二阶段的CC了吗?

    TeraTerm网上搜一下,设置一个串口波特率就能用了。

  • 那你第一阶段的spl都没有起来,不能传u-boot.img是正常的。

    注意下,传第一阶段的spl时,一定要在板子打CCCC的期间内传送过去,大概2~3秒吧,否则,板子就跳过了UART启动,找寻下一个启动模式了,这也可能是失败的原因。另外,你一定要确保编出来的image是对的,不放心的话,把编出来的MLO放在SD卡里,看sd卡能否启动吧,这样能帮助你确定这一点。