Flash Chip on Asus RT-AC51U

I have type enter after
Please press Enter to activate this console.

And it stops at 50 seconds.
I do not know if cause is typing key
Maybe 50 seconds is full boot

Bootlog looks Ok.
I've rebuilt openwrt with decreased spi flash speed.
Pls reload and reflash.

Yes, spi flash is on wire and socket.
Not on pcb for now.
Tomorrow i try.
Thanks

image

Maybe problem can be Tx of consolle ?
New WiFi there are not.
What ip it has ?
There are some html ? ssh ? enabled ?

U-Boot 1.1.3 (Nov  5 2020 - 12:05:10)

Board: MediaTek APSoC DRAM: 32 MB
enable ephy clock...done. SSC disabled.
MediaTek SPI flash driver, SPI clock: 46MHz
spi device id: ef 40 18 0 0 (40180000)
find flash: W25Q128FV
*** Warning - bad CRC, using default environment

============================================
MediaTek U-Boot Version: 5.0.1.0-6
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 256 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 32 MBytes
Flash component: SPI Flash
Date:Nov  5 2020  Time:12:05:10
============================================
icache: sets:512, ways:4, linesz:32, total:65536
dcache: sets:256, ways:4, linesz:32, total:32768

 #### The CPU freq = 560 MHZ ####
 estimate memory size = 32 Mbytes

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: Enter boot command line interface.
   5: Load system code then write to Flash via USB Storage.
   9: Load U-Boot code then write to Flash via TFTP.

You choosed 3

 0


3: System Boot system code via Flash.
RESET button pressed!

## Enter to Rescue Mode (manual) ##
(Re)start USB...
USB0:   * ehci_hcd_init *
MediaTek USB EHCI host init, hccr b01c0000, hcor b01c0010, hc_length 16
Register 1111 NbrPorts 1
USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found

 No USB Storage found. Upgrade FW failed!

 NetTxPacket = 0x81FB5980

 KSEG1ADDR(NetTxPacket) = 0xA1FB5980

 NetLoopHttpd,call eth_halt !
Trying eth2

 ETH_STATE_ACTIVE!!
HTTP server is starting at IP: 10.10.10.1
HTTP server is ready!

Request for: /
Request for: /style.css
Data will be downloaded at 0x80200000 in RAM
Upgrade type: firmware
Upload file size: 4194542 bytes
Loading: #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #################

HTTP upload is done! Upgrading...


****************************
*    FIRMWARE UPGRADING    *
* DO NOT POWER OFF DEVICE! *
****************************

................................................................
................................................................
.
.
Done!
HTTP ugrade is done! Rebooting...



U-Boot 1.1.3 (Nov  5 2020 - 12:05:10)

Board: MediaTek APSoC DRAM: 32 MB
enable ephy clock...done. SSC disabled.
******************************
Software System Reset Occurred
******************************
MediaTek SPI flash driver, SPI clock: 46MHz
spi device id: ef 40 18 0 0 (40180000)
find flash: W25Q128FV
*** Warning - bad CRC, using default environment

============================================
MediaTek U-Boot Version: 5.0.1.0-6
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 256 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 32 MBytes
Flash component: SPI Flash
Date:Nov  5 2020  Time:12:05:10
============================================
icache: sets:512, ways:4, linesz:32, total:65536
dcache: sets:256, ways:4, linesz:32, total:32768

 #### The CPU freq = 560 MHZ ####
 estimate memory size = 32 Mbytes

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: Enter boot command line interface.
   5: Load system code then write to Flash via USB Storage.
   9: Load U-Boot code then write to Flash via TFTP.

You choosed 3

 0


3: System Boot system code via Flash.
## Checking image at bc050000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.180
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1565112 Bytes =  1.5 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32

Starting kernel ...

