Dahua IPC-HFW4631E not detect

Piotr102

n3wb
Joined
Mar 27, 2021
Messages
9
Reaction score
1
Location
Polska
This is the chinese version of the camera. One day the camera stopped connecting. Software The Config tool does not detect it . Not responding to pings.
I did a factory reset. I checked the electrical voltages on the board. Is there any way to connect to the camera via UART and possibly fix it ?

I feel sorry to throw it in the garbage
 

Attachments

Last edited:

Piotr102

n3wb
Joined
Mar 27, 2021
Messages
9
Reaction score
1
Location
Polska
I made log when booting through the UART connector.
Is it possible to make a diagnosis based on this

------------------------------------------------------------------------------------------------

U-Boot 2010.06-svn5733 (Aug 12 2018 - 00:33:23)
I2C: ready
DRAM: 118 MiB
gBootLogPtr:00b80008.
spinor flash ID is 0x1940ef
partition file version 2
rootfstype squashfs root /dev/mtdblock5
gParameter[0]:node=bootargs, parameter=console=ttyS0,115200 mem=130M root=/dev/mtdblock5 rootfstype=squashfs init=/linuxrc.
TEXT_BASE:01000000
Net: Detected MACID:a0:bd:1d:36:e0:4c
PHY:0x001cc816,addr:0x00
s3l phy RTL8201 init

partition file version 2
rootfstype squashfs root /dev/mtdblock5
MMC: sdmmc init
link down
link down
Try again use backup_serverip
link down
Failed to get info.txt
Fail to get info file!
Init error!
link down
Support backupVer:255
state:ff,err_count:04
Adjust Memory Allocation, dram_size=0x8200000, dsp_ram.start=0x8400000, dsp_ram.size=0x17c00000
fail to load bootargsParameters.txt
fail to load bootargsParameters.txt file
hmagic=0xffffffff
Before write boot backup version page, it should be erased!!!
SPI probe: 32768 KiB W25Q256FV at 0:0 is now current device
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-3.10.73
Created: 2018-03-30 4:05:43 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1569572 Bytes = 1.5 MiB
Load Address: 00208000
Entry Point: 00208000
Verifying Checksum ... OK
Loading Kernel Image ...OK
OK
partition file version 2
rootfstype squashfs root /dev/mtdblock5
fail to load bootargsParameters.txt
fail to load bootargsParameters.txt file
Adjust Memory Allocation, dram_size=0x8200000, dsp_ram.start=0x8400000, dsp_ram.size=0x17c00000
crashflasg:1, logmagic:54410011.

Starting kernel ...
partition file version 2
rootfstype squashfs root /dev/mtdblock5
half-boot found, check bst
ţ

U-Boot 2010.06-svn5733 (Aug 12 2018 - 00:33:23)
I2C: ready
DRAM: 118 MiB
gBootLogPtr:00b80008.
spinor flash ID is 0x1940ef
partition file version 2
rootfstype squashfs root /dev/mtdblock5
gParameter[0]:node=bootargs, parameter=console=ttyS0,115200 mem=130M root=/dev/mtdblock5 rootfstype=squashfs init=/linuxrc.
TEXT_BASE:01000000
Net: Detected MACID:a0:bd:1d:36:e0:4c
PHY:0x001cc816,addr:0x00
s3l phy RTL8201 init

partition file version 2
rootfstype squashfs root /dev/mtdblock5
MMC: sdmmc init
link down
link down
Try again use backup_serverip
link down
Failed to get info.txt
Fail to get info file!
Init error!
link down
Support backupVer:255
state:ff,err_count:04
Adjust Memory Allocation, dram_size=0x8200000, dsp_ram.start=0x8400000, dsp_ram.size=0x17c00000
fail to load bootargsParameters.txt
fail to load bootargsParameters.txt file
smagic=0x424f4f54
SPI probe: 32768 KiB W25Q256FV at 0:0 is now current device
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-3.10.73
Created: 2018-03-30 4:05:43 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1569572 Bytes = 1.5 MiB
Load Address: 00208000
Entry Point: 00208000
Verifying Checksum ... OK
Loading Kernel Image ...OK
OK
partition file version 2
rootfstype squashfs root /dev/mtdblock5
fail to load bootargsParameters.txt
fail to load bootargsParameters.txt file
Adjust Memory Allocation, dram_size=0x8200000, dsp_ram.start=0x8400000, dsp_ram.size=0x17c00000

Starting kernel ...
partition file version 2
rootfstype squashfs root /dev/mtdblock5
half-boot found, check bst
 
Last edited:

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,966
Reaction score
6,795
Location
Scotland
Init error!
link down
No ethernet connection will inhibit any access to the camera.

To see more bootup detail, use the commands :

setenv dh_keyboard 0
saveenv
reset

and look for why the device reboots, and any complaints about 'link down'.
 

Piotr102

n3wb
Joined
Mar 27, 2021
Messages
9
Reaction score
1
Location
Polska
could you please write step by step how to do it. How to enter these commands
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,966
Reaction score
6,795
Location
Scotland
could you please write step by step how to do it. How to enter these commands
Interrupt the bootloader - keep the * key (Shift 8 on my keyboard) pressed till it autorepeats and power on the camera.
At the bootloader prompt, press <Return> a couple of times, then use these commands :

setenv dh_keyboard 0
saveenv
reset

That should give more detail as to what is happening.
But it looks like the device has a broken ethernet interface - assuming you have it cabled OK to a switch.
 

Piotr102

n3wb
Joined
Mar 27, 2021
Messages
9
Reaction score
1
Location
Polska
ok it's running . The bootloader is interrupt :clap:. The RX pin on board was connected incorrectly.
I attach the completed log. Can I ask you to do an analysis.

