找回密码
 立即注册

微信扫码登录

搜索
楼主: zhang00963

[硬件DIY] orvibo vs30zw 网关折腾 刷机教程

[复制链接]
Awe7 手机认证

15

主题

236

回帖

2084

积分

金牌会员

积分
2084
金钱
1833
HASS币
0
发表于 2025-7-24 23:46:29 | 显示全部楼层
本帖最后由 Awe7 于 2025-7-24 23:51 编辑
zhang00963 发表于 2025-7-24 23:23
又没让你接3.3V,只接tx/rx/gnd就可以了,蓝灯常亮要看串口打印,但根据经验来看是硬件问题,大概率是主控 ...

老哥,这个问题只会出现在第一次上电的时候,进去系统后重启也能正常进入系统,但只要一断电后重新上电就会卡蓝灯0.0

以下是启动日志

root@Zigbee_Gateway_B0AAC6:/#
root@Zigbee_Gateway_B0AAC6:/# reboot
root@Zigbee_Gateway_B0AAC6:/# [  122.100998] device eth0 left promiscuous mode
[  122.109733] br-lan: port 1(eth0) entered disabled state
[  126.638017] reboot: Restarting system
[04030C0E][04030D07]
DDR Calibration DQS reg = 00008988


U-Boot 1.1.3 (Mar 22 2018 - 15:51:37)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb8000
******************************
Software System Reset Occurred
******************************
flash manufacture id: ef, device id 40 18
find flash: W25Q128BV
============================================
Ralink UBoot Version: 4.3.0.0
--------------------------------------------
ASIC 7628_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Mar 22 2018  Time:15:51:37
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

##### The CPU freq = 575 MHZ ####
estimate memory size =64 Mbytes
RESET MT7628 PHY!!!!!!
3: System Boot to system code via Flash.
## Booting image at bc050000 ...
   Image Name:   MIPS OpenWrt Linux-5.15.173
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2310646 Bytes =  2.2 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, 64
gpio_mode : 0
data : 28623
key:: 64
222222222222222222222222222222

Starting kernel ...

