Dahua IPC EASY unbricking / recovery over TFTP

Gabe

n3wb
Joined
Mar 8, 2017
Messages
14
Reaction score
6
Corellon you're THE MAN!!! Kudos to you :)

I tried the older firmware a lot earlier in the process but it didn't yield any results. This time I guess I had all my commands correct and as of right now the camera is displaying the Dahua Gui. Now before I upgrade to V2.8 through the gui I was thinking I'd reset the camera to factory settings first.

Thanks again, what a nerve racking process....
 

Gabe

n3wb
Joined
Mar 8, 2017
Messages
14
Reaction score
6
Here's a screenshot which shows the original Amcrest model name in the latest Dahua firmware.

Capture.PNG
 

Gabe

n3wb
Joined
Mar 8, 2017
Messages
14
Reaction score
6
For the record I went from Amcrest V2.623.00AC004.0.R firmware to Dahua's DH_SD-Mao-Rhea_MultiLang_NP_Stream3_IVS_V2.623.0000000.7.R.181124 firmware with the tftp method using the following commands below.

tftp 0x02000000 romfs-x.squashfs.img; flwrite
tftp 0x02000000 kernel.img; flwrite
tftp 0x02000000 user-x.squashfs.img; flwrite
tftp 0x02000000 web-x.squashfs.img; flwrite
tftp 0x02000000 partition-x.cramfs.img; flwrite
tftp 0x02000000 custom-x.squashfs.img; flwrite
tftp 0x02000000 pd-x.squashfs.img; flwrite
tftp 0x02000000 .FLASHING_DONE_STOP_TFTP_NOW
sleep 5

After this I upgraded to DH_SD-Mao-Rhea_MultiLang_PN_Stream3_IVS_Market_V2.800.0000000.4.R.191105 using the camera's GUI @ 192.168.1.108.

Big Thanks to Corellon for helping me through this process.
 
Last edited:

Corellon

Getting the hang of it
Joined
Mar 11, 2020
Messages
78
Reaction score
29
Location
Canada
Your welcome Gabe, if you haven't make sure to do a FULL factory reset (including network) as at least with the lorex there are remainders of the lorex config still left in the camera, I tried just a reset (keeping network information) and found it still caused issues later on. Enjoy and see how it works (I also assume that on your last post you mean you went to 2.800 using the camera's GUI)
 

Gabe

n3wb
Joined
Mar 8, 2017
Messages
14
Reaction score
6
After flashing to Dahua's V2.6 I did the Full factory reset, then after going to V2.8 the Amcrest model number remains. I read on a different thread an account of someone who also had converted an Amcrest PTZ had the same issue after upgrading. As long as this is the only relic left from the Amcrest firmware I can easily live with that. I'll post sometime in the near future about my experience with the new firmware.
 
Last edited:

Mr. Robot

n3wb
Joined
Apr 18, 2017
Messages
1
Reaction score
0
I have that same camera, so I'm wondering if there are any major benefits. Can you confirm if the plug-in is still required?
 

Gabe

n3wb
Joined
Mar 8, 2017
Messages
14
Reaction score
6
The biggest benefit for me is having IVS events. IVS is much better at eliminating false alarms with motion detection. It's not perfect but in my opinion it's much, much better than standard motion detection. The Amcrest firmware is crippled and that's a shame because IVS is a really effective feature to have. I've also heard that Dahua's firmware releases are more consistent than Amcrest releases. The last benefit for me is having a 100% Dahua security system. I already have 5 other Dahua cams and an NVR, so mixing in an Amcrest is not cool for me. :cool:

The plug-in is no longer necessary with this firmware, the live view from the GUI is viewable in Chrome, Edge, Firefox...etc.
 
Last edited:

Corellon

Getting the hang of it
Joined
Mar 11, 2020
Messages
78
Reaction score
29
Location
Canada
For me and the lorex's it was the fact that ONVIF was broken in the lorex firmware, IVS was neutered, plugins were a hassle and it did not have day/night profile support. There were a few image quality issues but I think I got those resolved now and over all it is much more stable and workable
 

Gabe

n3wb
Joined
Mar 8, 2017
Messages
14
Reaction score
6
Here's my findings so far with the new firmware (DH_SD-Mao-Rhea_MultiLang_PN_Stream3_IVS_Market_V2.800.0000000.4.R.191105) -

My converted Amcrest PTZ is working fine so far with one minor hiccup. I can't pinpoint exactly when it began but after a scheduled reboot the cam started producing a delay when executing PTZ commands. I don't know what to make of this but after a reboot everything was back to normal. Right now I'm chalking it up to a random occurrence because it hasn't repeated this problem since the reboot. I can't say this wouldn't have happened with the original Amcrest firmware because I've had other cams exhibit random behavior at times also. If this problem persists I'll follow up but even after this minor annoyance I'm still happy that I converted my Amcrest cam to a Dahua.

5/23/2020 FOLLOWUP (18 DAYS AFTER CONVERSION) - happy to report no issues at all with the new firmware. PTZ delay has not resurfaced and cam is running like new.
 
Last edited:

zape

Getting the hang of it
Joined
Sep 21, 2017
Messages
221
Reaction score
69
Are the unbricking instructions in the first post still valid?
Update:
Confirmed working with a DH_IPC-HX5X3X-Rhea_MultiLang_PN_Stream3_V2.800.0000015.0.R.200430.bin firmware on a IPC-HFW5231
 
Last edited:
Joined
Mar 16, 2016
Messages
13
Reaction score
3
Just though I would post in here, with regards to some unbricking issues I had throughout the day.

Not too sure where I went wrong with the "Easy" TFTP process earlier, but I have gotten things going and the camera livened back up. This is on an HBDW-4421E-AS done camera. think one of the initial problems I had today were caused by some gaps/issues with networking and the command.txt file I had.

I ended up using the modded firmware from this site, after originally trying the firmware from Dahua's site to no avail.

One ABSOLUTELY CRITICAL GAP I noticed was when running the commands.bat per the TFTP tutorial:

run dr
run dk
run du
run dw
run dp
run dc
tftp 0x82000000 pd-x.squashfs.img; flwrite
tftp 0x82000000 .FLASHING_DONE_STOP_TFTP_NOW
sleep 5

I would get an error message on the "tftp 0x82000000 pd-x.squashfs.img; flwrite". Digging through other posts on the forum, and the logs returned through console.bat, I noticed that the "82000000" was not where all of the files were getting loaded to when using the 'run' command. My "address" was 02000000, and when I changed the commands.txt and re-ran commands.bat, that put me into business.

