One more Kick at a ZBT WG3526

HI all, I've been through the forum (and others) looking for any assistance to try and salvage this router. I originally gave it a stab in this thread Need assistance with recovering a ZBT-WG3526, but thought it was a lost cause and put it on a shelf. Now that I've upped my internet speed the Linksys EA3500 isn't cutting it anymore, and before buying a new faster (and possibly MT7621 based) router, I thought I would give this one another try.

I can get it into recovery mode but when I attempt to upload any of the firmware versions I have found so far (OpenWRT of various versions, as well as the "OEM" versions found on the ltehacks Google drive here), It starts to download, and then I get a connection reset after 20 or 30 seconds.

I was able to get it to boot into 17.04 version of OpenWRT, but I'm not sure what I did exactly to get there.

I think I got it into the current state after attempting to upload the latest OpenWRT (19.07?) via the Luci interface.

I've also tried connecting to it with a USB-serial interface to the serial pins, but am not getting any output at all from it either.

As I mentioned above, I can get it into recovery mode, but all attempts at uploading a new image time out. A couple of other clues, if I reboot the router without going into recovery mode, the pwr led is on solid, and the sys led is flashing green (2x/sec?). It responds to a ping at 192.168.1.1, but if I do a zenmap scan of the device, it shows all ports closed (port 80 shows open when in recovery mode).

I've also tried a couple of terminal emulator programs, with a serial-USB device to my Linux box (tio and screen) and have tried various Baud rates, but I'm not getting any response back at all.

Any help would be appreciated.

Thanks

Did you wire correctly (TTL TX to router's RX and TTL RX to router's TX; GND to GND)? Only connect GND, RX and TX. Do not connect VCC. Did you try other console tools like putty or minicom? Did you solder the pinout or just put in cables into the pinout (contact issue)? The config is given on device page 115200, 8N1 (just standard). What TTL adapter you've got (supported voltages, chipset)?

Did you ever get the chinise interface? like described here:

