Помощь в восстановлении камеры 3516с v300
Re: Помощь в восстановлении камеры 3516с v300
hisilicon # protect off all
Unknown command 'protect' - try 'help'
Unknown command 'protect' - try 'help'
Re: Помощь в восстановлении камеры 3516с v300
hisilicon # sf probe 0;sf read 0x82000000 0x0 0x800000
8192 KiB hi_fmc at 0:0 is now current device
8192 KiB hi_fmc at 0:0 is now current device
Re: Помощь в восстановлении камеры 3516с v300
Вам же пишется....almix2007 писал(а):isilicon # sf protect
No SPI flash selected. Please run `sf probe'
hisilicon # sf lock
No SPI flash selected. Please run `'Код: Выделить всё
sf probe
hisilicon # sf probe
Usage: sf probe [bus:]cs [hz] [mode]
hisilicon # sf unlock
No SPI flash selected. Please run `sf probe'
hisilicon #
Код: Выделить всё
sf probe 0
sf protect off all (ну и попробуйте другие команды, которые привел dede, аналогичным способом)
Re: Помощь в восстановлении камеры 3516с v300
А здесь tftp должен быть запущен, и Вы не выполнили команду,almix2007 писал(а):hisilicon # sf probe 0;sf read 0x82000000 0x0 0x800000
8192 KiB hi_fmc at 0:0 is now current device
Код: Выделить всё
tftp 0x82000000 dump.bin 0x800000
Re: Помощь в восстановлении камеры 3516с v300
не пинайте сильно пож-та, первый раз пробую камеру восстановить, применительно к этой инструкции:
http://cs5-2.4pda.to/9880035/%C8%ED%F1% ... 37f6b44886" onclick="window.open(this.href);return false;
какие команды в какой последовательности выполнить?
http://cs5-2.4pda.to/9880035/%C8%ED%F1% ... 37f6b44886" onclick="window.open(this.href);return false;
какие команды в какой последовательности выполнить?
Re: Помощь в восстановлении камеры 3516с v300
Выполнить все до пункта 11, потом
далее
потом
если все Ок
Код: Выделить всё
sf probe 0;sf read 0x82000000 0x0 0x800000
tftp 0x82000000 dump.bin 0x800000
Код: Выделить всё
reset
Код: Выделить всё
sf probe 0
sf protect off all (если сработает, то следующее пропускаем, иначе
sf protect
sf lock
sf unlock
Код: Выделить всё
run du
run dr
run dw
run dc
Re: Помощь в восстановлении камеры 3516с v300
hi3516cv300 System startup
Uncompress.......Ok
hi3516cv300 System startup
U-Boot 2010.06-svn (Apr 20 2017 - 19:16:36)
Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0xef 0x40 0x17
spi_general_qe_enable(294): Error: Disable Quad failed! reg: 0x42
Block:64KB Chip:8MB Name:"W25Q64FV"
Spi is locked. lock address[0 => 0x800000]
SPI Nor total size: 8MB
MMC:
EMMC/MMC/SD controller initialization.
Card did not respond to voltage select!
No EMMC/MMC/SD device found !
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
hisilicon # ccc<INTERRUPT>
hisilicon # <INTERRUPT>
hisilicon # sf probe 0;sf read 0x82000000 0x0 0x800000
8192 KiB hi_fmc at 0:0 is now current device
hisilicon # tftp 0x82000000 dump.bin 0x800000
Hisilicon ETH net controler
MAC: 00-12-17-2B-EE-CA
eth0 : phy status change : LINK=DOWN : DUPLEX=FULL : SPEED=100M
eth0 : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP to server 192.168.1.107; our IP address is 192.168.1.10
Upload Filename 'dump.bin'.
Upload from address: 0x82000000, 8.000 MB to be send ...
Uploading: # [ Connected ]
################################ [ 2.888 MB]
################################ [ 5.752 MB]
#########################
8.000 MB upload ok.
hisilicon # reset
resetting ...
hi3516cv300 System startup
Uncompress.......Ok
hi3516cv300 System startup
U-Boot 2010.06-svn (Apr 20 2017 - 19:16:36)
Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0xef 0x40 0x17
spi_general_qe_enable(294): Error: Disable Quad failed! reg: 0x42
Block:64KB Chip:8MB Name:"W25Q64FV"
Spi is locked. lock address[0 => 0x800000]
SPI Nor total size: 8MB
MMC:
EMMC/MMC/SD controller initialization.
Card did not respond to voltage select!
No EMMC/MMC/SD device found !
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
hisilicon # sf probe 0
8192 KiB hi_fmc at 0:0 is now current device
hisilicon # sf protect off all
sf - SPI flash sub-system
hisilicon # sf protect
sf - SPI flash sub-system
hisilicon # sf lock
Get spi lock information
all blocks are locked.
Spi is locked. lock address[0 => 0x800000]
sf lock level/all
Usage:
all: level(7), lock all blocks.
level(0): unlock all blocks.
set spi nor chip block protection level(0 - 7).
As usual: lock_len = chipsize >> (7 - level)
hisilicon # sf unlock
sf - SPI flash sub-system
hisilicon # run du
Hisilicon ETH net controler
MAC: 00-12-17-2B-EE-CA
eth0 : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server 192.168.1.107; our IP address is 192.168.1.10
Download Filename 'user-x.cramfs.img'.
Download to address: 0x82000000
Downloading: #################################################
done
Bytes transferred = 3125312 (2fb040 hex)
8192 KiB hi_fmc at 0:0 is now current device
## Checking Image at 0x82000000 ...
hdr->ih_magic=0x56190527
Header CRC Checking ... OK
Image Name: linux
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 3125248 Bytes = 3 MiB
Load Address: 00310000
Entry Point: 00610000
Data CRC Checking ... OK
Programing start at: 0x00310000
Programing end at: 0x00610000
ERROR: The erase area was locked.
SPI flash erase failed
Timeout writing to Flash
hisilicon #
Uncompress.......Ok
hi3516cv300 System startup
U-Boot 2010.06-svn (Apr 20 2017 - 19:16:36)
Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0xef 0x40 0x17
spi_general_qe_enable(294): Error: Disable Quad failed! reg: 0x42
Block:64KB Chip:8MB Name:"W25Q64FV"
Spi is locked. lock address[0 => 0x800000]
SPI Nor total size: 8MB
MMC:
EMMC/MMC/SD controller initialization.
Card did not respond to voltage select!
No EMMC/MMC/SD device found !
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
hisilicon # ccc<INTERRUPT>
hisilicon # <INTERRUPT>
hisilicon # sf probe 0;sf read 0x82000000 0x0 0x800000
8192 KiB hi_fmc at 0:0 is now current device
hisilicon # tftp 0x82000000 dump.bin 0x800000
Hisilicon ETH net controler
MAC: 00-12-17-2B-EE-CA
eth0 : phy status change : LINK=DOWN : DUPLEX=FULL : SPEED=100M
eth0 : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP to server 192.168.1.107; our IP address is 192.168.1.10
Upload Filename 'dump.bin'.
Upload from address: 0x82000000, 8.000 MB to be send ...
Uploading: # [ Connected ]
################################ [ 2.888 MB]
################################ [ 5.752 MB]
#########################
8.000 MB upload ok.
hisilicon # reset
resetting ...
hi3516cv300 System startup
Uncompress.......Ok
hi3516cv300 System startup
U-Boot 2010.06-svn (Apr 20 2017 - 19:16:36)
Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0xef 0x40 0x17
spi_general_qe_enable(294): Error: Disable Quad failed! reg: 0x42
Block:64KB Chip:8MB Name:"W25Q64FV"
Spi is locked. lock address[0 => 0x800000]
SPI Nor total size: 8MB
MMC:
EMMC/MMC/SD controller initialization.
Card did not respond to voltage select!
No EMMC/MMC/SD device found !
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
hisilicon # sf probe 0
8192 KiB hi_fmc at 0:0 is now current device
hisilicon # sf protect off all
sf - SPI flash sub-system
hisilicon # sf protect
sf - SPI flash sub-system
hisilicon # sf lock
Get spi lock information
all blocks are locked.
Spi is locked. lock address[0 => 0x800000]
sf lock level/all
Usage:
all: level(7), lock all blocks.
level(0): unlock all blocks.
set spi nor chip block protection level(0 - 7).
As usual: lock_len = chipsize >> (7 - level)
hisilicon # sf unlock
sf - SPI flash sub-system
hisilicon # run du
Hisilicon ETH net controler
MAC: 00-12-17-2B-EE-CA
eth0 : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server 192.168.1.107; our IP address is 192.168.1.10
Download Filename 'user-x.cramfs.img'.
Download to address: 0x82000000
Downloading: #################################################
done
Bytes transferred = 3125312 (2fb040 hex)
8192 KiB hi_fmc at 0:0 is now current device
## Checking Image at 0x82000000 ...
hdr->ih_magic=0x56190527
Header CRC Checking ... OK
Image Name: linux
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 3125248 Bytes = 3 MiB
Load Address: 00310000
Entry Point: 00610000
Data CRC Checking ... OK
Programing start at: 0x00310000
Programing end at: 0x00610000
ERROR: The erase area was locked.
SPI flash erase failed
Timeout writing to Flash
hisilicon #
Re: Помощь в восстановлении камеры 3516с v300
Вам же пишет...хоть самому то можно подумать.
Код: Выделить всё
sf probe 0
sf lock level(0)
Re: Помощь в восстановлении камеры 3516с v300
я первый раз камеру пытаюсь восстановить, вот и прошу помощи
hisilicon # sf lock level(0)
sf lock level/all
Usage:
all: level(7), lock all blocks.
level(0): unlock all blocks.
set spi nor chip block protection level(0 - 7).
As usual: lock_len = chipsize >> (7 - level)
hisilicon # sf lock level(0)
sf lock level/all
Usage:
all: level(7), lock all blocks.
level(0): unlock all blocks.
set spi nor chip block protection level(0 - 7).
As usual: lock_len = chipsize >> (7 - level)
Re: Помощь в восстановлении камеры 3516с v300
дальше "продвинуться не смог.
Re: Помощь в восстановлении камеры 3516с v300
дак Вы хоть пробуйте, что нибудь...almix2007 писал(а):дальше "продвинуться не смог.
Код: Выделить всё
sf probe 0
sf lock level 0 или sf lock 0
Re: Помощь в восстановлении камеры 3516с v300
Спасибо!
sf lock 0
помогло
sf lock 0
помогло