Another note for those needing/looking for help:

  1. See also Info about run commands within this thread. Read that bit CLOSELY. From what I can tell, you need to follow that order, based on the files you have in your firmware bin, and match the commands.txt to that.
  2. You may also find it handy to start the process with a command.txt with something along the lines of:
help​
printenv​
ls​
Tweak that command file if you need it, to pull out additional information from the Bootlogger based on commands from the help output you will see in Console.​
 
Joined
Jun 17, 2014
Messages
26
Reaction score
2
Hi I have the Dahau SD1A203T-GN I need help I'm stuck on a loop.
The camera stop working a month ago and I only notice this past weekend. I figure I could flash the firmware. I tried DH_SD-Mao-Rhea_MultiLang_NP_Stream3_IVS_Market_V2.800.0000000.4.R.191105 with no luck.
Now I've been trying DH_SD-Mao-Rhea_Eng_P_Stream3_IVS_V2.623.0000000.2.R.180913 still no luck

I've tried to follow what Gabe did but it keeps going to
Download Filename 'upgrade_info_7db780a713a4.txt'.

Code:
U-Boot 2010.06-svn5213 (Sep 13 2018 - 14:55:04)
I2C:   ready
DRAM:  198 MiB
gBootLogPtr:00b80008.
NAND:  128 MiB
amb_nand_read_oob read page:49152 err
partition file version 2
rootfstype squashfs root /dev/mtdblock8
fail to load bootargsParametersV22.txt
fail to load bootargsParametersV21.txt
fail to init bootargsParametersV2
TEXT_BASE:01000000
Net:   Detected MACID:00:12:34:56:78:9a
PHY:0x001cc816,addr:0x00
s3l phy RTL8201 init

partition file version 2
rootfstype squashfs root /dev/mtdblock8
Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'upgrade_info_7db780a713a4.txt'.
Download to address: 0x5000000
Downloading: *
Retry count exceeded; starting again
SD Product try auto upgrade times.
SD try times:1
Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'upgrade_info_7db780a713a4.txt'.
Download to address: 0x5000000
Downloading: *
Retry count exceeded; starting again
string value is 0
AUF_getValidLine, the end of file
Failed to get a Line;Crc check error!
PreProcess data error!
Init error!
Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'failed.txt'.
Download to address: 0x2000000
Downloading: *
Retry count exceeded; starting again
Support backupVer:255
state:5a,err_count:04
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-3.10.73
   Created:      2018-09-13   5:49:25 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1646116 Bytes = 1.6 MiB
   Load Address: 00208000
   Entry Point:  00208000
   Verifying Checksum ... OK
   Loading Kernel Image ...OK
OK
partition file version 2
rootfstype squashfs root /dev/mtdblock8
fail to load bootargsParameters.txt
fail to load bootargsParameters.txt file
get bootargs info failed
cmdLine console=ttyS0,115200 mem=198M root=/dev/mtdblock8 rootfstype=squashfs init=/linuxrc
unknown phy memory type, use default

Starting kernel ...
unknown core,use back
Partition looks like this

Code:
>partition
            name    cs   offset             size               flag   fs_flags      fs_type
         MinBoot    0 0x0000000000000000 0x0000000000100000 0x00000000 0x00000000 0x00000000
          U-Boot    0 0x0000000000200000 0x0000000000100000 0x00000000 0x00000000 0x00000000
            hwid    0 0x0000000000300000 0x0000000000100000 0x00000000 0x00000000 0x00000000
      updateflag    0 0x0000000000400000 0x0000000000100000 0x00000000 0x00000000 0x00000000
       partition    0 0x0000000000500000 0x0000000000100000 0x00000000 0x00000001 0x00000001
          custom    0 0x0000000000600000 0x0000000000340000 0x00000000 0x00000001 0x00000002
         product    0 0x0000000000940000 0x0000000000340000 0x00000000 0x00000001 0x00000002
          Kernel    0 0x0000000000c80000 0x0000000000580000 0x00000000 0x00000000 0x00000000
           romfs    0 0x0000000001200000 0x0000000000400000 0x00000000 0x00000001 0x00000002
             web    0 0x0000000001600000 0x0000000000800000 0x00000000 0x00000001 0x00000002
            user    0 0x0000000001e00000 0x0000000001c80000 0x00000000 0x00000001 0x00000002
          syslog    0 0x0000000007200000 0x0000000000400000 0x00000000 0x00000003 0x00000003
          config    0 0x0000000007600000 0x0000000000400000 0x00000000 0x00000003 0x00000003
          backup    0 0x0000000007a00000 0x0000000000400000 0x00000000 0x00000003 0x00000003
            lens    0 0x0000000007100000 0x0000000000100000 0x00000000 0x00000000 0x00000000
         MinBoot mountcmd:
          U-Boot mountcmd:
            hwid mountcmd:
      updateflag mountcmd:
       partition mountcmd:
          custom mountcmd:mount /dev/mtdblock5 /mnt/custom/
         product mountcmd:mount /dev/mtdblock6 /mnt/pd/
          Kernel mountcmd:
           romfs mountcmd:
             web mountcmd:mount /dev/mtdblock9 /mnt/web/
            user mountcmd:mount /dev/mtdblock10 /usr/
          syslog mountcmd:/sbin/ubiattach /dev/ubi_ctrl -m 11
                         /sbin/ubimkvol /dev/ubi0 -s 2500000 -N syslog
                          mount -t ubifs ubi0_0 /mnt/syslog
                          if [ $? -ne 0 ];then
                         flash_eraseall /dev/mtd/11
                           /sbin/ubiattach /dev/ubi_ctrl -m 11
                          /sbin/ubimkvol /dev/ubi0 -s 2500000 -N syslog
                         mount -t ubifs ubi0_0 /mnt/syslog
                         fi
          config mountcmd:/sbin/ubiattach /dev/ubi_ctrl -m 12
                          /sbin/ubimkvol /dev/ubi1 -s 2500000 -N config
                          mount -t ubifs ubi1_0 /mnt/mtd
                          if [ $? -ne 0 ];then
                          echo /mnt/config mount fail! >> /mnt/syslog/ubifsLog
                         sync
                         flash_eraseall /dev/mtd/12
                         /sbin/ubiattach /dev/ubi_ctrl -m 12
                                /sbin/ubimkvol /dev/ubi1 -s 2500000 -N config
                          mount -t ubifs ubi1_0 /mnt/mtd
                         fi
          backup mountcmd:/sbin/ubiattach /dev/ubi_ctrl -m 13
                          /sbin/ubimkvol /dev/ubi2 -s 2500000 -N backup
                          mount -t ubifs ubi2_0 /mnt/backup
                          if [ $? -ne 0 ];then
                         echo  /mnt/backup mount fail!  >> /mnt/syslog/ubifsLog
                          sync
                          flash_eraseall /dev/mtd/13
                                /sbin/ubiattach /dev/ubi_ctrl -m 13
                                /sbin/ubimkvol /dev/ubi2 -s 2500000 -N backup
                         mount -t ubifs ubi2_0 /mnt/backup
                         fi
            lens mountcmd:
 

