Spymax RA-0616LB: восстановление
Добавлено: 29 май 2017, 00:27
Здравствуйте! Регистратор не загружался, техподдержка прислала прошивку...залил программатором загрузчик поверх "убитого". В терминале появилось следующее:
U-Boot 2008.10-svn (Nov 15 2011 - 15:09:14)
DRAM: 256 MB
Flash: 16 MB
In: serial
Out: serial
Err: serial
Datainformation = 0
Get info failed, ret = 9
Hit any key to stop autoboot: 0
system reset
U-Boot 2008.10-svn (Nov 15 2011 - 15:09:14)
DRAM: 256 MB
Flash: 16 MB
In: serial
Out: serial
Err: serial
Datainformation = 0
Get info failed, ret = 9
Hit any key to stop autoboot: 0
system reset
если остановить autoboot и набрать "bootd", то регистратор нормально загрузится:
U-Boot 2008.10-svn (Nov 15 2011 - 15:09:14)
DRAM: 256 MB
Flash: 16 MB
In: serial
Out: serial
Err: serial
Datainformation = 0
Get info failed, ret = 9
Hit any key to stop autoboot: 0
IVSS# bootd
### CRAMFS loading 'boot/uImage' to 0xc1000000
### CRAMFS load complete: 1628760 bytes loaded to 0xc1000000
## Booting kernel from Legacy Image at c1000000 ...
Image Name: Linux-2.6.24-rt1-hi3515v100
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1628696 Bytes = 1.6 MB
Load Address: c0800000
Entry Point: c0800000
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux..................................................................................................... done, booting the
kernel.
...но если выключить питание и опять включить,то будет циклично "system reset"
вывод "help"
IVSS# help
? - alias for 'help'
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
jpgd - decode jpeg picture.
do_encrypt - write data into FLASH memory
erase - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
flinfo - print FLASH memory information
flwrite - write data into FLASH memory
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
help - print online help
hwid - set hardware id and save to flash
lip - set local ip address but not save to flash
loadb - load binary file over serial line (kermit mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
mac - set mac address and save to flash
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
setenv - set environment variables
setvobg - set vo backgroud color.
- setvobg [dev color]sip - set server ip address but not save to flash
startgx - open graphics layer.
- startgx [layer addr stride x y w h]
startvo - open interface of vo device.
- startvo [dev type sync]stopgx - close graphics layer.
- stopgx [layer]stopvo - close interface of vo device.
- stopvo [dev]tftp - download or upload image via network using TFTP protocol
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version
ydump - YAFFS device struct
yls - yaffs ls
ymkdir - YAFFS mkdir
ymount - mount yaffs
ymv - YAFFS mv
yrd - read file from yaffs
yrdm - read file to memory from yaffs
yrm - YAFFS rm
yrmdir - YAFFS rmdir
yumount - unmount yaffs
ywr - write file to yaffs
ywrm - write file from memory to yaffs
IVSS#
вывод "printenv"
IVSS# printenv
bootargs=mem=64M console=ttyAMA0,115200 root=1f01 rootfstype=cramfs mtdparts=physmap-flash.0:512K
(boot),4M(rootfs),6M(user),2M(web),128K(custom),256K(logo),128K(tool),640K(config),1408K(backup)
busclk=230000000 user_debug=0x1f
bootcmd=fsload; bootm 0xc1000000
bootdelay=3
baudrate=115200
jpeg_addr=0xc0000000
jpeg_size=0x80000
vobuf=0xcff00000
da=tftp 0xc1000000 u-boot.bin.img;protect off all; flwrite
dr=tftp 0xc1000000 romfs-x.cramfs.img; flwrite
dc=tftp 0xc1000000 custom-x.cramfs.img; flwrite
du=tftp 0xc1000000 user-x.cramfs.img; flwrite
dw=tftp 0xc1000000 web-x.cramfs.img; flwrite
dl=tftp 0xc1000000 logo-x.cramfs.img; flwrite
up=tftp 0xc1000000 update.img; flwrite
tk=tftp 0xc1000000 uImage; bootm 0xc1000000
gatewayip=10.12.1.1
netmask=255.255.0.0
bootfile=boot/uImage
ethaddr=00:01:02:03:04:05
serverip=192.168.1.100
ipaddr=192.168.1.99
HWID=Z61612390271
ID=Z61612390271
appauto=1
xload=0
dh_keyboard=1
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2008.10-svn (Nov 15 2011 - 15:09:14)
Environment size: 1029/131068 bytes
IVSS#
подскажите, пожалуйста, в какую сторону смотреть, чтобы победить проблему?
U-Boot 2008.10-svn (Nov 15 2011 - 15:09:14)
DRAM: 256 MB
Flash: 16 MB
In: serial
Out: serial
Err: serial
Datainformation = 0
Get info failed, ret = 9
Hit any key to stop autoboot: 0
system reset
U-Boot 2008.10-svn (Nov 15 2011 - 15:09:14)
DRAM: 256 MB
Flash: 16 MB
In: serial
Out: serial
Err: serial
Datainformation = 0
Get info failed, ret = 9
Hit any key to stop autoboot: 0
system reset
если остановить autoboot и набрать "bootd", то регистратор нормально загрузится:
U-Boot 2008.10-svn (Nov 15 2011 - 15:09:14)
DRAM: 256 MB
Flash: 16 MB
In: serial
Out: serial
Err: serial
Datainformation = 0
Get info failed, ret = 9
Hit any key to stop autoboot: 0
IVSS# bootd
### CRAMFS loading 'boot/uImage' to 0xc1000000
### CRAMFS load complete: 1628760 bytes loaded to 0xc1000000
## Booting kernel from Legacy Image at c1000000 ...
Image Name: Linux-2.6.24-rt1-hi3515v100
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1628696 Bytes = 1.6 MB
Load Address: c0800000
Entry Point: c0800000
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux..................................................................................................... done, booting the
kernel.
...но если выключить питание и опять включить,то будет циклично "system reset"
вывод "help"
IVSS# help
? - alias for 'help'
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
jpgd - decode jpeg picture.
do_encrypt - write data into FLASH memory
erase - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
flinfo - print FLASH memory information
flwrite - write data into FLASH memory
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
help - print online help
hwid - set hardware id and save to flash
lip - set local ip address but not save to flash
loadb - load binary file over serial line (kermit mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
mac - set mac address and save to flash
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
setenv - set environment variables
setvobg - set vo backgroud color.
- setvobg [dev color]sip - set server ip address but not save to flash
startgx - open graphics layer.
- startgx [layer addr stride x y w h]
startvo - open interface of vo device.
- startvo [dev type sync]stopgx - close graphics layer.
- stopgx [layer]stopvo - close interface of vo device.
- stopvo [dev]tftp - download or upload image via network using TFTP protocol
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version
ydump - YAFFS device struct
yls - yaffs ls
ymkdir - YAFFS mkdir
ymount - mount yaffs
ymv - YAFFS mv
yrd - read file from yaffs
yrdm - read file to memory from yaffs
yrm - YAFFS rm
yrmdir - YAFFS rmdir
yumount - unmount yaffs
ywr - write file to yaffs
ywrm - write file from memory to yaffs
IVSS#
вывод "printenv"
IVSS# printenv
bootargs=mem=64M console=ttyAMA0,115200 root=1f01 rootfstype=cramfs mtdparts=physmap-flash.0:512K
(boot),4M(rootfs),6M(user),2M(web),128K(custom),256K(logo),128K(tool),640K(config),1408K(backup)
busclk=230000000 user_debug=0x1f
bootcmd=fsload; bootm 0xc1000000
bootdelay=3
baudrate=115200
jpeg_addr=0xc0000000
jpeg_size=0x80000
vobuf=0xcff00000
da=tftp 0xc1000000 u-boot.bin.img;protect off all; flwrite
dr=tftp 0xc1000000 romfs-x.cramfs.img; flwrite
dc=tftp 0xc1000000 custom-x.cramfs.img; flwrite
du=tftp 0xc1000000 user-x.cramfs.img; flwrite
dw=tftp 0xc1000000 web-x.cramfs.img; flwrite
dl=tftp 0xc1000000 logo-x.cramfs.img; flwrite
up=tftp 0xc1000000 update.img; flwrite
tk=tftp 0xc1000000 uImage; bootm 0xc1000000
gatewayip=10.12.1.1
netmask=255.255.0.0
bootfile=boot/uImage
ethaddr=00:01:02:03:04:05
serverip=192.168.1.100
ipaddr=192.168.1.99
HWID=Z61612390271
ID=Z61612390271
appauto=1
xload=0
dh_keyboard=1
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2008.10-svn (Nov 15 2011 - 15:09:14)
Environment size: 1029/131068 bytes
IVSS#
подскажите, пожалуйста, в какую сторону смотреть, чтобы победить проблему?