I tried TX and RX both ways (didn't think it would cause an issue), and GND, according to the pinout for the USB-serial converter, but just checking the wires with a DVM, it looks like GND and VCC were incorrect and it's very likely that I fried the board. I tried it again on just now with the wires reversed, and didnt get anything from the port, I also tried swapping the TX and RX, given that the other wires were wrong.. I might try one more time with an arduino (I have a few of those around) to get the usb-serial converter out of the picture.
The usb-serial converter is PL-2303 based.. and 5V on VCC..
I do get the recovery screen, but any uploads I tried fail, or at least shortly after starting I get "lost contact" on the web page. (I never get the uploading status bar that someone had in a youtube video.

Ok, on a final Hail Mary, I decided to try using an arduino as a usb-serial converter and I'm making progress. I am getting something back from the router using 115200 8N1, but I'm getting unprintable characters..
"vHiiKKk[Vk/-~uY?wMn|r|o|<|W_]w^^Hd{m_wFail |o exu|Hh?`` o{{mY?o'kJy,{>mmwvWEntev to|yvatevskuwkVEn|er |o activte`^~.>XZh]*^?B Bpclc]?{IWw"^HmWw!_i{xkYkhi|ed v|m}Yo^k|ytxs"
I also tried even and odd parity.. I'll keep playing with it..

There is some readable text in the garbage, this usually means that you swapped RX and GND on the adapter (or that you connected GND to RX of the device).

This might be the issue. I cannot see any information what voltage your device is based 3.3V or 5V. Does your adapter have a switch/jumper to swap voltage? For Arduino you can adjust voltage.

Here I cannot help you. If I get sth. like that I'm just swaping arround parameters like you. :smiley: If you swap RX/TX you get either nothing or text. If you have wrong baudrate it looks different then that what you have here also.

I checked the pins on the router board, and GND on the arduino is definately going to the right pin. And both RX and TX are not shorted to GND..

The Arduino Due is a 3.3V board.

I just connected the 3.3v pin also.. and I'm seeing readable text.. :stuck_out_tongue:

1 Like

===================================================================

 		MT7621   stage1 code Mar 12 2015 14:43:30 (ASIC)

 		CPU=500000000 HZ BUS=166666666 HZ

==================================================================

Change MPLL source from XTAL to CR...

do MEMPLL setting..

MEMPLL Config : 0x21100000

3PLL mode + External loopback

=== XTAL-40Mhz === DDR-1066Mhz ===

PLL2 FB_DL: 0x4, 1/0 = 513/511 11000000

PLL4 FB_DL: 0x9, 1/0 = 519/505 25000000

PLL3 FB_DL: 0x16, 1/0 = 523/501 59000000

do DDR setting..[01F40000]

Apply DDR3 Setting...(use customer AC)

      0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120

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

0000:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0001:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0002:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0003:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0004:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0005:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0006:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0007:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0008:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0009:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

000A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

000B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

000C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

000D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1

000E:| 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1

000F:| 0 0 0 1 1 1 1 1 1 1 1 1 1 1 0 0

0010:| 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0

0011:| 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0

0012:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0013:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0014:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0015:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0016:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0017:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0018:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0019:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

001A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

001B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

001C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

001D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

001E:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

001F:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

DRAMC_DQSCTL1[0e0]=13000000

DRAMC_DQSGCTL[124]=80000033

rank 0 coarse = 15

rank 0 fine = 64

B:| 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0

opt_dle value:10

DRAMC_DDR2CTL[07c]=C287222D

DRAMC_PADCTL4[0e4]=000022B3

DRAMC_DQIDLY1[210]=0F0E0C0D

DRAMC_DQIDLY2[214]=080C0B0C

DRAMC_DQIDLY3[218]=0E090909

DRAMC_DQIDLY4[21c]=0E090E0A

DRAMC_R0DELDLY[018]=00002123

==================================================================

	RX	DQS perbit delay software calibration 

==================================================================

1.0-15 bit dq delay value

==================================================================

bit| 0 1 2 3 4 5 6 7 8 9


0 | 13 9 12 12 9 9 10 7 6 9

10 | 9 11 8 12 9 12


==================================================================

2.dqs window

x=pass dqs delay value (min~max)center

y=0-7bit DQ of every group

input delay:DQS0 =35 DQS1 = 33

==================================================================

bit DQS0 bit DQS1

0 (2~69)35 8 (1~59)30

1 (1~64)32 9 (1~66)33

2 (1~66)33 10 (1~65)33

3 (1~63)32 11 (1~60)30

4 (1~64)32 12 (1~62)31

5 (1~65)33 13 (1~62)31

6 (1~66)33 14 (1~66)33

7 (1~67)34 15 (1~62)31

==================================================================

3.dq delay value last

==================================================================

bit| 0 1 2 3 4 5 6 7 8 9


0 | 13 12 14 15 12 11 12 8 9 9

10 | 9 14 10 14 9 14

==================================================================

==================================================================

 TX  perbyte calibration 

==================================================================

DQS loop = 15, cmp_err_1 = ffff0000

dqs_perbyte_dly.last_dqsdly_pass[0]=15, finish count=1

dqs_perbyte_dly.last_dqsdly_pass[1]=15, finish count=2

DQ loop=15, cmp_err_1 = ffff0000

dqs_perbyte_dly.last_dqdly_pass[0]=15, finish count=1

dqs_perbyte_dly.last_dqdly_pass[1]=15, finish count=2

byte:0, (DQS,DQ)=(8,8)

byte:1, (DQS,DQ)=(8,8)

DRAMC_DQODLY1[200]=88888888

DRAMC_DQODLY2[204]=88888888

20,data:88

[EMI] DRAMC calibration passed

===================================================================

 		MT7621   stage1 code done 

 		CPU=500000000 HZ BUS=166666666 HZ

===================================================================

U-Boot 1.1.3 (Apr 11 2015 - 20:07:37)

SoC:MediaTek MT7621

DRAM: 512MB(448MB LowMem,64MB HighMem)

relocate_code Pointer at: 9bfa8000

Config XHCI 40M PLL

flash manufacture id: ef, device id 40 18

Flash:W25Q128BV Size:16MB

*** Warning - bad CRC, using default environment


| ____ _ ____ |

| | _ \ __ _ _ __ __| | ___ _ __ __ _| __ ) _____ __ |

| | |_) / _ | '_ \ / _ |/ _ | '__/ _` | _ \ / _ \ / / |

| | __/ (| | | | | (| | () | | | (| | |) | () > < |

| || _,|| ||_,|___/|| _,|___/ ___//_\ |

| |

| PandoraBox Ralink/MTK Platform |

| The best solution for you |

| Copyright 2015 D-Team Technology Co.,Ltd. SZ |

| Board:AmazingBox |

| |

| lintellintel.huang@gmail.com |

|______________________________________________________________|

===============Board Info==================

CPU Frequency:880MHz

Detected Memory:448MiB

Bootloader Version:4.3.1.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: SPI Flash

Date:Apr 11 2015 Time:20:07:37

============================================

icache: sets:256, ways:4, linesz:32 ,total:32KiB

dcache: sets:256, ways:4, linesz:32 ,total:32KiB

============================================

#Reset_MT7530

GSW VLAN:LLLW

GPIO_MODE init:

I2C:GPIO

UART_F:GPIO

GE2:GPIO

WDT_RST:GPIO

GPIO_MODE_REGs: 0x4853d

READY_LED_BIT:14.

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.

0

3: System Boot system code via Flash.

Press Reset button enter upgrade mode!

Booting image at bc050000 ...

Image Name: MIPS OpenWrt Linux-4.14.195

Image Type: MIPS Linux Kernel Image (lzma compressed)

Data Size: 1875053 Bytes = 1.8 MB

Load Address: 80001000

Entry Point: 80001000

Verifying Checksum ... OK

Uncompressing Kernel Image ... OK

No initrd

Transferring control to Linux (at address 80001000) ...

Giving linux memsize in MB, 512

Starting kernel ...

[ 0.000000] Linux version 4.14.195 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11208-ce6496d796)) #0 SMP Sun Sep 6 16:19:39 2020
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is ZBT-WG3526 (16M)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 1c000000 @ 00000000 (usable)
[ 0.000000] memory: 04000000 @ 20000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] VPE topology {2,2} total 4
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] HighMem [mem 0x0000000010000000-0x0000000023ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000001bffffff]
[ 0.000000] node 0: [mem 0x0000000020000000-0x0000000023ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000023ffffff]
[ 0.000000] random: get_random_bytes called from 0x80575744 with crng_init=0
[ 0.000000] percpu: Embedded 14 pages/cpu s26224 r8192 d22928 u57344
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130560
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Writing ErrCtl register=0000612f
[ 0.000000] Readback ErrCtl register=0000612f
[ 0.000000] Memory: 512048K/524288K available (4750K kernel code, 237K rwdata, 588K rodata, 1260K init, 255K bss, 12240K reserved, 0K cma-reserved, 262144K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS: 256
[ 0.000000] CPU Clock: 880MHz
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[ 0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[ 0.007839] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.073989] pid_max: default: 32768 minimum: 301
[ 0.078767] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.085277] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.094198] Hierarchical SRCU implementation.
[ 0.099380] smp: Bringing up secondary CPUs ...
[ 0.105463] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.105472] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.105484] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.105632] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.164136] Synchronize counters for CPU 1: done.
[ 0.205467] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.205475] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.205483] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.205556] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.255253] Synchronize counters for CPU 2: done.
[ 0.286557] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.286565] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.286571] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.286649] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.340443] Synchronize counters for CPU 3: done.
[ 0.370297] smp: Brought up 1 node, 4 CPUs
[ 0.378111] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.387914] futex hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.394214] pinctrl core: initialized pinctrl subsystem
[ 0.401011] NET: Registered protocol family 16
[ 0.412212] pull PCIe RST: RALINK_RSTCTRL = 0
[ 0.716948] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.721997] ***** Xtal 40MHz *****
[ 0.725353] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.730450] Port 0 N_FTS = 1b102800
[ 0.733918] Port 1 N_FTS = 1b102800
[ 0.737360] Port 2 N_FTS = 1b102800
[ 1.892632] -> 21007f2
[ 1.895001] PCIE0 enabled
[ 1.897579] PCIE1 enabled
[ 1.900171] PCIE2 enabled
[ 1.902781] PCI host bridge /pcie@1e140000 ranges:
[ 1.907553] MEM 0x0000000060000000..0x000000006fffffff
[ 1.912708] IO 0x000000001e160000..0x000000001e16ffff
[ 1.917905] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[ 1.934735] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.940553] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.946312] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.953510] i2c-mt7621 1e000900.i2c: clock 100KHz, re-start not support
[ 1.960666] PCI host bridge to bus 0000:00
[ 1.964698] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 1.971548] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 1.977382] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.984149] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.993178] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.001116] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.009022] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.019120] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 2.025632] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.032600] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[ 2.039109] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.046045] pci 0000:00:02.0: BAR 0: no space for [mem size 0x80000000]
[ 2.052593] pci 0000:00:02.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.059525] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 2.066241] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[ 2.073006] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
[ 2.080159] pci 0000:00:02.0: BAR 8: assigned [mem 0x60300000-0x603fffff]
[ 2.086917] pci 0000:00:02.0: BAR 9: assigned [mem 0x60400000-0x604fffff pref]
[ 2.094066] pci 0000:00:00.0: BAR 1: assigned [mem 0x60500000-0x6050ffff]
[ 2.100826] pci 0000:00:01.0: BAR 1: assigned [mem 0x60510000-0x6051ffff]
[ 2.107542] pci 0000:00:02.0: BAR 1: assigned [mem 0x60520000-0x6052ffff]
[ 2.114303] pci 0000:00:02.0: BAR 7: no space for [io size 0x1000]
[ 2.120504] pci 0000:00:02.0: BAR 7: failed to assign [io size 0x1000]
[ 2.127103] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[ 2.133812] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.138754] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 2.145486] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[ 2.152760] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
[ 2.159897] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 2.164844] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff]
[ 2.171568] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff pref]
[ 2.178781] pci 0000:03:00.0: BAR 6: assigned [mem 0x60400000-0x6040ffff pref]
[ 2.185910] pci 0000:03:00.0: BAR 5: assigned [mem 0x60300000-0x603001ff]
[ 2.192668] pci 0000:03:00.0: BAR 4: no space for [io size 0x0010]
[ 2.198863] pci 0000:03:00.0: BAR 4: failed to assign [io size 0x0010]
[ 2.205458] pci 0000:03:00.0: BAR 0: no space for [io size 0x0008]
[ 2.211656] pci 0000:03:00.0: BAR 0: failed to assign [io size 0x0008]
[ 2.218243] pci 0000:03:00.0: BAR 2: no space for [io size 0x0008]
[ 2.224441] pci 0000:03:00.0: BAR 2: failed to assign [io size 0x0008]
[ 2.231025] pci 0000:03:00.0: BAR 1: no space for [io size 0x0004]
[ 2.237224] pci 0000:03:00.0: BAR 1: failed to assign [io size 0x0004]
[ 2.243811] pci 0000:03:00.0: BAR 3: no space for [io size 0x0004]
[ 2.250011] pci 0000:03:00.0: BAR 3: failed to assign [io size 0x0004]
[ 2.256606] pci 0000:00:02.0: PCI bridge to [bus 03]
[ 2.261509] pci 0000:00:02.0: bridge window [mem 0x60300000-0x603fffff]
[ 2.268265] pci 0000:00:02.0: bridge window [mem 0x60400000-0x604fffff pref]
[ 2.276924] clocksource: Switched to clocksource GIC
[ 2.283582] NET: Registered protocol family 2
[ 2.288680] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 2.295564] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 2.302032] TCP: Hash tables configured (established 2048 bind 2048)
[ 2.308460] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 2.314227] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 2.320732] NET: Registered protocol family 1
[ 2.556872] 4 CPUs re-calibrate udelay(lpj = 2924544)
[ 2.563179] Crashlog allocated RAM at address 0x3f00000
[ 2.568598] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 2.581646] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.587450] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.598754] random: fast init done
[ 2.604254] bounce: pool size: 64 pages
[ 2.608166] io scheduler noop registered
[ 2.611990] io scheduler deadline registered (default)
[ 2.618281] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 2.627820] console [ttyS0] disabled
[ 2.631376] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 2.640429] console [ttyS0] enabled
[ 2.640429] console [ttyS0] enabled
[ 2.647318] bootconsole [early0] disabled
[ 2.647318] bootconsole [early0] disabled
[ 2.657711] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[ 2.665000] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[ 2.681649] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 2.686393] 4 fixed-partitions partitions found on MTD device spi0.0
[ 2.692755] Creating 4 MTD partitions on "spi0.0":
[ 2.697557] 0x000000000000-0x000000030000 : "u-boot"
[ 2.703531] 0x000000030000-0x000000040000 : "u-boot-env"
[ 2.709793] 0x000000040000-0x000000050000 : "factory"
[ 2.715756] 0x000000050000-0x000001000000 : "firmware"
[ 2.722094] 2 uimage-fw partitions found on MTD device firmware
[ 2.728055] Creating 2 MTD partitions on "firmware":
[ 2.733021] 0x000000000000-0x0000001c9cad : "kernel"
[ 2.738980] 0x0000001c9cad-0x000000fb0000 : "rootfs"
[ 2.744820] mtd: device 5 (rootfs) set to be root filesystem
[ 2.750654] 1 squashfs-split partitions found on MTD device rootfs
[ 2.756818] 0x000000480000-0x000000fb0000 : "rootfs_data"
[ 2.763798] libphy: Fixed MDIO Bus: probed
[ 2.838952] libphy: mdio: probed
[ 4.241867] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[ 4.248622] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22
[ 4.259931] NET: Registered protocol family 10
[ 4.266062] Segment Routing with IPv6
[ 4.269858] NET: Registered protocol family 17
[ 4.274361] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 4.287277] 8021q: 802.1Q VLAN Support v1.8
[ 4.294301] hctosys: unable to open rtc device (rtc0)
[ 4.308624] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 4.320590] Freeing unused kernel memory: 1260K
[ 4.325121] This architecture does not have kernel memory protection.
[ 5.131757] init: Console is alive
[ 5.135430] init: - watchdog -
[ 6.465914] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.646362] usbcore: registered new interface driver usbfs
[ 6.652041] usbcore: registered new interface driver hub
[ 6.657545] usbcore: registered new device driver usb
[ 6.670838] SCSI subsystem initialized
[ 6.689083] bus=0x3, slot = 0x2, irq=0x0
[ 6.693069] PCI: Enabling device 0000:00:02.0 (0004 -> 0006)
[ 6.698913] ahci 0000:03:00.0: SSS flag set, parallel bus scan disabled
[ 6.705556] ahci 0000:03:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl IDE mode
[ 6.713583] ahci 0000:03:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs
[ 6.724281] scsi host0: ahci
[ 6.727938] scsi host1: ahci
[ 6.731200] ata1: SATA max UDMA/133 abar m512@0x60300000 port 0x60300100 irq 26
[ 6.738537] ata2: SATA max UDMA/133 abar m512@0x60300000 port 0x60300180 irq 26
[ 7.086934] ata1: SATA link down (SStatus 0 SControl 300)
[ 7.426919] ata2: SATA link down (SStatus 0 SControl 300)
[ 7.438333] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[ 7.447079] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[ 7.456039] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[ 7.461382] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[ 7.477090] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[ 7.486266] xhci-mtk 1e1c0000.xhci: irq 21, io mem 0x1e1c0000
[ 7.493080] hub 1-0:1.0: USB hub found
[ 7.496951] hub 1-0:1.0: 2 ports detected
[ 7.501626] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[ 7.507009] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[ 7.514472] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[ 7.521091] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 7.530098] hub 2-0:1.0: USB hub found
[ 7.533917] hub 2-0:1.0: 1 port detected
[ 7.610634] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 7.637294] init: - preinit -
[ 8.621927] mtk_soc_eth 1e100000.ethernet: PPE started
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
[ 8.697602] random: procd: uninitialized urandom read (4 bytes read)
[ 12.040900] jffs2: notice: (520) jffs2_build_xattr_subsystem: complete building xattr subsystem, 44 of xdatum (2 unchecked, 42 orphan) and 46 of xref (42 dead, 0 orphan) found.
[ 12.073398] mount_root: switching to jffs2 overlay
[ 12.095675] overlayfs: upper fs does not support tmpfile.
[ 12.106249] urandom-seed: Seeding with /etc/urandom.seed
[ 12.267318] procd: - early -
[ 12.270307] procd: - watchdog -
[ 13.067118] procd: - watchdog -
[ 13.070599] procd: - ubus -
[ 13.243355] random: ubusd: uninitialized urandom read (4 bytes read)
[ 13.311831] random: ubusd: uninitialized urandom read (4 bytes read)
[ 13.318713] random: ubusd: uninitialized urandom read (4 bytes read)
[ 13.325919] procd: - init -
Please press Enter to activate this console.
[ 13.660328] random: crng init done
[ 13.663742] random: 5 urandom warning(s) missed due to ratelimiting
[ 26.462236] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up

1 Like

I guess your problem is solved now. So mark this thread as solved pls.

Not quite.. I see this:
*** Warning - bad CRC, using default environment

and although I see the menu, it times out too quickly and appears to select the default option (3)

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.

0
3: System Boot system code via Flash.

at the end when I tried to enter anything I get the following:

Failed to execut
Please press Enter to activate this console.
Failed to executPlease press Enter to activate this console.

I'm using "moserial" on Ubuntu.

1 Like

Success! With the right timing I was able to hit a 2 to get it into tftp upload mode. I input the IP address of the tftp server and filename and it uploaded successfully and now I'm up on 19.07.4.

Thanks

The "using default environment" message is completely normal when the u-boot is not configured to save environment. That requires dedicating a block of flash and is another thing to (mis)configure, so manufacturers often don't do it.

Yeah, That makes sense for sure. I was just surprised that there was such a short timeout on the option selection.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.