marcelnagy

n3wb
Joined
Jun 23, 2020
Messages
4
Reaction score
0
Location
Slovakia
Hi, I have problems with my VTO2000A-C. I flashed the firmware with the configtools, but after the restart it still restarts.
I try to flash via UART and TFTP, but every command: run dr, dk ... still writes Data CRC Checking ... ERROR.

Code:
DHBOOT# run dr
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Filename 'romfs-x.cramfs.img'.
Load address: 0x81a00000
Loading: #################################################################
         #################################################################
         #################################################################
         #########
done
Bytes transferred = 2981952 (2d8040 hex)

## Checking Image at 0x81a00000 ...
   Header CRC Checking ... OK
   Image Name:   romfs
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    2981888 Bytes =  2.8 MB
   Load Address: 023e0000
   Entry Point:  026e0000
   Data CRC Checking ... ERROR
Help me with this problem, please?

Thanks
 
Last edited:

marcelnagy

n3wb
Joined
Jun 23, 2020
Messages
4
Reaction score
0
Location
Slovakia
Hi, I'm attaching a log. Will it help?

Code:
Checking DDR......OK

UBL Version: 1.46t(DM365)16:10:30 Aug  4 2017
 Oscillator: 24MHZ
 ARM Rate: 432 MHZ
 DDR Rate: 340 MHZ
 BootMode: SPI
Starting SPI Memory Copy...
DONE


U-Boot 1.3.6 (jerry) (Oct 26 2017 - 13:52:13)

