Navigation

    全志在线开发者论坛

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

    F133 启动

    D1系列-RISC-V
    4
    9
    206
    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.
    • Z
      ZM12138 LV 4 last edited by whycan

      F133启动失败,改过uboot底下的sdmmc.c里面sunxi_sprite_mmc_probe,

      #ifndef CONFIG_MACH_SUN50IW11
      	return sdmmc_init_for_sprite(0, 2);
      #else
      

      无法启动进入内核

      Platform Name          : T-HEAD Xuantie Platform
      Platform HART Features : RV64ACDFIMSUVX
      Platform Max HARTs     : 1
      Current Hart           : 0
      Firmware Base          : 0x41fc0400
      Firmware Size          : 75 KB
      Runtime SBI Version    : 0.2
      
      MIDELEG : 0x0000000000000222
      MEDELEG : 0x000000000000b1ff
      PMP0    : 0x0000000041fc0000-0_H2018.05 (Jan 28 2023 - 13:59:06 +0800) Allwinner Technology
      
      [00.289]DRAM:  64 MiB
      [00.291]Relocation Offset is: 01f1b000
      [00.295]secure enable bit: 0
      [00.298]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
      [00.304]sunxi flash type@1 not support fast burn key
      [00.308]flash init start
      [00.311]workmode = 17,storage type = 1
      try card 0
      set card number 0
      get card number 0
      [00.318][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [00.324][mmc]: get sdc_type fail and use default host:tm1.
      FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL
      [00.336][mmc]: get card0 default pin fail
      [00.340][mmc]: can't find node "mmc0",will add new node
      [00.345][mmc]: fdt err returned <no error>
      [00.349][mmc]: Using default timing para
      [00.352][mmc]: sunxi mmc pin set failed!
      [00.356]error card no error
      [00.358][mmc]: MMC Device -1 not found
      fail to find one useful mmc card2
      try emmc fail
      [00.369]unrecognized JEDEC id bytes: ff, ff, ff
      try spinor fail
      initcall sequence 0000000043fa2de0 failed at call 000000004200ca86 (err=-1)
      ### ERROR ### Please RESET the board ###
      

      如何才能排除错误

      W mangogeek 2 Replies Last reply Reply Quote Share 0
      • W
        whycan晕哥 LV 9 @ZM12138 last edited by

        @zm12138
        ① 为什么要改
        ② 改之前正常吗?

        Z 1 Reply Last reply Reply Quote Share 0
        • Z
          ZM12138 LV 4 @whycan last edited by

          @whycan 改之前是从#ifndef CONFIG_MACH_SUN50IW11
          return sdmmc_init_for_sprite(0, 2);,报错,显示没有找到CARD2,我用的是mq芒果派,SD卡是CARD0
          #else
          改之后是#ifndef CONFIG_MACH_SUN50IW11
          return sdmmc_init_for_sprite(0, 0);,报错好像是DTS的错误,但是不知道改哪里

          W 1 Reply Last reply Reply Quote Share 0
          • W
            whycan晕哥 LV 9 @ZM12138 last edited by

            @zm12138
            ① 为什么要改呢?

            Z 1 Reply Last reply Reply Quote Share 0
            • mangogeek
              mangogeek LV 8 @ZM12138 last edited by

              @zm12138 刷卡别选量产卡

              Z 2 Replies Last reply Reply Quote Share 0
              • Z
                ZM12138 LV 4 @mangogeek last edited by

                @mangogeek
                好的,学习了

                1 Reply Last reply Reply Quote Share 0
                • Z
                  ZM12138 LV 4 @whycan last edited by

                  @whycan 大概是刷卡的原因

                  1 Reply Last reply Reply Quote Share 0
                  • Z
                    ZM12138 LV 4 @mangogeek last edited by

                    @mangogeek 还是报错了
                    ec8db7ce-3c16-4c5e-b347-a820fd684fa0-image.png

                    1 Reply Last reply Reply Quote Share 0
                    • YuzukiTsuru
                      柚木 鉉 LV 9 last edited by

                      需要线刷SD卡吗?

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

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

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