N1固件更新教程(脚本方式)


Step 1:

ssh登陆OpenWrt,上传 update-amlogic-openwrt.sh 脚本文件(update-amlogic-openwrt.sh 点此下载)、下载完成的固件(.img/.img.gz格式均可)上传至 /mnt/mmcblk2p4 目录

Step 2:

回到ssh终端然后执行

cd /mnt/mmcblk2p4

chmod +x update-amlogic-openwrt.sh

./update-amlogic-openwrt.sh openwrt_s905d_n1_Rxx.x.x_kx.xx.xxx.img

然后按照提示操作即可

更新过程中如提示输入设备编号请输入N1对应的设备编号

其他选项不知道如何选择的选择默认选项即可

(注意:openwrt_s905d_n1_Rxx.x.x_kx.xx.xxximg 为解压之后的镜像文件名,请根据实际情况修改)


《“N1固件更新教程(脚本方式)”》 有 11 条评论

    • 建议1: 用 bash /usr/sbin/reset 命令还原 etc-000 或 etc-001 快照之后重启
      建议2: cp /.snapshots/etc-000/config/fstab /etc/config/   # 然后重启

  1. Dependent command: per1 does not exist, upgrade cannot be performed, only flash through U disk/TF card!
    原系统是flippy-54+o , 为啥只能通过U盘升级呢

  2. 刷入后在进入后台点击接口进行设置的时候提示这个
    /usr/lib/lua/luci/dispatcher.lua:474: Failed to execute arcombine dispatcher target for entry ‘/admin/network/network’.
    The called action terminated with an exception:
    /usr/lib/lua/luci/ccache.lua:70: error loading module ‘luci.cbi’ from file ‘/usr/lib/lua/luci/cbi.lua’:
    cannot read /usr/lib/lua/luci/cbi.lua: I/O error
    stack traceback:
    [C]: in function ‘assert’
    /usr/lib/lua/luci/dispatcher.lua:474: in function ‘dispatch’
    /usr/lib/lua/luci/dispatcher.lua:126: in function </usr/lib/lua/luci/dispatcher.lua:125>

  3. 挂载 /dev/loop0p1 -> /mnt/mmcblk2p4/boot … mount: mounting /dev/loop0p1 on /mnt/mmcblk2p4/boot failed: No such file or directory
    挂载失败!
    查看了一下的确没有loop0p1这个文件,用的你的上一版固件

发表评论

您的电子邮箱地址不会被公开。