• openwrt 路由器变砖后修复方法


    https://wiki.openwrt.org/doc/howto/generic.debrick

    变砖后需根据类型进行修复,主要有以下四种:

    (1)if only something on the JFFS2 partition is broken, you are still able to → boot into OpenWrt failsafe mode

           如果仅仅是JFFS2上部分有问题,可以重启进入failsafe模式。

    (2)if the SquashFS partition or the Kernel is broken, you cannot boot into failsafe mode any longer. But you still have a functioning bootloader and so you should follow the same procedures as when you first → installed OpenWrt via bootloader.

           如果是SquashFS部分或者内核坏掉,并且进入不了failsafe模式,但是bootloader还能正常工作,你可以通过启动完boot后,进行时串口烧写。

    (3)if the bootloader is broken, there are only two options left:

           如果bootloader也坏掉了,那就只有两种方法了:

          a)access your hardware through the → JTAG Port, this should allow you to write to the flash. Restore the bootloader.

              通过JTAG口,来进行恢复bootloader。

          b)or desolder the flash chip, connect it to some device, that does give you write access to it and restore the bootloader. 

              通过短接芯片上的某些管脚,来恢复bootloader。

    ======================================================

    挂载点:

    (1)"/" 是完整的 root文件系统。它包含"/rom" 和 "/overlay"。

    (2)"/rom" 包含了所有的基本文件,如busybox,dropbear,iptable;也包含了进入failsafe模式时所需要的默认配置文件;不包含内核(kernel)文件。在此目录"/rom"下的文件都位于SqashFS partition上,因此不可以被更改或删除。因为我们使用了overalyFS文件系统,因此可以在JFFS2 partition上创建overlay-whiteout-symlinks。

    (3)"/overlay" 

  • 相关阅读:
    集群、分布式与微服务概念和区别理解
    博弈论的入门——nim游戏&&sg函数浅谈
    csp-2020 初赛游记
    洛谷 P2340 [USACO03FALL]Cow Exhibition G 题解
    P5687 [CSP-SJX2019]网格图 题解
    HBase 数据迁移/备份方法
    mac远程连接服务上传下载命令实例
    Redis安装详细步骤
    VMware虚拟机中的CentOS服务安装Nginx后本机无法访问的解决办法
    开发业务逻辑处理之策略模式场景使用
  • 原文地址:https://www.cnblogs.com/rohens-hbg/p/5403493.html
Copyright © 2020-2023  润新知