linux_env :
memsize=64 initrd_start=0x00000000 initrd_size=0x0 flash_start=0x00000000 flash_size=0x1000000 console=
[    0.000000] Linux version 5.15.173 (zhang@zhang) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24149-125a2e1311) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 Fri Dec 27 12:18:24 2024
[    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 MT7628AN ver:1 eco:2
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[    0.000000] MIPS: machine is ORVIBO VS30ZW V1.1 (RAM:64Mbyte ROM:16Mbyte)
[    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-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00013d80
[    0.000000] Readback ErrCtl register=00013d80
[    0.000000] mem auto-init: stackff, heap allocff, heap freeff
[    0.000000] Memory: 56024K/65536K available (5589K kernel code, 601K rwdata, 1200K rodata, 1176K init, 208K bss, 9512K 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] CPU Clock: 575MHz
[    0.000000] timer_probe: no matching timers found
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6647862422 ns
[    0.000002] sched_clock: 32 bits at 287MHz, resolution 3ns, wraps every 7469508094ns
[    0.015462] Calibrating delay loop... 380.92 BogoMIPS (lpj=1904640)
[    0.087617] pid_max: default: 32768 minimum: 301
[    0.097923] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.112280] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.137723] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.157089] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.170759] pinctrl core: initialized pinctrl subsystem
[    0.183057] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.220618] clocksource: Switched to clocksource MIPS
[    0.232292] NET: Registered PF_INET protocol family
[    0.242166] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.257314] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.273997] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.289225] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.304372] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.318299] TCP: Hash tables configured (established 1024 bind 1024)
[    0.331064] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.343941] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.358191] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.369422] PCI: CLS 0 bytes, default 32
[    0.382031] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.402062] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.413544] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.436926] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.448308] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.459648] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.471405] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.485373] printk: console [ttyS0] disabled
[    0.493867] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    0.511688] printk: console [ttyS0] enabled
[    0.511688] printk: console [ttyS0] enabled
[    0.528157] printk: bootconsole [early0] disabled
[    0.528157] printk: bootconsole [early0] disabled
[    0.547893] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
[    0.567312] spi-mt7621 10000b00.spi: sys_freq: 191666666
[    0.599530] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.609198] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.621838] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    0.636371] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    0.651332] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    0.665897] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    0.680736] Creating 5 MTD partitions on "spi0.0":
[    0.690243] 0x000000000000-0x000001000000 : "ALL"
[    0.703873] 0x000000000000-0x000000030000 : "Bootloader"
[    0.715819] 0x000000030000-0x000000040000 : "Config"
[    0.729141] 0x000000040000-0x000000050000 : "factory"
[    0.740825] 0x000000050000-0x000001000000 : "firmware"
[    0.754437] 2 uimage-fw partitions found on MTD device firmware
[    0.766261] Creating 2 MTD partitions on "firmware":
[    0.776189] 0x000000000000-0x000000234236 : "kernel"
[    0.786047] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    0.804895] 0x000000234236-0x000000fb0000 : "rootfs"
[    0.814828] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    0.834356] mtd: setting mtd6 (rootfs) as root device
[    0.845638] 1 squashfs-split partitions found on MTD device rootfs
[    0.858057] 0x000000840000-0x000000fb0000 : "rootfs_data"
[    0.904162] rt3050-esw 10110000.esw: mediatek esw at 0xb0110000, irq 25 initialized
[    0.920542] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    0.939748] NET: Registered PF_INET6 protocol family
[    0.957087] Segment Routing with IPv6
[    0.964542] In-situ OAM (IOAM) with IPv6
[    0.972551] NET: Registered PF_PACKET protocol family
[    0.982718] 8021q: 802.1Q VLAN Support v1.8
[    0.993759] clk: Disabling unused clocks
[    1.008416] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[    1.028945] Freeing unused kernel image (initmem) memory: 1176K
[    1.040726] This architecture does not have kernel memory protection.
[    1.053493] Run /sbin/init as init process
[    1.691774] init: Console is alive
[    1.699216] init: - watchdog -
[    3.264575] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.356385] usbcore: registered new interface driver usbfs
[    3.367502] usbcore: registered new interface driver hub
[    3.378185] usbcore: registered new device driver usb
[    3.397561] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.415090] fsl-ehci: Freescale EHCI Host controller driver
[    3.428510] ehci-platform: EHCI generic platform driver
[    3.449529] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[    3.462848] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[    3.473203] ehci-platform 101c0000.ehci: EHCI Host Controller
[    3.484619] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    3.500461] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    3.540633] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    3.554366] hub 1-0:1.0: USB hub found
[    3.562835] hub 1-0:1.0: 1 port detected
[    3.582539] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.596750] ohci-platform: OHCI generic platform driver
[    3.607715] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    3.621266] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    3.637190] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    3.715902] hub 2-0:1.0: USB hub found
[    3.724424] hub 2-0:1.0: 1 port detected
[    3.742420] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.767535] init: - preinit -
[    5.019322] random: jshn: uninitialized urandom read (4 bytes read)
[    5.205237] random: jshn: uninitialized urandom read (4 bytes read)
[    5.241727] random: jshn: 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.778960] jffs2: notice: (301) jffs2_build_xattr_subsystem: complete building xattr subsystem, 7 of xdatum (0 unchecked, 2 orphan) and 8 of xref (2 dead, 0 orphan) found.
[    7.811750] mount_root: switching to jffs2 overlay
[    7.826202] overlayfs: upper fs does not support tmpfile.
[    7.844802] urandom-seed: Seeding with /etc/urandom.seed
[    8.016467] procd: - early -
[    8.022699] procd: - watchdog -
[    8.822930] procd: - watchdog -
[    8.829920] procd: - ubus -
[    8.948561] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.964485] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.983520] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.004552] procd: - init -
Please press Enter to activate this console.
[   10.099800] random: jshn: uninitialized urandom read (4 bytes read)
[   10.190845] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.231657] random: ubus: uninitialized urandom read (4 bytes read)
[   10.478910] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.253179] i2c_dev: i2c /dev entries driver
[   11.284074] ralink_gdma: module is from the staging directory, the quality is unknown, you have been warned.
[   11.321628] gdma-rt2880 10002800.gdma: revision: 3, channels: 16
[   11.406238] i2c-mt7621 10000900.i2c: clock 400 kHz
[   11.443777] ralink-i2s 10000a00.i2s: mclk 480MHz
[   11.552933] Loading modules backported from Linux version v6.1.110-0-g5f55cad62cc9d
[   11.568197] Backport generated by backports.git v6.1.110-1-0-g965f73fc
[   11.657961] usbcore: registered new device driver r8152-cfgselector
[   11.670674] usbcore: registered new interface driver r8152
[   11.722723] usbcore: registered new interface driver rtl8150
[   11.772244] usbcore: registered new interface driver usbserial_generic
[   11.785419] usbserial: USB Serial support registered for generic
[   11.823558] usbcore: registered new interface driver cdc_xr_usb_serial
[   11.836611] xr_usb_serial_common: Exar USB UART (serial port) driver
[   11.883885] usbcore: registered new interface driver asix
[   11.913267] usbcore: registered new interface driver ax88179_178a
[   11.942881] usbcore: registered new interface driver cdc_ether
[   11.973922] usbcore: registered new interface driver cdc_ncm
[   12.133963] usbcore: registered new interface driver ch341
[   12.145071] usbserial: USB Serial support registered for ch341-uart
[   12.192626] usbcore: registered new interface driver cp210x
[   12.203919] usbserial: USB Serial support registered for cp210x
[   12.243495] usbcore: registered new interface driver ftdi_sio
[   12.255129] usbserial: USB Serial support registered for FTDI USB Serial Device
[   12.625764] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[   12.662633] mt76_wmac 10300000.wmac: Firmware Version: 20151201
[   12.674456] mt76_wmac 10300000.wmac: Build Time: 20151201183641
[   12.730629] mt76_wmac 10300000.wmac: firmware init done
[   12.922053] mt76_wmac 10300000.wmac: registering led 'mt76-phy0'
[   13.233302] usbcore: registered new interface driver pl2303
[   13.244531] usbserial: USB Serial support registered for pl2303
[   13.404629] PPP generic driver version 2.4.2
[   13.442227] NET: Registered PF_PPPOX protocol family
[   13.473245] usbcore: registered new interface driver ti_usb_3410_5052
[   13.486211] usbserial: USB Serial support registered for TI USB 3410 1 port adapter
[   13.501563] usbserial: USB Serial support registered for TI USB 5052 2 port adapter
[   13.691252] kmodloader: done loading kernel modules from /etc/modules.d/*
[   13.851126] random: jshn: uninitialized urandom read (4 bytes read)
[   14.771293] urngd: v1.0.2 started.
[   19.270169] random: crng init done
[   19.276999] random: 45 urandom warning(s) missed due to ratelimiting
[   37.383870] br-lan: port 1(eth0) entered blocking state
[   37.394349] br-lan: port 1(eth0) entered disabled state
[   37.405103] device eth0 entered promiscuous mode



BusyBox v1.36.1 (2024-12-27 12:18:24 UTC) built-in shell (ash)

______       _                     ___      _
/ _  (_) __ _| |__   ___  ___      / _ \__ _| |_ _____      ____ _ _   _
\// /| |/ _` | '_ \ / _ \/ _ \    / /_\/ _` | __/ _ \ \ /\ / / _` | | | |
/ //\ | (_| | |_) |  __/  __/   / /_\\ (_| | ||  __/\ V  V / (_| | |_| |
/____/_|\__, |_.__/ \___|\___|___\____/\__,_|\__\___| \_/\_/ \__,_|\__, |
        |___/               |_____|                                |___/
-----------------------------------------------------
OpenWrt 23.05-SNAPSHOT, r24149-125a2e1311
-----------------------------------------------------
=== 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@Zigbee_Gateway_B0AAC6:/#



如果接gnd rt xt 后再上电,主板无法亮蓝灯。也无法开机,目前我找出的办法是先给板子上电接板上面的gnd rt  板亮起蓝灯后再把xt接上,ttl会闪以下灯后板上的蓝灯会熄灭,正常开机闪红灯后正常进入系统.
回复

使用道具 举报

Awe7 手机认证

15

主题

236

回帖

2084

积分

金牌会员

积分
2084
金钱
1833
HASS币
0
发表于 2025-7-25 01:50:09 | 显示全部楼层
Awe7 发表于 2025-7-24 23:46
老哥,这个问题只会出现在第一次上电的时候,进去系统后重启也能正常进入系统,但只要一断电后重新上电就 ...

测试了五次,通过短接主板的3.3与rt在上电能正常开机,但是不清楚长时间 板会不会烧0.0
回复

使用道具 举报

0

主题

28

回帖

184

积分

论坛分享达人

积分
184
金钱
156
HASS币
0
 楼主| 发表于 2025-7-25 21:38:16 | 显示全部楼层
Awe7 发表于 2025-7-24 23:43
刷进去了也能开机进入系统,但我这个主板有个毛病,断电重启开机会一直亮蓝色灯,无法进入系统。  但是我 ...

这个应该是原机uboot有问题,换一个就行
回复

使用道具 举报

Awe7 手机认证

15

主题

236

回帖

2084

积分

金牌会员

积分
2084
金钱
1833
HASS币
0
发表于 2025-7-25 21:51:49 | 显示全部楼层
zhang00963 发表于 2025-7-25 21:38
这个应该是原机uboot有问题,换一个就行

我直接硬改了,把前面按钮直接接3.3和rt了开机按着上电,等待蓝灯灭后放开.   话说换启动怎么整?直接op内升级换吗?还是ttl
回复

使用道具 举报

0

主题

28

回帖

184

积分

论坛分享达人

积分
184
金钱
156
HASS币
0
 楼主| 发表于 2025-7-25 22:01:46 | 显示全部楼层
本帖最后由 zhang00963 于 2025-7-25 22:05 编辑
Awe7 发表于 2025-7-25 21:51
我直接硬改了,把前面按钮直接接3.3和rt了开机按着上电,等待蓝灯灭后放开.   话说换启动怎么整?直接op ...

用编程器换,替换原固件的0x000000000000-0x000000030000区域

uboot_0x0~0x30000.bin

192 KB, 下载次数: 11

回复

使用道具 举报

Awe7 手机认证

15

主题

236

回帖

2084

积分

金牌会员

积分
2084
金钱
1833
HASS币
0
发表于 2025-7-25 23:19:19 | 显示全部楼层
zhang00963 发表于 2025-7-25 22:01
用编程器换,替换原固件的0x000000000000-0x000000030000区域

感谢大佬,用WinHex替换原固件的启动区域可以上电自启了,还有个问题正面的按键只有op配网ap的作用吗?
回复

使用道具 举报

0

主题

28

回帖

184

积分

论坛分享达人

积分
184
金钱
156
HASS币
0
 楼主| 发表于 7 天前 | 显示全部楼层
本帖最后由 zhang00963 于 2025-7-26 00:45 编辑
Awe7 发表于 2025-7-25 23:19
感谢大佬,用WinHex替换原固件的启动区域可以上电自启了,还有个问题正面的按键只有op配网ap的作用吗? ...

能用就行,正面按键的话只做了配网,正面按键的可以修改 etc/rc.button/config 实现其它功能,背面的复位按键对应 etc/rc.button/reset 也可以修改,  config 那个写了注释,会脚本应该可以看懂逻辑

还有就是设备的三色LED,也可以自行指定
image.png image.png
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-8-2 14:46 , Processed in 0.086345 second(s), 15 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表