导航

    全志在线开发者论坛

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

    再开一贴 V851 使用SPINAND ubifs ,始终没有生成ubiblock块,无法挂载根文件系统

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

      使用以下命令,以及配置ubi.cfg
      ubinize.cfg放在
      target\allwinner\generic\image

      make -j1 BLOCKSIZE=131072 PAGESIZE=2048 SUBPAGESIZE=2048 UBIFS_OPTS=' -F -m 2048 -e 131072 -c 736 ' _UBI_OPTS=' -m 2048 -p 131072 -O 2048 -s 2048 '

      烧录启动后

      [    2.833249] VFS: Cannot open root device "ubiblock0_4" or unknown-block(0,0): error -6
      [    2.842164] Please append a correct "root=" boot option; here are the available partitions:
      [    2.851578] 1f00            1024 mtdblock0  (driver?)
      [    2.857261] 1f01            3072 mtdblock1  (driver?)
      [    2.862957] 1f02            1024 mtdblock2  (driver?)
      [    2.868637] 1f03          125952 mtdblock3  (driver?)
      [    2.874331] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
      

      使用是mtdblock,没有ubiblock,
      看大神的贴
      https://bbs.aw-ol.com/topic/1626/faq-全志v853芯片-swap功能简介与tina上swap分区使用方法?lang=zh-TW

      提示:
      “内核关闭readonly-ubi块的配置,让系统可以顺利创建出可读可写的ubiblock”

      请问大家这个配置在哪里关掉

      Z 1 条回复 最后回复 回复 引用 分享 0
      • A
        awwwwa LV 8 最后由 编辑

        内核没有配置ubi,没有挂载ubi功能

        1 条回复 最后回复 回复 引用 分享 0
        • A
          ArthurMurata LV 2 最后由 编辑

          我在發生內核恐慌的同時也遇到了類似的問題,這可能是 ?

              4.223420] EXT4-fs (ubiblock0_4): mounted filesystem without journal. Opts: (null)
          [    4.232105] VFS: Mounted root (ext4 filesystem) readonly on device 254:0.
          [    4.241968] Freeing unused kernel memory: 1024K
          [    4.248114] Kernel panic - not syncing: Requested init /init failed (error -2).
          [    4.256341] CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.191 #16
          [    4.262988] Hardware name: sun8iw21
          [    4.266938] [<c010d3cc>] (unwind_backtrace) from [<c010a51c>] (show_stack+0x10/0x14)
          [    4.275648] [<c010a51c>] (show_stack) from [<c0170100>] (panic+0xac/0x2b0)
          [    4.283381] [<c0170100>] (panic) from [<c0652d20>] (kernel_init+0x80/0x108)
          [    4.291210] [<c0652d20>] (kernel_init) from [<c0106ca8>] (ret_from_fork+0x14/0x2c)
          [    4.299721] ---[ end Kernel panic - not syncing: Requested init /init failed (error -2).
          [    4.308796] sunxi dump enabled
          [    4.312220] dump regs done
          [    4.315291] flush cache done
          [    4.318542] crashdump enter
          
          
          1 条回复 最后回复 回复 引用 分享 0
          • Z
            zhangjingxun12 LV 4 @liuqiang 最后由 编辑

            @liuqiang 关闭readonly 是在Enable UBI下面

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

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

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