Navigation

    全志在线开发者论坛

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

    V853s如何修改文件系统为ext4,启动介质为emmc

    V Series
    2
    2
    1330
    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.
    • H
      hzhy1234 LV 5 last edited by

      V853s默认的文件系统是squashfs,只读文件系统。烧写的镜像启动后/etc/rcS文件不可操作,无法添加用户的启动脚本。如何生成ext4文件系统,启动介质为emmc?

      尝试
      1)修改env-4.9.cfg文件内容:rootfstype=ext4
      2)在SDK目录下执行make menuconfig将
      TARGET_ROOTFS_EXT4FS = y
      TARGET_ROOTFS_SQUASHFS = n
      但是这样修改出错:
      dd: failed to open '/home/work_disk/work_quanzhi/01_v853/01_env_v853s/tina-v853s_0802/tina-v851-release/out/v853s-perf1/compile_dir/target/linux-v853s-perf1/usr.ext4': No such file or directory

      请问 如何解决根文件系统类型的问题,谢谢。

      1 Reply Last reply Reply Quote Share 0
      • WhycanService
        WhycanService LV 8 last edited by WhycanService

        用户自定义脚本请添加到下列位置

        tina/target/allwinner/v853s-perf1/busybox-init-base-files/ 
        

        在打包的时候会打包进去,切换启动介质参考这篇

        https://bbs.aw-ol.com/topic/1701/tina-linux-存储介质切换-emmc-spi-nand-spi-nor-sd-card-sd-nand

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

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

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