Navigation

    全志在线开发者论坛

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

    T113 busybox init 配置 overlayfs 为 UDISK 分区而不是 rootfs_data

    Linux
    2
    2
    66
    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.
    • A
      awwwwa LV 7 last edited by

      1. 先确定挂载overlayfs

      查看 pseudo_init 中 MOUNT_OVERLAY 是不是 1,如果不是配置为 1

      package/busybox-init-base-files/files/pseudo_init
      

      9a131c14-2a2c-493d-8acc-b623cce5a138-image.png

      1. 修改挂载分区

      找到文件末尾,吧 rootfs_data 改成UDISK

      c3474e4a-e208-4549-9a82-9d9cc7372300-image.png

      1 Reply Last reply Reply Quote Share 1
      • DAIZEBIN
        DAIZEBIN LV 7 last edited by

        这里需要注意一下,T113使用EMMC介质启动的话,若是使用UDISK分区作为overlayfs的挂载目录,在使用dd等读写指令的时候,会比使用rootfs_data慢
        所以目前EMMC介质、且使用busybox的的方案,推荐使用rootfs_data作文overlayfs的底层目录

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

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

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