Navigation

    全志在线开发者论坛

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

    VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0)

    其它全志芯片讨论区
    3
    3
    1701
    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.
    • newcastle
      newcastle LV 6 last edited by

      好像是VFS找不到了,有没有大佬帮忙看看什么情况

      QQ图片20230731093415.png

      下面是DTS的设置,好像是没找到MMC?

      QQ图片20230731093420.png

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

        没有生成 mmcblk0pX分区,

        可能是dts里面 cd-inverted 配置要打开。

        1 Reply Last reply Reply Quote Share 0
        • C
          creaznico LV 4 @newcastle last edited by

          @newcastle 好几种可能,先看https://blog.csdn.net/weixin_43094346/article/details/132017068

          如果这里面和你的问题不一样,有可能是你的引脚配置问题,比如我的拿到了emmc的板子用了nand的源码,会导致引脚错误,配置sdc2用到了一系列PC引脚,而nand原本应用的SPI0也是PC引脚,不把SPI关掉会导致引脚冲突,从而导致sdc无法调用引脚而无法调用emmc。此错误也会提示无法打开root device,但是实际的原因在上一页,会提示你该引脚已经被调用。

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

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

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