Problem with vth1550

fapg

n3wb
Joined
Nov 9, 2021
Messages
6
Reaction score
1
Location
Portugal
Hi,

I'm try'ing to restore an image from vth1550 using this instructions:


In tftp server shows in a loop:

Nov 10 00:25:57 calvin in.tftpd[1298227]: Client ::ffff:192.168.1.108 finished upgrade_info_7db780a713a4.txt
Nov 10 00:25:59 calvin in.tftpd[1298228]: Client ::ffff:192.168.1.108 finished romfs-x.cramfs.img
Nov 10 00:26:29 calvin in.tftpd[1298439]: Client ::ffff:192.168.1.108 finished kernel-x.cramfs.img
Nov 10 00:26:52 calvin in.tftpd[1298583]: Client ::ffff:192.168.1.108 finished user-x.cramfs.img
Nov 10 00:29:02 calvin in.tftpd[1299472]: Client ::ffff:192.168.1.108 finished upgrade_info_7db780a713a4.txt
Nov 10 00:29:03 calvin in.tftpd[1299473]: Client ::ffff:192.168.1.108 finished romfs-x.cramfs.img
Nov 10 00:29:09 calvin in.tftpd[1299536]: Client ::ffff:192.168.1.108 finished kernel-x.cramfs.img
Nov 10 00:29:14 calvin in.tftpd[1299548]: Client ::ffff:192.168.1.108 finished user-x.cramfs.img

and in a network capture, I can see it failing because a non existing file:

00:36:12.598013 IP 192.168.1.108.3280 > 192.168.254.254.69: 48 RRQ "web-x.cramfs.img" octet timeout 5 blksize 1468
00:36:12.598013 IP 192.168.1.108.3280 > 192.168.254.254.69: 48 RRQ "web-x.cramfs.img" octet timeout 5 blksize 1468

In my firmware I don't have web-x.cramfs.img...

I only have this:

-rw-r--r--. 1 root root 176192 nov 10 00:25 data-x.cramfs.img
-rw-r--r--. 1 root root 260304 nov 10 00:25 dm365_ubl_boot_16M.bin.img
-rw-r--r--. 1 root root 1069120 nov 10 00:25 gui-x.cramfs.img
-rw-r--r--. 1 root root 1799304 nov 10 00:25 kernel-x.cramfs.img
-rw-r--r--. 1 root root 45120 nov 10 00:25 pd-x.cramfs.img
-rw-r--r--. 1 root root 2912320 nov 10 00:25 romfs-x.cramfs.img
-rw-r--r--. 1 root root 9 nov 10 00:25 safeEnv.img
-rw-r--r--. 1 root root 128 nov 10 00:25 sign.img
-rw-r--r--. 1 root root 12064264 nov 10 00:25 update.img
-rw-r--r--. 1 root root 6062144 nov 10 00:25 user-x.cramfs.img

I already try'ed others, but non with web-x. Can someone help me, point me an direction?

Best Regards,
 

fapg

n3wb
Joined
Nov 9, 2021
Messages
6
Reaction score
1
Location
Portugal
With the firmware:

General_VTH151X_Eng_SIP_V4.300.0000000.8.R.20190316

that have a file web-x.cramfs.img the loop is:

Nov 10 00:45:25 calvin in.tftpd[1308334]: Client ::ffff:192.168.1.108 finished upgrade_info_7db780a713a4.txt
Nov 10 00:45:27 calvin in.tftpd[1308335]: Client ::ffff:192.168.1.108 finished romfs-x.cramfs.img
Nov 10 00:45:31 calvin in.tftpd[1308376]: Client ::ffff:192.168.1.108 finished kernel-x.cramfs.img
Nov 10 00:45:37 calvin in.tftpd[1308387]: Client ::ffff:192.168.1.108 finished user-x.cramfs.img
Nov 10 00:45:44 calvin in.tftpd[1308420]: Client ::ffff:192.168.1.108 finished web-x.cramfs.img
Nov 10 00:46:41 calvin in.tftpd[1308813]: Client ::ffff:192.168.1.108 finished upgrade_info_7db780a713a4.txt
Nov 10 00:46:42 calvin in.tftpd[1308814]: Client ::ffff:192.168.1.108 finished romfs-x.cramfs.img
Nov 10 00:46:47 calvin in.tftpd[1308831]: Client ::ffff:192.168.1.108 finished kernel-x.cramfs.img
Nov 10 00:46:52 calvin in.tftpd[1308832]: Client ::ffff:192.168.1.108 finished user-x.cramfs.img
Nov 10 00:47:00 calvin in.tftpd[1308861]: Client ::ffff:192.168.1.108 finished web-x.cramfs.img

with the error:

00:48:15.621989 IP 192.168.1.108.3848 > 192.168.254.254.69: 42 RRQ "failed.txt" octet timeout 1 blksize 1468
00:48:15.621989 IP 192.168.1.108.3848 > 192.168.254.254.69: 42 RRQ "failed.txt" octet timeout 1 blksize 1468

If someone can help.....
 

riogrande75

Pulling my weight
Joined
Oct 19, 2017
Messages
390
Reaction score
141
Location
AUSTRIA
Off course, a VTH does not have a web server on it, so web-x.cramfs.img is defintely wrong.
How does you commands.txt look like and what's the software image you want to flash on your VTH?
 

iTuneDVR

Pulling my weight
Joined
Aug 23, 2014
Messages
854
Reaction score
156
Location
Россия
Command file must contain only needed filenames.
In order not to guess what is happening, connect to the console and everything will be easier there.
Need full log start from your device.
 

iTuneDVR

Pulling my weight
Joined
Aug 23, 2014
Messages
854
Reaction score
156
Location
Россия
if you need full 16mb image it exist for our version General_VTH151X_Eng_SIP_V4.300.0000000.8.R.20190316
 

fapg

n3wb
Joined
Nov 9, 2021
Messages
6
Reaction score
1
Location
Portugal
Off course, a VTH does not have a web server on it, so web-x.cramfs.img is defintely wrong.
How does you commands.txt look like and what's the software image you want to flash on your VTH?
I've an image for VTH that have web-x.cramfs.img... but can be a wrong image...

Right now I've this commands.txt:

run dr
run du
run dd
run dk
tftp 0x82000000 pd-x.cramfs.img; flwrite
tftp 0x82000000 .FLASHING_DONE_STOP_TFTP_NOW
sleep 5

And finish successfully, but the vth doesn't show anything...

with this commands.txt i wrote the:

romfs-x.cramfs.img
user-x.cramfs.img
data-x.cramfs.img
kernel-x.cramfs.img
pd-x.cramfs.img

The only image (in bin file) that I don't wrote is : gui-x.cramfs.img I don't know how to pass the commands.txt to wrote that....

Thank you very much,
 

fapg

n3wb
Joined
Nov 9, 2021
Messages
6
Reaction score
1
Location
Portugal
Command file must contain only needed filenames.
In order not to guess what is happening, connect to the console and everything will be easier there.
Need full log start from your device.
In a vth device, can you send me a link how I can connect to console? I only find to VTO...

Best Regards,
 

riogrande75

Pulling my weight
Joined
Oct 19, 2017
Messages
390
Reaction score
141
Location
AUSTRIA
Try to get Console.log - either via ncat or via UART.
It's hard to figure out what went wrong if you do not have the log.
 
Top