Hello!
Is there a way to recover if I used
openwrt-21.02.0-ath79-generic-buffalo_wzr-hp-g300nh-rb-squashfs-tftp.bin ?
The router always fell into failsafe, like on your test, but I do not have network connection at all anymore only serial monitor with RS232 adapter is working. TFTP did not work!
I guess I need that file:
openwrt-21.02.0-ath79-generic-buffalo_wzr-hp-g300nh-s-squashfs-tftp.bin
but how to get this to the router now?
That is my boot log:
BUFFALO U-BOOT Ver 1.07
AP83-354 (ar9100) U-boot 0.0.12
64 MB
Memory Test (address line)
Memory Test start(0x00000000) end(0x04000000) size(67108864)
Data line test start:0x00000000 pattern 0x00000001 0x00000003 0x00000007 0x0000000F 0x00000005 0x00000015 0x00000055 0xAAAAAAAA
Address line test start:0x00000000 len:0x4000000 pattern 0xAAAAAAAA 0x55555555
Fill test patnum:5
fill Pattern 5555AAAA Writing... Reading...
fill Pattern AAAA5555 Writing... Reading...
fill Pattern 0000FFFF Writing... Reading...
fill Pattern FFFF0000 Writing... Reading...
fill Pattern AAAAAAAA Writing... Reading...
Top of RAM usable for U-Boot at: 84000000
Reserving 275k for U-Boot at: 83fb8000
Reserving 256k for malloc() at: 83f78000
Reserving 44 Bytes for Board Info at: 83f77fd4
Reserving 36 Bytes for Global Data at: 83f77fb0
Reserving 128k for boot params() at: 83f57fb0
Stack Pointer at: 83f57f98
Now running in RAM - U-Boot at: 83fb8000
Dev ID2:2222
Dev ID3:2201
Name: AMD-SPANSION Flash id: 0x1227E, Size: 33554432 bytes.
Flash: 32 MB
In: serial
Out: serial
Err: serial
Memory Test
uboot use 83F57FB0 - 84000000
Memory Test start(80000000) end(83F00000) size(03F00000)
Pattern 00000000 Writing... Reading...
Memory Test OK
buf_ver=[1.07] U-Boot Ver.=[1.07]
build_date(env)=[Dec 21 2009 - 10:37:11] build_date(bin)=[Dec 21 2009 - 10:37:11]
ag7100_enet_initialize...
: cfg1 0xf cfg2 0x7114
RTL8366 series driver, reading model-id...
ID:0x6027, REV:0x6
rtl8366sr_phy_setup ethUnit=0
Realtek 8366SR switch ID 0x8366
Realtek Greeen Ethernet Setup
eth0: 02:aa:bb:cc:dd:1a
eth0 up
: cfg1 0xf cfg2 0x7114
RTL8366 series driver, reading model-id...
eth1: 02:aa:bb:cc:dd:1a
eth1 up
eth0 02:AA:BB:CC:DD:1A
, eth1 02:AA:BB:CC:DD:1A
Trying eth0
eth0 is duplex
ag7100_check_link: _100BASET
dup 1 speed 100
CFG_PLL_FREQ=5
CFG_HZ=bebc200
cpu pll=1050
eth pll=1032
eth0 clk pll=13000a44
eth0 mii=12
eth0 cfg1=f
eth0 cfg2=7115
eth0 fcfg_0=1d1f00
eth0 fcfg_1=7ff0000
eth0 fcfg_2=fff
eth0 fcfg_3=780008
eth0 fcfg_4=3ffff
eth0 fcfg_5=3ffff
tftp server(receive) go, waiting:4[sec]
Trying eth1
eth1 link down
FAIL
Trying eth0
eth0 is duplex
ag7100_check_link: _100BASET
Load address: 0x81f00000
TftpServer Timeout;
no file was loaded.
Booting image at be060000 ...
Image Name: MIPS OpenWrt Linux-5.4.143
Created: 2021-08-31 22:20:08 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 2047195 Bytes = 2 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
Transferring control to Linux (at address 80060000) ...
Giving linux memsize in bytes, 67108864
Starting kernel ...
[ 0.000000] Linux version 5.4.143 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16279-5cc0535800)) #0 Tue Aug 31 22:20:08 2021
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is Buffalo WZR-HP-G300NH (rtl8366rb)
[ 0.000000] SoC: Atheros AR9132 rev 2
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 57276K/65536K available (5250K kernel code, 193K rwdata, 688K rodata, 1220K init, 205K bss, 8260K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] random: get_random_bytes called from 0x8065fa28 with crng_init=0
[ 0.000000] CPU clock: 400.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000012] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.007915] Calibrating delay loop... 265.98 BogoMIPS (lpj=531968)
[ 0.050057] pid_max: default: 32768 minimum: 301
[ 0.054908] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.062222] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.076208] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.085981] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.092910] pinctrl core: initialized pinctrl subsystem
[ 0.101424] NET: Registered protocol family 16
[ 0.136532] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.150923] clocksource: Switched to clocksource MIPS
[ 0.157299] thermal_sys: Registered thermal governor 'step_wise'
[ 0.157758] NET: Registered protocol family 2
[ 0.168424] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.176726] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.185161] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.192832] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.199894] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.206446] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.213035] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.220376] NET: Registered protocol family 1
[ 0.224816] PCI: CLS 0 bytes, default 32
[ 0.233680] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.250740] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.256623] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.283224] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.294402] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.304246] printk: console [ttyS0] disabled
[ 0.308651] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 12500000) is a 8250
[ 0.317192] printk: console [ttyS0] enabled
[ 0.317192] printk: console [ttyS0] enabled
[ 0.325612] printk: bootconsole [early0] disabled
[ 0.325612] printk: bootconsole [early0] disabled
[ 0.337053] physmap-flash 1e000000.flash: physmap platform flash device: [mem 0x1e000000-0x1fffffff]
[ 0.346369] 1e000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002201
[ 0.356623] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.361813] Amd/Fujitsu Extended Query version 1.3.
[ 0.366924] number of CFI chips: 1
[ 0.379450] Searching for RedBoot partition table in 1e000000.flash at offset 0x1fa0000
[ 0.403113] Searching for RedBoot partition table in 1e000000.flash at offset 0x1fc0000
[ 0.426713] Searching for RedBoot partition table in 1e000000.flash at offset 0x1fe0000
[ 0.450342] No RedBoot partition table detected in 1e000000.flash
[ 0.456685] 5 fixed-partitions partitions found on MTD device 1e000000.flash
[ 0.463806] Creating 5 MTD partitions on "1e000000.flash":
[ 0.469344] 0x000000000000-0x000000040000 : "u-boot"
[ 0.475730] 0x000000040000-0x000000060000 : "u-boot-env"
[ 0.482409] 0x000000060000-0x000001fc0000 : "firmware"
[ 0.492027] 2 uimage-fw partitions found on MTD device firmware
[ 0.498054] Creating 2 MTD partitions on "firmware":
[ 0.503093] 0x000000000000-0x000000200000 : "kernel"
[ 0.509350] 0x000000200000-0x000001f60000 : "rootfs"
[ 0.515686] mtd: device 4 (rootfs) set to be root filesystem
[ 0.521481] 1 squashfs-split partitions found on MTD device rootfs
[ 0.527724] 0x000000520000-0x000001f60000 : "rootfs_data"
[ 0.534391] 0x000001fc0000-0x000001fe0000 : "user_property"
[ 0.541380] 0x000001fe0000-0x000002000000 : "art"
[ 0.548389] Realtek RTL8366RB ethernet switch driver version 0.2.4
[ 0.554787] rtl8366rb switch: cannot find mdio bus from bus handle (yet)
[ 0.561566] rtl8366rb switch: using GPIO pins 19 (SDA) and 20 (SCK)
[ 0.567962] rtl8366rb switch: unknown chip id (0000)
[ 0.572967] rtl8366rb switch: chip detection failed, err=-19
[ 0.580645] libphy: Fixed MDIO Bus: probed
[ 0.905059] libphy: ag71xx_mdio: probed
[ 0.910664] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 0.920652] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[ 1.190918] random: fast init done
[ 1.245053] libphy: ag71xx_mdio: probed
[ 1.249102] ag71xx 1a000000.eth: Could not connect to PHY device. Deferring probe.
[ 1.257197] i2c /dev entries driver
[ 1.264106] NET: Registered protocol family 10
[ 1.275450] Segment Routing with IPv6
[ 1.279377] NET: Registered protocol family 17
[ 1.283972] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.297033] 8021q: 802.1Q VLAN Support v1.8
[ 1.620040] ag71xx 1a000000.eth: Could not connect to PHY device. Deferring probe.
[ 1.944020] ag71xx 1a000000.eth: Could not connect to PHY device. Deferring probe.
[ 1.951779] hctosys: unable to open rtc device (rtc0)
[ 1.962395] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.977169] Freeing unused kernel memory: 1220K
[ 1.981754] This architecture does not have kernel memory protection.
[ 1.988250] Run /sbin/init as init process
[ 2.741891] init: Console is alive
[ 2.745695] init: - watchdog -
[ 3.960754] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.014000] usbcore: registered new interface driver usbfs
[ 4.019706] usbcore: registered new interface driver hub
[ 4.025203] usbcore: registered new device driver usb
[ 4.041594] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.049692] ehci-fsl: Freescale EHCI Host controller driver
[ 4.057573] ehci-platform: EHCI generic platform driver
[ 4.063235] ehci-platform 1b000100.usb: EHCI Host Controller
[ 4.069056] ehci-platform 1b000100.usb: new USB bus registered, assigned bus number 1
[ 4.077110] ehci-platform 1b000100.usb: irq 3, io mem 0x1b000100
[ 4.098936] ehci-platform 1b000100.usb: USB 2.0 started, EHCI 1.00
[ 4.106365] hub 1-0:1.0: USB hub found
[ 4.110688] hub 1-0:1.0: 1 port detected
[ 4.118778] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.136773] init: - preinit -
[ 4.455464] ag71xx 1a000000.eth: Could not connect to PHY device. Deferring probe.
[ 4.907375] ag71xx 1a000000.eth: Could not connect to PHY device. Deferring probe.
[ 4.915560] random: procd: uninitialized urandom read (4 bytes read)
[ 5.992698] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.429010] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.657184] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.031686] urandom_read: 3 callbacks suppressed
[ 7.031697] random: jshn: uninitialized urandom read (4 bytes read)
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
[ 7.456864] eth0: link up (1000Mbps/Full duplex)
[ 7.463280] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.478391] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
- failsafe button BTN_3 was pressed -
- failsafe -
Waiting for kernel randomness to be initialised...
[ 13.999008] random: crng init done
Generating 1024 bit rsa key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCHeG79v64mEeFUBxE/9kvO5J7D/nNSisjTK6Aibtofo8Igewr0v6NaLf8E5yzehqXRqvoGG3xvRohs+eZlzm2VArCiewVhwj/WsgZ3lDBj7LhBfuSuC9TUW5GxZj1Abug63UiwPnWdDRGxV+RyqabytejNDG3g9Phz+7OIe3J3Zw== root@(none)
Fingerprint: sha1!! 2a:8c:de:7f:49:8c:df:c4:b8:2e:d6:06:73:9c:4a:c2:37:46:75:5c
BusyBox v1.33.1 (2021-08-31 22:20:08 UTC) built-in shell (ash)
ash: can't access tty; job control turned off
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|_____|| |||||___||| |____|
|| W I R E L E S S F R E E D O M
OpenWrt 21.02.0, r16279-5cc0535800
================= FAILSAFE MODE active ================
special commands:
- firstboot reset settings to factory defaults
- mount_root mount root-partition with config files
after mount_root:
- passwd change root's password
- /etc/config directory with config files
for more help see:
https://openwrt.org/docs/guide-user/troubleshooting/
- failsafe_and_factory_reset
- root_password_reset
=======================================================
root@(none):/#
Best Regards