Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
| toh:tp-link:tl-wr820n [2024/12/14 08:10] – Added Boot Log shankarinece | toh:tp-link:tl-wr820n [2024/12/14 08:16] – [qadInit] shankarinece | ||
|---|---|---|---|
| Line 177: | Line 177: | ||
| EntrySize/ | EntrySize/ | ||
| - | ===============qadInit=============== | ||
| - | |||
| - | # | ||
| - | # | ||
| - | # | ||
| - | # help | ||
| - | |||
| - | ------------------------------------------------------------------------ | ||
| - | Version = 2.0. | ||
| - | Task name = tCmdTask, pri = 8, stack size = 10240, max command entry num = 32. | ||
| - | |||
| - | command | ||
| - | -------------------------------------------------------------------- | ||
| - | ? 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 | ||
| - | 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 | ||
| - | packet | ||
| - | flash Print flash layout, read/ | ||
| - | port manage all udp/tcp packet ports. | ||
| - | mcb Show mcb pools or blocks. | ||
| - | bridge | ||
| - | nat Show nat runtimes. | ||
| - | system | ||
| - | wioctl | ||
| - | iwpriv | ||
| - | 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 | ||
| - | # -erase | ||
| - | # -read Read specify flash segment to buffer. | ||
| - | # -write | ||
| - | # | ||
| - | # off Offset of flash. | ||
| - | # len Length of specify flash segment. | ||
| - | # buffer | ||
| - | # | ||
| - | # | ||
| - | flash 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) | ||
| - | # ? | ||
| - | |||
| - | ------------------------------------------------------------------------ | ||
| - | Version = 2.0. | ||
| - | Task name = tCmdTask, pri = 8, stack size = 10240, max command entry num = 32. | ||
| - | |||
| - | command | ||
| - | -------------------------------------------------------------------- | ||
| - | ? 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 | ||
| - | 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 | ||
| - | packet | ||
| - | flash Print flash layout, read/ | ||
| - | port manage all udp/tcp packet ports. | ||
| - | mcb Show mcb pools or blocks. | ||
| - | bridge | ||
| - | nat Show nat runtimes. | ||
| - | system | ||
| - | wioctl | ||
| - | iwpriv | ||
| - | 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/ | ||
| - | # -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 | ||
| - | # | ||
| - | # 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: | ||
| - | | ||
| - | ---- ---------- ---------- | ||
| - | 1 0x801d6ac0 | ||
| - | 2 0x807f3810 | ||
| - | 3 0x807f3660 | ||
| - | 4 0x801dcca0 | ||
| - | 5 0x801d1570 | ||
| - | 6 0x807ed080 | ||
| - | 7 0x806e6ac0 | ||
| - | 8 0x805ccde0 | ||
| - | 9 0x805ccc20 | ||
| - | 10 0x8045e5c0 | ||
| - | 11 0x8045df80 | ||
| - | 12 0x801d69c0 | ||
| - | |||
| - | |||
| - | SUMMARY: | ||
| - | | ||
| - | | ||
| - | current | ||
| - | | ||
| - | alloc 6422016 | ||
| - | cumulative | ||
| - | alloc | ||
| - | # 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 | ||
| - | # -detach | ||
| - | # -napt | ||
| - | # | ||
| - | # param | ||
| - | # | ||
| - | # 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" | ||
| - | # ifconfig -show eth 1 .... Show interface eth1. | ||
| - | # | ||
| - | ifconfig -show | ||
| - | lo (unit number 0): | ||
| - | | ||
| - | Type: SOFTWARE_LOOPBACK | ||
| - | inet: 127.0.0.1 | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | 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): | ||
| - | | ||
| - | Type: ETHERNET_CSMACD | ||
| - | inet: 192.168.0.1 | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | 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): | ||
| - | | ||
| - | Type: ETHERNET_CSMACD | ||
| - | inet: 169.254.91.97 | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | 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): | ||
| - | | ||
| - | Type: PPP | ||
| - | | ||
| - | | ||
| - | 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 | ||
| - | </ | ||