Navigation

    全志在线开发者论坛

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

    【新人上手】D1哪吒开发板Tina Linux下分区烧写与分区只读

    MR Series
    1
    1
    1323
    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.
    • Randolph
      Randolph LV 6 last edited by Randolph

      13、分区烧写

      注意的是这一项需要用到flash.exe工具,以及一系列目标img文件。

      首先进入Tina执行:

      reboot bootloader
      

      进入模式后,在PC端运行platform-tools中的shell,输入:

      fastboot.exe devices
      

      可见是否连接上开发板

      C:\Users\xxxxxxx\Desktop\platform-tools>fastboot.exe devices
      Android Fastboot        fastboot
      

      后可以执行相关命令如下完成烧写或擦除:

      fastboot.exe flash boot boot.img
      fastboot.exe flash rootfs rootfs.img
      fastboot.exe flash u-boot image/boot_package.fex
      fastboot.exe erase boot
      fastboot.exe reboot
      

      14、分区只读

      rootfs分区只读。

      Tina中执行:

      mount
      

      可见

      /dev/root 行(一般在第一行)有ro的字样,则说明rootfs分区为可读状态,结果如下:

      root@TinaLinux:/# mount
      /dev/root on /rom type squashfs (ro,noatime)
      devtmpfs on /dev type devtmpfs (rw,relatime,size=504628k,nr_inodes=126157,mode=755)
      proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
      sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
      tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
      /dev/by-name/UDISK on /overlay type ubifs (rw,relatime,assert=read-only,ubi=0,vol=8)
      overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
      devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
      debugfs on /sys/kernel/debug type debugfs (rw,noatime)
      none on /sys/kernel/config type configfs (rw,relatime)
      adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
      
      1 Reply Last reply Reply Quote Share 0
      • Referenced by  q1215200171 q1215200171 
      • Referenced by  q1215200171 q1215200171 
      • 1 / 1
      • First post
        Last post

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

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