Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    fastboot烧录env、uboot、system分区问题

    D1系列-RISC-V
    2
    4
    340
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yaoxiaoyao LV 5 last edited by

      1、用type-c线把开发板和电脑连接,上电进入uboot下,输入fastboot
      6fdc304c-53f8-461d-9d68-ef78a6ecba73-image.png
      2、到ubuntu下
      2a1419a5-d66b-4e00-9bc0-6751190c644b-image.png
      重新烧录env分区
      cbcbc429-d489-499c-abd2-d7b677957e12-image.png
      显示成功,但是uboot界面报错。
      32d3916c-8908-4565-808f-a47f4068a18e-image.png
      3、到uboot源码下搜索错误
      41cb795f-1461-4c9b-9538-8a5773ab8dd7-image.png
      3fca7a97-ca4f-4822-86ac-8eaf15dbab98-image.png
      发现这里直接报错 return了
      不知道为什么 ,求解

      C 1 Reply Last reply Reply Quote Share 0
      • C
        chenlinfei LV 5 @yaoxiaoyao last edited by

        @yaoxiaoyao
        1、这里返回错误应该还能继续执行下去。
        2、后面还有个错误,就是#define FASTBOOT_TRANSFER_BUFFER_SIZE (256 << 20)值是错误的。导致"drivers/sunxi_usb/usb_fastboot.c"的while (data_sectors >= nblock) {的代码没有执行到。
        3、改成#define FASTBOOT_TRANSFER_BUFFER_SIZE (256 << 1),while循环能执行进去。
        4、但是后面还是无法烧写进去

        Y 1 Reply Last reply Reply Quote Share 0
        • Y
          yaoxiaoyao LV 5 @chenlinfei last edited by

          @chenlinfei 我也不知道咋解决,希望官方人员解决一下

          C 1 Reply Last reply Reply Quote Share 0
          • C
            chenlinfei LV 5 @yaoxiaoyao last edited by

            @yaoxiaoyao 昨天搞到半夜,猜测可能是ubi相关的问题。今天再给他一早上的机会,再调试不出来就打算放弃了。

            1 Reply Last reply Reply Quote Share 0
            • 1 / 1
            • First post
              Last post

            Copyright © 2022 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

            行为准则 | 用户协议 | 隐私权政策