DRAM:  128 MB
SF: Got idcode c2 20 18 c2 20
In:    serial
Out:   serial
Err:   serial
Ethernet PHY: GENERIC @ 0x05,id:221513
total gio 2
gio[22]=1
gio[25]=1
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Filename 'upgrade_info_7db780a713a4.txt'.
Load address: 0x80100000
Loading: *
Retry count exceeded; starting again
Fail to get info file!
Init error!
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Filename 'failed.txt'.
Load address: 0x80200000
Loading: *
Retry count exceeded; starting again
==>use default images
APP_OFFSET_NEW test
........
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   Linux-2.6.18_pro500-davinci_evm-
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1912412 Bytes =  1.8 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux................................................................................................................................ done, booting the kernel.
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (25024@yanfa209) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Wed Dec 27 11:12:30 CST 2017
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci DM365 EVM
new hwid:VTO2000A:0:4:1:3:5:0:1:9:3:3:0:1B0:0:0:0:0:0:0:0
use newmem, newmemStartAddr:0x80000000 newmemSize:0x5900000(89M)
Memory policy: ECC disabled, Data cache writeback
DaVinci DM0365 variant 0x8
prediv = 6, pll0_mult = 85, postiv = 1, pll_div4 = 4, pll_rate = 680000000, pll_div6 = 25
PLL0: fixedrate: 24000000, commonrate: 170000000, vpssrate: 340000000 PLL1_ARMRATE = 340000000
PLL0: vencrate_sd: 27200000, ddrrate: 340000000 mmcsdrate: 136000000
##: prediv = 1, pll1_mult = 9,  postdisv = 1, pll-rate = 432000000, pll_div2 = 1, pll_div4 = 21, pll-div5 = 16
PLL1: armrate: 432000000, voicerate: 20571428, vencrate_hd: 27000000, ddrratePLL2 = 432000000
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists.  Total pages: 22784
dh_keyboard:0
PID hash table entries: 512 (order: 9, 2048 bytes)
Clock event device timer0_0 configured with caps set: 07
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 89MB = 89MB total
Memory: 86016KB available (3193K code, 775K data, 188K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
MUX: initialized SPI0_SDENA0
DaVinci: 104 gpio irqs
MUX: initialized GPIO20
MUX: initialized I2C_SCL
pMem_relimitBaseAddr:0xc6000000
Generic PHY: Registered new driver
configured buff delay: 50

SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
product has no spi2 device.
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.4 (2008/08/26) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
LTT : ltt-facilities init
LTT : ltt-facility-core init in kernel
davinci_wdt_init proc enable
rtc probe addr 0x68, probeByte 0x00...
RTC_i2c_attach_client:addr:0x68
 == Found RTC chip DS1338, I2C addr 0x68 ==
rtc probe addr 0x6f, probeByte 0x00...
rtc probe addr 0x57, probeByte 0x00...
rtc probe addr 0x32, probeByte 0x00...
DS1338  driver v1.04sem  proc enable,
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
&&&: uart_add_one_port, line = 0, uartclk = 0
&&&: uart_add_one_port, line = 1, uartclk = 170000000
ttyS0: autoconf (0x0000, 0xfbc20000): <6>serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfbc20000 (irq = 40) is a 16550A
&&&: uart_add_one_port, line = 0, uartclk = 24000000
ttyS1: autoconf (0x0000, 0xfbd06000): <6>serial8250.0: ttyS1 at MMIO map 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550A
&&&: uart_add_one_port, line = 1, uartclk = 170000000
Broadcom BCM5411: Registered new driver
Broadcom BCM5421: Registered new driver
Broadcom BCM5461: Registered new driver
Broadcom BCM5481: Registered new driver
Broadcom BCM54811: Registered new driver
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
Linux video capture interface: v2.00
i2c /dev entries driver
System bootup mode:SPI
JECDEC ID : 0xc22018
ext_jedec ID : 0xc220
chip id mx25l12805d
found mx25l12805d in table.
m25p80 spi0.0: mx25l12805d (16384 Kbytes)
Creating 10 MTD partitions on "spi0.0":
0x00000000-0x00040000 : "bootloader"
0x00040000-0x00060000 : "HWID"
0x00060000-0x00260000 : "kernel"
0x00260000-0x003e0000 : "web"
0x003e0000-0x006e0000 : "rootfs"
0x006e0000-0x006f0000 : "product"
0x006f0000-0x00da0000 : "user"
0x00da0000-0x00ec0000 : "data"
0x00ec0000-0x00f60000 : "backup"
0x00f60000-0x01000000 : "config"
dm_spi.0: davinci SPI Controller driver at 0xc6266000 (irq = 42) use_dma=0
[*****geyj******1]register master =0xc070e800;bus_num = 0
dm_spi.1: davinci SPI Controller driver at 0xc6268800 (irq = 17) use_dma=0
[*****geyj******1]register master =0xc070e400;bus_num = 1
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver asix
usbcore: registered new driver cdc_ether
usbcore: registered new driver net1080
usbcore: registered new driver zaurus
musb_hdrc: version 6.0, pio, host, debug=0
musb_hdrc: USB Host mode controller at c626a000 using PIO, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
u32 classifier
    Performance counters on
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (712 buckets, 5696 max) - 224 bytes per conntrack
ctnetlink v0.90: registering with nfnetlink.
ip_conntrack_pptp version 3.1 loaded
ip_nat_pptp version 3.0 loaded
ip_tables: (C) 2000-2006 Netfilter Core Team
ClusterIP Version 0.8 loaded successfully
arp_tables: (C) 2002 David S. Miller
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
ip6_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Time: timer0_1 clocksource has been installed.
Clock event device timer0_0 configured with caps set: 08
Switched to high resolution mode on CPU 0
IP-Config: No network devices available.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 188K
init started: BusyBox v1.9.1 (2017-06-12 16:54:28 CST)
starting pid 216, tty '': '/etc/init.d/dnode'
3.84s
starting pid 221, tty '': '/etc/init.d/rcS'
cp: cannot stat '/sbin/telnetd': No such file or directory
Mon Jun 29 07:26:38 2020  0.000000 seconds
[gpio] initialize success, build at 02:02:58, Nov 14 2017[gpio] CMD=9, Setting product type: 0
[libdv[gpio] CMD=4, Setting product fchip: 3
r]
libdvr.so B[gpio] CMD=3, Setting hardware version: 0
uild time: Nov  9 2017 at 09:29:59.
[libdvr] SVN NUM: 8181.
GIO_SET_PRODUCT_TYPE = 9
[gpio] SD card hardware reset is done, gio55=0.
current wdt period=5000 ms
[libdvcurrent wdt period=25000 ms
r]
libdvr.so Build time: Nov  9 2017 at 09:29:59.
[libdvr] SVN NUM: 8181.
[syshelper] V1.21(no exit): startup time=25 s, appauto=1, hctosystime=1500,type=0
[syshelper] start watch dog success, period is 25000 ms.
coremnt not found
5.61s

7z ANSI-C Decoder 9.20 : Igor Pavlov : Public domain : 2010-11-18

DH:: [rootlistinit:909] rootlistinit  buf len=53

Extracting cmemk.ko
Extracting davinci_emac.ko
Extracting display.ko
Extracting dm365mmap.ko
Extracting edmak.ko
Extracting evdev.ko
Extracting getjif.ko
Extracting h3ak.ko
Extracting i2ckey.ko
Extracting irqk.ko
Extracting mcu_spi.ko
Extracting mfrc522.ko
Extracting mmc_blk.ko
Extracting mmc_core.ko
Extracting mmc_drv.ko
Extracting mymemcpy.ko
Extracting pwm.ko
Extracting pwm_gpio.ko
Extracting Sensor.ko
Extracting sound.ko
Extracting spi.ko
Extracting spi_mcu.ko
Extracting touch_panel_ctrl.ko
Extracting vpbek.ko
Extracting vpfek.ko

Everything is Ok
/mnt/mtd/Config/ppp

7z ANSI-C Decoder 9.20 : Igor Pavlov : Public domain : 2010-11-18

Extracting sshd

Everything is Ok

7z ANSI-C Decoder 9.20 : Igor Pavlov : Public domain : 2010-11-18

****Extracting VideoDaemon

Everything is Ok

7z ANSI-C Decoder 9.20 : Igor Pavlov : Public domain : 2010-11-18

Extracting sonia
ERROR #1
chmod: /var/usr/sonia: No such file or directory
/mnt/mtd/Config/ppp
Davinci EMAC MII Bus: probed
MAC address is 4C:11:BF:3A:B3:F4
TI DaVinci EMAC Linux version updated 4.0
**[libdvr]
libdvr.so Build time: Nov  9 2017 at 09:29:59.
[libdvr] SVN NUM: 8181.
[libdvr]
libdvr.so Build time: Nov  9 2017 at 09:29:59.
[libdvr] SVN NUM: 8181.
[libdvr]
libdvr.so Build time: Nov  9 2017 at 09:29:59.
[libdvr] SVN NUM: 8181.
[libdvr]
libdvr.so Build time: Nov  9 2017 at 09:29:59.
[libdvr] SVN NUM: 8181.
[libdvr]
libdvr.so Build time: Nov  9 2017 at 09:29:59.
[libdvr] SVN NUM: 8181.
bootargs:console=ttyS0,115200n8 root=/dev/mtdblock4 rootfstype=cramfs,nolock mem=90M newmem=90M video=davincifb:vid0=OFF:vid1=OFF:osd0=OFF:osd1=OFF
bootargs_prefix: console=ttyS0,115200n8 root=/dev/mtdblock4 rootfstype=cramfs,nolock
bootargs_suffix: video=davincifb:vid0=OFF:vid1=OFF:osd0=OFF:osd1=OFF
mem_old:90M
mem_new:90M
cmem= 90
CMEMK module: built on Apr 14 2010 at 13:45:45
  Reference Linux version 2.6.18
  File /workspace/dm365/dvsdk_2_10_01_18_guangpan/linuxutils_2_24_03/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xc7000000 of size 0x2600000
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x85900000)
cmemk initialized
IRQK module: built on Apr 14 2010 at 13:46:34
  Reference Linux version 2.6.18
  File /workspace/dm365/dvsdk_2_10_01_18_guangpan/linuxutils_2_24_03/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
