Skip to content

Bricked xmtech Hi3615CV300 upon installing. Any recourse? #2381

Description

@packlet

Apologies if this isn't the right place for such a report...

Had serial connection to working camera. Tried using IPCTool, but it didn't seem to run, tho output indicated SoC to be Hi3516Cv300, so I followed instructions at https://openipc.org/cameras/vendors/hisilicon/socs/hi3516cv300 but after reset, camera is now bricked.

Have backup, but no signs of life on network (no link) or serial at all. Any recourse? TIA.

tried IPCTool:

xmtech # tftp ipctool
Hisilicon ETH net controler
MAC: 00-12-14-0A-34-9B
eth0 : phy status change : LINK=DOWN : DUPLEX=FULL : SPEED=100M
eth0 : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server 192.168.0.11; our IP address is 192.168.0.10
Download Filename 'ipctool'.
Download to address: 0x80008000
Downloading: #################################################
done
Bytes transferred = 163548 (27edc hex)

xmtech # go 0x80008000

Starting application at 0x80008000 ...

undefined instruction
pc : [<80008008>] lr : [<8840cd2c>]
sp : 883bf568 ip : 00000030 fp : 00000002
r10: 8840ccdc r9 : 88435900 r8 : 883bffe0
r7 : 883bf60d r6 : 00000002 r5 : 80008000 r4 : 883bf580
r3 : 80008000 r2 : 883bf580 r1 : 883bf580 r0 : 00000001
Flags: nZCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...

resetting ...

hi3516cv300 System startup

Uncompress.......Ok

hi3516cv300 System startup

U-Boot 2010.06-svn965 (Mar 29 2018 - 11:09:51)

Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0x20 0x70 0x18
Block:64KB Chip:16MB Name:"XM25QH128AHIG"
CONFIG_CLOSE_SPI_8PIN_4IO = y.
at hifmc100_setTB() mid:0x20,chipsize:0x1000000 .
unlock all.
SPI Nor total size: 16MB
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
Press Ctrl+C to stop autoboot
16384 KiB hi_fmc at 0:0 is now current device

srcAddr 0x83000000, dstAddr 0x82000000
created_inode 0x883d0200
find_squashfs_file: name bin, start_block 0, offset 2490, type 1
find_squashfs_file: name boot, start_block 0, offset 2590, type 1
read inode: name boot, sb 0, of 2590, type 1
find_squashfs_file: name uImage, start_block 0, offset 2522, type 2
read inode: name uImage, sb 0, of 2522, type 2
write_file: regular file, blocks 9
len 2221979

FS load complete: 2221979 bytes loaded to 0x82000000

Booting kernel from Legacy Image at 82000000 ...

Image Name: Linux-3.18.20
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2221915 Bytes = 2.1 MiB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK

Starting kernel ...

tftp'd image and reset:

xmtech #
xmtech #
xmtech # printenv
bootargs=init=linuxrc mem=${osmem} console=ttyAMA0,115200 root=/dev/mtdblock1 rootfstype=squashfs mtdparts=hi_sfc:0x3000 0(boot),0x550000(romfs),0x740000(user),0x180000(web),0x80000(custom),0x140000(mtd)
bootcmd=setenv setargs setenv bootargs ${bootargs};run setargs;sf probe 0;sf read 83000000 30000 550000;squashfsload;boo tm 0x82000000
bootdelay=1
baudrate=115200
netmask=255.255.255.0
bootfile="uImage"
da=tftp 0x82000000 u-boot.bin.img;sf probe 0;flwrite
du=tftp 0x82000000 user-x.cramfs.img;sf probe 0;flwrite
dr=tftp 0x82000000 romfs-x.cramfs.img;sf probe 0;flwrite
dw=tftp 0x82000000 web-x.cramfs.img;sf probe 0;flwrite
dl=tftp 0x82000000 logo-x.cramfs.img;sf probe 0;flwrite
dc=tftp 0x82000000 custom-x.cramfs.img;sf probe 0;flwrite
up=tftp 0x82000000 update.img;sf probe 0;flwrite
ua=mw.b 0x82000000 ff 1000000;tftp 0x82000000 upall_verify.img;sf probe 0;flwrite
tk=tftp 0x82000000 uImage;setenv setargs setenv bootargs ${bootargs};run setargs;bootm 0x82000000
dd=mw.b 0x82000000 ff 1000000;tftp 0x82000000 mtd-x.jffs2.img;sf probe 0;flwrite
ethaddr=00:12:14:0a:34:9b
NID=0x0001
muxctl0=0x12040064
muxval0=0x0
gpio0=0x77
gpioval0=0x00
muxctl1=0x12040104
muxval1=0x00
gpio1=0x82
gpioval1=0x04
osmem=56M
appSystemLanguage=English
appVideoStandard=NTSC
appNetIP=0x3900A8C00x00FFFFFF0x0100A8C0
ipaddr=192.168.0.10
serverip=192.168.0.11
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2010.06-svn965 (Mar 29 2018 - 11:09:51)

Environment size: 1441/65532 bytes
xmtech #
xmtech #
xmtech # mw.b 0x82000000 0xff 0x1000000
xmtech # sf probe 0; sf read 0x82000000 0x0 0x1000000
16384 KiB hi_fmc at 0:0 is now current device

xmtech # tftpput 0x82000000 0x1000000 backup-hi3516cv300-nor16m.bin
Unknown command 'tftpput' - try 'help'
xmtech # tftp 0x82000000 backup-hi3516cv300-nor16m.bin 0x1000000
Hisilicon ETH net controler
MAC: 00-12-14-0A-34-9B
eth0 : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP to server 192.168.0.11; our IP address is 192.168.0.10
Upload Filename 'backup-hi3516cv300-nor16m.bin'.
Upload from address: 0x82000000, 16.000 MB to be send ...
Uploading: # [ Connected ]
################################ [ 2.888 MB]
################################ [ 5.752 MB]
################################ [ 8.616 MB]
################################ [11.480 MB]
############################%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# [14.344 MB]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%#%%%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%%%%%%%%%%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%
16.000 MB upload ok.
xmtech # mw.b 0x82000000 0xff 0x1000000
xmtech # sf probe 0; sf lock 0;
16384 KiB hi_fmc at 0:0 is now current device
unlock all block.
xmtech # tftpboot 0x82000000 openipc-hi3516cv300-nor-ultimate-16mb.bin && sf erase 0x0 0x1000000 && sf write 0x82000000 0x0 ${filesize}
Unknown command 'tftpboot' - try 'help'
xmtech # tftp 0x82000000 openipc-hi3516cv300-nor-ultimate-16mb.bin && sf erase 0x0 0x1000000 && sf write 0x82000000 0x0 ${filesize}
tftp - tftp - download or upload image via network using TFTP protocol

xmtech # tftp 0x82000000 openipc-hi3516cv300-nor-ultimate-16mb.bin
Hisilicon ETH net controler
MAC: 00-12-14-0A-34-9B
eth0 : phy status change : LINK=DOWN : DUPLEX=FULL : SPEED=100M
eth0 : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
TFTP from server 192.168.0.11; our IP address is 192.168.0.10
Download Filename 'openipc-hi3516cv300-nor-ultimate-16mb.bin'.
Download to address: 0x82000000
Downloading: #################################################
done
Bytes transferred = 16777216 (1000000 hex)
xmtech # sf write 0x82000000 0x0 ${filesize}
Writing at 0x1000000 -- 100% complete.
xmtech # reset
resetting ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions