WizFi630S firmware update - http connection not working

I have an firmware upgrade problem with the WizFi630S module. During an upgrade the firmware did not go up well, and I need to upload a new firmware using usb/serial port, as webserver is not working.
Is there a way to do it?

Pre life: The module was working, but I performed an update, for some reason even after about one and a half hour the response from program was not coming. After restart neither with browser I can not reach the WizFi and also it is not working as a router any more.

Hi, oliver.
Can you see bootloader menu like this?
image
If you can see this boot menu and can run tftpd server, you can install firmware image via boot menu and tftp server

Hi Joseph,

Unluckily nothing comes in on the serial port. (I tried with a different WizFi module it was working so cables, baudrate, … is ok)

Hi Joseph,

I would like to update my previous writing. I somehow reseted the system with pressing SW reset at start up, and it looks reinstalled a booting image. Now I get a output like this:
flash manufacture id: ef, device id 40 19

find flash: W25Q256FV

flash address mode: 4B

[WizFi630S] S/N: 22120T6FEEB8

[WizFi630S] MAC: 00:08:DC:6F:EE:B8

[WizFi630S] VER: 1.2.2

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

Ralink UBoot Version: 4.3.0.0


ASIC 7628_MP (Port5<->None)

DRAM component: 1024 Mbits DDR, width 16

DRAM bus: 16 bit

Total memory: 128 MBytes

Flash component: SPI Flash

Date:Jun 2 2021 Time:16:27:22

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

icache: sets:512, ways:4, linesz:32 ,total:65536

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

The CPU freq = 580 MHZ

estimate memory size =128 Mbytes

RESET MT7628 PHY!!!

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.

Booting image at bc050000 …

Image Name: MIPS OpenWrt Linux-5.4.188

Image Type: MIPS Linux Kernel Image (lzma compressed)

Data Size: 2001102 Bytes = 1.9 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, 128

Starting kernel …

[ 0.000000] Linux version 5.4.188 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16554-1d4dea6d4f)) #0 Sat Apr 16 12:59:34 2022
[ 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 MT7688 ver:1 eco:2
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[ 0.000000] MIPS: machine is WIZnet WizFi630S
[ 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-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS1,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=0004577b
[ 0.000000] Readback ErrCtl register=0004577b
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 122356K/131072K available (5094K kernel code, 206K rwdata, 636K rodata, 1220K init, 205K bss, 8716K 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] intc: using register map from devicetree
[ 0.000000] random: get_random_bytes called from 0x805cfa28 with crng_init=0
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] timer_probe: no matching timers found
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000009] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007573] Calibrating delay loop… 385.02 BogoMIPS (lpj=770048)
[ 0.045459] pid_max: default: 32768 minimum: 301
[ 0.050134] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.057154] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.071172] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.080601] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.087263] pinctrl core: initialized pinctrl subsystem
[ 0.095326] NET: Registered protocol family 16
[ 0.132981] clocksource: Switched to clocksource MIPS
[ 0.138994] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.139432] NET: Registered protocol family 2
[ 0.149631] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.157577] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.165687] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.173061] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.179857] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.186146] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.192467] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.199458] NET: Registered protocol family 1
[ 0.203696] PCI: CLS 0 bytes, default 32
[ 0.212367] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.227481] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.233123] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.258839] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.269587] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.275299] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.281026] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.286684] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.295757] printk: console [ttyS1] disabled
[ 0.299969] 10000c00.uartlite: ttyS1 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[ 0.308697] printk: console [ttyS1] enabled
[ 0.308697] printk: console [ttyS1] enabled
[ 0.317111] printk: bootconsole [early0] disabled
[ 0.317111] printk: bootconsole [early0] disabled
[ 0.327339] 10000d00.uart1: ttyS0 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
[ 0.337105] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
[ 0.347634] spi-mt7621 10000b00.spi: sys_freq: 193333333
[ 0.373585] spi-nor spi0.0: enabling reset hack; may not recover from unexpected reboots
[ 0.381840] spi-nor spi0.0: w25q256 (32768 Kbytes)
[ 0.386758] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.393214] Creating 4 MTD partitions on “spi0.0”:
[ 0.398093] 0x000000000000-0x000000030000 : “u-boot”
[ 0.404338] 0x000000030000-0x000000040000 : “u-boot-env”
[ 0.410930] 0x000000040000-0x000000050000 : “factory”
[ 0.417379] 0x000000050000-0x000002000000 : “firmware”
[ 0.467570] rt3050-esw 10110000.esw: link changed 0x00
[ 0.476047] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 0.486798] NET: Registered protocol family 10
[ 0.496097] Segment Routing with IPv6
[ 0.500045] NET: Registered protocol family 17
[ 0.504655] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 0.517817] 8021q: 802.1Q VLAN Support v1.8
[ 0.524405] /dev/root: Can’t open blockdev
[ 0.528659] VFS: Cannot open root device “(null)” or unknown-block(0,0): error -6
[ 0.536268] Please append a correct “root=” boot option; here are the available partitions:
[ 0.544758] 1f00 192 mtdblock0
[ 0.544761] (driver?)
[ 0.551404] 1f01 64 mtdblock1
[ 0.551406] (driver?)
[ 0.558056] 1f02 64 mtdblock2
[ 0.558059] (driver?)
[ 0.564702] 1f03 32448 mtdblock3
[ 0.564705] (driver?)
[ 0.571355] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 0.579733] Rebooting in 1 seconds…

Can you help on? Thank you

First of all, you need to set tftpd server.

If your pc is windows, please visit TFTPD64 : an opensource IPv6 ready TFTP server/service for windows : TFTP server and prepare tftpd
For Linux, you can prepare a tftpd server.
Just register the path where the firmware image file is located in the tftpd setting and run it.
image

You should connects WizFi630S device and PC to the same network.
Press number 2 on the boot menu selection screen, input the ip and tftpd server ip to be used for the 630s, and write the name of the image file registered in tftpd to proceed with firmware writing.
image
image
image


When the writing is done successfully, you can see many dot(.) strings and done!! message.