Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:linksys:ea6350_v4 [2023/12/10 12:58] – [Serial] ttytypertoh:linksys:ea6350_v4 [2023/12/10 14:34] – [Tags] Not detachable ttytyper
Line 1610: Line 1610:
  
 ===== Notes ===== ===== Notes =====
 +==== U-Boot configuration ====
  
 +<code>************************************
 +CBT Uboot Version: 0.0.2
 +************************************
 +
 +============================================ 
 +Ralink UBoot Version: 5.0.0.0
 +-------------------------------------------- 
 +ASIC MT7621A DualCore (MAC to MT7530 Mode)
 +DRAM_CONF_FROM: Auto-Detection 
 +DRAM_TYPE: DDR3 
 +DRAM bus: 16 bit
 +Xtal Mode=3 OCP Ratio=1/3
 +Flash component: NAND Flash
 +Date:Apr 17 2020  Time:15:29:26
 +============================================ 
 +icache: sets:256, ways:4, linesz:32 ,total:32768
 +dcache: sets:256, ways:4, linesz:32 ,total:32768 
 +
 + ##### The CPU freq = 880 MHZ #### 
 +
 + estimate memory size =128 Mbytes
 +
 +#Reset_MT7530
 +
 +set LAN/WAN LLLLW
 +
 +Please choose the operation: 
 +   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).
 +   4: Entr boot command line interface.
 +   7: Load Boot Loader code then write to Flash via Serial. 
 +   9: Load Boot Loader code then write to Flash via TFTP. 
 +
 +default: 3
 +
 +You choosed 4
 +
 +4: System Enter Boot Command Line Interface.
 +
 +U-Boot 1.1.3 (Apr 17 2020 - 15:29:26)
 +
 +MT7621 # help
 +?       - alias for 'help'
 +bootm   - boot application image from memory
 +di - device info handling commands
 +go      - start application at address 'addr'
 +help    - print online help
 +loadb   - load binary file over serial line (kermit mode)
 +mcmp    - memory compare
 +md      - memory display
 +mdio   - Ralink PHY register R/W command !!
 +mm      - memory modify (auto-incrementing)
 +mtdinfo - print MTD partitions
 +nand - nand command
 +nm      - memory modify (constant address)
 +printenv- print environment variables
 +reset   - Perform RESET of the CPU
 +saveenv - save environment variables to persistent storage
 +setenv  - set environment variables
 +tftpboot- boot image via network using TFTP protocol
 +version - print monitor version
 +
 +MT7621 # printenv
 +bootcmd=tftp
 +bootdelay=5
 +baudrate=115200
 +ethaddr="00:AA:BB:CC:DD:10"
 +ipaddr=192.168.1.1
 +serverip=192.168.1.123
 +auto_recovery=yes
 +boot_ver=0.0.2
 +BootType=3
 +boot_part_ready=3
 +boot_part=1
 +bootargs=console=ttyS1,115200n8 root=/dev/mtdblock6 ro rootfstype=jffs2 init=/sbin/init
 +stdin=serial
 +stdout=serial
 +stderr=serial
 +
 +Environment size: 314/4092 bytes
 +
 +MT7621 # mtdinfo
 +Start Size Name
 +0x00000000 0x00080000 bootloader
 +0x00080000 0x00040000 config
 +0x000c0000 0x00040000 factory
 +0x00100000 0x00040000 s_env
 +0x00140000 0x00040000 devinf
 +0x00180000 0x02880000 kernel
 +0x02980000 0x02880000 alt_kernel
 +
 +MT7621 # version
 +U-Boot 1.1.3 (Apr 17 2020 - 15:29:26)
 +</code>
 +
 +==== Stock network configuration ====
 +<code># ip -oneline link show
 +1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN \    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
 +2: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN \    link/ether 12:57:f5:[redacted]:c8 brd ff:ff:ff:ff:ff:ff
 +3: rai0: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN qlen 1000\    link/ether e8:9f:80:[redacted]:b2 brd ff:ff:ff:ff:ff:ff
 +4: eth2: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN qlen 1000\    link/ether e8:9f:80:[redacted]:b0 brd ff:ff:ff:ff:ff:ff
 +5: tunl0: <NOARP> mtu 0 qdisc noop state DOWN \    link/ipip 0.0.0.0 brd 0.0.0.0
 +6: sit0: <NOARP> mtu 1480 qdisc noop state DOWN \    link/sit 0.0.0.0 brd 0.0.0.0
 +7: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN \    link/tunnel6 :: brd ::
 +8: ip6gre0@NONE: <NOARP> mtu 1448 qdisc noop state DOWN \    link/[823] 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 brd 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
 +9: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000\    link/ether e8:9f:80:[redacted]:b0 brd ff:ff:ff:ff:ff:ff
 +10: br0: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP \    link/ether e8:9f:80:[redacted]:b0 brd ff:ff:ff:ff:ff:ff
 +11: ra0: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN qlen 1000\    link/ether e8:9f:80:[redacted]:b1 brd ff:ff:ff:ff:ff:ff
 +12: ra1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\    link/ether ea:9f:80:[redacted]:b1 brd ff:ff:ff:ff:ff:ff
 +13: apcli0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\    link/ether ea:9f:80:[redacted]:b1 brd ff:ff:ff:ff:ff:ff
 +14: rai1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
 +15: apclii0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000\    link/ether ee:8f:80:[redacted]:b2 brd ff:ff:ff:ff:ff:ff
 +
 +# ip route show
 +default via [redacted gw] dev eth3 
 +127.0.0.0/8 dev lo  scope link 
 +192.168.1.0/24 dev br0  proto kernel  scope link  src 192.168.1.1 
 +[redacted wan net]/24 dev eth3  proto kernel  scope link  src [redacted] 
 +[redacted gw] dev eth3  scope link 
 +239.255.255.250 dev br0  scope link 
 +
 +# ip -6 route show
 +[redacted wan net]::/64 dev eth3  proto kernel  metric 256  expires 17875sec
 +[redacted ula net]::/64 dev eth3  proto kernel  metric 256 
 +fe80::/64 dev eth2  proto kernel  metric 256 
 +fe80::/64 dev br0  proto kernel  metric 256 
 +fe80::/64 dev eth3  proto kernel  metric 256 
 +fe80::/64 dev ra0  proto kernel  metric 256 
 +fe80::/64 dev rai0  proto kernel  metric 256 
 +default via [redacted gw] dev eth3  proto ra  metric 1024  expires 1768sec hoplimit 64</code>
 +
 +==== Stock netstat ====
 +<code># netstat -tunap
 +Active Internet connections (servers and established)
 +Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
 +tcp        0      0 192.168.1.1:139         0.0.0.0:              LISTEN      12025/smbd
 +tcp        0      0 0.0.0.0:10000           0.0.0.0:              LISTEN      5456/lighttpd
 +tcp        0      0 0.0.0.0:80              0.0.0.0:              LISTEN      5456/lighttpd
 +tcp        0      0 127.0.0.1:8081          0.0.0.0:              LISTEN      4777/stunnel
 +tcp        0      0 127.0.0.1:8082          0.0.0.0:              LISTEN      4777/stunnel
 +tcp        0      0 0.0.0.0:53              0.0.0.0:              LISTEN      4867/dnsmasq
 +tcp        0      0 0.0.0.0:51000           0.0.0.0:              LISTEN      5239/redirector
 +tcp        0      0 0.0.0.0:11161           0.0.0.0:              LISTEN      5456/lighttpd
 +tcp        0      0 192.168.1.1:445         0.0.0.0:              LISTEN      12025/smbd
 +tcp        0      0 0.0.0.0:52000           0.0.0.0:              LISTEN      5456/lighttpd
 +tcp        0      0 0.0.0.0:49153           0.0.0.0:              LISTEN      11164/wscd
 +tcp        0      0 0.0.0.0:49154           0.0.0.0:              LISTEN      12119/wscd
 +tcp        0      0 ::1:52367               :::                   LISTEN      2370/syseventd
 +tcp        0      0 :::10000                :::*                    LISTEN      5456/lighttpd
 +tcp        0      0 :::80                   :::                   LISTEN      5456/lighttpd
 +tcp        0      0 :::53                   :::                   LISTEN      4867/dnsmasq
 +tcp        0      0 :::11161                :::*                    LISTEN      5456/lighttpd
 +tcp        0      0 :::52000                :::*                    LISTEN      5456/lighttpd
 +tcp        0      0 :::2601                 :::                   LISTEN      10690/zebra
 +udp        0      0 0.0.0.0:53              0.0.0.0:                          4867/dnsmasq
 +udp        0      0 0.0.0.0:1900            0.0.0.0:                          12119/wscd
 +udp        0      0 0.0.0.0:1900            0.0.0.0:                          11164/wscd
 +udp        0      0 239.255.255.250:1900    0.0.0.0:                          5090/devidentd
 +udp        0      0 239.255.255.250:3702    0.0.0.0:                          5090/devidentd
 +udp        0      0 192.168.1.1:137         0.0.0.0:                          11617/nmbd
 +udp        0      0 0.0.0.0:137             0.0.0.0:                          11617/nmbd
 +udp        0      0 0.0.0.0:137             0.0.0.0:                          5090/devidentd
 +udp        0      0 192.168.1.1:138         0.0.0.0:                          11617/nmbd
 +udp        0      0 0.0.0.0:138             0.0.0.0:                          11617/nmbd
 +udp        0      0 0.0.0.0:138             0.0.0.0:                          5090/devidentd
 +udp        0      0 127.0.0.1:54412         0.0.0.0:                          11164/wscd
 +udp        0      0 127.0.0.1:40363         0.0.0.0:                          12119/wscd
 +udp        0      0 0.0.0.0:54214           0.0.0.0:                          4625/mdnsd
 +udp        0      0 224.0.0.251:5353        0.0.0.0:                          5090/devidentd
 +udp        0      0 0.0.0.0:5353            0.0.0.0:                          4625/mdnsd
 +udp        0      0 :::546                  :::*                                13633/dhclient
 +udp        0      0 :::547                  :::*                                13465/dhcp6s
 +udp        0      0 :::53                   :::                               4867/dnsmasq
 +udp        0      0 ff02::c:1900            :::*                                5090/devidentd
 +udp        0      0 ff02::c:3702            :::*                                5090/devidentd
 +udp        0      0 ff02::fb:5353           :::                               5090/devidentd</code>
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>MT7621 128ram 2core 5port GigabitEthernet 802.11abgnac 1USB USB3.0 dual_firmware}}+{{tag>MT7621 128ram 2core 5port GigabitEthernet 802.11abgnac 1USB USB3.0 dual_firmware U-boot wlan serial 12v_powered 2ant}}
  • Last modified: 2024/02/12 11:13
  • by 127.0.0.1