TP-Link TL-WR820N

Not supported.

Version CPU Flash RAM Network USB Serial JTag Notes
? (CN) Atheros QCA9531 4MB 64MB 2x 100M Yes ? ? Not supported.
v1.0 (BR/EU) Mediatek MT7628KN 1MB 8MB 2x 100M No Yes ? Not supported.
v2.0 (NL) Mediatek MT7628KN 2MB 8MB ? ? ? ? Not supported.
  [DBG] sel_fine_tmp=00000008, sel_mst_fine=00000002,fg_dly_adj=0000000E
  [DBG] sel_fine_tmp=00000006, sel_mst_fine=00000002,fg_dly_adj=0000000C
  [03060C0F][03060C0A][7C7E0000][23244648][00232452]
  DU Setting Cal Done
  U-Boot 1.1.3 (Jul 19 2018 - 15:10:17)
  Board: Ralink APSoC DRAM:   8 MB
  relocate_code Pointer at: 807c4000
  flash manufacture id: c8, device id 40 14
  find flash: GD25Q08B
  PA/LNA:34,0
  *** Warning - bad CRC, using default environment
  icache: sets:512, ways:4, linesz:32 ,total:65536
  dcache: sets:256, ways:4, linesz:32 ,total:32768 
  RESET MT7628 PHY!!!!!!
  Please choose the operation or press ctrl + c to stop auto boot: 
     1: Load system code to SDRAM via TFTP. 
     2: Load system code then write to Flash via TFTP. 
     3: Boot system code via Flash (default).
     9: Load Boot Loader code then write to Flash via TFTP. 
   0 
     
  3: System Boot system code via Flash.
  ## Booting image at bc00d000 ...
  addr:0xbc00d000
  vxWorks Image.
  imgFileEnc=0xbc00d080, offset=0x80, len=0xb65f1
  enter sysGpioInit
  Before exit sysClkConnect!
  In sysClkEnable!
  Before exit sysClkEnable!
  Attachin
  g in teWrfaacie tlot0.i..n dgon ef
  or RX_DMA_BUSY status Start... done
  Tx_Ring addr: 0xa05e11c0!!!
  Rx_Ring addr: 0xa05e0520!!!
  minifs.fileCount=92
  minifs.nameTableSize=1348
  minifs.fileIndex=bc0c4564
  minifs.ballCount=7
  minifs.fileIndex initialized
  minifs.ballIndex initialized
  minifs.ballData=BC0C4CCC
  minifs.oemSize=274
  minifs.oemData=BC0F3801
                                        Version2.0
                              Software Platform for PNE2.2
                Copyright(C) 2001-2011 by TP-LINK TECHNOLOGIES CO., LTD.
                        Creation date: May  6 2019, 09:56:18
  # eth0 macAddr = 00-19-66-FFFFFFCA-FFFFFF8B-07
  eth0 macAddr = FFFFFF98-FFFFFFDA-FFFFFFC4-FFFFFFCD-FFFFFFF8-FFFFFF90
  TimeZone=GMT+1
  Decompress config 0x3d50
  Vlan Table:
  ------------------------------------------------
  VID     Pri     TagMember  UntagMember    Device
  2       00      0x40         0x02    eth1
  1       00      0x40         0x0c    eth0
  ------------------------------------------------
  set mii port 1 value 0x00003100
  mt7628_phy_off port: 1
  mt7628_phy_on port: 1
  RTA_DST: 
  AF_INET 0.0.0.0
  RTA_NETMASK: 
  Not AF_INET/AF_INET6
  Error writing to routing socket
  delete net 0.0.0.0: not in table
  RTA_DST: 
  AF_INET 0.0.0.0
  RTA_NETMASK: 
  AF_INET 0.0.0.0
  Error writing to routing socket
  delete net default: not in table
  RTA_DST: 
  AF_INET 0.0.0.0
  RTA_GATEWAY: 
  AF_INET 97.91.254.169
  RTA_NETMASK: 
  AF_INET 0.0.0.0
  add net default: gateway 169.254.91.97
  RTA_DST: 
  AF_INET 0.91.254.169
  RTA_NETMASK: 
  Not AF_INET/AF_INET6
  change net 169.254.91.0
  RTA_DST: 
  AF_INET 0.0.0.0
  RTA_NETMASK: 
  Not AF_INET/AF_INET6
  change net 0.0.0.0
  FW Version:_e2_mp
  FW Build Date:20140925171453
  803CFAF0:                          -                   28 76                      (v
  803CFB00:  06 00 00 0C 43 E1 76 28 - 00 00 00 00 00 00 FF FF       ....C.v( ........
  803CFB10:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF 00 00       ........ ........
  803CFB20:  00 00 20 00 00 00 00 00 - 00 00 00 00 00 00 00 00       .. ..... ........
  803CFB30:  00 00 22 34 00 20 FF FF - 00 01 00 00 00 00 00 00       .."4. .. ........
  803CFB40:  22 00 00 00 00 00 30 00 - 00 00 00 00 00 00 00 00       ".....0. ........
  803CFB50:  00 94 40 BA C0 CC 20 86 - 85 85 40 CC 20 85 85 85       ..@... . ..@. ...
  803CFB60:  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00       ........ ........
  803CFB70:  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00       ........ ........
  803CFB80:  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00       ........ ........
  803CFB90:  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 C0 C0       ........ ........
  803CFBA0:  C0 C0 C0 C0 C0 C0 C0 C0 - C0 C0 C0 C0 00 00 00 00       ........ ........
  803CFBB0:  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00       ........ ........
  803CFBC0:  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00       ........ ........
  803CFBD0:  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 11 1D       ........ ........
  803CFBE0:  11 1D 1C 35 1C 35 1E 35 - 1E 35 17 19 17 19 02 00       ...5.5.5 .5......
  803CFBF0:  00 00 C9 C8 C5 88 00 00 - 00 00 00 00 00 00 FF FF       ........ ........
  803CFC00:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF       ........ ........
  803CFC10:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF 00 00       ........ ........
  803CFC20:  00 00 00 00 00 00 00 00 - 00 00 00 00 77 00 11 1D       ........ ....w...
  803CFC30:  11 1D 15 7F 15 7F 17 7F - 17 7F 10 3B 10 3B 59 FF       ..... ..;.;Y.
  803CFC40:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF       ........ ........
  803CFC50:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF       ........ ........
  803CFC60:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF       ........ ........
  803CFC70:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF       ........ ........
  803CFC80:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF       ........ ........
  803CFC90:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF       ........ ........
  803CFCA0:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF       ........ ........
  803CFCB0:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF       ........ ........
  803CFCC0:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF       ........ ........
  803CFCD0:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF       ........ ........
  803CFCE0:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF FF FF       ........ ........
  803CFCF0:  FF FF FF FF FF FF FF FF - FF FF FF FF FF FF 00 00       ........ ........
      WTBL Segment 1 info:
          MemBaseAddr/FID:0x28000/0
          EntrySize/Cnt:32/128
      WTBL Segment 2 info:
          MemBaseAddr/FID:0x40000/0
          EntrySize/Cnt:64/128
      WTBL Segment 3 info:
          MemBaseAddr/FID:0x42000/64
          EntrySize/Cnt:64/128
      WTBL Segment 4 info:
          MemBaseAddr/FID:0x44000/128
          EntrySize/Cnt:32/128
  ===============qadInit===============
  # 
  # 
  # 
  # help
  1. -----------------------------------------------------------------------

Version = 2.0.

  Task name = tCmdTask, pri = 8, stack size = 10240, max command entry num = 32.
  command     description
  --------------------------------------------------------------------
  ?           print all commands.
  help        print all commands.
  mem         show memory part, pools, and dump memory.
  task        show task info and manage system task.
  tftp        download or upload files by tftp protocol.
  ifconfig    Interface config, please reference to -help command.
  route       Show route table, delete/add special route entry.
  arp         Show all arp entries, delete/add special arp entry.
  net         Show net runtimes.
  ping6       Send ICMPv6 ECHO_REQUEST to IPv6 nodes.
  track       Show conntrack runtimes, modify conntrack environments.
  register    register show.
  packet      packet show.
  flash       Print flash layout, read/write/erase specify flash.
  port        manage all udp/tcp packet ports.
  mcb         Show mcb pools or blocks.
  bridge      Show all bridge stations.
  nat         Show nat runtimes.
  system      reboot, reset or firmware.
  wioctl      Wlan command line utility.
  iwpriv      MTK Wlan command line utility.
  wpkt        MTK WiFi Tx mem pool monitor utility.
  --------------------------------------------------------------------
  # flash layout
  # flash -layout 
  # flash -erase off len 
  # flash -read off len buffer 
  # flash -write off len buffer 
  # 
  # -layout          Show flash layout.
  # -erase           Erase specify flash segment.
  # -read            Read specify flash segment to buffer.
  # -write           write specify flash segment from buffer.
  # 
  # off              Offset of flash.
  # len              Length of specify flash segment.
  # buffer           Buffer write from or read to.
  # 
  # 
  flash layout            -layout
  Version: 2.0
  Name: FlashIo
  Total Size(K): 1024
  Erase Sector Size(K): 4
  Block Num: 6.
  ==================================================
  Flash Layout:
  |------------------------| 0x00000000(0K)
  |                        |
  |                        |
  |BOOTIMG(52K)            |
  |                        |
  |                        |
  |------------------------| 0x0000d000(52K)
  |                        |
  |                        |
  |FIRMWARE(948K)          |
  |                        |
  |                        |
  |------------------------| 0x000fa000(1000K)
  |CONFIG(8K)              |
  |------------------------| 0x000fc000(1008K)
  |EXPLOG(8K)              |
  |------------------------| 0x000fe000(1016K)
  |PROFILE(4K)             |
  |------------------------| 0x000ff000(1020K)
  |RADIO(4K)               |
  |------------------------| 0x00100000(1024K)
  # ?
  1. -----------------------------------------------------------------------

Version = 2.0.

  Task name = tCmdTask, pri = 8, stack size = 10240, max command entry num = 32.
  command     description
  --------------------------------------------------------------------
  ?           print all commands.
  help        print all commands.
  mem         show memory part, pools, and dump memory.
  task        show task info and manage system task.
  tftp        download or upload files by tftp protocol.
  ifconfig    Interface config, please reference to -help command.
  route       Show route table, delete/add special route entry.
  arp         Show all arp entries, delete/add special arp entry.
  net         Show net runtimes.
  ping6       Send ICMPv6 ECHO_REQUEST to IPv6 nodes.
  track       Show conntrack runtimes, modify conntrack environments.
  register    register show.
  packet      packet show.
  flash       Print flash layout, read/write/erase specify flash.
  port        manage all udp/tcp packet ports.
  mcb         Show mcb pools or blocks.
  bridge      Show all bridge stations.
  nat         Show nat runtimes.
  system      reboot, reset or firmware.
  wioctl      Wlan command line utility.
  iwpriv      MTK Wlan command line utility.
  wpkt        MTK WiFi Tx mem pool monitor utility.
  --------------------------------------------------------------------
  # mem
  # mem -show [sys | dada | object]
  # mem -dump start size
  # mem -md start value
  # 
  # -show      Displays alloced/free mempry blocks and size.
  # -dump      dump specify memory block.
  # -md        copy specify memory block to specify address.
  # 
  # start      Start address of specify memory block, in hex.
  # size       Size of specify memory block, in hex.
  # value      value in UINT32 format.
  # object     end object, e.g:eth 0.
  # 
  # Example:
  # mem -dump 80010000 1000   .... Show memory block start at 0x80010000 which size of 4k.
  # mem -show eth 1           .... Show netpool of end object eth1.
  # mem -show
  FREE LIST:
     num    addr       size
    ---- ---------- ----------
       1 0x801d6ac0      15984
       2 0x807f3810      22560
       3 0x807f3660         96
       4 0x801dcca0         48
       5 0x801d1570      21504
       6 0x807ed080         16
       7 0x806e6ac0         32
       8 0x805ccde0         16
       9 0x805ccc20         16
      10 0x8045e5c0         80
      11 0x8045df80         80
      12 0x801d69c0         80
  SUMMARY:
   status    bytes     blocks   avg block  max block
   ------ ---------- --------- ---------- ----------
  current
     free      60512        12       5042      22560
    alloc    6422016      1165       5512          -
  cumulative
    alloc   11363520      4192       2710          -
  # ifconfig
  # ifconfig -show [devName devNum]
  # ifconfig -attach devName devNum
  # ifconfig -detach devName devNum
  # ifconfig -napt devName devNum up|down
  # ifconfig -param
  # 
  # -show     Show specify or all interface.
  # -attach   Attach specify interface.
  # -detach   Detach specify interface.
  # -napt     Tagged an interface to napt port.
  # 
  # param     Params pass to ifconfig.
  # 
  # Example:
  # ifconfig eth1 inet 172.31.70.103 netmask 255.255.255.0
  #                          .... Call ifconfig, and pass 
  #                          "eth1 inet 172.31.70.103 netmask 255.255.255.0" to it.
  # ifconfig -show eth 1     .... Show interface eth1.
  # 
  ifconfig -show
  lo (unit number 0):
       Flags: (0xc8049) UP LOOPBACK MULTICAST TRAILERS ARP RUNNING INET_UP INET6_UP 
       Type: SOFTWARE_LOOPBACK
       inet: 127.0.0.1
       Netmask 0xff000000 Subnetmask 0xff000000
       inet6:  ::1 prefixlen 128
       inet6:  fe80::1%lo0 scopeid 0x1 prefixlen 64
       Metric is 0
       Maximum Transfer Unit size is 1536
       0 packets received; 0 packets sent
       0 multicast packets received
       0 multicast packets sent
       0 input errors; 0 output errors
       0 collisions; 0 dropped
       0 output queue drops
  mirror (unit number 0):
       Flags: (0x68143) UP BROADCAST MULTICAST PROMISCUOUS ARP RUNNING INET_UP 
       Type: ETHERNET_CSMACD
       inet: 192.168.0.1
       Broadcast address: 192.168.0.255
       Netmask 0xffffff00 Subnetmask 0xffffff00
       Ethernet address is 98:da:c4:cd:f8:90
       Metric is 0
       Maximum Transfer Unit size is 1500
       0 octets received
       0 octets sent
       0 unicast packets received
       23 unicast packets sent
       0 non-unicast packets received
       20 non-unicast packets sent
       0 incoming packets discarded
       0 outgoing packets discarded
       0 incoming errors
       0 outgoing errors
       0 unknown protos
       0 collisions; 0 dropped
       0 output queue drops
  eth (unit number 1):
       Flags: (0x40068143) UP BROADCAST MULTICAST PROMISCUOUS ARP RUNNING NAPT INET_UP 
       Type: ETHERNET_CSMACD
       inet: 169.254.91.97
       Broadcast address: 169.254.91.255
       Netmask 0xffff0000 Subnetmask 0xffffff00
       Ethernet address is 98:da:c4:cd:f8:91
       Metric is 0
       Maximum Transfer Unit size is 1500
       0 octets received
       64 octets sent
       0 unicast packets received
       1 unicast packets sent
       0 non-unicast packets received
       0 non-unicast packets sent
       0 incoming packets discarded
       0 outgoing packets discarded
       0 incoming errors
       0 outgoing errors
       0 unknown protos
       0 collisions; 0 dropped
       0 output queue drops
  ppp (unit number 0):
       Flags: (0x400080d1) UP POINT-TO-POINT MULTICAST TRAILERS RUNNING NAPT 
       Type: PPP
       Metric is 0
       Maximum Transfer Unit size is 1492
       0 octets received
       0 octets sent
       0 unicast packets received
       0 unicast packets sent
       0 non-unicast packets received
       0 non-unicast packets sent
       0 incoming packets discarded
       0 outgoing packets discarded
       0 incoming errors
       0 outgoing errors
       0 unknown protos
       0 output queue drops


This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/12/14 08:22
  • by shankarinece