ASUS RT-AC87U stuck on broken dd wrt

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
procsacs
DD-WRT Novice


Joined: 27 Jan 2023
Posts: 2

PostPosted: Fri Jan 27, 2023 21:41    Post subject: ASUS RT-AC87U stuck on broken dd wrt Reply with quote
Hi All Smile

I got a broken router ASUS RT-AC87U, after turning it on, sometimes a lan or wifi connection worked, (open network "dd-wrt"), but it did not assign an IP address, no connection to the GUI (even with a static ip), I tried to upload the original asus firmware (RT- AC87U_3.0.0.4_382_52545-ga0245cc.trx) using asus rescue (Firmware Restoration), the router started in recovery mode, but there was not always a LAN connection, as if ports were disabled, several times it was possible to connect, but with different % an error popped up and it won't load the firmware. How to restore this router ?

After connecting serial TTL, you can see how DD-WRT starts, here are the logs:

Error upload firmware :

break! no netctx or timer expired !
break!! reach max retry!!
Failed.: I/O error
*** command status = -4

And i try flash by this:

flash -noheader : nflash1.trx

that same result

and i use: nvram erase


boot :

Code:
Decompressing...done
Digital core power voltage set to 1.0V

SHMOO VER 1.13

PKID07DC06011801080000000000001A103F01000000


Decompressing...done
Detect CPU turbo button...

CFE version 6.37.14.86 (r456083) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: 二  4月 22 16:05:16 CST 2014 (raymonddev@raymonddev-vm1210)
Copyright (C) 2000-2008 Broadcom Corporation.

Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
DDR Clock: 800 MHz
Info: DDR frequency set from clkfreq=1000,*800*
et1: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.86 (r456083)
CPU type 0x0: 1000MHz
Tot mem: 262144 KBytes

CFE mem:    0x00F00000 - 0x01795558 (9000280)
Data:       0x00F4DBB4 - 0x00F4E080 (1228)
BSS:        0x00F4E090 - 0x00F93558 (283848)
Heap:       0x00F93558 - 0x01793558 (8388608)
Stack:      0x01793558 - 0x01795558 (8192)
Text:       0x00F00000 - 0x00F4430C (279308)

Device eth0:  hwaddr 88-D7-F6-44-22-E0, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
Null Rescue Flag.
boot the image...
go load
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: TFTP Server.
..tftp retry wait 0
..tftp retry wait 1
..tftp retry wait 2
..tftp retry wait 3
..tftp retry wait 4
Failed.
Could not load :: Timeout occured
Loader:raw Filesys:raw Dev:nflash0.os File: Options:(null)
Loading: ... 1720360 bytes read
Entry at 0x00008000
Closing network.
Starting program at 0x00008000
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 4.4.241 (root@linux) (gcc version 10.0.1 (OpenWrt GCC 10.0.1 r12423-0493d57e04) ) #1330 SMP Tue Nov 3 09:24:03 +03 2020
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Northstar Prototype
Ignoring unrecognised tag 0x00000000
Memory policy: Data cache writealloc
map io

Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0x88800000 - 0xff800000   (1904 MB)
    lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
      .text : 0x80008000 - 0x804dc81c   (4947 kB)
      .init : 0x804dd000 - 0x80534000   ( 348 kB)
      .data : 0x80534000 - 0x805667f4   ( 202 kB)
       .bss : 0x80569000 - 0x805c3f4c   ( 364 kB)
Hierarchical RCU implementation.
        CONFIG_RCU_FANOUT set to non-default value of 2
        Build-time adjustment of leaf fanout to 2.
NR_IRQS:256
MPCORE GIC init
soc_dmu_init
add clk lookups
MPCORE Global Timer Clock 500000000Hz on IRQ 27
sched_clock: 32 bits at 500MHz, resolution 2ns, wraps every 4294967295ns
clocksource: mpcore_gtimer: mask: 0xffffffffffffffff max_cycles: 0xe6a171a037, max_idle_ns: 881590485102 ns
register local timer
smp_twd: clock not found -2
Calibrating local timer... 499.73MHz.
Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
2 cores has been found