.[m.3SQUASHFS error: xz_dec_run error, data probably corrup -- from this point, a series of read errors.

memory corruption or software ? what do you think



---------------------------------------------------------------------------------------------------------------------------------------
ţ

U-Boot 2010.06-svn5733 (Aug 12 2018 - 00:33:23)
I2C: ready
DRAM: 118 MiB
gBootLogPtr:00b80008.
spinor flash ID is 0x1940ef
partition file version 2
rootfstype squashfs root /dev/mtdblock5
gParameter[0]:node=bootargs, parameter=console=ttyS0,115200 mem=130M root=/dev/mtdblock5 rootfstype=squashfs init=/linuxrc.
TEXT_BASE:01000000
Net: Detected MACID:a0:bd:1d:36:e0:4c
PHY:0x001cc816,addr:0x00
s3l phy RTL8201 init

partition file version 2
rootfstype squashfs root /dev/mtdblock5
MMC: sdmmc init
Hit any key to stop autoboot: 3 ... 0
Unknown command '*' - try 'help'
Unknown command 'ó..‚j' - try 'help'
Saving Environment to SPI Flash...
Erasing SPI flash...
Writing to SPI flash...
partition file version 2
rootfstype squashfs root /dev/mtdblock5
half-boot found, check bst
done
resetting ...
ţ

U-Boot 2010.06-svn5733 (Aug 12 2018 - 00:33:23)
I2C: ready
DRAM: 118 MiB
gBootLogPtr:00b80008.
spinor flash ID is 0x1940ef
partition file version 2
rootfstype squashfs root /dev/mtdblock5
gParameter[0]:node=bootargs, parameter=console=ttyS0,115200 mem=130M root=/dev/mtdblock5 rootfstype=squashfs init=/linuxrc.
TEXT_BASE:01000000
Net: Detected MACID:a0:bd:1d:36:e0:4c
PHY:0x001cc816,addr:0x00
s3l phy RTL8201 init

partition file version 2
rootfstype squashfs root /dev/mtdblock5
MMC: sdmmc init
link down
link down
Try again use backup_serverip
link down
Failed to get info.txt
Fail to get info file!
Init error!
link down
Support backupVer:255
state:ff,err_count:01
Adjust Memory Allocation, dram_size=0x8200000, dsp_ram.start=0x8400000, dsp_ram.size=0x17c00000
fail to load bootargsParameters.txt
fail to load bootargsParameters.txt file
hmagic=0xffffffff
Before write boot backup version page, it should be erased!!!
SPI probe: 32768 KiB W25Q256FV at 0:0 is now current device
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-3.10.73
Created: 2018-03-30 4:05:43 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1569572 Bytes = 1.5 MiB
Load Address: 00208000
Entry Point: 00208000
Verifying Checksum ... OK
Loading Kernel Image ...OK
OK
partition file version 2
rootfstype squashfs root /dev/mtdblock5
fail to load bootargsParameters.txt
fail to load bootargsParameters.txt file
Adjust Memory Allocation, dram_size=0x8200000, dsp_ram.start=0x8400000, dsp_ram.size=0x17c00000
crashflasg:1, logmagic:54410011.

Starting kernel ...
partition file version 2
rootfstype squashfs root /dev/mtdblock5
half-boot found, check bst
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpu
Linux version 3.10.73 (jenkins@3d9ddbaf4bba) (gcc version 5.2.1 20151005 (Linaro GCC 5.2-2015.11-2) ) #2 PREEMPT Fri Mar 30 12:05:31 CST 2018
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Ambarella S3L (Flattened Device Tree), model: Ambarella S3L Olive Board
os ----- 200000 , 8200000
logmem start:837e000, size:80000.
network type:1.
init gLogRamRes: start=0x837e000;size=0x80000
Memory policy: ECC disabled, Data cache writeback
Ambarella: AHB = 0xe0000000[0xe0000000],0x01000000 0
Ambarella: APB = 0xe8000000[0xe8000000],0x01000000 0
Ambarella: PPM = 0x00000000[0xdfe00000],0x00200000 9
Ambarella: AXI = 0xf0000000[0xf0000000],0x00030000 0
Ambarella: DRAMC = 0xdffe0000[0xef000000],0x00020000 0
Ambarella: DBGBUS = 0xec000000[0xec000000],0x00200000 0
Ambarella: DBGFMEM = 0xee000000[0xee000000],0x01000000 0
Ambarella: IAVMEM = 0x08400000[ ],0x17c00000
Ambarella: FBMEM = 0x00000000[ ],0x00000000
CPU: All CPU(s) started in SVC mode.
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 33020
Kernel command line: console=ttyS0,115200 mem=130M root=/dev/mtdblock5 rootfstype=squashfs init=/linuxrc
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 130MB = 130MB total
Memory: 127028k/127028k available, 6092k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0x88800000 - 0xff000000 (1896 MB)
lowmem : 0x80000000 - 0x88200000 ( 130 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x803afcd8 (3744 kB)
.init : 0x803b0000 - 0x803cc21c ( 113 kB)
.data : 0x803ce000 - 0x803f87a0 ( 170 kB)
.bss : 0x803f87a0 - 0x8041c670 ( 144 kB)
NR_IRQS:240
sched_clock: 32 bits at 90MHz, resolution 11ns, wraps every 47721ms
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 812.64 BogoMIPS (lpj=4063232)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x802d0288 - 0x802d02d4
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
L310 cache controller enabled
l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32020000, Cache size: 131072 B
ambarella-pinctrl e8009000.pinctrl: Ambarella pinctrl driver registered
ambarella-gpio gpio.0: Ambarella GPIO driver registered
bio: create slab <bio-0> at 0
ambarella-dma e0005000.dma: Ambarella DMA Engine
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource ambarella-cs-timer
NET: Registered protocol family 2
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.
msgmni has been set to 248
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
e8005000.uart: ttyS0 at MMIO 0xe8005000 (irq = 61) is a ambuart
ambarella-uart e0032000.uart: Serial[1] use txdma
ambarella-uart e0032000.uart: Serial[1] use rxdma
e0032000.uart: ttyS1 at MMIO 0xe0032000 (irq = 80) is a ambuart
Ambarella read-only mtdblock
mtd .name = amba_spinor, .size = 0x2000000 (32MiB) .erasesize = 0x00010000 (64KiB) .numeraseregions = 0
16 ofpart partitions found on MTD device amba_spinor
Creating 16 MTD partitions on "amba_spinor":
0x000000000000-0x000000040000 : "MinBoot"
0x000000080000-0x0000000c0000 : "U-Boot"
0x0000000c0000-0x0000000e0000 : "hwid"
0x0000000e0000-0x0000000f0000 : "partition"
0x000001040000-0x000001200000 : "Kernel"
0x000001b80000-0x000001fd0000 : "romfs"
0x000001200000-0x000001880000 : "web"
0x0000000f0000-0x000001000000 : "user"
0x000001a70000-0x000001aa0000 : "updateflag"
0x000001aa0000-0x000001b10000 : "config"
0x000001880000-0x0000018a0000 : "product"
0x0000018a0000-0x000001970000 : "custom"
0x000001000000-0x000001040000 : "half-boot"
0x000001b10000-0x000001b80000 : "backup"
0x000001970000-0x000001a70000 : "data"
0x000001fd0000-0x000002000000 : "dgs"
winbond flash, rdsr3:e0
SPI NOR Controller probedPPP generic driver version 2.4.2
NET: Registered protocol family 24
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-ambarella: AMBARELLA-EHCI Host Controller driver
ambarella-ehci e0018000.ehci: EHCI Host Controller
ambarella-ehci e0018000.ehci: new USB bus registered, assigned bus number 1
ambarella-ehci e0018000.ehci: irq 66, io mem 0xe0018000
ambarella-ehci e0018000.ehci: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 3.10.73 ehci_hcd
usb usb1: SerialNumber: AmbUSB
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1984 buckets, 7936 max)
ctnetlink v0.93: registering with nfnetlink.
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP: bic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
ThumbEE CPU extension supported.
VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
devtmpfs: mounted
Freeing unused kernel memory: 112K (803b0000 - 803cc000)

dh_keyboard:0
libphy: Ambarella MII Bus: probed
ambarella-eth e000e000.ethernet: Ethernet PHY[0]: 0x001cc816!
ambarella-eth e000e000.ethernet: MAC Address[a0:bd:1d:36:e0:4c].
.[m

.[m.[0;32;32m[OSA-DRV] OSA Build on Mar 29 2018 at 05:46:01.
.[m.[0;32;32m[OSA-DRV] SVN NUM: 13056.

.[m.[0;32;32m[OSA-DRV] Char device create OK !
.[m
.[0;35m[OSA-DRV] Monitor Task pid=104 tid=104
.[m

.[m.[0;32;32m[LOG-DRV] LOG Build on Mar 29 2018 at 17:00:29.
.[m
.[m.[0;32;32m[LOG-DRV] SVN NUM: 11751.

.[m.[0;32;32m[LOG-DRV] ramStart:0x837e000;ramSize:0x80000;select:1
.[m.[0;32;32m[OSA-DRV] Char device create OK !
.[m.[0;32;32m[LOG-DRV] coreId = 0, logLevel = 2
.[m.[0;32;32m[LOG-DRV] coreId = 1, logLevel = 2
.[m.[0;32;32m[LOG-DRV] coreId = 2, logLevel = 2
.[m.[0;32;32m[LOG-DRV] coreId = 3, logLevel = 2
.[m.[0;32;32m[LOG-DRV] coreId = 4, logLevel = 2
.[m.[0;32;32m[LOG-DRV] coreId = 5, logLevel = 2
.[m.[0;32;32m00:00:02|[Binder] Binder.ko Build on Mar 29 2018 at 16:57:25.
.[m.[0;32;32m00:00:02|[Binder] SVN NUM: 2977.

.[m.[0;32;32m00:00:02|[Binder] NameServer Initial OK !
.[m.[0;32;32m00:00:02|[Binder] Create binder memory pool(size:1044480) OK!
.[m.[0;32;32m00:00:02|[Binder] Create binder memory pool(size:1044480) OK!
.[m.[0;32;32m00:00:02|[Binder] Binder Initial OK !
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;32;32m00:00:02|[Binder] SR driver initial OK !
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;32;32m00:00:02|[Binder] NS driver initial OK !
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;32;32m00:00:02|[Binder] Binder driver initial OK !
.[m.[0;32;32m00:00:02|[SPF] SPF Build on Mar 29 2018 at 17:14:35.
.[m.[0;32;32m00:00:02|[SPF] SVN NUM: 12669.

.[m.[0;32;32m00:00:02|[SPF] SIL initial OK !
.[m.[0;32;32m00:00:02|[SPF] SPF initial ok !
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;32;32m00:00:02|[SPF] SPF Proc Create OK!!!
.[m.[0;32;32m00:00:02|[SPF] SPF driver initial ok !
.[m.[0;32;32m00:00:02|[prc] PRC Driver Build on Mar 29 2018 at 06:36:56.
.[m.[0;32;32m00:00:02|[prc] SVN NUM: 14052.

.[m.[0;32;32m00:00:02|[prc] Start to init module!
.[m.[0;32;32m00:00:02|[SPF] Dai 2 register OK !
.[m.[0;32;32m00:00:02|[prc] Success to init module!
.[m.[0;32;32m00:00:02|[pdc]

PDC Build on Mar 29 2018 at 05:49:37.
.[m.[0;32;32m00:00:02|[pdc] SVN NUM: 9592.

.[m.[0;36m00:00:02|[pdc] BASE_LINE: 240
.[m.[0;32;32m00:00:02|[pdc] OSA_kProcCreate OK
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;36m00:00:02|[pdc] PDC_PartionInit ok!!
.[m.[0;32;32m00:00:02|[pdc] HWID : IPC-HFW4631F-ZS-27135:01:02:02:5F:21:00:01:0F:01:00:04:2D0:00:00:00:00:00:01:00:00:200
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;36m00:00:02|[pdc] binderFlag: 0xb, funcap: 0x18538b,0x1070e00,0x2f,0x0
.[m.[0;32;34m00:00:02|[pdc] videoOut Channel is 0
.[m.[0;32;32m00:00:02|[pdc] Find Product: IPC-HFW4631F-ZS-27135.
.[m.[0;32;32m00:00:02|[pdc] Config size 6100 !
.[m.[0;36m00:00:02|[pdc] SenCfg Match OK,pCfgParams->pCfg: 7f186ecc
.[m.[1;37m00:00:02|[pdc] SenExtCfg not match
.[m.[0;36m00:00:02|[pdc] SenCfgSize: 220 Bytes
.[m.[0;36m00:00:02|[pdc] SenCfgSize: 220 Bytes
.[m.[0;32;32m00:00:02|[pdc] Init spiBus0 Successed!
.[m.[0;32;32m00:00:02|[pdc] Init spiBus2 Successed!
.[m.[0;32;32m00:00:02|[pdc] Init I2CBus0 Successed!
.[m.[0;32;32m00:00:02|[pdc] Init I2CBus3 Successed!
.[m.[0;32;32m00:00:02|[pdc] PDC_MODULE_RESET_STATE
.[m.[0;32;32m00:00:02|[pdc] Reboot system counter 1!
.[m.[0;32;32m00:00:02|[pdc] ircut types = [1]
.[m.[0;32;32m00:00:02|[pdc] ircut types = [5]
.[m.[0;32;32m00:00:02|[pdc] ircut types = [6]
.[m.[0;32;32m00:00:02|[pdc] ircut types = [7]
.[m.[0;32;32m00:00:02|[pdc] ircut types = [8]
.[m.[0;32;32m00:00:02|[pdc] ircut types = [2]
.[m.[0;32;32m00:00:02|[pdc] ircut[0] = 1
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;36m00:00:02|[pdc] PDC_pinInit As Usual!
.[m.[0;36m00:00:02|[pdc] Get reset pin: 22 OK !
.[m.[0;32;32m00:00:02|[pdc] Get comPort Cfg ok changeGio=65535 !0sa
.[m.[0;32;32m00:00:02|[pdc] PDC_comInit OK!
.[m.[0;32;32m00:00:02|[pdc] codecMask 00000100
.[m.[0;32;32m00:00:02|[pdc] PDC_nau8822lInit ===========
.[m.[0;32;32m00:00:02|[SPF] codecType 256 register OK !
.[m.[0;32;32m00:00:02|[pdc] Init audio codec nau8822l Successed!
.[m.[1;37m00:00:02|[pdc] In pdc: 0x2
.[m.[0;32;32m00:00:02|[pdc] NAU8822L_createCodec() create SIL type: 1 ============
.[m.[0;32;32m00:00:02|[pdc] NAU8822L_open() ==========
.[m.[0;32;32m00:00:02|[pdc] NAU8822L_resetCodec()============
.[m.[0;32;32m00:00:02|[pdc] NAU8822L_resetCodec() ok ============
.[m.[0;32;32m00:00:02|[pdc] Codec dai is already set
.[m.[0;32;32m00:00:02|[pdc] NAU8822L_createCodec() create SIL type: 1 ok
.[m.[0;32;32m00:00:02|[SPF] Set logicChn OK !
.[m.[0;32;32m00:00:02|[pdc] PDC_MODULE_SENSOR
.[m.[0;36m00:00:02|[pdc] Try RtcDev: SocRtc
.[m.[0;32;32m00:00:02|[prc] PRC_rtcCreate OK
.[m.[0;32;32m00:00:02|[pdc] phyaddr = 83fe000, memLen = 2000
.[m.[0;32;32m00:00:02|[pdc] DDRdata crc incorrect, Load from sramFile
.[m.[0;32;32m00:00:02|[pdc] phyaddr = 83fe000, memLen = 2000
.[m.[0;32;32m00:00:02|[pdc] DDRdata crc incorrect, Load from sramFile
.[m.[0;32;32m00:00:02|[pdc] A B OK
.[m.[0;32;32m00:00:02|[pdc] Both of Chief and Backup File CRC check OK!
.[m.[0;32;32m00:00:02|[pdc] phyaddr = 83fe000, memLen = 2000
.[m.[0;32;32m00:00:02|[pdc] DDRdata crc incorrect, Load from sramFile
.[m.[0;32;32m00:00:02|[pdc] Both of Chief and Backup File CRC check OK!
.[m.[0;32;32m00:00:02|[pdc] phyaddr = 83fe000, memLen = 2000
.[m.[0;36m00:00:02|[pdc] Choose RtcType: 5 -> SocRtc
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;36m00:00:02|[pdc] OSA_kProcAddFile:pdcRtc OK!
.[m.[0;32;32m00:00:02|[pdc] smartIr light count:1
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;36m00:00:02|[pdc] OSA_kProcAddFile:pdcSmartIR OK!
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;32;32m00:00:02|[pdc] WDT proc Add OSA_kProcAddFile ok!
.[m.[0;32;32m00:00:02|[pdc] sclGpio = [0], sdaGpio = [0]
.[m.[0;36m00:00:02|[pdc] PDC_keyAdcInit OK
.[m.[1;37m00:00:02|[pdc] Dev has No Key Cfg!
.[m.[0;32;32m00:00:02|[pdc] keyGpio : 22, pKeyItemTmp: 86cb1820
.[m.[0;36m00:00:02|[pdc] OSA_kProcAddFile:pdcKey OK!
.[m.[0;32;32m00:00:02|[pdc] key num = 1
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;32;32m00:00:02|[pdc] NO 3G module
.[m.[0;32;32m00:00:02|[pdc] ADC VOL init ok, id: 2 !
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;32;32m00:00:02|[pdc] SramFile init ok !
.[m.[0;32;32m00:00:02|[pdc] Both of Chief and Backup File CRC check OK!
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;32;32m00:00:02|[OSA-DRV] Char device create OK !
.[m.[0;32;32m00:00:02|[pdc] PDC Driver Initial OK !
.[m.[0;35m00:00:02|[OSA-DRV] recordTsk Task pid=115 tid=115
.[mCATEGORY = 2
IPC Device
insmod: can't insert '/usr/lib/modules/crypt.ko': unknown symbol in module, or unknown parameter
.[m

.[m.[0;32;32m[OSA-APP] OSA Build on Mar 29 2018 at 05:45:32.
.[m.[0;32;32m[OSA-APP] SVN NUM: 13016.

.[m.[0;32;32m[libpdi] libpdi.so Build on Mar 29 2018 at 05:41:42.
.[m.[0;32;32m[libpdi] SVN NUM: 46691.
.[m.[0;32;32m[libpdi] PDI product has 1 configs!!!.[m.[0;32;32m[libpdi] PDI product Init OK!
.[m.[0;32;32m[libpdi] PDI hwid Get OK!
.[m.[0;32;32m[libpdi] PDI run in netinit.[0;32;32m00:00:04|[prc] Pnet eth0: adv: sym 1, asym: 1
RC_rtcCreate OK
net eth0: lp: sym: 0, asym: 0

.[m.[m.[1;33m[libpdi] WARN : TwoEyesCom Dev not exists,status = -1
.[m.[0;32;32m[libpdi] partionNum=16
.[m.[0;32;32m[libpdi] Get fpga upgrade cfg failed, use default
.[0;32;32m00:00:04|[pdc] FlashTotalSize = 0x2000000
.[m.[0;32;32m00:00:04|[pdc] The cmd 3221510149 is invalid
.[m.[m.[0;32;32m[libpdi] Get bootsupportswitchpart failed.
.[m.[0;32;32m[libpdi] Support backup partition !!!
.[m.[0;32;32m[libpdi] Flashtype = 0x3,patSize = 0x40000,rwSize = 0x10000,ersSize = 0x10000
.[m.[0;32;32m[libpdi] gFlashCtrlObj.isSupportSwitchPart:0
.[m.[0;32;32m[libpdi] gFlashCtrlObj.bootFromBack:0
.[m.[0;32;32m[libpdi] gFlashCtrlObj.bootVersion:2
.[m.[1;33m[libpdi] WARN : Heat Dev not exists,status = -1
.[m.[1;33m[libpdi] WARN : Device has no crypt chip!
.[m.[0;32;32m[libpdi] phyaddr= 0x83fe000, memLen= 0x2000
.[0;32;32m00:00:04|[pdc] Both of Chief and Backup File CRC check OK!
.[m.[m.[1;33m[libpdi] WARN (PDI_mcuCreate|695): Can't open /dev/pdcMcu
.[m.[0;32;32m[libpdi] PDI_mcuCreate fail
.[m.[0;32;32m[libpdi] can't find commLen cfg
.[m.[0;32;32m[libpdi] PDI run in netinit.[m.[0;32;32m[libpdi] PDI_eventInit Wrapper OK!!!
.[m.[0;32;32m[libpdi] run with no coprocessor!
.[m

[Systools]: Build on Mar 29 2018 at 17:13:21.
[Systools]:SVN NUM: 41788.

init eth0 to default
.[0;36m00:00:04|[libpdi] NET_disableRoute = 0
.[meth0:
MAC: <a0:bd:1d:36:e0:4c>
.[0;36m00:00:04|[libpdi] set eth0 as defaultEth
.[mIP: <192.168.1.108>..netmask: <255.255.255.0>
phyAddr=0x0
.6IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
.6netinit uses obsolete (PF_INET,SOCK_PACKET)
Gateway: <192.168.1.1>
.[0;32;32m00:00:04|[libpdi] SetGateWay success
.[m.[0;32;32m00:00:04|[libpdi] hMcu is null
.[m.[0;32;32m00:00:04|[pdc] SramFile_devRelease OK!
.[m.[m

.[m.[0;32;32m[OSA-APP] OSA Build on Mar 29 2018 at 05:45:32.
.[m.[0;32;32m[OSA-APP] SVN NUM: 13016.

.[m.[0;32;32m[libpdi] libpdi.so Build on Mar 29 2018 at 05:41:42.
.[m.[0;32;32m[libpdi] SVN NUM: 46691.
.[m.[0;32;32m[libpdi] PDI product has 1 configs!!!.[m.[0;32;32m[libpdi] PDI product Init OK!
.[m.[0;32;32m[libpdi] PDI hwid Get OK!
.[m.[0;32;32m[libpdi] PDI run in netinit6.[0;32;32m00:00:04|[prc] PRC_rtcCreate OK
.[m.[m.[1;33m[libpdi] WARN : TwoEyesCom Dev not exists,status = -1
.[m.[0;32;32m[libpdi] partionNum=16
.[m.[0;32;32m[libpdi] Get fpga upgrade cfg failed, use default
.[0;32;32m00:00:04|[pdc] FlashTotalSize = 0x2000000
.[m.[0;32;32m00:00:04|[pdc] The cmd 3221510149 is invalid
.[m.[m.[0;32;32m[libpdi] Get bootsupportswitchpart failed.
.[m.[0;32;32m[libpdi] Support backup partition !!!
.[m.[0;32;32m[libpdi] Flashtype = 0x3,patSize = 0x40000,rwSize = 0x10000,ersSize = 0x10000
.[m.[0;32;32m[libpdi] gFlashCtrlObj.isSupportSwitchPart:0
.[m.[0;32;32m[libpdi] gFlashCtrlObj.bootFromBack:0
.[m.[0;32;32m[libpdi] gFlashCtrlObj.bootVersion:2
.[m.[1;33m[libpdi] WARN : Heat Dev not exists,status = -1
.[m.[1;33m[libpdi] WARN : Device has no crypt chip!
.[m.[0;32;32m[libpdi] phyaddr= 0x83fe000, memLen= 0x2000
.[0;32;32m00:00:04|[pdc] Both of Chief and Backup File CRC check OK!
.[m.[m.[1;33m[libpdi] WARN (PDI_mcuCreate|695): Can't open /dev/pdcMcu
.[m.[0;32;32m[libpdi] PDI_mcuCreate fail
.[m.[0;32;32m[libpdi] can't find commLen cfg
.[m.[0;32;32m[libpdi] PDI run in netinit6.[m.[0;32;32m[libpdi] PDI_eventInit Wrapper OK!!!
.[m.[0;32;32m[libpdi] run with no coprocessor!
.[m

[Systools]: Build on Mar 29 2018 at 17:13:21.
[Systools]:SVN NUM: 41788.

IPV6: only init eth0
.[0;36m00:00:04|[libpdi] NET_disableRoute = 0
.[m"netinit6 help" for help
eth0:
MAC: <a0:bd:1d:36:e0:4c>
.[0;32;32m00:00:04|[libpdi] hMcu is null
.[m.[0;32;32m00:00:04|[pdc] SramFile_devRelease OK!
.[m.[m

.[m.[0;32;32m[OSA-APP] OSA Build on Mar 29 2018 at 05:45:32.
.[m.[0;32;32m[OSA-APP] SVN NUM: 13016.

.[m.[0;32;32m[libpdi] libpdi.so Build on Mar 29 2018 at 05:41:42.
.[m.[0;32;32m[libpdi] SVN NUM: 46691.
.[m.[0;32;32m[libpdi] PDI product has 1 configs!!!.[m.[0;32;32m[libpdi] PDI product Init OK!
.[m.[0;32;32m[libpdi] PDI hwid Get OK!
.[m.[0;32;32m[libpdi] PDI run in syshelper.[0;32;32m00:00:04|[prc] PRC_rtcCreate OK
.[m.[m.[1;33m[libpdi] WARN : TwoEyesCom Dev not exists,status = -1
.[m.[0;32;32m[libpdi] partionNum=16
.[m.[0;32;32m[libpdi] Get fpga upgrade cfg failed, use default
.[0;32;32m00:00:04|[pdc] FlashTotalSize = 0x2000000
.[m.[0;32;32m00:00:04|[pdc] The cmd 3221510149 is invalid
.[m.[m.[0;32;32m[libpdi] Get bootsupportswitchpart failed.
.[m.[0;32;32m[libpdi] Support backup partition !!!
.[m.[0;32;32m[libpdi] Flashtype = 0x3,patSize = 0x40000,rwSize = 0x10000,ersSize = 0x10000
.[m.[0;32;32m[libpdi] gFlashCtrlObj.isSupportSwitchPart:0
.[m.[0;32;32m[libpdi] gFlashCtrlObj.bootFromBack:0
.[m.[0;32;32m[libpdi] gFlashCtrlObj.bootVersion:2
.[m.[1;33m[libpdi] WARN : Heat Dev not exists,status = -1
.[m.[1;33m[libpdi] WARN : Device has no crypt chip!
.[m.[0;32;32m[libpdi] phyaddr= 0x83fe000, memLen= 0x2000
.[0;32;32m00:00:04|[pdc] Both of Chief and Backup File CRC check OK!
.[m.[m.[1;33m[libpdi] WARN (PDI_mcuCreate|695): Can't open /dev/pdcMcu
.[m.[0;32;32m[libpdi] PDI_mcuCreate fail
.[0;32;32m00:00:04|[SEN-DRV] Sensor Build on Mar 29 2018 at 06:56:21.
.[m.[0;32;32m00:00:04|[SEN-DRV] SVN NUM: 13722.

.[m.[1;33m00:00:04|[SEN-DRV] WARN (SEN_drvInit|85): get PDC_MODULE_SENSOREXT cfg failed
.[m.[0;32;32m00:00:04|[SEN-DRV] pInfo->nAdjSensorNum=0
.[m.[0;32;32m00:00:04|[SEN-DRV] pObj->sensorType= 95
.[m.[0;32;32m00:00:04|[SEN-DRV] call SEN_drvCoreGetClkSrcObj(2, 0)
.[m.[0;32;32m00:00:04|[SEN-DRV] SetSensorId 95,0
.[m.[0;32;32m00:00:04|[SEN-DRV] Sensor 95 Init OK. type:2
.[m.[0;32;32m00:00:04|[OSA-DRV] Char device create OK !
.[m.[m.[0;32;32m[libpdi] can't find commLen cfg
.[m.[0;32;32m[libpdi] PDI run in syshelper.[m.[0;32;32m[libpdi] PDI_eventInit Wrapper OK!!!
.[m.[0;32;32m[libpdi] run with no coprocessor!
.[m

[Systools]: Build on Mar 29 2018 at 17:13:21.
[Systools]:SVN NUM: 41788.

.[0;32;32m00:00:04|[IVF-Drv] IVF Driver(SVN:11301) Build on Mar 29 2018 at 17:19:51.
.[m.[0;32;32m00:00:04|[OSA-DRV] Char device create OK !
.[m.[0;32;32m00:00:04|[IVF-Drv] [Linux-KERNEL][IVF_platResInit]dspGrade:0, dspSums:1
.[m.[0;32;32m00:00:04|[IVF-Drv] IVF Driver install successfull!
.[m.[0;32;32m00:00:04|[AmbaVideo] AmbaVideo Build on Mar 29 2018 at 06:35:29.
.[m.[0;32;32m00:00:04|[AmbaVideo] SVN NUM: 14625.

.[m.[0;32;32m00:00:04|[AmbaVideo] config chan num:1
.[m.5Vout notice: vout0:0 probed!
.5Vout notice: vout1:1 probed!
.[0;32;32m00:00:04|[AmbaVideo] ambpriv_dsp_device = 87bf08c0
.[m.6Amber VIN: vin0: probed!
.6Amber VIN: vin1(virtual): probed!
.[0;32;32m00:00:04|[AmbaVideo] sensor:95
.[m.[0;32;32m00:00:05|[systools] syshe
.[0;32;32m01:26:18|[prc] Set WdtTimeout To WdtTimeoutMax:47721, instead !
.[mlper rtc clock to sys,time:2000-01-01 01:26 mktime:946689978
.[mFail to get env coremnt!
Syshelper: WdtSatrtTime = 60(s), appauto = 1, hctosystime = 1500
.[0;32;32m01:26:18|[systools] appauto 's flag = 1
.[m.[0;32;32m01:26:18|[systools] please wait sonia to send net info
.[m.6Amber VIN: IMX326 init(8-lane lvds)
.5Vout notice: CVBS:0@1 probed!
.5Vout notice: DBus-All:1@0 probed!
.6amba_debug_init 248:248.
[: 1: unknown operand
cap_fast =
.[0;32;32m01:26:18|[sdcard] SD/SDIO/MMC Driver (sdcard.ko) SVN_NUM : 12277
.[m.[0;32;32m01:26:18|[sdcard] Version: 2.0.00, Build Date: Mar 29 2018, Time: 17:15:05
.[m.[0;32;32m01:26:18|[sdcard] SD Memory Card Power En Gpio = 109, Detect Gpio = 65535, hostId = 0
.[m.[0;32;32m01:26:18|[sdcard] Not Support Wifi Card !
.[m.[0;32;32m01:26:18|[sdcard] host0 MMC_CAP_NEEDS_POLL
.[m.[0;32;32m01:26:18|[sdcard] SD Clock: base[48MHz], min[195312Hz], max[50000000Hz].
.[mambarella-sd e0002000.sdmmc0: 1 slots @ 50000000Hz
.[0;32;32m01:26:19|[sdcard] SD Clock: base[48MHz], min[195312Hz], max[50000000Hz].
.[mambarella-sd e001f000.sdmmc2: 1 slots @ 50000000Hz
map_size = 0x500000, nr_item = 3
addr_offset = 0x00000000, filename = orccode.bin
addr_offset = 0x00300000, filename = orcme.bin
addr_offset = 0x003a0000, filename = default_binary.bin
mmap returns 0x7694f000
loading /usr/lib/firmware/orccode.bin...addr = 0x7694f000, size = 0x1a27d2
loading /usr/lib/firmware/orcme.bin...addr = 0x76c23000, size = 0x3392c
loading /usr/lib/firmware/default_binary.bin...addr = 0x76cc3000, size = 0x619c0
===============================================
ucode (S3L) version = 2018/3/6 279928.278910
===============================================
hwid_value =IPC-HFW4631F-ZS-27135:01:02:02:5F:21:00:01:0F:01:00:04:2D0:00:00:00:00:00:01:00:00:200
product_name =IPC-HFW4631F-ZS-27135
lens_type =0
fvideo_chip = 95
.[0;32;32m00:41:47|[pdc] FlashTotalSize = 0x2000000 .[m.[0;32;32m00:41:47|[pdc] The cmd 3221510149 is invalid .[m.[0;32;32m00:41:47|[pdc] Both of Chief and Backup File CRC check OK! .[m.[0;32;32m00:41:47|[libpdi] hMcu is null .[m.[m .[m.[0;32;32m[OSA-APP] OSA Build on Mar 29 2018 at 05:45:32. .[m.[0;32;32m[OSA-APP] SVN NUM: 13016. .[m.[0;32;32m[libpdi] libpdi.so Build on Mar 29 2018 at 05:41:42. .[m.[0;32;32m[libpdi] SVN NUM: 46691. .[m.[0;32;32m[libpdi] PDI product has 1 configs!!!
.[m.[0;32;32m[libpdi] PDI product Init OK! .[m.[0;32;32m[libpdi] PDI hwid Get OK! .[m.[0;32;32m[libpdi] PDI run in gethwid
.[m.[1;33m[libpdi] WARN : TwoEyesCom Dev not exists,status = -1 .[m.[0;32;32m[libpdi] partionNum=16 .[m.[0;32;32m[libpdi] Get fpga upgrade cfg failed, use default .[m.[0;32;32m[libpdi] Get bootsupportswitchpart failed. .[m.[0;32;32m[libpdi] Support backup partition !!! .[m.[0;32;32m[libpdi] Flashtype = 0x3,patSize = 0x40000,rwSize = 0x10000,ersSize = 0x10000 .[m.[0;32;32m[libpdi] gFlashCtrlObj.isSupportSwitchPart:0 .[m.[0;32;32m[libpdi] gFlashCtrlObj.bootFromBack:0 .[m.[0;32;32m[libpdi] gFlashCtrlObj.bootVersion:2 .[m.[1;33m[libpdi] WARN : Heat Dev not exists,status = -1 .[m.[1;33m[libpdi] WARN : Device has no crypt chip! .[m.[0;32;32m[libpdi] phyaddr= 0x83fe000, memLen= 0x2000 .[m.[1;33m[libpdi] WARN (PDI_mcuCreate|695): Can't open /dev/pdcMcu .[m.[0;32;32m[libpdi] PDI_mcuCreate fail .[m.[0;32;32m[libpdi] can't find commLen cfg .[m.[0;32;32m[libpdi] PDI run in gethwid
.[m.[0;32;32m[libpdi] PDI_eventInit Wrapper OK!!! .[m.[0;32;32m[libpdi] run with no coprocessor! .[m [Systools]: Build on Mar 29 2018 at 17:13:21. [Systools]:SVN NUM: 41788. hwidValue == 0
vout_support =0
cap_vout =
dspChip = 33
S3LM= 1
close cvbs and vout
start sshd
audioin = 1
sensor_id 95
wifi = 0
------cap_wifi = 0
.[0;32;32m00:41:48|[motorDrv] motorDrv build on Mar 29 2018 at 06:53:34.
.[m.[0;32;32m00:41:48|[motorDrv] SVN NUM: 44906.

.[m.[0;32;32m00:41:48|[motorDrv] AN41908: subdiv[a=0, b=0]
.[m.[0;32;32m00:41:48|[motorDrv] AN41908: chip[0] is open!
.[m.[0;32;32m00:41:48|[motorDrv] chip num=1, ch num=2
.[m.[0;32;32m00:41:48|[motorDrv] Motor core init ok!
.[m.[0;32;32m00:41:48|[motorDrv] Iris not supported!
.[m.[0;32;32m00:41:48|[motorDrv] Focus speed=900,Zoom speed=900
.[m.[0;32;32m00:41:48|[motorDrv] Lens type: common
.[m.[0;32;32m00:41:48|[motorDrv] lens motor idle!
.[m.[0;32;32m00:41:48|[motorDrv] Pos update enabled!
.[m.[0;32;32m00:41:48|[motorDrv] Focus service initialized!
.[m.[0;32;32m00:41:48|[OSA-DRV] Char device create OK !
.[m.[0;32;32m00:41:48|[motorDrv] Motor driver init finished!
.[m.3SQUASHFS error: xz_dec_run error, data probably corrupt
.3SQUASHFS error: squashfs_read_data failed to read block 0x9df21a
.3SQUASHFS error: Unable to read fragment cache entry [9df21a]
.3SQUASHFS error: Unable to read page, block 9df21a, size 57068
.3SQUASHFS error: xz_dec_run error, data probably corrupt
.3SQUASHFS error: squashfs_read_data failed to read block 0x9df21a
.3SQUASHFS error: Unable to read fragment cache entry [9df21a]
.3SQUASHFS error: Unable to read page, block 9df21a, size 57068
.3SQUASHFS error: xz_dec_run error, data probably corrupt
.3SQUASHFS error: squashfs_read_data failed to read block 0x9df21a
.3SQUASHFS error: Unable to read fragment cache entry [9df21a]
.3SQUASHFS error: Unable to read page, block 9df21a, size 57068
.3SQUASHFS error: xz_dec_run error, data probably corrupt
.3SQUASHFS error: squashfs_read_data failed to read block 0x9df21a
.3SQUASHFS error: Unable to read fragment cache entry [9df21a]
.3SQUASHFS error: Unable to read page, block 9df21a, size 57068
.3SQUASHFS error: xz_dec_run error, data probably corrupt
.3SQUASHFS error: squashfs_read_data failed to read block 0x9df21a
.3SQUASHFS error: Unable to read fragment cache entry [9df21a]
.3SQUASHFS error: Unable to read page, block 9df21a, size 57068

áţ

U-Boot 2010.06-svn5733 (Aug 12 2018 - 00:33:23)
I2C: ready
DRAM: 118 MiB
gBootLogPtr:00b80008.
spinor flash ID is 0x1940ef
partition file version 2
rootfstype squashfs root /dev/mtdblock5
gParameter[0]:node=bootargs, parameter=console=ttyS0,115200 mem=130M root=/dev/mtdblock5 rootfstype=squashfs init=/linuxrc.
TEXT_BASE:01000000
Net: Detected MACID:a0:bd:1d:36:e0:4c
PHY:0x001cc816,addr:0x00
s3l phy RTL8201 init

partition file version 2
rootfstype squashfs root /dev/mtdblock5
MMC: sdmmc init
 
Last edited:

Piotr102

n3wb
Joined
Mar 27, 2021
Messages
9
Reaction score
1
Location
Polska
in my case it is possible to check the firmware version ?
I don't know this one
 
Last edited:

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,966
Reaction score
6,795
Location
Scotland
It looks like you need to re-apply the last version of firmware that had been in use.
Try to apply the firmware for the device, using the various 'run' commands that are defined in the bootloader.
Unpack the firmware into its components - it's a slightly modified zip file.

Usually there is an 'install' file in the firmware that will specify what firmware modules are needed.
Best to avoid updating the bootloader though as it seems to be working OK, and it's imporatnt that it is available.
 
Top