Здравствуйте.
Ситуация страшная, с полиции принесли регистратор запороленый. через UART поставил не то смещение теперь в живых остался только загрузчик. Мучаюсь 3 недели.
Регистратор Vidstar vsr-1650 16ch 960h
Процессор Hi3521
АЦП 2 шт Intersil TW2968
SPI winbond w25q128bvfg
На плате hi3521_tw2968_v30
Ищу дамп.
Очень прошу помощи.
Регистратор Vidstar vsr-1650 16ch 960h
Re: Регистратор Vidstar vsr-1650 16ch 960h
Что стирали? Что стёрлось? Как интерфейс выглядел раньше?
Re: Регистратор Vidstar vsr-1650 16ch 960h
hisilicon # printenv
baudrate=115200
bootfile="uImage"
jpeg_addr=0x80000000
jpeg_size=0x20000
vobuf=0x8f000000
bootcmd=showlogo; sf probe 0; sf read 0x82000000 0xC0000 0x4A0000; bootm 0x82000 000
bootargs=mem=128M console=ttyAMA0,115200 root=1f04 rootfstype=cramfs mtdparts=hi _sfc:384K(uboot+env),128K(ulogo),256K(config),4736K(uImage),9856K(fs),1024K(user data)
ipaddr=192.168.1.127
serverip=192.168.1.131
ethaddr=00:16:17:30:A1:68
netmask=255.255.255.0
gatewayip=192.168.1.1
bootdelay=3
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2010.06 (Dec 09 2012 - 03:35:58)
Environment size: 560/131068 bytes
hisilicon # help
? - alias for 'help'
base - print or set address offset
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
decjpg - jpgd - decode jpeg picture.
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 /)
getinfo - print hardware information
go - start application at address 'addr'
help - print command description/usage
loadb - load binary file over serial line (kermit mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mtest - simple RAM read/write test
mw - memory write (fill)
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
saveenv - save environment variables to persistent storage
setenv - set environment variables
setvobg - setvobg - set vo backgroud color.
- setvobg [dev color]
sf - SPI flash sub-system
showlogo- show logo - start
startgx - startgx - open graphics layer.
- startgx [layer addr stride x y w h]
startvo - startvo - open interface of vo device.
- startvo [dev type sync]
stopgx - stopgx - close graphics layer.
- stopgx [layer]
stopvo - stopvo - close interface of vo device.
- stopvo [dev]
tftp - tftp - download or upload image via network using TFTP protocol
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version
Я написал sf erase 0x100000 0xf00000, перепутав размер со смещением. Xm прошивки не встают(некоторые встают, но не определяет сетевую карту), run up не выполняется. Даже не посмотрел как выглядело меню.
baudrate=115200
bootfile="uImage"
jpeg_addr=0x80000000
jpeg_size=0x20000
vobuf=0x8f000000
bootcmd=showlogo; sf probe 0; sf read 0x82000000 0xC0000 0x4A0000; bootm 0x82000 000
bootargs=mem=128M console=ttyAMA0,115200 root=1f04 rootfstype=cramfs mtdparts=hi _sfc:384K(uboot+env),128K(ulogo),256K(config),4736K(uImage),9856K(fs),1024K(user data)
ipaddr=192.168.1.127
serverip=192.168.1.131
ethaddr=00:16:17:30:A1:68
netmask=255.255.255.0
gatewayip=192.168.1.1
bootdelay=3
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2010.06 (Dec 09 2012 - 03:35:58)
Environment size: 560/131068 bytes
hisilicon # help
? - alias for 'help'
base - print or set address offset
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
decjpg - jpgd - decode jpeg picture.
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 /)
getinfo - print hardware information
go - start application at address 'addr'
help - print command description/usage
loadb - load binary file over serial line (kermit mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mtest - simple RAM read/write test
mw - memory write (fill)
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
saveenv - save environment variables to persistent storage
setenv - set environment variables
setvobg - setvobg - set vo backgroud color.
- setvobg [dev color]
sf - SPI flash sub-system
showlogo- show logo - start
startgx - startgx - open graphics layer.
- startgx [layer addr stride x y w h]
startvo - startvo - open interface of vo device.
- startvo [dev type sync]
stopgx - stopgx - close graphics layer.
- stopgx [layer]
stopvo - stopvo - close interface of vo device.
- stopvo [dev]
tftp - tftp - download or upload image via network using TFTP protocol
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version
Я написал sf erase 0x100000 0xf00000, перепутав размер со смещением. Xm прошивки не встают(некоторые встают, но не определяет сетевую карту), run up не выполняется. Даже не посмотрел как выглядело меню.