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.

求一个说明文档:如何修改 BB-Black eMMC下的Uniflash烧写脚本 debrick.sh

如题,谢谢!

  • 暂时还没看到有。如果有时间的话,我会在十一的时候写一个。

  • 如下链接中的意思就是 eMMC 烧写还在开发,还不完善?什么时候可以提供啊?烧写这块堵着,比较急啊~

    These instructions are a work in progress. The overall process has been validated, but the details are still being added to this document.

  • 不是这个意思,这个工具目前已经投入使用了,只是没有中文汇总,英文的引导guide可以参考:http://processors.wiki.ti.com/index.php/Sitara_Linux_AM335x_Flash_Programming_Linux_Development#eMMC_Programming_Process

  • Steven Liu 你好,如你所述 BB-Black的 eMMC烧写已经验证ok,还请将该方式下的 debrick.sh脚本 提供给我们一下

    谢谢!

  • Hi Steven Liu:

    eMMc 方式的debrick.sh脚本 还请发给我们一份,期待你的回复

    谢谢~

  • 请查看附件中的文档。

  • 不好意思,上面贴的是uboot下给nand的,请参考附件中的sh脚本,格式化emmc等是在linux中运行的,所以是sh的。

  • 你好!为什么我把相应的debrick.sh放在images文件夹下,启动的时候还是没有格式化呢?好像这个文件根本就没有起作用啊

  • 哦,我从网上下了他给的代码,放进去后可以进一步运行了,不过有在最后start kernel的时候卡住了,不知道是为什么?

    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 1c:ba:8c:90:71:7f
    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 T #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ##########################################################
    674.8 KiB/s
    done
    Bytes transferred = 8477360 (815ab0 hex)
    ## Booting kernel from Legacy Image at 81000000 ...
    Image Name: Linux-3.12.10-ti2013.12.01
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 8477296 Bytes = 8.1 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    不知道是不是因为uImage的问题,如果有的话麻烦也共享一个来做下测试,多谢了

    因为用了5.0版本的emmc,所以现在要改的东西还是太多了

  • 针对V5.0 eMMC要做的改动,我那个文档里面也写了

  • Filename 'uImage'.
    Load address: 0x81000000
    Loading: *T #################################################################
    #################################################################
    #################################################################
    #################################################################
    ################################
    676.8 KiB/s
    done
    Bytes transferred = 4283056 (415ab0 hex)
    ## Booting kernel from Legacy Image at 81000000 ...
    Image Name: linux-3.14.26
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 4282992 Bytes = 4.1 MiB
    Load Address: 30008000
    Entry Point: 30008000
    Verifying Checksum ... OK
    Loading Kernel Image ...

    也被卡在这儿了,啥原因,是uImage的原因吗?共享个uImage吧

  • Yaoming Qin 你好:


    我用的是BBB板,用你们提供的烧写USB方式已经成功擦鞋eMMC。我现在想用网口烧写eMMC(硬件原因),同样,修改编译选项,然后编译u-boot,再编译出debrick.scr,也成功将MLO,u-boot写进去了,但是好像没有像USB烧写eMMC一样格式化eMMC,然后分区,下载内核和文件系统。我现在到u-boot这一步了,是要在u-boot下写脚本在烧写内核和文件系统吗?不会操作u-boot,下一步该怎么做?是否该写一个类似linux下的脚本文件debrick.sh?能否提供一下


    到这一步了,下面不知道怎么做?

    TFTP from server 192.168.100.1; our IP address is 192.168.100.2
    Filename 'debrick.scr'.
    Load address: 0x80000000
    Loading: #
    94.7 KiB/s
    done
    Bytes transferred = 389 (185 hex)
    ## Executing script at 80000000

    no devices available
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.100.1; our IP address is 192.168.100.2
    Filename 'MLO'.
    Load address: 0x81000000
    Loading: ######
    864.3 KiB/s
    done
    Bytes transferred = 77060 (12d04 hex)
    link up on port 0, speed 100, full duplex
    Using cpsw device
    TFTP from server 192.168.100.1; ou 192.168.100.2
    Filename 'u-boot.img'.
    Load address: 0x81080000
    Loading: ###############################
    888.7 KiB/s
    done
    Bytes transferred = 446336 (6cf80 hex)

    no devices available
    U-Boot#