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.

关于用uniflash烧写emmc的问题

Other Parts Discussed in Thread: UNIFLASH

各位大牛您们好:

         今天烧写emmc的时候遇到了问题,就是网卡会断掉,并且一直在27%停止,看之前也有人问过,可惜没有解决的方法,请大牛们帮帮忙了。

  • 是通过USB RNDIS烧写的?

  • 我之前测试的烧nand的时候有发现过类似的情况,你看下参考下面的方法能否解决你的问题。

    在这个帖子中第四点已经列出来了:

    http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/52381.aspx

    在u-boot-spl-restore.bin下载运行成功后,下载u-boot-restore.img时,网络一直在发IP请求,却没有得到回应,请参考以下解决方案:在操作过程中,插上USB时能在主机上找到USB RNDIS网络,默认时配置该网络IP为192.168.2.1。在烧写的不同阶段,部分主机会将该网络会识别成另外的USB RNDIS网络,因此,与之前的网络不同且没有IP配置,此时只需要再配置该网络的IP为192.168.2.1,即可正常使用(可能会弹出提示:该IP被未使用的网络占用,是否要清除未使用的网络?此时选择否)。

  • 是的,谢谢了

  • 您好,我看了这个帖子了,两次网卡ip也设置的一样的,还是解决不了。

  • 这点是照做了把:该IP被未使用的网络占用,是否要清除未使用的网络?此时选择

    另外,在烧写的过程中,板卡串口终端上面是会有信息输出的,你把串口输出的log信息发上来看一下。

  • 您好:那个照做了,就是一开始还是27%的后来又成0%了。
    usb_ether
    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
    MAC 78:a5:04:dd:29:1f
    HOST MAC de:ad:be:af:00:00
    RNDIS ready
    ERROR: The remote end did not respond in time.
    at ether.c:2397/usb_eth_init()
    Problem booting with BOOTP
    ### ERROR ### Please RESET the board ###

  • 您好,遇到这个问题一般怎么解决啊?

  • 从log上面看,你是不是没有装那个patch啊?

    还是那个帖子中的第三条:

    Uniflash进行u-boot-spl-restore.bin的下载时,如果出现usb网络反应超时,请确认是否已经安装我们的usb patch:0001-u-boot-Change-default-cdc_connect_timeout-to-15s.patch。另外,一定要确认网络防火墙和杀毒软件是否已经关闭。

  • 您好,我这个补丁看过了,确实打过了,是不是就是ether.c里出问题了啊?

  • 请问你是在我们的BB Black参考板子上测的,还是自己的板子上测的?会不会是硬件的问题

  • 您好,是你们的板子,而且板子版本也是支持的,按照步骤来的,会不会xp系统不好刷?

  • 你的是用XP呀,我的demo是在win7下做的,你看看能否找个win7的台式机试试。

    另外USB线不会有问题吧

  • 您好,看到您给的事例是在win7下,所以有点怀疑系统的问题,usb线是没有问题的,打印的信息显示已经准备好了。

  •  您好,现在我想用sd卡烧写emmc,可是我的/etc/init.d 下没有fetcher.sh 这个文件怎么回事。

  •  您好,请你指导下额 ,我还卡在那里,就是准备用sd卡烧写,可是我们用的sd卡文件系统里没有fether.sh这个文件,我把您给的文件系统里的文件copy过去,提示若干错误,请问这怎么解决呢?

  • 您好,我那个uniflash烧写有了进展上面貌似烧好了,可是进度条没有,请帮我看下下面log的是不是成功了.

    BOOTP broadcast 3

    Using usb_ether device

    TFTP from server 192.168.2.1; our IP address is 192.168.2.2

    Filename 'u-boot-restore.img'.

    Load address: 0x807fffc0

    Loading: *#########################

     667 KiB/s

    done

    Bytes transferred = 365104 (59230 hex)

     

     

    U-Boot 2013.01.01 (Dec 19 2014 - 14:57:53)

     

    I2C:   ready

    DRAM:  512 MiB

    WARNING: Caches not enabled

    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 

    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in

    MAC 78:a5:04:dd:29:1f

    HOST MAC de:ad:be:af:00:00

    RNDIS ready

    musb-hdrc: peripheral reset irq lost!

    high speed config #2: 2 mA, Ethernet Gadget, using RNDIS

    USB RNDIS network up!

    BOOTP broadcast 1

    BOOTP broadcast 2

    BOOTP broadcast 3

    DHCP client bound to address 192.168.2.2

    using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in

    MAC 78:a5:04:dd:29:1f

    HOST MAC de:ad:be:af:00:00

    RNDIS ready

    high speed config #2: 2 mA, Ethernet Gadget, using RNDIS

    USB RNDIS network up!

    Using usb_ether device

    TFTP from server 192.168.2.1; our IP address is 192.168.2.2

    Filename 'uImage'.

    Load address: 0x81000000

    Loading: *T #################################################################

     #################################################################

     #################################################################

     #################################################################

     #################################################################

     #################################################################

     #################################################################

     #################################################################

     #################################################################

     #################################################################

     #################################################################

     #################################################################

     #########################################################

     1.1 MiB/s

    done

    Bytes transferred = 12281160 (bb6548 hex)

    ## Booting kernel from Legacy Image at 81000000 ...

       Image Name:   Linux-3.2.0

       Image Type:   ARM Linux Kernel Image (uncompressed)

       Data Size:    12281096 Bytes = 11.7 MiB

       Load Address: 80008000

       Entry Point:  80008000

       Verifying Checksum ... OK

       Loading Kernel Image ... OK

    OK

     

    Starting kernel ...

     

    Uncompressing Linux... done, booting the kernel.

    [    0.000000] Linux version 3.2.0 (zhouqun@zhouqun-desktop) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #4 Sat Dec 20 12:19:05 CST 2014

    udhcpc (v1.20.2) started

    Sending discover...

     

    Sending discover...

     

    Sending discover...

     

    No lease, failing

    done.

     

    Mon Feb 17 19:03:00 UTC 2014

     

    Collected errors:

     * opkg_conf_load: Could not create lock file /var/lib/opkg/lock: No such fil

     

    INIT: 

    Entering runlevel: 5 

    Starting syslogd/klogd: done

     

    *********************************

    *******************

    *****************************

    ***********************

     

    Sitara Flash Fetcher Sc

    ript - 07/28/2014

     

     

    udhcpc (v1.20.2) started

    Sending discover...

     

    Sending discover...

     

    Sending discover...

    Sending select for 192.168.2.5...

    Lease of 192.168.2.5 obtained, lease time 600

     

    /etc/rc5.d/S99fetcher.sh: line 21: [: ==: unary operator expected

    Getting flasher script from server: 

    BusyBox v1.20.2 (2014-02-17 12:53:20 CST) multi-call binary.

     

    Usage: tftp [OPTIONS] HOST [PORT]

     

    Unable to fetch debrick script! Exiting...

    Stopping Bootlog daemon: bootlogd.

      _____                    _____           _         _   

    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 

    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|

    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  

                  |___|                    |___|  

              

     

    Arago Project http://arago-project.org am335x-evm ttyO0

     

    Arago 2013.05 am335x-evm ttyO0

     

     

    am335x-evm login: root

     

     

     

     

     

  • 请问是不是只能用win7呢?winxp就不行么?

    目前开发系统XP还是比较普及的。希望可以有XP版本。

  • 你好,请问你怎么解决掉这个问题的