Found a AMD NAND flash:
Total size:  128MB
Block size:  128KB
Page Size:   2048B
OOB Size:    64B
Sector size: 512B
Spare size:  16B
ECC level:   8 (8-bit)
Device ID: 0x 1 0xf1 0x80 0x1d 0x 1 0xf1
found nand nvram at 80000


DD-WRT v3.0-r44715 std (c) 2020 NewMedia-NET GmbH
Release: 11/03/20
Board: Asus RT-AC87U

DD-WRT login: root
Password:
==========================================================

     ___  ___     _      _____  ______       ____  ___
    / _ \/ _ \___| | /| / / _ \/_  __/ _  __|_  / / _ \
   / // / // /___/ |/ |/ / , _/ / /   | |/ //_ <_/ // /
  /____/____/    |__/|__/_/|_| /_/    |___/____(_)___/

                       DD-WRT v3.0
                   http://www.dd-wrt.com

==========================================================
login[1378]: root login on 'console'


BusyBox v1.32.0 (2020-11-03 09:25:05 +03) built-in shell (ash)

root@DD-WRT:~#

root@DD-WRT:~# ifconfig
br0       Link encap:Ethernet  HWaddr 88:D7:F6:44:22:E2
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:236 errors:0 dropped:0 overruns:0 frame:0
          TX packets:201 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:19532 (19.0 KiB)  TX bytes:8442 (8.2 KiB)

br0:1     Link encap:Ethernet  HWaddr 88:D7:F6:44:22:E2
          inet addr:169.254.39.215  Bcast:169.254.39.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1

br0:2     Link encap:Ethernet  HWaddr 88:D7:F6:44:22:E2
          inet addr:1.1.1.1  Bcast:1.1.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1

eth0      Link encap:Ethernet  HWaddr 88:D7:F6:44:22:E0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5070 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1706 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:788608 (770.1 KiB)  TX bytes:82076 (80.1 KiB)
          Interrupt:180 Base address:0x5000

eth1      Link encap:Ethernet  HWaddr 88:D7:F6:44:22:E2
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:6400
          TX packets:338 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:29788 (29.0 KiB)
          Interrupt:163

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING MULTICAST  MTU:65536  Metric:1
          RX packets:6841 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6841 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:3897764 (3.7 MiB)  TX bytes:3897764 (3.7 MiB)

vlan1     Link encap:Ethernet  HWaddr 88:D7:F6:44:22:E0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5070 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1694 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:677068 (661.1 KiB)  TX bytes:71148 (69.4 KiB)

root@DD-WRT:~#






Process:

Code:
root@DD-WRT:~# ps
PID   USER     COMMAND
    1 root     /sbin/init
    2 root     [kthreadd]
    3 root     [ksoftirqd/0]
    4 root     [kworker/0:0]
    5 root     [kworker/0:0H]
    7 root     [rcu_sched]
    8 root     [rcu_bh]
    9 root     [migration/0]
   10 root     [migration/1]
   11 root     [ksoftirqd/1]
   12 root     [kworker/1:0]
   13 root     [kworker/1:0H]
   14 root     [kworker/u4:1]
  117 root     [kworker/u4:2]
  127 root     [writeback]
  129 root     [crypto]
  130 root     [bioset]
  132 root     [kblockd]
  136 root     [kworker/u5:0]
  160 root     [kworker/1:1]
  202 root     [kswapd0]
  203 root     [vmstat]
  204 root     [fsnotify_mark]
  226 root     [kworker/0:1]
  233 root     [bioset]
  234 root     [bioset]
  235 root     [bioset]
  236 root     [bioset]
  237 root     [bioset]
  238 root     [bioset]
  239 root     [bioset]
  240 root     [bioset]
  241 root     [bioset]
  242 root     [bioset]
  243 root     [bioset]
  244 root     [bioset]
  245 root     [bioset]
  246 root     [bioset]
  247 root     [bioset]
  248 root     [bioset]
  282 root     [bioset]
  285 root     [bioset]
  288 root     [bioset]
  291 root     [bioset]
  294 root     [bioset]
  297 root     [bioset]
  300 root     [bioset]
  303 root     [bioset]
  311 root     [bioset]
  316 root     [bioset]
  321 root     [bioset]
  326 root     [bioset]
  343 root     [deferwq]
  346 root     [bioset]
  350 root     [kworker/0:1H]
  351 root     [kworker/1:1H]
  606 root     /sbin/hotplug2 --set-rules-file /etc/hotplug2.rules --persistent
  610 root     /sbin/mstpd
  614 root     irqbalance -t 10
  741 root     tftpd
  975 root     httpd -n -p 80
 1377 root     /bin/login
 1378 root     -sh
 1704 root     ps
