一. 准备工作

    1.1. buildroot 开启flashcp

Lichee Pi 启动后更新镜像到norflash

    1.2. buildroot 开启ssh(便于网络传文件,如果你有更好传输文件办法当然可以不用ssh)

 

二. 实战

    2.1. 查看分区

cat /proc/mtd

Lichee Pi 启动后更新镜像到norflash

 

    2.2. flashcp 用法

Lichee Pi 启动后更新镜像到norflash

 

    2.3. 烧录dtb(uboot,zImage同理)

         2.3.1. 将固件从PC通过ssh拷贝到内存中(关于怎么使用scp我就不废话了)

Lichee Pi 启动后更新镜像到norflash

 

         2.3.2.使用flashcp烧录

              flashcp -v sun8i-v3s-licheepi-zero.dtb /dev/mtd1

 Lichee Pi 启动后更新镜像到norflash

 

                   PS:如果你烧录时报不能写,是因为uboot参数去掉ro

Lichee Pi 启动后更新镜像到norflash

 

        2.3.3. 烧录结束后重启即可

 

相关文章:

  • 2021-12-07
  • 2022-02-09
  • 2021-07-09
  • 2022-01-09
  • 2021-09-13
  • 2021-10-09
  • 2021-04-13
  • 2021-06-20
猜你喜欢
  • 2021-06-10
  • 2022-02-16
  • 2022-12-23
  • 2021-11-02
  • 2021-08-19
相关资源
相似解决方案