irqk initialized
EDMAK module: built on Apr 14 2010 at 13:46:46
  Reference Linux version 2.6.18
  File /workspace/dm365/dvsdk_2_10_01_18_guangpan/linuxutils_2_24_03/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
getjif init @ 091230
##: HZ = 10
register getjif driver successful !


[VPBE] VPBE Build on Nov 14 2017 at 02:03:05.
[VPBE] SVN NUM: 8034.

[VPBE] ch0 default output "LCD", mode "800x480"
[VPBE] ch1 default output "COMPOSITE", mode "NTSC"
[VPBE] VPBE Encoder Initialized
[VPBE] options =:vid0=OFF:vid1=OFF:osd0=OFF:osd1=OFF
[VPBE] dm_osd0_fb: 0x0x16@0,0 with framebuffer size 750KB
[VPBE] dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1125KB
[VPBE] dm_osd1_fb: 0x0x4@0,0 with framebuffer size 750KB
[VPBE] dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1125KB
[VPBE] Trying to register davinci display video device.
[VPBE] Trying to register davinci display video device.
[VPBE] davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
[VPBE] VPBE Driver Initial OK, Build On : Nov 14 2017, 02:03:05.


[VPFE] VPFE Build on Aug  3 2017 at 21:50:09.
[VPFE] SVN NUM: 7516.
[VPFE] VPFE Driver Initial OK, Build On : Aug  3 2017, 21:50:09.


[H3A] H3A Driver Build on Nov 14 2017 at 02:03:03.
[H3A] SVN NUM: 8033.

[H3A] VideoBuf Driver Initial OK !
[H3A] DEV_h3aHwInit
[H3A] VideoBuf Create queuefor dm365_aew OK !
[H3A] AEW Driver Initial OK !
[H3A] VideoBuf Create queuefor dm365_af OK !
[H3A] AF Driver Initial OK !
[H3A] H3A Driver Initial OK
[SND]build Nov 14 2017 02:05:37 SVN 574
[alc3261] alc3261_powerOn
[i2c]Found I2C Device (i2c addr 0x1c)
[alc3261] VTO2000A alc3261 regs param
[alc3261] init EQ EQMODE:0
[alc3261] EQ disable
[base]found the soc chip: alc3261 on i2c bus
[MCBSP] word0=0, word1=2
[MCBSP] word_num=2
[MCBSP] word_length=16
[MCBSP] word0=0, word1=2
[MCBSP] word_num=2
[MCBSP] word_length=2
[alc3261] alc3261 set rate 16000
[alc3261] VTO2000A aec param
[alc3261] mono left gain value 95
[alc3261] alc3261_mono_ad_gain_l vol=0x5400
[alc3261] alc3261_spo_l volume=70
[alc3261] VTO2000A set vol most
[alc3261] alc3261_spo_l vol=0x9700
[alc3261] alc3261_vol_outl volume=100
[alc3261] alc3261_vol_outl vol=0x9f00
[spi_smlt] Serving For product VTO2000A by spi hardware.

BusyBox v1.9.1 (2017-06-12 16:54:28 CST) multi-call binary

Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

Options:
        -m[spi_smlt] initialize success, build at 02:02:57, Nov 14 2017
        Create the spec[spi_smlt] delay 10us

ial file using the specified mode (default a=rw)

TYPEs include:
        b:      Make a block (buffered) device
        c or u: Make a character (un-buffered) device
        p:      Make a named pipe. MAJOR and MINOR are ignored for named pipes

Archive:  /mnt/pd/product.zip
   creating: product/
   creating: product/IPC-HF3100/
  inflating: product/IPC-HF3100/ProductDefinition
  inflating: product/IPC-HF3100/shorthand.txt
  inflating: product/IPC-HF3100/DefaultAccount
  inflating: product/IPC-HF3100/CustomConfig
[sensor]
[sensor] Sensor.ko Build on Nov 14 2017 at 02:03:53.
[sensor] SVN NUM: 4650.
[sensor] The Sensor Driver Version:Ver 2.0
[sensor] Found I2C Device (i2c addr 0x10)
[sensor] The Sensor is AR0130 ID:0x2402
[sensor] The MT9M034 model ID is 0x2402
[sensor] RESET PIN 63  reset MT9M034
[sensor] We found the sensor chip: mt9m034 on i2c bus
[sensor] sensor device init success
[sensor] The 70oc is 47681, the 55oC is 66, Now is 407
Archive:  /mnt/p[sensor] The temperature now is 55
d/2Acfg.zip
   creating: 2Acfg/[sensor] The 70oc is 47681, the 55oC is 66, Now is 407

   creating: 2[sensor] The temperature now is 55
Acfg/MT9M034/
  inflating: 2Acf[sensor] The 70oc is 47681, the 55oC is 66, Now is 407
g/MT9M034/aew_pa[sensor] The temperature now is 55
ra.txt
  inflating: 2Acfg/MT9M034/aew_para.bin
   creating: 2Acfg/AR0130/
  inflating: 2Acfg/AR0130/aew_para.txt
  inflating: 2Acfg/AR0130/aew_para.bin
   creating: 2Acfg/OV9712/
  inflating: 2Acfg/OV9712/aew_para.txt
  inflating: 2Acfg/OV9712/aew_para.bin
sensor_name:ar0130
<3>1:01 not found
[libdvADDRCONF(NETDEV_UP): eth0: link is not ready
r]
libdvr.so Build time: Nov  9 2017 at 09:29:59.
[libdvr] SVN NUM: 8181.
only init eth0
"netinit help" for help
eth0:
MAC: <4c:11:bf:3a:b3:f4>
[libdvr] ERROR  (../src/net/net.c|SetGateWay|909): SIOCADDRT
SIOCADDRT: Netwonetinit uses obsolete (PF_INET,SOCK_PACKET)
rk is unreachable
[libdvr] ERROR  (../src/net/net.c|SetEthAttr|1235): SetGateWay error
IP: <192.168.0.228>             netmask: <255.255.255.0>
DH:: [elffile_crypto_verify:848] start elf_file:/var/usr/VideoDaemon

Gateway: <192.168.0.1>
[libdvr] set success