root@DD-WRT:~# top
Mem: 46540K used, 207748K free, 0K shrd, 9284K buff, 21160K cached
CPU:  0.0% usr  0.0% sys  0.0% nic  100% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 1.01 1.00 0.81 1/65 1716
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
 1716  1378 root     R     1440  0.5   0  0.0 top
  975     1 root     S     4052  1.5   1  0.0 httpd -n -p 80
 1378  1377 root     S     1440  0.5   0  0.0 -sh
 1377     1 root     S     1440  0.5   1  0.0 /bin/login
    1     0 root     S     1024  0.4   0  0.0 /sbin/init
  614     1 root     S      992  0.3   0  0.0 irqbalance -t 10
  610     1 root     S      824  0.3   1  0.0 /sbin/mstpd
  606     1 root     S      776  0.3   1  0.0 /sbin/hotplug2 --set-rules-file /e
  741     1 root     S      748  0.2   1  0.0 tftpd
  226     2 root     SW       0  0.0   0  0.0 [kworker/0:1]
  160     2 root     SW       0  0.0   1  0.0 [kworker/1:1]
    7     2 root     SW       0  0.0   0  0.0 [rcu_sched]
    3     2 root     SW       0  0.0   0  0.0 [ksoftirqd/0]
   11     2 root     SW       0  0.0   1  0.0 [ksoftirqd/1]
    9     2 root     SW       0  0.0   0  0.0 [migration/0]
   10     2 root     SW       0  0.0   1  0.0 [migration/1]
   14     2 root     SW       0  0.0   1  0.0 [kworker/u4:1]
  130     2 root     SW<      0  0.0   0  0.0 [bioset]
  136     2 root     SW<      0  0.0   0  0.0 [kworker/u5:0]
  129     2 root     SW<      0  0.0   0  0.0 [crypto]





Code:

Decompressing...done
Digital core power voltage set to 1.0V

SHMOO VER 1.13


Decompressing...done
Detect CPU turbo button...

CFE version 6.37.14.86 (r456083) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: 二  4月 22 16:05:16 CST 2014 (raymonddev@raymonddev-vm1210)
Copyright (C) 2000-2008 Broadcom Corporation.

Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
DDR Clock: 800 MHz
Info: DDR frequency set from clkfreq=1000,*800*
et1: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.86 (r456083)
CPU type 0x0: 1000MHz
Tot mem: 262144 KBytes

CFE mem:    0x00F00000 - 0x01795558 (9000280)
Data:       0x00F4DBB4 - 0x00F4E080 (1228)
BSS:        0x00F4E090 - 0x00F93558 (283848)
Heap:       0x00F93558 - 0x01793558 (8388608)
Stack:      0x01793558 - 0x01795558 (8192)
Text:       0x00F00000 - 0x00F4430C (279308)

Device eth0:  hwaddr 88-D7-F6-44-22-E0, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
Startup canceled
CFE> nvram erase
*** command status = 0
CFE> show devices
Device Name          Description
-------------------  ---------------------------------------------------------
uart0                NS16550 UART at 0x18000300
uart1                NS16550 UART at 0x18000400
nflash0              AMD NAND flash size 131072KB
nflash0.boot         AMD NAND flash offset 0 size 512KB
nflash0.nvram        AMD NAND flash offset 80000 size 1536KB
nflash0.trx          AMD NAND flash offset 200000 size 1KB
nflash0.os           AMD NAND flash offset 20001C size 129024KB
nflash1.boot         AMD NAND flash offset 0 size 512KB
nflash1.nvram        AMD NAND flash offset 80000 size 1536KB
nflash1.trx          AMD NAND flash offset 200000 size 129024KB
eth0                 Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller
*** command status = 0
CFE> ^C
CFE> reboot▒Digital core power voltage set to 1.0V
Decompressing...done
Detect CPU turbo button...

