После подачи питания камера загружается, пингуется секунды 2 и отваливается. Hard reset не помог.
Фото PCB вот:
К камере смог подключиться по UART, вот логи UBoot:
Код: Выделить всё
U-Boot 2010.06 (Mar 11 2014 - 17:33:21)
NAND: Special Nand id table Version 1.35
Nand ID: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
No NAND device found!!!
0 MiB
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC2 0x20 0x18 0xC2 0x20 0x18
Spi(cs1): Block:64KB Chip:16MB Name:"MX25L128XX"
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
16384 KiB hi_sfc at 0:0 is now current device
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.0.8
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1376244 Bytes = 1.3 MiB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 3.0.8 (root@lvjh-VirtualBox) (gcc version 4.4.1 (Hisilicon_v100(gc
c4.4-290+uclibc_0.9.32.1+eabi+linuxpthread)) ) #1 Thu May 15 10:14:31 CST 2014
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: hi3518
Memory policy: ECC disabled, Data cache writeback
AXI bus clock 220000000.
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: mem=64M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfsty
pe=jffs2 mtdparts=hi_sfc:1M(boot),2M(kernel),3M(system),10M(application)
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61492k/61492k available, 4044k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc4800000 - 0xfe000000 ( 920 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc001f000 ( 92 kB)
.text : 0xc001f000 - 0xc0338000 (3172 kB)
.data : 0xc0338000 - 0xc034cf00 ( 84 kB)
.bss : 0xc034cf24 - 0xc035cf98 ( 65 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:32 nr_irqs:32 32
sched_clock: 32 bits at 110MHz, resolution 9ns, wraps every 39045ms
Calibrating delay loop... 218.72 BogoMIPS (lpj=1093632)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Serial: AMBA PL011 UART driver
uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 5) is a PL011 rev2
console [ttyAMA0] enabled
uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 5) is a PL011 rev2
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource timer1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2. (NAND) В© 2001-2006 Red Hat, Inc.
fuse init (API version 7.16)
msgmni has been set to 120
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
brd: module loaded
Spi id table Version 1.22
Spi(cs1) ID: 0xC2 0x20 0x18 0xC2 0x20 0x18
SPI FLASH start_up_mode is 3 Bytes
Spi(cs1):
Block:64KB
Chip:16MB
Name:"MX25L128XX"
spi size: 16MB
chip num: 1
4 cmdlinepart partitions found on MTD device hi_sfc
Creating 4 MTD partitions on "hi_sfc":
0x000000000000-0x000000100000 : "boot"
0x000000100000-0x000000300000 : "kernel"
0x000000300000-0x000000600000 : "system"
0x000000600000-0x000001000000 : "application"
Fixed MDIO Bus: probed
himii: probed
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
hiusb-ehci hiusb-ehci.0: HIUSB EHCI
hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1
hiusb-ehci hiusb-ehci.0: irq 15, io mem 0x100b0000
hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
hiusb-ohci hiusb-ohci.0: HIUSB OHCI
hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2
hiusb-ohci hiusb-ohci.0: irq 16, io mem 0x100a0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
TCP cubic registered
NET: Registered protocol family 17
registered taskstats version 1
шVFS: Mounted root (jffs2 filesystem) on device 31:2.
Freeing init memory: 92K
_ _ _ _ _ _ _ _ _ _ _ _
\ _ _ _ _ _ ___
/ /__/ \ |_/
/ __ / - _ ___
/ / / / / /
_ _ _ _/ / / \_/ \_ ______
___________\___\__________________
[RCS]: /etc/init.d/S00devs
[RCS]: /etc/init.d/S01udev
udevd (302): /proc/302/oom_adj is deprecated, please use /proc/302/oom_score_adj
instead.
[RCS]: /etc/init.d/S80network
Hisilicon Watchdog Timer: 0.01 initialized. default_margin=15 sec (nowayout= 0,
nodeamon= 1)
SYS_CHECK: 55 1 29
Enter Watch Mode!
Hisilicon Media Memory Zone Manager
hi3518_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
Hisilicon UMAP device driver interface: v3.00
pa:84000000, va:c4b00000
load sys.ko for Hi3518...OK!
load viu.ko for Hi3518...OK!
ISP Mod init!
load vpss.ko ....OK!
load vou.ko ....OK!
load venc.ko for Hi3518...OK!
load group.ko for Hi3518...OK!
load chnl.ko for Hi3518...OK!
load h264e.ko for Hi3518...OK!
load jpege.ko for Hi3518...OK!
load rc.ko for Hi3518...OK!
load region.ko ....OK!
load vda.ko ....OK!
hi_i2c init is ok!
insmod: can't insert 'extdrv/pwm.ko': File exists
Kernel: ssp initial ok!
acodec inited!
get saved parameter!
watchDog_open 21
watchDogStart(): OK!
set_net_phyaddr: (WIRE: 00:00:00:00:00:00) 0
dhcp_setup(WIRE): -1 192.168.1.168
DVS IP(WIRE):
eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.1.168 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:12
set_gateway_addr() Failed!
EMAIL_Start(): Ok!
hello here#######
@@@@@@width=1280 height=1024
@@@@@@width=176 height=144
@@@@@@width=176 height=144
#@@@enter case PIC_HD720
@@@@@@width=1280 height=720
in start stvbconf:[0]=1966080 [1]=55296 [2]=55296 [3]=1474560 [4]=784
pMainEncParam->reserve=0 sub=0 third=0 VIDEO_ENCODING_MODE_PAL=0
@@@@@@width=1280 height=1024
-------Sony IMX138 Sensor Initial OK!-------
func(SAMPLE_COMM_ISP_Init::589 stImageAttr.u16FrameRate = 25)
before SAMPLE_COMM_VPSS_StartGroup:width=1280 height=1024
@@@@@@width=1280 height=1024
before SAMPLE_COMM_VPSS_EnableChn vpss=0:width=1280 height=1024
@@@@@@width=176 height=144
before SAMPLE_COMM_VPSS_EnableChn vpss=1:width=176 height=144
second width=0 height=0
@@@@@@width=176 height=144
stPicSize.u32Height = 144, stPicSize.u32Width = 176
#@@@enter case PIC_HD720
@@@@@@width=1280 height=720
@@@@@@width=176 height=144
venc 0 @@@ pic type=0
@@@@@@width=176 height=144
frame=0 vencParam->nKeyInterval = 1
debug @@@@@ set bitrate[0]:0#####venc bitrate=0
[SAMPLE_COMM_VENC_Start1]-1084: HI_MPI_VENC_CreateChn [0] faild with 0xa0078003!
[Hi3518VinVencModuleSetup]-891: Start Venc failed!
[SAMPLE_COMM_VENC_Stop]-1612: HI_MPI_VENC_StopRecvPic vechn[0] failed with 0xa00
78005!
[SAMPLE_COMM_VENC_Stop]-1612: HI_MPI_VENC_StopRecvPic vechn[1] failed with 0xa00
78005!
[SAMPLE_COMM_VENC_Stop]-1612: HI_MPI_VENC_StopRecvPic vechn[2] failed with 0xa00
78005!
[SAMPLE_COMM_VENC_Stop]-1612: HI_MPI_VENC_StopRecvPic vechn[3] failed with 0xa00
78005!
[SAMPLE_COMM_VENC_Stop]-1612: HI_MPI_VENC_StopRecvPic vechn[4] failed with 0xa00
78005!
[SAMPLE_COMM_VPSS_DisableChn]-230: SAMPLE_COMM_VPSS_DisableChn failed with 0xa00
88010
videoEncSetup(videoEncAppModule.c 2066) Failed!
videoEncModuleStartup() Failed!
Код: Выделить всё
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
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)
nand - NAND sub-system
nboot - boot from NAND device
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
sf - SPI flash sub-system
tftp - tftp - download or upload image via network using TFTP protocol
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version
hisilicon #
Код: Выделить всё
hisilicon # printenv
baudrate=115200
ethaddr=00:00:23:34:45:66
bootfile="uImage"
bootcmd=sf probe 0;sf read 0x82000000 0x100000 0x200000;bootm 0x82000000
bootargs=mem=64M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 mtdparts=hi_sfc:1M(boot),2M(kernel),3M(system),10M(application)
bootdelay=3
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2010.06 (Mar 11 2014 - 17:33:21)
gatewayip=192.168.0.1
netmask=255.255.255.0
ipaddr=192.168.0.233
serverip=192.168.0.101
Environment size: 468/262140 bytes
1.Выгрузить всю прошивку кроме загрузчика (из аналогичного рабочего модуля когда я его найду) на сервер tftp, например в файл с именем fw.img
2.Загрузить в нерабочий модуль с сервера tftp прошивку с именем fw.img из пункта номер 1.
Заранее спасибо за вашу помощь, и да прибудет с вами сила