[libdvr]
libdvr.so Build time: NoDH:: [debug_print_signsec:642] =====SIGNATURE BEGIN=====
v  9 2017 at 09:DH:: [debug_print_signsec:647] 14a3c6b3 1ca4630e 46880b96 4e80c413
29:59.
H:: [debug_print_signsec:647] 5914bfc1 707171c4 06c06006 4a4d357b
2;32m[libdvr] SVDH:: [debug_print_signsec:647] 2500b554 24142fd5 64acc97f bc6150c4
N NUM: 8181.
H:: [debug_print_signsec:647] cdb4ab28 21ef6e3f 22f7539f 9446c50c
mIPV6: only initDH:: [debug_print_signsec:647] 6f033e90 255fd0ea c4adfa50 9e8a0e55
 eth0
"netinit6DH:: [debug_print_signsec:647] cf989802 5bb9b114 47ff8500 e513d107
DH:: [debug_print_signsec:647] cbb3d7a7 aeb827b0 e986503b 1471c3ef

eth0:
MAC: <4cDH:: [debug_print_signsec:647] 90e21518 2836b026 0d22a3ed f39a4e67
:11:bf:3a:b3:f4>DH:: [debug_print_signsec:647] 27e833ff 8718cc01 9a0975f1 c934db4e

IPV6: <2008::6DH:: [debug_print_signsec:647] c0b1088e ab67c771 ce82fb56 e51ced97
>               preFixLen: <1DH:: [debug_print_signsec:647] 65c0d137 20ae7fd4 e9f876f3 6f802c6d
12>
[libDH:: [debug_print_signsec:647] 155110f1 c759dabc 67f484a0 760f751e
dvr] WARN  (../sDH:: [debug_print_signsec:647] defad496 56093218 67d9c788 35e8cbe1
rc/net/network6.DH:: [debug_print_signsec:647] 91cf1fe3 7347b8a6 cb2ac614 0f33bf39
c|NetWorkDelIP|9DH:: [debug_print_signsec:647] 44a58703 e31a289b 15e02d91 9165a2c2
81): del ip failDH:: [debug_print_signsec:647] e38b281a abf1a564 5cc65563 2782d6f2
ed:No such devicDH:: [debug_print_signsec:650] =====SIGNATURE END=====
e or address
IPV6 Gateway: <2008::1>

DH:: [elffile_crypto_verify:864] verify elfbin ok.
*[libdvr]
libdvr.so Build time: Nov  9 2017 at 09:29:59.
[libdvr] SVN NUM: 8181.
[VD]vd Build Jun  9 2018 14:12:03 SVN 5010
[VD]VPSS: disable GCK~RSZ Wait for H3A CLOCK DISALBE
[VD]DRV_syncRst start...
[VD]DRV_syncRst start...
[VD]DRV_syncRst start...
[VD]DRV_syncRst start...
[VD]DRV_syncRst start...
[VD]DRV_syncRst start...
[edma_ioctl] EDMA_INIT
edma_init:ch:0,tcc:0
[sensor] The Sensor is AR0130 ID:0x2402
[VD]EDMA Channel Num 0
[CFG]found VTO2000A id 42
[CFG]Device -- VTO2000A, the same to VTT201
[CFG]Product Name [H3A] DEV_vbufOpen in
: VTO2000A
[CFG]Product Id = 42
[CFG]Sensor Id = 3
[CFG]HareWare Id = 0
[CFG]hwInterface[edma_ioctl] EDMA_INIT
 Id = 0
dma_init:ch:1,tcc:1
32;32m[CFG]dspChip Id = 5
[VD]VTT201 720p INIT
[VD]sensorType: 2
[VD]productID:  42
[resizer]Resizer continuous Mode. isChain 1
[videoServe] VSERVER API: Creating Capture Task.
[videoServe] VSERVER API: Creating Encode Task.
[videoServe] VSERVER API: Creating AEWB Task.
[server Tsk] VSERVER MAIN: Create captureTsk ...
[capture Tsk] VSERVER : Id 0, stream width 1280
[capture Tsk] VSERVER : Id 0, stream height 720
[capture Tsk] VSERVER : Id 0, Stream bufSize 1382400
[capture Tsk] VSERVER : Id 1, stream width 800
[capture Tsk] VSERVER : Id 1, stream height 576
[capture Tsk] VSERVER : Id 1, Stream bufSize 691200
[capture Tsk] VSERVER : Main capture bufSize 1382400
[drv sensor]Sensor AR0130 Initial OK!
[drv sensor]Input left   0
[drv sensor]Input top    138
[drv sensor]Input Width  1280
[drv sensor]Input Height 720
[drv sensor]Input fps    25.0
[drv Capt]numBufsMain = 5, w:1280, h:720
[drv Capt]numBufsExtra = 5, w:800, h:576
[server Tsk] VSERVER MAIN: Create aewbTsk ...
[VD]h3aMode = 1
[server Tsk] VSERVER MAIN: Create crtlTask ...
[server Tsk] VSERVER MAIN: Create encodeTsk ...
[encode Tsk]Edma Channel Number = 0, Max Video Count = 2
[encode Tsk]To ENCODE : DisType = 1
[encode] ++++++++++++++++++++++++++++++++++++++++++++++++++++++
[encode] libencode build at: Nov 16 2017:10:53:16
[encode] Version:0.4_all_in_one@20101013
[encode] SVN Revision 4439
[encode] DVSDK H264ENC.version.02.30.00.06.wizardversion.0.5.3
[encode] Build options: PLAT:tags2.0 PLAT_HD JPEG_HAS_OSD=1 MULTI_THREAD OSD_ADD_TYPE=Free USE_SELECT
[encode] ++++++++++++++++++++++++++++++++++++++++++++++++++++++
[encode]createParams: maxWidth=1280,maxHeight=720,maxBitRate=33554432,queBufNum=4,dspType=1,closeJpeg=0,closeOsd=0
[encode]maxVideoCnt=2,maxKTNFCnt=0,maxRotationCnt=0,maxDeiCnt=0,maxMemSize=10240
KTNFEnableMask=0,RotationEnableMask=0,DeiEnableMask=0,vicpGroupId=1,dspType=1
[encode]Main streamid:maxWidth =1280 maxHeigh =720 maxbitrate=33554432
[encode]Jpeg streamid:maxWidth =1280 maxHeigh =720 maxsize=786432
[encode]Extra maxW, maxH 800x576
[encode]Extra maxFrameRate 30000
+++++++++++++++encode skip calling CERuntime_init
[encode osd] pOSDDesc =0x43e14000
[encode osd] init_osd_mgr done !
[encode]VIDENC1_create is Done,streamid=0 !
[encode]VIDENC1_create is Done,streamid=1 !
[encode]start encode_thread ...... 403
[encode]VIDENC1_create is Done,streamid=4 !
[encode]start osd_thread ...... 404
[encode]start EncodeCmd_thread ...... 402
[encode]start add_header_thread ...... 405
[encode]threadname     tid       loop times     last_pts       aver loop      aver active    aver sleep
[encode]cmd thread     402       2              42949394320    0              0              0     
[encode]enc thread     403       1              42949394320    0              0              40   
[encode]osd thread     404       1              42949394320    0              0              20   
[encode]dhav thread    405       1              42949394320    0              0              10   
[encode]check thread   0         0              0              1000           0              0     
[server Tsk] VSERVER MAIN: Start encodeTsk ...
[server Tsk] VSERVER MAIN: Start captureTsk ...
[libdvr]
libdvr.so Build time: Nov  9 2017 at 09:29:59.
[libdvr] SVN NUM: 8181.
only init eth2"netinit help" for help
/proc/sys/vm/drop_caches
imod end...
[server Tsk] VSERVER MAIN: Start aewbTsk ...
[AEW] AEW is Build on Jul 26 2017 at 22:02:33.
[AEW] SVN NUM: 39692.