CFE version 6.37.14.86 (r456083) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: 二  4月 22 16:05:16 CST 2014 (raymonddev@raymonddev-vm1210)
Copyright (C) 2000-2008 Broadcom Corporation.

Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
DDR Clock: 400 MHz
Info: DDR frequency set from clkfreq=1000,*800*
Warning: invalid DDR setting of 800 MHz ignored. DDR frequency will be set to 400 MHz.
et1: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.86 (r456083)
CPU type 0x0: 1000MHz
Tot mem: 262144 KBytes

CFE mem:    0x00F00000 - 0x01795558 (9000280)
Data:       0x00F4DBB4 - 0x00F4E080 (1228)
BSS:        0x00F4E090 - 0x00F93558 (283848)
Heap:       0x00F93558 - 0x01793558 (8388608)
Stack:      0x01793558 - 0x01795558 (8192)
Text:       0x00F00000 - 0x00F4430C (279308)

Committing NVRAM...done
Waiting for wps button release...donDigital core power voltage set to 1.0V

Decompressing...done
Detect CPU turbo button...

CFE version 6.37.14.86 (r456083) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: 二  4月 22 16:05:16 CST 2014 (raymonddev@raymonddev-vm1210)
Copyright (C) 2000-2008 Broadcom Corporation.

Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
DDR Clock: 800 MHz
Info: DDR frequency set from clkfreq=1000,*800*
et1: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.86 (r456083)
CPU type 0x0: 1000MHz
Tot mem: 262144 KBytes

CFE mem:    0x00F00000 - 0x01795558 (9000280)
Data:       0x00F4DBB4 - 0x00F4E080 (1228)
BSS:        0x00F4E090 - 0x00F93558 (283848)
Heap:       0x00F93558 - 0x01793558 (8388608)
Stack:      0x01793558 - 0x01795558 (8192)
Text:       0x00F00000 - 0x00F4430C (279308)