[    0.000000] Linux version 4.14.180 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11063-85e04e9f46)) #0 Sat May 16 18:32:20 2020
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Noname Board
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] random: get_random_bytes called from 0x80481740 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00066771
[    0.000000] Readback ErrCtl register=00066771
[    0.000000] Memory: 26320K/32768K available (3916K kernel code, 187K rwdata, 500K rodata, 1212K init, 215K bss, 6448K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 560MHz
[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[    0.000000] systick: enable autosleep mode
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns
[    0.000012] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns
[    0.007598] Calibrating delay loop... 371.09 BogoMIPS (lpj=1855488)
[    0.073521] pid_max: default: 32768 minimum: 301
[    0.078252] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084640] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.097778] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.107331] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.113311] pinctrl core: initialized pinctrl subsystem
[    0.119670] NET: Registered protocol family 16
[    0.146176] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.151633] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.157956] rt2880_gpio 10000688.gpio: registering 1 gpios
[    0.163298] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[    0.173764] clocksource: Switched to clocksource systick
[    0.180079] NET: Registered protocol family 2
[    0.185350] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.192077] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.198310] TCP: Hash tables configured (established 1024 bind 1024)
[    0.204597] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.210226] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.216634] NET: Registered protocol family 1
[    0.223559] rt-timer 10000100.timer: maximum frequency is 1220Hz
[    0.230292] Crashlog allocated RAM at address 0x1f00000
[    0.237116] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.249407] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.255058] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.275183] io scheduler noop registered
[    0.278931] io scheduler deadline registered (default)
[    0.284888] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.293997] console [ttyS0] disabled
[    0.297449] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[    0.307103] console [ttyS0] enabled
[    0.307103] console [ttyS0] enabled
[    0.314140] bootconsole [early0] disabled
[    0.314140] bootconsole [early0] disabled
[    0.330310] spi spi0.0: force spi mode3
[    0.344103] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.348959] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.355470] Creating 4 MTD partitions on "spi0.0":
[    0.360374] 0x000000000000-0x000000030000 : "u-boot"
[    0.366404] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.372720] 0x000000040000-0x000000050000 : "factory"
[    0.378843] 0x000000050000-0x000001000000 : "firmware"
[    0.387938] 2 uimage-fw partitions found on MTD device firmware
[    0.394057] Creating 2 MTD partitions on "firmware":
[    0.399138] 0x000000000000-0x00000017e1f8 : "kernel"
[    0.405147] 0x00000017e1f8-0x000000fb0000 : "rootfs"
[    0.411031] mtd: device 5 (rootfs) set to be root filesystem
[    0.418441] 1 squashfs-split partitions found on MTD device rootfs
[    0.424829] 0x0000003da000-0x000000fb0000 : "rootfs_data"
[    0.432092] libphy: Fixed MDIO Bus: probed
[    0.445153] gsw: setting port4 to ephy mode
[    0.449475] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 4 link up (100Mbps/Full duplex)
[    0.458943] mtk_soc_eth 10100000.ethernet: generated random MAC address fe:d7:7b:d7:dd:21
[    0.467411] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[    0.474219] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    0.483171] rt2880_wdt 10000120.watchdog: Initialized
[    0.489776] NET: Registered protocol family 10
[    0.498511] Segment Routing with IPv6
[    0.502370] NET: Registered protocol family 17
[    0.507042] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.520286] 8021q: 802.1Q VLAN Support v1.8
[    0.540606] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    0.554534] Freeing unused kernel memory: 1212K
[    0.559157] This architecture does not have kernel memory protection.
[    2.280156] init: Console is alive
[    2.284033] init: - watchdog -
[    2.444633] random: fast init done
[    4.169950] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.266821] usbcore: registered new interface driver usbfs
[    4.272507] usbcore: registered new interface driver hub
[    4.278132] usbcore: registered new device driver usb
[    4.289527] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.298001] ehci-platform: EHCI generic platform driver
[    4.313676] phy phy-usbphy.0: remote usb device wakeup disabled
[    4.319751] phy phy-usbphy.0: UTMI 16bit 30MHz
[    4.324325] ehci-platform 101c0000.ehci: EHCI Host Controller
[    4.330231] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    4.338467] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    4.354834] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    4.362287] hub 1-0:1.0: USB hub found
[    4.366594] hub 1-0:1.0: 1 port detected
[    4.373937] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.381923] ohci-platform: OHCI generic platform driver
[    4.387630] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    4.394597] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    4.402845] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    4.436645] hub 2-0:1.0: USB hub found
[    4.440949] hub 2-0:1.0: 1 port detected
[    4.449091] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.460707] init: - preinit -
[    6.123551] 8021q: adding VLAN 0 to HW filter on device eth0
[    6.144776] random: procd: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    7.452230] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    7.489580] urandom-seed: Seed file not found (/etc/urandom.seed)
[    7.615353] procd: - early -
[    7.618420] procd: - watchdog -
[    8.086175] procd: - watchdog -
[    8.089739] procd: - ubus -
[    8.433729] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.519787] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.526911] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.534598] procd: - init -
Please press Enter to activate this console.
[    9.469444] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.650925] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.682254] Loading modules backported from Linux version v4.19.120-0-gfdc072324f3c
[    9.690149] Backport generated by backports.git v4.19.120-1-0-g60c3a249
[    9.716949] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.743177] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[    9.873537] xt_time: kernel timezone is -0000
[    9.997198] PPP generic driver version 2.4.2
[   10.011226] urngd: jent-rng init failed, err: 2
[   10.016934] NET: Registered protocol family 24
[   10.050899] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
[   10.062083] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[   10.070078] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[   10.094546] kmodloader: done loading kernel modules from /etc/modules.d/*
[   34.742380] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   34.755221] jffs2_build_filesystem(): unlocking the mtd device...
[   34.760202] done.
[   34.768485] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   35.194196] 8021q: adding VLAN 0 to HW filter on device eth0
[   35.240687] br-lan: port 1(eth0.1) entered blocking state
[   35.246214] br-lan: port 1(eth0.1) entered disabled state
[   35.252184] device eth0.1 entered promiscuous mode
[   35.257079] device eth0 entered promiscuous mode
[   35.353809] br-lan: port 1(eth0.1) entered blocking state
[   35.359337] br-lan: port 1(eth0.1) entered forwarding state
[   35.365308] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   36.287889] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[  123.620196] random: crng init done
[  123.623690] random: 6 urandom warning(s) missed due to ratelimiting
[  199.096835] done.
[  199.098856] jffs2: notice: (1202) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  199.353884] overlayfs: upper fs does not support tmpfile.

Ok, solved, cause is Tx
Now Work.

[   24.129826] 8021q: adding VLAN 0 to HW filter on device eth0
[   24.171228] device eth0 entered promiscuous mode
[   24.181524] br-lan: port 1(eth0.1) entered blocking state
[   24.187049] br-lan: port 1(eth0.1) entered disabled state
[   24.193027] device eth0.1 entered promiscuous mode
[   24.257773] br-lan: port 1(eth0.1) entered blocking state
[   24.263366] br-lan: port 1(eth0.1) entered forwarding state
[   24.269279] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   25.182309] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready




BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.3, r11063-85e04e9f46
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/#

Show output of commands:

ifconfig -a
swconfig dev switch0 show

I have enabled WiFi on the file
/etc/config/wireless
And now I have "OpenWrt" wireless network without key.
But i have not loaded WiFi map, way WiFi Work ?

My most urgent goal, now, is to try if the card works.
Then i start production of 100 pieces.
Then, December / January I'll have to build OpenWRT

The uboot USB, how it works?
I have to put in the stick a file with that name ?

If I try the USB 5Ghz, it is already active?

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.3, r11063-85e04e9f46
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/#
root@OpenWrt:/# [   55.407630] random: crng init done
[   55.411122] random: 6 urandom warning(s) missed due to ratelimiting
ifconfig -a

swconfig dev switch0 showbr-lan    Link encap:Ethernet  HWaddr FE:D7:7B:D7:DD:21
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::fcd7:7bff:fed7:dd21/64 Scope:Link
          inet6 addr: fdd3:3f32:bd62::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:2074 (2.0 KiB)

eth0      Link encap:Ethernet  HWaddr 16:69:87:22:49:13
          inet6 addr: fe80::1469:87ff:fe22:4913/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:74 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:16155 (15.7 KiB)
          Interrupt:5

eth0.1    Link encap:Ethernet  HWaddr FE:D7:7B:D7:DD:21
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:2074 (2.0 KiB)

eth0.2    Link encap:Ethernet  HWaddr FE:D7:7B:D7:DD:22
          inet6 addr: fe80::fcd7:7bff:fed7:dd22/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:11542 (11.2 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:96 errors:0 dropped:0 overruns:0 frame:0
          TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6528 (6.3 KiB)  TX bytes:6528 (6.3 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:0C:43:76:20:58
          inet6 addr: fe80::20c:43ff:fe76:2058/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:960 (960.0 B)

root@OpenWrt:/#
root@OpenWrt:/# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        mib: Switch MIB counters
PPE_AC_BCNT0: 0
PPE_AC_PCNT0: 0
PPE_AC_BCNT63: 0
PPE_AC_PCNT63: 0
PPE_MTR_CNT0: 0
PPE_MTR_CNT63: 0
GDM1_TX_GBCNT: 0
GDM1_TX_GPCNT: 0
GDM1_TX_SKIPCNT: 0
GDM1_TX_COLCNT: 0
GDM1_RX_GBCNT1: 0
GDM1_RX_GPCNT1: 0
GDM1_RX_OERCNT: 0
GDM1_RX_FERCNT: 0
GDM1_RX_SERCNT: 0
GDM1_RX_LERCNT: 0
GDM1_RX_CERCNT: 0
GDM1_RX_FCCNT: 0
GDM2_TX_GBCNT: 0
GDM2_TX_GPCNT: 0
GDM2_TX_SKIPCNT: 0
GDM2_TX_COLCNT: 0
GDM2_RX_GBCNT: 0
GDM2_RX_GPCNT: 0
GDM2_RX_OERCNT: 0
GDM2_RX_FERCNT: 0
GDM2_RX_SERCNT: 0
GDM2_RX_LERCNT: 3
GDM2_RX_CERCNT: 0
GDM2_RX_FCCNT: 0

Port 0:
        mib: Port 0 MIB counters
TxGPC      : 0
TxBOC      : 0
TxGOC      : 0
TxEPC      : 0
RxGPC      : 0
RxBOC      : 0
RxGOC      : 0
RxEPC1     : 0
RxEPC2     : 0

        pvid: 0
        link: port:0 link:down
Port 1:
        mib: Port 1 MIB counters
TxGPC      : 0
TxBOC      : 0
TxGOC      : 0
TxEPC      : 0
RxGPC      : 0
RxBOC      : 0
RxGOC      : 0
RxEPC1     : 0
RxEPC2     : 0

        pvid: 1
        link: port:1 link:down
Port 2:
        mib: Port 2 MIB counters
TxGPC      : 0
TxBOC      : 0
TxGOC      : 0
TxEPC      : 0
RxGPC      : 0
RxBOC      : 0
RxGOC      : 0
RxEPC1     : 0
RxEPC2     : 0

        pvid: 1
        link: port:2 link:down
Port 3:
        mib: Port 3 MIB counters
TxGPC      : 0
TxBOC      : 0
TxGOC      : 0
TxEPC      : 0
RxGPC      : 0
RxBOC      : 0
RxGOC      : 0
RxEPC1     : 0
RxEPC2     : 0

        pvid: 1
        link: port:3 link:down
Port 4:
        mib: Port 4 MIB counters
TxGPC      : 0
TxBOC      : 0
TxGOC      : 0
TxEPC      : 0
RxGPC      : 0
RxBOC      : 0
RxGOC      : 0
RxEPC1     : 0
RxEPC2     : 0

        pvid: 1
        link: port:4 link:down
Port 5:
        mib: Port 5 MIB counters
TxGPC      : 0
TxBOC      : 0
TxGOC      : 0
TxEPC      : 0
RxGPC      : 0
RxBOC      : 0
RxGOC      : 0
RxEPC1     : 0
RxEPC2     : 0

        pvid: 2
        link: port:5 link:down
Port 6:
        mib: Port 6 MIB counters
TxGPC      : 0
TxBOC      : 0
TxGOC      : 0
TxEPC      : 0
RxGPC      : 76
RxBOC      : 0
RxGOC      : 17151
RxEPC1     : 0
RxEPC2     : 76

        pvid: 0
        link: port:6 link:up speed:1000baseT full-duplex
Port 7:
        mib: Port 7 MIB counters
TxGPC      : 0
TxBOC      : 0
TxGOC      : 0
TxEPC      : 0
RxGPC      : 0
RxBOC      : 0
RxGOC      : 0
RxEPC1     : 0
RxEPC2     : 0

        pvid: 0
        link: port:7 link:down
VLAN 1:
        vid: 1
        ports: 0t 1 2 3 4
VLAN 2:
        vid: 2
        ports: 0t 5
root@OpenWrt:/#

Do you mean wifi calibration data? I've added default data into firmware.

In recovery mode uboot try to load firmware image file from usb stick formatted FAT16. I don't remember filename.

No. You need install wifi usb drivers.
BTW I don't see which port of switch match your rj-45 interface.
We need to correct switch configuration.

But 5Ghz calibration data is same for USB WiFi ?

I've tried dozens of WiFi, on the RT5350 chip, but none worked.
Unstable, freezing up after a short time.
Unusable.

I hoped that using the 7610 stick with the 7620 chip was very similar to the Asus router and then it worked.

I have put now the key, but i think that power is reversed. Go on short circuit.

Ethernet work with uboot, and enought test for now.

Where can I find it ?
In the uboot readme it does not say.

All usb adapters have eeprom chip with calibration data.
IMHO all usb adapters:

:slight_smile:

Filename may be found in uboot sources.

Now Clock on RAM is 186.6Mhz (Measured with the oscilloscope).

I can try to do something to go at full speed ?

resistor capacitor on clock, need to be trimmed ?

Why not?

Sorry, I'm programmer only :slight_smile:
BTW I've corrected firmware (switch config and wifi is enabled by default w/o password)

We can try to 48Mhz SPI Clock.

I have fix USB holder, but when i plug USB WiFi, OpenWrt reboot.
Same for other kind of Stick.
Same if i plug USB memory Stick.

Can be software problem or hardware ?

After Reboot, wit WiFi 7610 key inside

lsusb
/bin/ash: lsusb: not found
root@OpenWrt:/#
root@OpenWrt:/#

iw list

root@OpenWrt:/# iw list
Wiphy phy0
        max # scan SSIDs: 4
        max scan IEs length: 2257 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short long limit: 2
        Coverage class: 0 (up to 0m)
        Device supports RSN-IBSS.
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP-128 (00-0f-ac:4)
                * CCMP-256 (00-0f-ac:10)
                * GCMP-128 (00-0f-ac:8)
                * GCMP-256 (00-0f-ac:9)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
        Band 1:
                Capabilities: 0x2fe
                        HT20/HT40
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 2-streams
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 2 usec (0x04)
                HT TX/RX MCS rate indexes supported: 0-15, 32
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (20.0 dBm) (no IR)
                        * 2472 MHz [13] (20.0 dBm) (no IR)
                        * 2484 MHz [14] (20.0 dBm) (no IR)
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * start_ap
                 * new_station
                 * new_mpath
                 * set_mesh_config
                 * set_bss
                 * authenticate
                 * associate
                 * deauthenticate
                 * disassociate
                 * join_ibss
                 * join_mesh
                 * set_tx_bitrate_mask
                 * frame
                 * frame_wait_cancel
                 * set_wiphy_netns
                 * set_channel
                 * set_wds_peer
                 * probe_client
                 * set_noack_map
                 * register_beacons
                 * start_p2p_device
                 * set_mcast_rate
                 * testmode
                 * connect
                 * disconnect
                 * set_qos_map
                 * set_multicast_to_unicast
        Supported TX frame types:
                 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
        Supported RX frame types:
                 * IBSS: 0x40 0xb0 0xc0 0xd0
                 * managed: 0x40 0xd0
                 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * mesh point: 0xb0 0xc0 0xd0
                 * P2P-client: 0x40 0xd0
                 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * P2P-device: 0x40 0xd0
        software interface modes (can always be added):
                 * AP/VLAN
                 * monitor
        valid interface combinations:
                 * #{ managed, AP, mesh point } <= 8,
                   total <= 8, #channels <= 1
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Device supports TX status socket option.
        Device supports HT-IBSS.
        Device supports SAE with AUTHENTICATE command
        Device supports low priority scan.
        Device supports scan flush.
        Device supports AP scan.
        Device supports per-vif TX power setting
        Driver supports full state transitions for AP/GO clients
        Driver supports a userspace MPM
        Device supports configuring vdev MAC-addr on create.
        Supported extended features:
                * [ RRM ]: RRM
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211

Start with power supply checking.

As I said before you must install tools and drivers. Connect your device to internet and use opkg. The firmware is fully compatible with openwrt 19.07.3 repo.

I programmed the new file, but the wifi is not on.
Tomorrow I try if ethernet see internet.

At startup, system stay on.
At insertion system reboot.
Tomorrow I try if I can install this:
Usb Support -->
kmod-usb2
kmod-usb-uhci
kmod-usb-ohci
kmod-usb-storage
kmod-usb-storage-extras
kmod-usb-storage-uas
kmod-usb-wdm
kmod-usb-serial

How many time it is online a repository?
I compiled OpenWrt, in the past, but I could not make it compatible with the repo.
Have you used the builder ?
I could not use builder because I had to do led and switches custom .

As you can see at this page 19.07.3 repo in release archive.

Yes. LEDs and switch customization can be made with imagebuilder too.

Also i can replace some file ?
html
config
/root

I had abandoned builder because I could not.

I have re uploade new file.

At the first boot i have received


Watchdog Reset Occurred


After reboot, wifi is on.

But internet not work
root@OpenWrt:/# ping www.google.it
ping: bad address 'www.google.it'

ifconfig -a
onfig dev switch0 showbr-lan    Link encap:Ethernet  HWaddr 8A:39:7B:75:30:0F
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::8839:7bff:fe75:300f/64 Scope:Link
          inet6 addr: fd61:22e8:66ef::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10188 errors:0 dropped:1860 overruns:0 frame:0
          TX packets:704 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:997054 (973.6 KiB)  TX bytes:70295 (68.6 KiB)

eth0      Link encap:Ethernet  HWaddr 8A:39:7B:75:30:0F
          inet6 addr: fe80::8839:7bff:fe75:300f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10527 errors:0 dropped:77 overruns:0 frame:0
          TX packets:1052 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1211345 (1.1 MiB)  TX bytes:185652 (181.3 KiB)
          Interrupt:5

eth0.1    Link encap:Ethernet  HWaddr 8A:39:7B:75:30:10
          inet6 addr: fe80::8839:7bff:fe75:3010/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:334 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:108792 (106.2 KiB)

eth0.2    Link encap:Ethernet  HWaddr 8A:39:7B:75:30:0F
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10189 errors:0 dropped:1 overruns:0 frame:0
          TX packets:704 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:997130 (973.7 KiB)  TX bytes:70295 (68.6 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:240 errors:0 dropped:0 overruns:0 frame:0
          TX packets:240 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16144 (15.7 KiB)  TX bytes:16144 (15.7 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:0C:43:76:20:58
          inet6 addr: fe80::20c:43ff:fe76:2058/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9409 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:1231997 (1.1 MiB)

root@OpenWrt:/#
root@OpenWrt:/# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        mib: Switch MIB counters
PPE_AC_BCNT0: 0
PPE_AC_PCNT0: 0
PPE_AC_BCNT63: 0
PPE_AC_PCNT63: 0
PPE_MTR_CNT0: 0
PPE_MTR_CNT63: 0
GDM1_TX_GBCNT: 0
GDM1_TX_GPCNT: 0
GDM1_TX_SKIPCNT: 0
GDM1_TX_COLCNT: 0
GDM1_RX_GBCNT1: 0
GDM1_RX_GPCNT1: 0
GDM1_RX_OERCNT: 0
GDM1_RX_FERCNT: 0
GDM1_RX_SERCNT: 0
GDM1_RX_LERCNT: 0
GDM1_RX_CERCNT: 0
GDM1_RX_FCCNT: 0
GDM2_TX_GBCNT: 0
GDM2_TX_GPCNT: 0
GDM2_TX_SKIPCNT: 0
GDM2_TX_COLCNT: 0
GDM2_RX_GBCNT: 0
GDM2_RX_GPCNT: 0
GDM2_RX_OERCNT: 0
GDM2_RX_FERCNT: 0
GDM2_RX_SERCNT: 0
GDM2_RX_LERCNT: 3
GDM2_RX_CERCNT: 0
GDM2_RX_FCCNT: 0

Port 0:
        mib: Port 0 MIB counters
TxGPC      : 0
TxBOC      : 0
TxGOC      : 0
TxEPC      : 0
RxGPC      : 0
RxBOC      : 0
RxGOC      : 0
RxEPC1     : 0
RxEPC2     : 0

        pvid: 1
        link: port:0 link:down
Port 1:
        mib: Port 1 MIB counters
TxGPC      : 0
TxBOC      : 0
TxGOC      : 0
TxEPC      : 0
RxGPC      : 0
RxBOC      : 0
RxGOC      : 0
RxEPC1     : 0
RxEPC2     : 0

        pvid: 2
        link: port:1 link:down
Port 2:
        mib: Port 2 MIB counters
TxGPC      : 0
TxBOC      : 0
TxGOC      : 0
TxEPC      : 0
RxGPC      : 0
RxBOC      : 0
RxGOC      : 0
RxEPC1     : 0
RxEPC2     : 0

        pvid: 2
        link: port:2 link:down
Port 3:
        mib: Port 3 MIB counters
TxGPC      : 0
TxBOC      : 0
TxGOC      : 0
TxEPC      : 0
RxGPC      : 0
RxBOC      : 0
RxGOC      : 0
RxEPC1     : 0
RxEPC2     : 0

        pvid: 2
        link: port:3 link:down
Port 4:
        mib: Port 4 MIB counters
TxGPC      : 737
TxBOC      : 0
TxGOC      : 76398
TxEPC      : 0
RxGPC      : 10537
RxBOC      : 0
RxGOC      : 1213253
RxEPC1     : 0
RxEPC2     : 0

        pvid: 2
        link: port:4 link:up speed:100baseT full-duplex
Port 5:
        mib: Port 5 MIB counters
TxGPC      : 0
TxBOC      : 0
TxGOC      : 0
TxEPC      : 0
RxGPC      : 0
RxBOC      : 0
RxGOC      : 0
RxEPC1     : 0
RxEPC2     : 0

        pvid: 0
        link: port:5 link:down
Port 6:
        mib: Port 6 MIB counters
TxGPC      : 10537
TxBOC      : 0
TxGOC      : 1254537
TxEPC      : 0
RxGPC      : 1053
RxBOC      : 0
RxGOC      : 190210
RxEPC1     : 0
RxEPC2     : 342

        pvid: 0
        link: port:6 link:up speed:1000baseT full-duplex
Port 7:
        mib: Port 7 MIB counters
TxGPC      : 0
TxBOC      : 0
TxGOC      : 0
TxEPC      : 0
RxGPC      : 0
RxBOC      : 0
RxGOC      : 0
RxEPC1     : 0
RxEPC2     : 0

        pvid: 0
        link: port:7 link:down
VLAN 1:
        vid: 1
        ports: 0 6t
VLAN 2:
        vid: 2
        ports: 1 2 3 4 6t
root@OpenWrt:/#
root@OpenWrt:/#