После неудачной перепрошивки (штатным образом, через Web-интерфейс), регистратор превратился в "полукирпич", т.е. начинается загрузка, вывод логотипа, пауза и... перезагрузка... и т.д
К сожалению backup не делал, ну... "экономил время".
Прошивка https://vidimost.com/dh_hcvr5x16-s2
Необходимость перепрошики возникла из-за "отсутствия русского языка" (цитата пользователя).
Т.е. каким-то чудом, иначе сформулировать не могу, заводская прошивка с русским была обновлена..
Пытался поправить дело примерно так:
1. Подключил UART
2 Установил необходимый софп (Putty, TFTP)
3.Распаковал указанную выше прошивку в root TFTP сервера
4 Настроил TCP протокол на сетевом контроллере управляющего компа
5. Сформировал пакетный файл для TFTP сервера
ну и запустил. с первого раза конечно не получилось, но после отладки
вот лог...
--------------------------------------------------------------
System startup
U-Boot 2010.06-svn3271 (Feb 22 2019 - 17:47:26)
Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0xc2 0x20 0x18
Block:64KB Chip:16MB Name:"MX25L128XX"
SPI Nor total size: 16MB
In: serial
Out: serial
Err: serial
chip type hi3531a
===============================================
DPLL:400Mhz DDR:1600Mhz
APLL:1100Mhz VPLL0:108Mhz
===============================================
phy id:0x3625e62
nice find PHY B50612E on higmac
hwid_gpio_val=0x72
hwid_gpio_val=0x72
hwid_gpio_val=0x72
hwid_gpio_val=0x72
hwid_gpio_val=0x72
find_inode failed for name=hwidconfig
hwid_gpio_val=0x72
Hit any key to stop autoboot: 0
xtal mode cant't test hpm!
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=100M
MAC: 4C-11-BF-66-19-5E
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'ID_2E022A7PAET2F5A.txt'.
Download to address: 0x41000000
Downloading: #################################################
done
Bytes transferred = 181 (b5 hex)
CRC:2109153133
MagicString:c016dcd6-cdeb-45df-9fd0-e821bf0e1e62
run dr
run dw
run dc
tftp 0x41000000 pd-x.squashfs.img; flwrite
tftp 0x41000000 .FLASHING_DONE_STOP_TFTP_NOW
sleep 5
maybe an other command: run dr!
maybe an other command: run dw!
maybe an other command: run dc!
maybe an other command: tftp 0x41000000 pd-x.squashfs.img; flwrite!
maybe an other command: tftp 0x41000000 .FLASHING_DONE_STOP_TFTP_NOW!
maybe an other command: sleep 5!
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=100M
MAC: 4C-11-BF-66-19-5E
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'success.txt'.
Download to address: 0x41000000
Downloading: *
TFTP error: 'File not found or No Access' (1)
Not retrying...
Now stop process here, please turn off power!
stop frondboard and watchdog!
hisilicon # *?***
Unknown command '*?***' - try 'help'
--------------------------------------------------
непонятно почему, пакетом обновлять не захотел, и что это за файл "Success.txt"
и далее, ручкаю, уже из терминала
--------------------------------------------------------
hisilicon # sf probe 0
hisilicon # sf lock 0
hisilicon # run dr
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=100M
MAC: 4C-11-BF-66-19-5E
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'romfs-x.cramfs.img'.
Download to address: 0x41000000
Downloading: #################################################
done
Bytes transferred = 12423232 (bd9040 hex)
hisilicon # run dl
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=100M
MAC: 4C-11-BF-66-19-5E
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'logo-x.cramfs.img'.
Download to address: 0x41000000
Downloading: #################################################
done
Bytes transferred = 4160 (1040 hex)
close frondboard!
Header CRC Checking ... OK
Data CRC Checking ... OK
Image Name: linux
Image Type: ARM Linux Standalone Program (gzip compressed)
Data Size: 4096 Bytes = 4 KiB
Load Address: a0e80000
Entry Point: a0ec0000
img_addr 0x41000000 write to: 0xa0e80000
write : 100%
done
hisilicon # run dw
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=100M
MAC: 4C-11-BF-66-19-5E
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'web-x.cramfs.img'.
Download to address: 0x41000000
Downloading: #################################################
done
Bytes transferred = 1511488 (171040 hex)
close frondboard!
invaild chipname linux ### the valid chipname is 3531A
flwrite error 1!
hisilicon # sf lock 0
hisilicon #
------------------------------------------------------------------
К сожалению backup не делал, ну... "экономил время".
Прошивка https://vidimost.com/dh_hcvr5x16-s2
Необходимость перепрошики возникла из-за "отсутствия русского языка" (цитата пользователя).
Т.е. каким-то чудом, иначе сформулировать не могу, заводская прошивка с русским была обновлена..
Пытался поправить дело примерно так:
1. Подключил UART
2 Установил необходимый софп (Putty, TFTP)
3.Распаковал указанную выше прошивку в root TFTP сервера
4 Настроил TCP протокол на сетевом контроллере управляющего компа
5. Сформировал пакетный файл для TFTP сервера
ну и запустил. с первого раза конечно не получилось, но после отладки
вот лог...
--------------------------------------------------------------
System startup
U-Boot 2010.06-svn3271 (Feb 22 2019 - 17:47:26)
Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0xc2 0x20 0x18
Block:64KB Chip:16MB Name:"MX25L128XX"
SPI Nor total size: 16MB
In: serial
Out: serial
Err: serial
chip type hi3531a
===============================================
DPLL:400Mhz DDR:1600Mhz
APLL:1100Mhz VPLL0:108Mhz
===============================================
phy id:0x3625e62
nice find PHY B50612E on higmac
hwid_gpio_val=0x72
hwid_gpio_val=0x72
hwid_gpio_val=0x72
hwid_gpio_val=0x72
hwid_gpio_val=0x72
find_inode failed for name=hwidconfig
hwid_gpio_val=0x72
Hit any key to stop autoboot: 0
xtal mode cant't test hpm!
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=100M
MAC: 4C-11-BF-66-19-5E
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'ID_2E022A7PAET2F5A.txt'.
Download to address: 0x41000000
Downloading: #################################################
done
Bytes transferred = 181 (b5 hex)
CRC:2109153133
MagicString:c016dcd6-cdeb-45df-9fd0-e821bf0e1e62
run dr
run dw
run dc
tftp 0x41000000 pd-x.squashfs.img; flwrite
tftp 0x41000000 .FLASHING_DONE_STOP_TFTP_NOW
sleep 5
maybe an other command: run dr!
maybe an other command: run dw!
maybe an other command: run dc!
maybe an other command: tftp 0x41000000 pd-x.squashfs.img; flwrite!
maybe an other command: tftp 0x41000000 .FLASHING_DONE_STOP_TFTP_NOW!
maybe an other command: sleep 5!
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=100M
MAC: 4C-11-BF-66-19-5E
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'success.txt'.
Download to address: 0x41000000
Downloading: *
TFTP error: 'File not found or No Access' (1)
Not retrying...
Now stop process here, please turn off power!
stop frondboard and watchdog!
hisilicon # *?***
Unknown command '*?***' - try 'help'
--------------------------------------------------
непонятно почему, пакетом обновлять не захотел, и что это за файл "Success.txt"
и далее, ручкаю, уже из терминала
--------------------------------------------------------
hisilicon # sf probe 0
hisilicon # sf lock 0
hisilicon # run dr
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=100M
MAC: 4C-11-BF-66-19-5E
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'romfs-x.cramfs.img'.
Download to address: 0x41000000
Downloading: #################################################
done
Bytes transferred = 12423232 (bd9040 hex)
hisilicon # run dl
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=100M
MAC: 4C-11-BF-66-19-5E
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'logo-x.cramfs.img'.
Download to address: 0x41000000
Downloading: #################################################
done
Bytes transferred = 4160 (1040 hex)
close frondboard!
Header CRC Checking ... OK
Data CRC Checking ... OK
Image Name: linux
Image Type: ARM Linux Standalone Program (gzip compressed)
Data Size: 4096 Bytes = 4 KiB
Load Address: a0e80000
Entry Point: a0ec0000
img_addr 0x41000000 write to: 0xa0e80000
write : 100%
done
hisilicon # run dw
ETH0: PHY(phyaddr=1, rgmii) link UP: DUPLEX=FULL : SPEED=100M
MAC: 4C-11-BF-66-19-5E
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'web-x.cramfs.img'.
Download to address: 0x41000000
Downloading: #################################################
done
Bytes transferred = 1511488 (171040 hex)
close frondboard!
invaild chipname linux ### the valid chipname is 3531A
flwrite error 1!
hisilicon # sf lock 0
hisilicon #
------------------------------------------------------------------