[AEW] AEW in working base Trunk2.103
[AEW] begin loading cfg, current cfg version:V1.014
[AEW] #####working=0
[AEW] #####ok,now the H3A is working,working=0
[AEW] pAewCreate->adDevice=10,pAewCreate[VPFE] WARN  : mode mis-match, chan mode = 0, config mode = 1
->irCutType=0,pAewCreate->skipFrames=0,pAewCreate->fdPrev=10
[AEW] date of the aew cfg is: 2013-12-20 15:05:40
*[AEW] date of the aew cfg from pack is: 2013-12-20 15:05:40
[AEW] the aew cfg product_name is: IPC-HD2100
[AEW] current cfg version:V1.014 is right!
[AEW] OK, use cfg:/mnt/mtd/3A/aew_para.bin
[AEW] IR_TYPE = 0
[AEW] aew_start window = (1280, 960, 0, 0),frame =25.000000
[AEW] ===============
 chip_ad = AD_MTAR0130
=================
[AEW] ============
g_adinfo.max_exp_value = 2424
======
[AEW] chip:ar0130(/dev/sensor)
[AEW] exposure_time(40.000000,0.016502),value(2424,0.000000)
[AEW] vga(1,1000),step=8
[AEW] ####Sensor information:max_exp_value=2424,max_exposure_time=40.000000,exp_time_step=60.599998,frame rate=25.000000
[AEW] Getting default configuration in previewer
[AEW] WARN  (src/dev_preview_davinci.c|dev_preview_davinci_open|97): Error in getting default configuration
[AEW] shift = 2550824, clip = 36, gain = 19308
[AEW] Aperture init...open aperture fully
[AEW] WARN  (src/alg_smartir.c|dev_smartIR_open|136): This ICR is not the SmartIR!
[AEW] frame_rate_temp=25[AEW] -----Creat /tmp/msg2ato648 message queue sucessful. key:269419433, id:131076
[AEW] hz_cnt=48,vt_cnt=64,hz_start=16,vt_start=32,width=26,height=14,sum_shift=6,sat_limit=1023
[VD] AEW Win Start H       = 16
[VD] AEW Win Start V       = 32
[VD] AEW Win Num H         = 48
[VD] AEW Win Num V         = 64
[VD] AEW Win Width         = 26
[VD] AEW Win Height        = 14
[VD] AEW Win Inc H         = 2
[VD] AEW Win Inc V         = 2
[AEW] awb init,curr_CT:0,G_R_gain:0.900000,G_B_gain:2.600000
[AEW] set ee_table[3]
[AEW] gain=(1.000000,1.000000,1.000000,1.000000)
[AEW] old brightness=-1,old contrast=-1, old saturation=-1, old hue=-1
[AEW] new brightness=50,new contrast=50, new saturation=50, new hue=50
[AEW] act brightness=50,act contrast=52, act saturation=50, act hue=50
[AEW] Success in setting RGB2YUV params
[AEW] ----set sensor -----IRCUT_MODE =0,icrMode=-1
[AEW] ERROR  (src/dev_sensor_ad.c|dev_sensor_set_motor|269): open dev failed!
[AEW] IRcut_mode =0,real_dnc_mode=2
[AEW] -------sensor -- ae_ctrl------ light_freq=0, exp_mode=0,ae_mode=0,gain_min=1,gain_max=0,sht_min=4,sht_max=2424
[AEW] AEW was created !
[server Tsk] VSERVER MAIN: Start crtlTsk ...
[AEW] old brightness=50,old contrast=50, old saturation=50, old hue=50
[AEW] new brightness=54,new contrast=54, new saturation=52, new hue=52
[AEW] act brightness=54,act contrast=56, act saturation=52, act hue=52
[AEW] Success in setting RGB2YUV params
[AEW] ###########################
[AEW] Webset change wb_mode=1
[AEW] ###########################
[AEW] #########################################################
[AEW] Webset change expMode:light_freq=0,exp_mode=0,ae_mode=0
[AEW<6>ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
] #########################################################
[AEW] -------sensor -- ae_ctrl------ light_freq=0, exp_mode=0,ae_mode=0,gain_min=1,gain_max=0,sht_min=4,sht_max=2424
[AEW] [aew-ar0130]gain_convert:1->10
[AEW] [aew-ar0130]gain_convert:94->940
[AEW] ########################################################################################
[AEW] Webset change gain :ctrl_parm.gain_min=10,ctrl_parm.gain_max=940,gain_min=1,gain_max=94
[AEW] ########################################################################################
[AEW] -------sensor -- ae_ctrl------ light_freq=0, exp_mode=0,ae_mode=0,gain_min=10,gain_max=940,sht_min=4,sht_max=2424
[AEW] #########################################
[AEW] Webset change shutter:sht_min=25.000000,sht_max=40.000000
[AEW] #########################################
[AEW] -------sensor -- ae_ctrl------ light_freq=0, exp_mode=0,ae_mode=0,gain_min=10,gain_max=940,sht_min=4,sht_max=2424
[AEW] #########################
[AEW] Webset change dnc mode:0
[AEW] #########################
[AEW] ##############################################################
[AEW] Webset change Iris able :g_my_auto_aperture =0
[AEW] ##############################################################
[AEW] set ee_table[3]
[AEW] irisStbpoint Read OK:126,no_iris=1
starting pid 409, tty '': '/etc/init.d/appauto'
[libdvr]
libdvr.so Build time: Nov  9 2017 at 09:29:59.
[libdvr] SVN NUM: 8181.
claststate V1.0 for dm365times=3 @@@; usdate = 0xe17a76b9
mode: safe
entry safe mode,  upgrade me please
dh_keyboard = 1

