Прошу помощи по восстановлению регистратора Spymax RA-2504L

Камеры, регистраторы и прочее оборудование из Китая (с ebay, aliexpress, dealextreme, 409shop и т.п.)
Ответить
one_chester
Новичок
Сообщения: 1
Зарегистрирован: 10 май 2022, 16:51

Прошу помощи по восстановлению регистратора Spymax RA-2504L

Сообщение one_chester » 11 май 2022, 22:45

Здравствуйте форумчане. Прошу помощи по восстановлению регистратора Spymax RA-2504L. Проблема в следующем,рег не запускается,темный экран. Подключился по UART и вот что выдает в цикле:
U-Boot 2008.10-svn (Mar 19 2012 - 17:14:13)

DRAM: 128 MB
Flash: 8 MB
In: serial
Out: serial
Err: serial
Get info failed, ret = 5
frontboard use 3
Hit any key to stop autoboot: 0
system reset


U-Boot 2008.10-svn (Mar 19 2012 - 17:14:13)

DRAM: 128 MB
Flash: 8 MB
In: serial
Out: serial
Err: serial
Get info failed, ret = 5
frontboard use 3
Hit any key to stop autoboot: 0
system reset


U-Boot 2008.10-svn (Mar 19 2012 - 17:14:13)

DRAM: 128 MB
Flash: 8 MB
In: serial
Out: serial
Err: serial
Get info failed, ret = 5
frontboard use 3
Hit any key to stop autoboot: 0

Подумал,что дело может в прошивке. :smile:

Снял NOR Flash S29GL064N90TAI04, подключил к программатору и залил прошивку,скачанного одного из форумов. Лучше не стало,все тот же вечный запуск в цикле.

Останавлюваю загрузку,ввожу 'help'

IVSS# 'help'
? - alias for 'help'
base - print or set address offset
bootm - boot application image from memory
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
do_encrypt - write data into FLASH memory
erase - erase FLASH memory
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
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
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
sip - set server ip address but not save to flash
tftp - download or upload image via network using TFTP protocol
version - print monitor version

Ввожу printenv :smile:

IVSS# printenv
bootcmd=fsload; bootm 0xc1000000
bootdelay=3
baudrate=115200
xload=1
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:06:05:03:05
ID=600412200525
HWID=00000000000000
serverip=192.168.0.68
ipaddr=192.168.0.65
restore=0
bootargs=mem=64M console=ttyAMA0,115200 root=1f01 rootfstype=cramfs mtdparts=physmap-flash.0:256K(boot),2176K(rootfs),3584K(user),1280K(web),128K(custom),64K(logo),64K(tool),640K(config) busclk=220000000
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2008.10-svn (Mar 19 2012 - 17:14:13)
filesize=18f5f4

За тем ввожу bootm:
Wrong Image Format for bootm command ERROR: can't get kernel image! :smile:

А если ввести fsload, за тем bootm 0xC100000 , то выдается такой лог:

IVSS# fsload
### CRAMFS loading 'boot/uImage' to 0xc1000000
### CRAMFS load complete: 1635828 bytes loaded to 0xc1000000
IVSS# bootm 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: 1635764 Bytes = 1.6 MB
Load Address: c0800000
Entry Point: c0800000
Loading Kernel Image ... OK
OK
Hisilicon ETH net controler
miiphy_register: non unique device name '0:7'

Starting kernel ...

Uncompressing Linux...................................................................................................... done, booting the kernel.
Auto login as root ...
warning: cannot change to home directory
root login on `ttyS000'


BusyBox v1.1.2 (2011.05.20-03:51+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

Welcome to HiLinux.

На этом я застопорился. К сожалению в Linux я не силен.

Аватара пользователя
VirtualLink
Специалист
Сообщения: 1846
Зарегистрирован: 09 апр 2016, 12:38

Re: Прошу помощи по восстановлению регистратора Spymax RA-2504L

Сообщение VirtualLink » 21 июн 2022, 16:24

По сравнению с тема, что было, стало явно лучше!
Что было в оригинальном образе и чем шил?!

Ответить

Вернуться в «Оборудование из Китая - общие вопросы»