Author
Message
pjakobs DD-WRT Novice Joined: 04 Feb 2023 Posts: 4
Posted: Sat Feb 04, 2023 11:10 Post subject: unbricking a TP-WDR4900
dear DD-WRT community,
I have just, for the first time, tried to flash an old WDR4900 1.3 with DD-WRT using the UI firmware update method using factory-to-ddwrt.bin. The actual flash seems to work, but the device is caught in a boot loop, not able to mount the root fs.
I'm aware that technically, this is a freescale product, but I haven't seen that category.
My question is: can I stop the boot process and get to a useful console to possibly fix this?
I've seen posts that say I need to send "tpl" at some point of the boot process, but it seems unclear when exactly. I've create a macro to do just that and sent it at about 10hz - to no avail.
I assume it would have to be after
Code:
Autobooting in 1 seconds
is that correct?
holding or pressing the device's reset key doesn't do anything either.
at least the root partition seems to be detected:
Code:
[ 1.313227] m25p80 spi0.0: s25fl128s (16384 Kbytes)
[ 1.318314] 8 ofpart partitions found on MTD device spi0.0
[ 1.323795] Creating 8 MTD partitions on "spi0.0":
[ 1.328597] 0x000000000000-0x000000050000 : "u-boot"
[ 1.334275] 0x000000050000-0x000000060000 : "dtb"
[ 1.339757] 0x000000060000-0x000000270000 : "kernel"
[ 1.345533] 0x000000270000-0x000000fc0000 : "rootfs"
[ 1.351441] magic DD708F2 vs 73717368
[ 1.355215] split_squashfs: no squashfs found in "spi0.0"
[ 1.360609] 0x000000fc0000-0x000000fe0000 : "nvram"
[ 1.366252] 0x000000fe0000-0x000000ff0000 : "config"
[ 1.371995] 0x000000ff0000-0x000001000000 : "caldata"
[ 1.377864] 0x000000060000-0x000000fc0000 : "linux"
did I pick the wrong bin file? I thought I was sure to pick the V1.3 one, but I'm getting older
Any pointers are highly appreciated.
best
pj
Code:
U-Boot 2010.12-svn18602 (Mar 20 2013 - 10:42:31)
CPU: P1014, Version: 1.0, (0x80f10110)
Core: E500, Version: 5.1, (0x80212151)
Clock Configuration:
CPU0:800 MHz,
CCB:400 MHz,
DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), IFC:100 MHz
L1: D-cache 32 kB enabled
I-cache 32 kB enabled
Board: P1014RDB
SPI: ready
DRAM: 128 MiB
L2: 256 KB enabled
Using default environment
PCIe1: Root Complex of mini PCIe Slot, x1, regs @ 0xffe0a000
01:00.0 - 168c:abcd - Network controller
PCIe1: Bus 00 - 01
PCIe2: Root Complex of PCIe Slot, x1, regs @ 0xffe09000
03:00.0 - 168c:0033 - Network controller
PCIe2: Bus 02 - 03
In: serial
Out: serial
Err: serial
Net: initialization for Atheros AR8327/AR8328
eTSEC1
Autobooting in 1 seconds
SF: Detected S25FL128S_64K with page size 256, total 16 MiB
16384 KiB S25FL128S_64K at 0:0 is now current device
SPI flash read successful
SPI flash read successful
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-4.4.241
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 2165650 Bytes = 2.1 MiB
Load Address: 01000000
Entry Point: 0100055c
Verifying Checksum ... OK
## Flattened Device Tree blob at 03000000
Booting using the fdt blob at 0x3000000
Uncompressing Kernel Image ... OK
Loading Device Tree to 00ffa000, end 00ffffff ... OK
[ 0.000000] Using Freescale P1014 machine description
[ 0.000000] Memory CAM mapping: 64/64 Mb, residual: 0Mb
[ 0.000000] Linux version 4.4.241 (root@linux) (gcc version 8.2.0 (OpenWrt GCC 8.2.0 r7577-d14647dd59) ) #2015 Tue Nov 3 12:33:08 +03 2020
[ 0.000000] TL-WDR4900 v1 board from TP-Link
[ 0.000000] barrier-nospec: using isync; sync as speculation barrier
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock3 noinitrd init=/bin/sh
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Sorting __ex_table...
[ 0.000000] Memory: 59932K/131072K available (3000K kernel code, 156K rwdata, 436K rodata, 136K init, 328K bss, 71140K reserved, 0K cma-reserved)
[ 0.000000] Kernel virtual memory layout:
[ 0.000000] * 0xfffdf000..0xfffff000 : fixmap
[ 0.000000] * 0xf0000000..0xf0000000 : early ioremap
[ 0.000000] * 0xc9000000..0xf0000000 : vmalloc & ioremap
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:512 nr_irqs:512 16
[ 0.000000] mpic: Setting up MPIC " OpenPIC " version 1.2 at ffe40000, max 1 CPUs
[ 0.000000] mpic: ISU size: 256, shift: 8, mask: ff
[ 0.000000] mpic: Initializing for 256 sources
[ 0.000011] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xb88126fc8, max_idle_ns: 440795204701 ns
[ 0.000020] clocksource: timebase mult[14000007] shift[24] registered
[ 0.000060] pid_max: default: 32768 minimum: 301
[ 0.000130] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000139] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.003076] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.003097] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.003396] NET: Registered protocol family 16
[ 0.007325] Found FSL PCI host bridge at 0x00000000ffe09000. Firmware bus number: 0->255
[ 0.007338] PCI host bridge /pcie@ffe09000 (primary) ranges:
[ 0.007350] MEM 0x00000000a0000000..0x00000000bfffffff -> 0x00000000a0000000
[ 0.007359] IO 0x00000000ffc10000..0x00000000ffc1ffff -> 0x0000000000000000
[ 0.007376] /pcie@ffe09000: PCICSRBAR @ 0xfff00000
[ 0.007383] setup_pci_atmu: end of DRAM 8000000
[ 0.007656] Found FSL PCI host bridge at 0x00000000ffe0a000. Firmware bus number: 0->255
[ 0.007664] PCI host bridge /pcie@ffe0a000 ranges:
[ 0.007675] MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000
[ 0.007683] IO 0x00000000ffc00000..0x00000000ffc0ffff -> 0x0000000000000000
[ 0.007699] /pcie@ffe0a000: PCICSRBAR @ 0xfff00000
[ 0.007705] setup_pci_atmu: end of DRAM 8000000
[ 0.018456] PCI: Probing PCI hardware
[ 0.018596] fsl-pci ffe09000.pcie: PCI host bridge to bus 0000:00
[ 0.018610] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.018621] pci_bus 0000:00: root bus resource [mem 0xa0000000-0xbfffffff]
[ 0.018633] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.019328] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 0.019515] fsl-pci ffe0a000.pcie: PCI host bridge to bus 0001:02
[ 0.019530] pci_bus 0001:02: root bus resource [io 0x20000-0x2ffff] (bus address [0x0000-0xffff])
[ 0.019541] pci_bus 0001:02: root bus resource [mem 0x80000000-0x9fffffff]
[ 0.019552] pci_bus 0001:02: root bus resource [bus 02-ff]
[ 0.019813] pci 0001:02:00.0: Primary bus is hard wired to 0
[ 0.019825] pci 0001:02:00.0: bridge configuration invalid ([bus 01-01]), reconfiguring
[ 0.019958] pci 0001:03:00.0: AR9381 fixup applied
[ 0.020237] pci 0001:02:00.0: PCI bridge to [bus 03-ff]
[ 0.020331] PCI: Cannot allocate resource region 0 of PCI bridge 1, will remap
[ 0.020345] PCI: Cannot allocate resource region 0 of device 0000:00:00.0, will remap
[ 0.020358] PCI: Cannot allocate resource region 0 of device 0001:02:00.0, will remap
[ 0.020396] pci 0000:00:00.0: disabling bridge window [io 0x0000-0xffffffff] to [bus 01] (unused)
[ 0.020416] pci 0000:00:00.0: BAR 0: no space for [mem size 0x00100000]
[ 0.020427] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x00100000]
[ 0.020442] pci 0000:01:00.0: BAR 6: assigned [mem 0xa0020000-0xa002ffff pref]
[ 0.020453] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.020465] pci 0000:00:00.0: bridge window [mem 0xa0000000-0xbfffffff]
[ 0.020476] pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc
[ 0.020525] pci 0001:02:00.0: BAR 0: no space for [mem size 0x00100000]
[ 0.020535] pci 0001:02:00.0: BAR 0: failed to assign [mem size 0x00100000]
[ 0.020548] pci 0001:03:00.0: BAR 6: assigned [mem 0x80020000-0x8002ffff pref]
[ 0.020558] pci 0001:02:00.0: PCI bridge to [bus 03]
[ 0.020569] pci 0001:02:00.0: bridge window [io 0x20000-0x2ffff]
[ 0.020579] pci 0001:02:00.0: bridge window [mem 0x80000000-0x9fffffff]
[ 0.020590] pci_bus 0001:02: Some PCI device resources are unassigned, try booting with pci=realloc
[ 0.034013] clocksource: Switched to clocksource timebase
[ 0.034620] NET: Registered protocol family 2
[ 0.035037] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.035058] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.035076] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.035135] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.035153] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.035268] NET: Registered protocol family 1
[ 0.046912] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.047876] io scheduler noop registered
[ 0.047886] io scheduler deadline registered (default)
[ 0.067268] serial8250_init
[ 0.067282] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
[ 0.067769] console [ttyS0] disabled
[ 0.067807] serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42, base_baud = 24999999) is a 16550A
[ 0.686495] console [ttyS0] enabled
[ 0.690500] console [ttyS0] disabled
[ 0.000000] Using Freescale P1014 machine description
[ 0.000000] Memory CAM mapping: 64/64 Mb, residual: 0Mb
[ 0.000000] Linux version 4.4.241 (root@linux) (gcc version 8.2.0 (OpenWrt GCC 8.2.0 r7577-d14647dd59) ) #2015 Tue Nov 3 12:33:08 +03 2020
[ 0.000000] TL-WDR4900 v1 board from TP-Link
[ 0.000000] barrier-nospec: using isync; sync as speculation barrier
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock3 noinitrd init=/bin/sh
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Sorting __ex_table...
[ 0.000000] Memory: 59932K/131072K available (3000K kernel code, 156K rwdata, 436K rodata, 136K init, 328K bss, 71140K reserved, 0K cma-reserved)
[ 0.000000] Kernel virtual memory layout:
[ 0.000000] * 0xfffdf000..0xfffff000 : fixmap
[ 0.000000] * 0xf0000000..0xf0000000 : early ioremap
[ 0.000000] * 0xc9000000..0xf0000000 : vmalloc & ioremap
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:512 nr_irqs:512 16
[ 0.000000] mpic: Setting up MPIC " OpenPIC " version 1.2 at ffe40000, max 1 CPUs
[ 0.000000] mpic: ISU size: 256, shift: 8, mask: ff
[ 0.000000] mpic: Initializing for 256 sources
[ 0.000011] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xb88126fc8, max_idle_ns: 440795204701 ns
[ 0.000020] clocksource: timebase mult[14000007] shift[24] registered
[ 0.000060] pid_max: default: 32768 minimum: 301
[ 0.000130] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000139] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.003076] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.003097] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.003396] NET: Registered protocol family 16
[ 0.007325] Found FSL PCI host bridge at 0x00000000ffe09000. Firmware bus number: 0->255
[ 0.007338] PCI host bridge /pcie@ffe09000 (primary) ranges:
[ 0.007350] MEM 0x00000000a0000000..0x00000000bfffffff -> 0x00000000a0000000
[ 0.007359] IO 0x00000000ffc10000..0x00000000ffc1ffff -> 0x0000000000000000
[ 0.007376] /pcie@ffe09000: PCICSRBAR @ 0xfff00000
[ 0.007383] setup_pci_atmu: end of DRAM 8000000
[ 0.007656] Found FSL PCI host bridge at 0x00000000ffe0a000. Firmware bus number: 0->255
[ 0.007664] PCI host bridge /pcie@ffe0a000 ranges:
[ 0.007675] MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000
[ 0.007683] IO 0x00000000ffc00000..0x00000000ffc0ffff -> 0x0000000000000000
[ 0.007699] /pcie@ffe0a000: PCICSRBAR @ 0xfff00000
[ 0.007705] setup_pci_atmu: end of DRAM 8000000
[ 0.018456] PCI: Probing PCI hardware
[ 0.018596] fsl-pci ffe09000.pcie: PCI host bridge to bus 0000:00
[ 0.018610] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.018621] pci_bus 0000:00: root bus resource [mem 0xa0000000-0xbfffffff]
[ 0.018633] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.019328] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 0.019515] fsl-pci ffe0a000.pcie: PCI host bridge to bus 0001:02
[ 0.019530] pci_bus 0001:02: root bus resource [io 0x20000-0x2ffff] (bus address [0x0000-0xffff])
[ 0.019541] pci_bus 0001:02: root bus resource [mem 0x80000000-0x9fffffff]
[ 0.019552] pci_bus 0001:02: root bus resource [bus 02-ff]
[ 0.019813] pci 0001:02:00.0: Primary bus is hard wired to 0
[ 0.019825] pci 0001:02:00.0: bridge configuration invalid ([bus 01-01]), reconfiguring
[ 0.019958] pci 0001:03:00.0: AR9381 fixup applied
[ 0.020237] pci 0001:02:00.0: PCI bridge to [bus 03-ff]
[ 0.020331] PCI: Cannot allocate resource region 0 of PCI bridge 1, will remap
[ 0.020345] PCI: Cannot allocate resource region 0 of device 0000:00:00.0, will remap
[ 0.020358] PCI: Cannot allocate resource region 0 of device 0001:02:00.0, will remap
[ 0.020396] pci 0000:00:00.0: disabling bridge window [io 0x0000-0xffffffff] to [bus 01] (unused)
[ 0.020416] pci 0000:00:00.0: BAR 0: no space for [mem size 0x00100000]
[ 0.020427] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x00100000]
[ 0.020442] pci 0000:01:00.0: BAR 6: assigned [mem 0xa0020000-0xa002ffff pref]
[ 0.020453] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.020465] pci 0000:00:00.0: bridge window [mem 0xa0000000-0xbfffffff]
[ 0.020476] pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc
[ 0.020525] pci 0001:02:00.0: BAR 0: no space for [mem size 0x00100000]
[ 0.020535] pci 0001:02:00.0: BAR 0: failed to assign [mem size 0x00100000]
[ 0.020548] pci 0001:03:00.0: BAR 6: assigned [mem 0x80020000-0x8002ffff pref]
[ 0.020558] pci 0001:02:00.0: PCI bridge to [bus 03]
[ 0.020569] pci 0001:02:00.0: bridge window [io 0x20000-0x2ffff]
[ 0.020579] pci 0001:02:00.0: bridge window [mem 0x80000000-0x9fffffff]
[ 0.020590] pci_bus 0001:02: Some PCI device resources are unassigned, try booting with pci=realloc
[ 0.034013] clocksource: Switched to clocksource timebase
[ 0.034620] NET: Registered protocol family 2
[ 0.035037] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.035058] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.035076] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.035135] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.035153] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.035268] NET: Registered protocol family 1
[ 0.046912] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.047876] io scheduler noop registered
[ 0.047886] io scheduler deadline registered (default)
[ 0.067268] serial8250_init
[ 0.067282] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
[ 0.067769] console [ttyS0] disabled
[ 0.067807] serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42, base_baud = 24999999) is a 16550A
[ 0.686495] console [ttyS0] enabled
[ 0.690500] console [ttyS0] disabled
[ 0.694119] ffe04500.serial: ttyS0 at MMIO 0xffe04500 (irq = 42, base_baud = 24999999) is a 16550
[ 1.298704] console [ttyS0] enabled
[ 1.302476] Generic RTC Driver v1.07
[ 1.306504] fsl_espi ffe07000.spi: cs=0, init_csmode=0x100008
[ 1.313227] m25p80 spi0.0: s25fl128s (16384 Kbytes)
[ 1.318314] 8 ofpart partitions found on MTD device spi0.0
[ 1.323795] Creating 8 MTD partitions on "spi0.0":
[ 1.328597] 0x000000000000-0x000000050000 : "u-boot"
[ 1.334275] 0x000000050000-0x000000060000 : "dtb"
[ 1.339757] 0x000000060000-0x000000270000 : "kernel"
[ 1.345533] 0x000000270000-0x000000fc0000 : "rootfs"
[ 1.351441] magic DD708F2 vs 73717368
[ 1.355215] split_squashfs: no squashfs found in "spi0.0"
[ 1.360609] 0x000000fc0000-0x000000fe0000 : "nvram"
[ 1.366252] 0x000000fe0000-0x000000ff0000 : "config"
[ 1.371995] 0x000000ff0000-0x000001000000 : "caldata"
[ 1.377864] 0x000000060000-0x000000fc0000 : "linux"
[ 1.383531] fsl_espi ffe07000.spi: at 0xc9038000 (irq = 59)
[ 1.389601] libphy: Freescale PowerQUICC MII Bus: probed
[ 1.399294] switch0: Atheros AR8327 rev. 4 switch registered on mdio@ffe24000
[ 2.002221] fsl-gianfar soc@ffe00000:ethernet@b0000: enabled errata workarounds, flags: 0x4
[ 2.020815] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: mac: c0:4a:00:51:05:14
[ 2.028225] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: Running with NAPI enabled
[ 2.035884] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: RX BD ring size for Q[0]: 256
[ 2.043882] fsl-gianfar soc@ffe00000:ethernet@b0000 eth0: TX BD ring size for Q[0]: 256
[ 2.051980] ucc_geth_driver: QE UCC Gigabit Ethernet Controller
[ 2.057979] PPP generic driver version 2.4.2
[ 2.062325] PPP BSD Compression module registered
[ 2.067036] PPP Deflate Compression module registered
[ 2.072089] PPP MPPE Compression module registered
[ 2.076879] NET: Registered protocol family 24
[ 2.081327] Button Hotplug driver version 0.4.1
[ 2.085857] booke_wdt: powerpc book-e watchdog driver loaded
[ 2.092279] netem: version 1.3
[ 2.095361] u32 classifier
[ 2.098059] Performance counters on
[ 2.101884] input device check on
[ 2.105542] Actions configured
[ 2.108939] Netfilter messages via NETLINK v0.30.
[ 2.113661] nf_conntrack version 0.5.0 (1964 buckets, 7856 max)
[ 2.119819] nf_conntrack_rtsp v0.7 loading
[ 2.124262] nf_nat_rtsp v0.7 loading
[ 2.127844] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.133235] NET: Registered protocol family 17
[ 2.137725] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 2.150360] Bridge firewalling registered
[ 2.154370] 8021q: 802.1Q VLAN Support v1.8
[ 2.160303] searching for nvram
[ 2.163450] nvram size = 131072
[ 2.182643] random: nonblocking pool is initialized
[ 2.267139] nvram empty
[ 2.269946] input: buttons as /devices/platform/buttons/input/input0
[ 2.277757] List of all partitions:
[ 2.281252] 1f00 320 mtdblock0 (driver?)
[ 2.286328] 1f01 64 mtdblock1 (driver?)
[ 2.291375] 1f02 2112 mtdblock2 (driver?)
[ 2.296428] 1f03 13632 mtdblock3 (driver?)
[ 2.301476] 1f04 128 mtdblock4 (driver?)
[ 2.306529] 1f05 64 mtdblock5 (driver?)
[ 2.311576] 1f06 64 mtdblock6 (driver?)
[ 2.316630] 1f07 15744 mtdblock7 (driver?)
[ 2.321673] No filesystem could mount root, tried: squashfs
[ 2.327338] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
Back to top
Sponsor
KACTET DD-WRT User Joined: 01 May 2022 Posts: 235
Posted: Sat Feb 04, 2023 16:56 Post subject:
Hello
The working version for this router is r51043 , but it does not correspond to its serial number, the latest assembly r50931 is installed during the update.
Here you can read it Quote:
Stefan H
I flashed /dd-wrtv2/downloads/betas/2022/12-19-2022-r51043/tplink_tl-wdr4900v1/
but strangely gotten
DD-WRT v3.0-r50931 std (11/23/22)
Also with /dd-wrtv2/downloads/betas/2022/12-17-2022-r51040/tplink_tl-wdr4900v1/
I get the same???
After that I started to install every time a new build, but all builds fail to this day _________________Atheros
Netgear XR500 Nighthawk - DD-WRT 54545
Tp-Link TL-WDR4900 v1.3 - DD-WRT 53133
TP-Link WR1043ND v4 - DD-WRT 51838
TP-Link WR1043ND v2 - Gargoyle OS 1.13.0
TP-Link WR841ND v11 - DD-WRT 55303
Broadcom
Asus RT-AC87U R - DD-WRT 55460
Asus RT-N66U - DD-WRT 55460
Linksys WRT54GL v1.1 - DD-WRT 54517M
Linksys WRT54GL v1.1 - FreshTomato 2023.4_MIPS_K26
Linksys WRT54GL v1.1 - Gargoyle OS 1.6.2
Back to top
kernel-panic69 DD-WRT Guru Joined: 08 May 2018 Posts: 14126 Location: Texas, USA
Back to top
pjakobs DD-WRT Novice Joined: 04 Feb 2023 Posts: 4
Posted: Sun Feb 05, 2023 10:19 Post subject:
hmm... so then all I still need to figure out is how to successfully interrupt the boot process. I see the "autobooting in 1s..." message and am pretty sure I'm getting some "tpl" or "vl"s in, but nothing happens. I shall see if I can get it to send any packet on ethernet by using the reset button, but it's not clear from the log that it does this.
Maybe I'll write a small script to hammer the serial with tpl as soon as the autobooting message appears.
funny little buggers that
pj
Back to top
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12837 Location: Netherlands
Posted: Sun Feb 05, 2023 10:30 Post subject:
It might already be fixed:https://svn.dd-wrt.com/changeset/51578
There is already a new alpha build with the fix but I am not sure if I can hand it over, maybe it needs additional in house testing. _________________ Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read): https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Back to top
kernel-panic69 DD-WRT Guru Joined: 08 May 2018 Posts: 14126 Location: Texas, USA
Posted: Mon Feb 06, 2023 17:33 Post subject:
There were more patches that were committed after that one, so next public release should be good to go. BS sent me a screenshot of post-flash status page. I haven't checked the alpha test build server for an image at current head yet. _________________"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Back to top
KACTET DD-WRT User Joined: 01 May 2022 Posts: 235
Posted: Tue Feb 07, 2023 21:57 Post subject:
Everything is fine!
Version r51589 installed without problems and works
Thank you BS and gurus _________________Atheros
Netgear XR500 Nighthawk - DD-WRT 54545
Tp-Link TL-WDR4900 v1.3 - DD-WRT 53133
TP-Link WR1043ND v4 - DD-WRT 51838
TP-Link WR1043ND v2 - Gargoyle OS 1.13.0
TP-Link WR841ND v11 - DD-WRT 55303
Broadcom
Asus RT-AC87U R - DD-WRT 55460
Asus RT-N66U - DD-WRT 55460
Linksys WRT54GL v1.1 - DD-WRT 54517M
Linksys WRT54GL v1.1 - FreshTomato 2023.4_MIPS_K26
Linksys WRT54GL v1.1 - Gargoyle OS 1.6.2
Back to top
pjakobs DD-WRT Novice Joined: 04 Feb 2023 Posts: 4
Posted: Fri Feb 24, 2023 9:34 Post subject:
all right, took me some time to get around to do this.
I wrote a small script to hammer the router with both well known strings to interrupt the boot process:
Code: import serial
port=serial.Serial('/dev/ttyUSB0',115200)
tpl="tpl\r\n"
vl="vl\r\n"
while True:
buff=port.read_until()
line=buff.decode('cp1250')
print("-", line)
if line=="eTSEC1\r\n":
for i in range(0,5000):
print("sending tpl")
port.write(tpl.encode('cp1250'))
print("sending vl")
port.write(vl.encode('cp1250'))
but I can't see any effect. Same is true when I trigger on the "autobooting" line - the script catches the line just fine, sends strings but ... to no avail.
There is an unpopulated tactile switch footprint just a few cm away from the com port - would that do anything for this?
Also, I'm wondering, the way I've attached my serial cable is:
Code:
[[1]2 3 4] (that is: pin 1 is the one marked by the silkscreen printed square in the footprint.
1: TX->RX
2: RX<-TX
3: NC
4: GND
at least 1 and 4 are correct as I am receiving data. I do belive 2 is correct, too, but as said, nothing seems to work.
pj[/code]
Back to top
ian5142 DD-WRT Guru Joined: 23 Oct 2013 Posts: 2318 Location: Canada
Posted: Fri Feb 24, 2023 14:04 Post subject: OpenWRT wiki page
Have you tried all of the stuff on the OpenWRT wiki page debricking section: https://openwrt.org/toh/tp-link/tl-wdr4900#de-brick_or_oem_installation _________________Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings
Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.
Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS
Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
Back to top
pjakobs DD-WRT Novice Joined: 04 Feb 2023 Posts: 4
Posted: Sat Feb 25, 2023 9:26 Post subject:
maybe I'm overlooking something here, but it seems that in any case, the unbricking relies on being able to get a command prompt by interrupting the (broken) boot process, that's exactly what I'm trying to do without success so far.
Are you telling me there is a way that does not require this step?
pj
Back to top
kernel-panic69 DD-WRT Guru Joined: 08 May 2018 Posts: 14126 Location: Texas, USA
Back to top