导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    D1 _open SDK,编译烧录SD卡MMC失败

    MR Series
    2
    3
    1568
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • jincheng
      jincheng LV 2 最后由 编辑

      编译log

      compiled.log

      启动log

      startboot.log

      烧录软件

      8744b38d-6c71-4345-a53a-0415a79ad0e6-image.png

      whycan 1 条回复 最后回复 回复 引用 分享 1
      • whycan
        whycan晕哥 LV 9 @jincheng 最后由 编辑

        @jincheng

        [2023-04-10 23:44:00]  [00.570]workmode = 0,storage type = 1
        [2023-04-10 23:44:00]  [00.573][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
        [2023-04-10 23:44:00]  [00.579][mmc]: get sdc_type fail and use default host:tm1.
        [2023-04-10 23:44:00]  FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL
        [2023-04-10 23:44:00]  [00.591][mmc]: get card0 default pin fail
        [2023-04-10 23:44:00]  [00.595][mmc]: can't find node "mmc0",will add new node
        [2023-04-10 23:44:00]  [00.600][mmc]: fdt err returned <no error>
        [2023-04-10 23:44:00]  [00.603][mmc]: Using default timing para
        [2023-04-10 23:44:00]  [00.607][mmc]: sunxi mmc pin set failed!
        [2023-04-10 23:44:00]  [00.611]error card no error
        [2023-04-10 23:44:00]  [00.613][mmc]: MMC Device -1 not found
        [2023-04-10 23:44:00]  fail to find one useful mmc card
        [2023-04-10 23:44:00]  initcall sequence 0000000043f91318 failed at call 000000004200df06 (err=-1)
        [2023-04-10 23:44:00]  ### ERROR ### Please RESET the board ###
        

        怀疑你的 uboot-board.dts sdc0 节点的pin配置有问题。

        jincheng 1 条回复 最后回复 回复 引用 分享 0
        • jincheng
          jincheng LV 2 @whycan 最后由 编辑

          @whycan 是,pin引脚后面打开了,在env中也修改成mmc,就可以了

          1 条回复 最后回复 回复 引用 分享 0
          • 1 / 1
          • First post
            Last post

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

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