Device eth0:  hwaddr 88-D7-F6-44-22-E0, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
Null Rescue Flag.
boot the image...
go load
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: TFTP Server.
..tftp retry wait 0
Failed.
Could not load :: Timeout occured
Loader:raw Filesys:raw Dev:nflash0.os File: Options:(null)
Loading: ... 1720360 bytes read
Entry at 0x00008000
Closing network.
Starting program at 0x00008000
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 4.4.241 (root@linux) (gcc version 10.0.1 (OpenWrt GCC 10.0.1 r12423-0493d57e04) ) #1330 SMP Tue Nov 3 09:24:03 +03 2020
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Northstar Prototype
Ignoring unrecognised tag 0x00000000
Memory policy: Data cache writealloc
map io
MPCORE found at 19020000 (VIRT 99020000) 18000000 98000000
Hit pending asynchronous external abort (FSR=0x00001c06) during first unmask, this is most likely caused by a firmware/bootloader bug.
PERCPU: Embedded 11 pages/cpu @86dd4000 s13068 r8192 d23796 u45056
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65280
Kernel command line: console=ttyS0,115200 panic=10 root=/dev/mtdblock3 earlyprintk=1 rootfstype=squashfs,jffs2 noinitrd init=/bin/sh
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 253940K/262144K available (3692K kernel code, 201K rwdata, 1252K rodata, 348K init, 363K bss, 8204K reserved, 0K cma-reserved, 131072K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0x88800000 - 0xff800000   (1904 MB)
    lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
      .text : 0x80008000 - 0x804dc81c   (4947 kB)
      .init : 0x804dd000 - 0x80534000   ( 348 kB)
      .data : 0x80534000 - 0x805667f4   ( 202 kB)
       .bss : 0x80569000 - 0x805c3f4c   ( 364 kB)
Hierarchical RCU implementation.
        CONFIG_RCU_FANOUT set to non-default value of 2
        Build-time adjustment of leaf fanout to 2.
NR_IRQS:256
MPCORE GIC init
soc_dmu_init
add clk lookups
MPCORE Global Timer Clock 500000000Hz on IRQ 27
sched_clock: 32 bits at 500MHz, resolution 2ns, wraps every 4294967295ns
clocksource: mpcore_gtimer: mask: 0xffffffffffffffff max_cycles: 0xe6a171a037, max_idle_ns: 881590485102 ns
register local timer
smp_twd: clock not found -2
Calibrating local timer... 499.71MHz.
Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0,


Last edited by procsacs on Sat Jan 28, 2023 21:37; edited 1 time in total
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Fri Jan 27, 2023 22:59    Post subject: Reply with quote
Restoration tool and recovery mode should allow you to flash stock or DD-WRT. If you can gain access via wired/wifi to webUI and change password, you can try command line flash upgrade from 44715 to 51440/51506 (current and previous release).

https://wiki.dd-wrt.com/wiki/index.php?title=Supported_Devices#ASRock

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=266322

https://openwrt.org/toh/asus/rt-ac87u

I don't have this specific device, but there may have been issues with 44715, not going to dig up the build release or other forum threads, please use search:

https://duckduckgo.com/?q=rt-ac87u+site%3Aforum.dd-wrt.com

Maybe someone who owns this router can chime in and give further insight.

_________________
"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
procsacs
DD-WRT Novice


Joined: 27 Jan 2023
Posts: 2

PostPosted: Fri Jan 27, 2023 23:34    Post subject: Reply with quote
Thank you very much for your answer, tried to upload firmware via rcovery mode several times, but it always fails in windows recovery tool, with different % values (15%,36%,75%), the GIU doesn't work, only the "root@DD-WRT:~#" console transfers the serial TTL, but I don't know how to use it.

how to "command line flash upgrade " ? Use only TTL .



Code:
..tftp retry wait 0
break! no netctx or timer expired !
break!! reach max retry!!
Failed.: I/O error
Loader:raw Filesys:raw Dev:nflash0.os File: Options:(null)
Loading: ... 1720360 bytes read
Entry at 0x00008000
Closing network.
Starting program at 0x00008000
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 4.4.241 (root@linux) (gcc version 10.0.1 (OpenWrt GCC 10.0.1 r1242                                 3-0493d57e04) ) #1330 SMP Tue Nov 3 09:24:03 +03 2020
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d




Code:
CFE version 6.37.14.86 (r456083) based on BBP 1.0.37 for BCM947XX (32bit,SP,)


BCM947XX ??



Code:
CFE> show devices
Device Name          Description
-------------------  ---------------------------------------------------------
uart0                NS16550 UART at 0x18000300
uart1                NS16550 UART at 0x18000400
nflash0              AMD NAND flash size 131072KB
nflash0.boot         AMD NAND flash offset 0 size 512KB
nflash0.nvram        AMD NAND flash offset 80000 size 1536KB
nflash0.trx          AMD NAND flash offset 200000 size 1KB
nflash0.os           AMD NAND flash offset 20001C size 129024KB
nflash1.boot         AMD NAND flash offset 0 size 512KB
nflash1.nvram        AMD NAND flash offset 80000 size 1536KB
nflash1.trx          AMD NAND flash offset 200000 size 129024KB
eth0                 Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller

-----------------

et1macaddr=88:D7:F6:44:22:E0

CFE> nvram get et0macaddr
*** command status = 0
CFE> nvram get 0:macaddr
88:D7:F6:44:22:E0
*** command status = 0
CFE> nvram get 1:macaddr
88:D7:F6:44:22:E4


et1 et0 ?




----------------

UPDATE ! THX

Thank you, successfully installed Asuswrt-Merlin 380.69, but I tried to use another PC, I don't know why on a windows 7 laptop it did not want to upload the firmware, after changing to a win 10 PC, finally it went for the hundredth time.

Code:


CFE> ifconfig eth0 -auto
Invalid switch: -auto
*** command status = -8
CFE> ifconfig eth0 -auto
Invalid switch: -auto
*** command status = -8
CFE> ifconfig eth1 -addr=192.168.1.1
Network interface has not been configured
*** command status = 0
CFE> help
Available commands:

nvram               NVRAM utility.
reboot              Reboot.
flash               Update a flash memory device
batch               Load a batch file into memory and execute it
go                  Verify and boot OS image.
boot                Load an executable file into memory and execute it
load                Load an executable file into memory without executing it
save                Save a region of memory to a remote file via TFTP
ping                Ping a remote IP host.
arp                 Display or modify the ARP Table
ifconfig            Configure the Ethernet interface
show clocks         Show current values of the clocks.
show devices        Display information about the installed devices.
help                Obtain help for CFE commands

For more information about a command, enter 'help command-name'
*** command status = 0
CFE> show devices
Device Name          Description
-------------------  ---------------------------------------------------------
uart0                NS16550 UART at 0x18000300
uart1                NS16550 UART at 0x18000400
nflash0              AMD NAND flash size 131072KB
nflash0.boot         AMD NAND flash offset 0 size 512KB
nflash0.nvram        AMD NAND flash offset 80000 size 1536KB
nflash0.trx          AMD NAND flash offset 200000 size 1KB
nflash0.os           AMD NAND flash offset 20001C size 129024KB
nflash1.boot         AMD NAND flash offset 0 size 512KB
nflash1.nvram        AMD NAND flash offset 80000 size 1536KB
nflash1.trx          AMD NAND flash offset 200000 size 129024KB
eth0                 Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller
*** command status = 0
CFE> flash -noheader : nflash1.trx
Reading :: TFTP Server.
Failed.: Error
*** command status = -1
CFE> flash -noheader : nflash1.trx
Reading :: TFTP Server.
Failed.: Error
*** command status = -1
CFE> flash -noheader -forceflash : nflash1.trx
Reading :: TFTP Server.
Failed.: Error
*** command status = -1
CFE> ifconfig eth0 -addr=192.168.1.1 -mask=255.255.255.0 -gw=192.168.1.1
Device eth0:  hwaddr 88-D7-F6-44-22-E0, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway 192.168.1.1, nameserver not set
*** command status = 0
CFE> flash -noheader -forceflash : nflash1.trx
Reading :: TFTP Server.
..tftp retry wait 0
..tftp retry wait 1
..tftp retry wait 2
..tftp retry wait 3
..tftp retry wait 4
Failed.: Timeout occured
*** command status = -21
CFE> flash -noheader -forceflash : nflash1.trx
Reading :: TFTP Server.
..tftp retry wait 0
..tftp retry wait 1
..tftp retry wait 2
..tftp retry wait 3
..tftp retry wait 4
Failed.: Timeout occured
*** command status = -21
CFE> flash -noheader -forceflash : nflash1.trx
Reading :: TFTP Server.
..tftp retry wait 0
Device eth0:  hwaddr 88-D7-F6-44-22-E0, ipaddr 169.254.61.49, mask 255.255.255.0
        gateway 169.254.61.49, nameserver not set
Failed.: Timeout occured
*** command status = -21
CFE> flash -noheader -forceflash : nflash1.trx
Reading :: TFTP Server.
..tftp retry wait 0
- last blk -
Done. 38658048 bytes read
Download of 0x24de000 bytes completed
Write kernel and filesystem binary to FLASH
Programming...copysize=38658048, amtcopy=38658048
done. 38658048 bytes written

BCM47XX SYSTEM RESET!!!




Code:
Digital core power voltage set to 1.0V
Decompressing...done
Detect CPU turbo button...

CFE version 6.37.14.86 (r456083) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: 二  4月 22 16:05:16 CST 2014 (raymonddev@raymonddev-vm1210)
Copyright (C) 2000-2008 Broadcom Corporation.

Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
DDR Clock: 400 MHz
Info: DDR frequency set from clkfreq=1000,*800*
Warning: invalid DDR setting of 800 MHz ignored. DDR frequency will be set to 400 MHz.
et1: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.86 (r456083)
CPU type 0x0: 1000MHz
Tot mem: 262144 KBytes

CFE mem:    0x00F00000 - 0x01795558 (9000280)
Data:       0x00F4DBB4 - 0x00F4E080 (1228)
BSS:        0x00F4E090 - 0x00F93558 (283848)
Heap:       0x00F93558 - 0x01793558 (8388608)
Stack:      0x01793558 - 0x01795558 (8192)
Text:       0x00F00000 - 0x00F4430C (279308)

Committing NVRAM...done
Waiting for wps button release...donDigital core power voltage set to 1.0V
Decompressing...done
Digital core power voltage set to 1.0V

SHMOO VER 1.13

Decompressing...done
Detect CPU turbo button...

CFE version 6.37.14.86 (r456083) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: 二  4月 22 16:05:16 CST 2014 (raymonddev@raymonddev-vm1210)
Copyright (C) 2000-2008 Broadcom Corporation.

Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
DDR Clock: 800 MHz
Info: DDR frequency set from clkfreq=1000,*800*
et1: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.86 (r456083)
CPU type 0x0: 1000MHz
Tot mem: 262144 KBytes

CFE mem:    0x00F00000 - 0x01795558 (9000280)
Data:       0x00F4DBB4 - 0x00F4E080 (1228)
BSS:        0x00F4E090 - 0x00F93558 (283848)
Heap:       0x00F93558 - 0x01793558 (8388608)
Stack:      0x01793558 - 0x01795558 (8192)
Text:       0x00F00000 - 0x00F4430C (279308)

Device eth0:  hwaddr 88-D7-F6-44-22-E0, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
Null Rescue Flag.
boot the image...
go load
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: TFTP Server.
..tftp retry wait 0
Failed.
Could not load :: Timeout occured
Loader:raw Filesys:raw Dev:nflash0.os File: Options:(null)
Loading: .... 4051680 bytes read
Entry at 0x00008000
Closing network.
Starting program at 0x00008000
console [ttyS0] enabled, bootconsole disabled
serial8250.0: ttyS1 at MMIO 0x18000400 (irq = 117) is a 16550
brd: module loaded
loop: module loaded
pflash: found no supported devices
bcmsflash: found no supported devices
Boot partition size = 524288(0x80000)
lookup_nflash_rootfs_offset: offset = 0x200000
nflash: squash filesystem with lzma found at block 28
Creating 4 MTD partitions on "nflash":
0x000000000000-0x000000080000 : "boot"
0x000000080000-0x000000200000 : "nvram"
0x000000200000-0x000004000000 : "linux"
0x00000039d8d0-0x000004000000 : "rootfs"
PPP generic driver version 2.4.2
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPTP driver version 0.8.5
Mirror/redirect action on
u32 classifier
    Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (3992 buckets, 15968 max)
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
L2TP core driver, V2.0
PPPoL2TP kernel driver, V2.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Registering the dns_resolver key type
Northstar brcmnand NAND Flash Controller driver, Version 0.1 (c) Broadcom Inc. 2012
NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD NAND 128MiB 3,3V 8-bit)
## mknod /dev/null: File exists
## mknod /dev/console: File exists
1: set_action 0


Hit ENTER for console...

firmware version: 3.0.0.4.380.69_2
wan_proto: not support FA mode...
fa_mode_adjust(0x18cd): IPTV environment, disable FA mode
[1 preinit:init_nvram +7] init_nvram for model(43)

## Restoring defaults... ##
num_of_mssid_support(0x0088): [mssid] support [3] mssid
done

FA off.





-------------------



Router is not 100% work fine, i install OF FW, and merlin, on both LAN2-4 not work, WiFi radio ON signal enable, and i see wifi on smartphone but fail when try connect. WAN OK, internet work. All time LED LAN2 is ON.
In recovery mode only work LAN2 and WAN, LAN1, 3-4 ar not work.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum