找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3586|回复: 5

[AC2100(RM2100)] openwrt升级固件报错问题请教

[复制链接]
openwrt-21.02源码编译的固件,升级基于红米ac2100路由器上的openwrt升级报错


命令行报错信息:
root@OpenWrt:~# sysupgrade -n -v /tmp/openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-sysupgrade.bin
Device xiaomi,redmi-router-ac2100 not supported by this image
Supported devices: xiaomi,redmi-router-ac2100 - Image version mismatch: image 1.1, device 1.0. Please wipe config during upgrade (force required) or reinstall. Reason: Config cannot be migrated from swconfig to DSA
Image check failed.

具体的配置勾



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
换个镜像格式
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

新源码升级成DSA架构,没法保留设置升级,强刷清空设置即可。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
avin4 发表于 2021-11-11 14:52
新源码升级成DSA架构,没法保留设置升级,强刷清空设置即可。

请问一下路由器强制清空设置如何操作,或者源码内核能取消DSA的勾选吗

点评

官方源码和非官方源码,譬如本坛流行的lean,互刷可能出问题,从breed刷过渡固件再刷新固件就是了 DSA……上游已经改了,改的一团乱,但是没得选,是屎是尿都没法,只能一口吞  详情 回复 发表于 2021-11-11 18:32
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 avin4 于 2021-11-11 18:33 编辑
zzb771357319 发表于 2021-11-11 17:48
请问一下路由器强制清空设置如何操作,或者源码内核能取消DSA的勾选吗
  1. sysupgrade --help
  2. Usage: /sbin/sysupgrade [<upgrade-option>...] <image file or URL>
  3.        /sbin/sysupgrade [-q] [-i] [-c] [-u] [-o] [-k] <backup-command> <file>

  4. upgrade-option:
  5.         -f <config>  restore configuration from .tar.gz (file or url)
  6.         -i           interactive mode
  7.         -c           attempt to preserve all changed files in /etc/
  8.         -o           attempt to preserve all changed files in /, except those
  9.                      from packages but including changed confs.
  10.         -u           skip from backup files that are equal to those in /rom
  11.         -n           do not save configuration over reflash
  12.         -p           do not attempt to restore the partition table after flash.
  13.         -k           include in backup a list of current installed packages at
  14.                      /etc/backup/installed_packages.txt
  15.         -T | --test
  16.                      Verify image and config .tar.gz but do not actually flash.
复制代码

-F | --force
                     Flash image even if image checks fail, this is dangerous!


  1.         -q           less verbose
  2.         -v           more verbose
  3.         -h | --help  display this help

  4. backup-command:
  5.         -b | --create-backup <file>
  6.                      create .tar.gz of files specified in sysupgrade.conf
  7.                      then exit. Does not flash an image. If file is '-',
  8.                      i.e. stdout, verbosity is set to 0 (i.e. quiet).
  9.         -r | --restore-backup <file>
  10.                      restore a .tar.gz created with sysupgrade -b
  11.                      then exit. Does not flash an image. If file is '-',
  12.                      the archive is read from stdin.
  13.         -l | --list-backup
  14.                      list the files that would be backed up when calling
  15.                      sysupgrade -b. Does not create a backup file.
复制代码

官方源码和非官方源码,譬如本坛流行的lean,互刷可能出问题,从breed刷过渡固件再刷新固件就是了

DSA……上游已经改了,改的一团乱,但是没得选,是屎是尿都没法,只能一口吞
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
avin4 发表于 2021-11-11 18:32
-F | --force
                     Flash image even if image checks fail, this is dangerous!

感谢,问题解决
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-29 01:22

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表