Date&Time: Jul 21 2017 10:32:42
Revision: 30029
Enter 'help' for a list of commands (dsh)

#[libdvr]
libdvr.so Build time: Nov  9 2017 at 09:29:59.
[libdvr] SVN NUM: 8181.
[AEW] AP_ST_OPEN_FULLY:ev=129,ev_first=129,ev_first_min=129,config_cnt=0
... crypto start ....
DH:: [reliableenvvalidate:951] crypto dir=/usr/SigFileList,buf pos=4

[AEW] AP_ST_CLOSE: Aperture can not close.ev_first_min=129,ev_first=129,ev=128
[AEW] WARN  (src/alg_aperture.c|alg_aperture_auto_config|486): Aperture is not exist:ev=128
[AEW] Write irisStbpoint iris=126,iris1=1
[AEW] iris_cfg_over=1,irisStbpoint=126
[AEW] set Aperture_stable_val = 126,frame_rate=25.000000,adj_sta_delay=100,bInit=0,ae_mode_last=-1
[AEW] ------ exp mode change-----: shutter_mid=2424,SHT_MID=40.000000,GAIN_MID=800,ae_mode=0,sht_mid=2424,sht_mid1=2424
[AEW] ------- gain changed --- :gain_min=10,gain_max=940,sht_curr=128
[AEW] ------- sht change: shutter_mid=2424,sht_min=4,sht_max=2424,sht_mid=2424
[AEW] ------- apert change: no_aperture=1,g_my_auto_aperture=0,detect_apert_state=1
[AEW] new_dnc_mode = 0, cur_dnc=2
[AEW] ----set sensor -----IRCUT_MODE =1,icrMode=0
[AEW] ERROR  (src/dev_sensor_ad.c|dev_sensor_set_motor|269): open dev failed!
[AEW] old brightness=54,old contrast=54, old saturation=52, old hue=52
[AEW] new brightness=54,new contrast=54, new saturation=52, new hue=52
[AEW] act brightness=54,act contrast=56, act saturation=52, act hue=52
[AEW] Success in setting RGB2YUV params
[AEW] Reset AWB Para: avg_G_R=1.500000,avg_G_B=1.500000
falied---filename:[/usr/SigFileList]  signfile [/usr/Data_Signature]
Restarting system.
.

Checking DDR......OK

UBL Version: 1.46t(DM365)16:10:30 Aug  4 2017
 Oscillator: 24MHZ
 ARM Rate: 432 MHZ
 DDR Rate: 340 MHZ
 BootMode: SPI
Starting SPI Memory Copy...
DONE


U-Boot 1.3.6 (jerry) (Oct 26 2017 - 13:52:13)

DRAM:  128 MB
SF: Got idcode c2 20 18 c2 20
In:    serial
Out:   serial
Err:   serial
Ethernet PHY: GENERIC @ 0x05,id:221513
total gio 2
gio[22]=1
gio[25]=1
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Filename 'upgrade_info_7db780a713a4.txt'.
Load address: 0x80100000
Loading: *
Retry count exceeded; starting again
Fail to get info file!
Init error!
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Filename 'failed.txt'.
Load address: 0x80200000
Loading: *
Retry count exceeded; starting again
==>use default images
APP_OFFSET_NEW test
DHBOOT# run dr
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Filename 'romfs-x.cramfs.img'.
Load address: 0x81a00000
Loading: #################################################################
         #################################################################
         #################################################################
         #########
done
Bytes transferred = 2981952 (2d8040 hex)

## Checking Image at 0x81a00000 ...
   Header CRC Checking ... OK
   Image Name:   romfs
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    2981888 Bytes =  2.8 MB
   Load Address: 023e0000
   Entry Point:  026e0000
   Data CRC Checking ... ERROR

DHBOOT# printenv
bootcmd=fsload
bootdelay=3
baudrate=115200
eth1addr=00:01:5b:00:55:66
eth2addr=00:01:5b:00:77:88
bootfile="uImage"
appauto=1
single=0
da=protect off all;tftp 81a00000 dm365_ubl_boot_16M.bin.img;flwrite
dc=tftp 81a00000 custom-x.cramfs.img; flwrite
dr=tftp 81a00000 romfs-x.cramfs.img; flwrite
du=tftp 81a00000 user-x.cramfs.img; flwrite
dd=tftp 81a00000 data-x.cramfs.img; flwrite
dw=tftp 81a00000 web-x.cramfs.img; flwrite
dg=tftp 81a00000 gui-x.cramfs.img; flwrite
dk=tftp 81a00000 kernel-x.cramfs.img; flwrite
up=tftp 81a00000 update.img; flwrite
tk=tftp 80800000 uImage; bootm 80800000
gionum=22.25
gioval=1.1
dh_com=0
autosip=192.168.254.254
autolip=192.168.1.108
autogw=192.168.1.1
autonm=255.255.255.0
HWID=VTO2000A:0:4:1:3:5:0:1:9:3:3:0:1B0:0:0:0:0:0:0:0
ID=1L00237PAN00009
ethaddr=4C:11:BF:3A:B3:F4
bootargs= console=ttyS0,115200n8 root=/dev/mtdblock4 rootfstype=cramfs,nolock mem=90M newmem=90M video=davincifb:vid0=OFF:vid1=OFF:osd0=OFF:osd1=OFF
ipaddr=192.168.1.108
gatewayip=192.168.1.1
netmask=255.255.255.0
serverip=192.168.254.254
dh_keyboard=0
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 1.3.6 (jerry) (Oct 26 2017 - 13:52:13)
filesize=2D8040
fileaddr=81A00000

Environment size: 1186/16380 bytes
 

Attachments

iTuneDVR

Pulling my weight
Joined
Aug 23, 2014
Messages
846
Reaction score
153
Location
Россия
Some problem at log.

1st stop boot & try
erafcg
reset

Possible that the network has failed.
So, you can try use loady command with Hyperterminal send files via YModem protocol & then flwrite
 
Top