#gethwid
[OSA-APP] OSA Build on Dec 28 2017 at 17:23:19.
[OSA-APP] SVN NUM: 11764.
[libpdi] libpdi.so Build on Dec 28 2017 at 17:28:27.
[libpdi] SVN NUM: 44149.
[libpdi] PDI product has 1 configs!!!
[libpdi] PDI product Init OK!
[libpdi] PDI hwid Get OK!
[libpdi] PDI run in gethwid
[libpdi] WARN : TwoEyesCom Dev not exists,status = -1
[libpdi] partionNum=15
[libpdi] Get fpga upgrade cfg failed, use default
18:48:52|[pdc] The cmd 3221510146 is invalid
[libpdi] Get flash total size failed.
18:48:52|[pdc] The cmd 3221510149 is invalid
[libpdi] Get bootsupportswitchpart failed.
[libpdi] Support backup partition !!!
[libpdi] Flashtype = 0x4,patSize = 0x100000,rwSize = 0x800,ersSize = 0x20000
[libpdi] gFlashCtrlObj.isSupportSwitchPart:0
[libpdi] gFlashCtrlObj.bootFromBack:0
[libpdi] gFlashCtrlObj.bootVersion:2
[libpdi] WARN : Heat Dev not exists,status = -1
[libpdi] WARN : Device has no crypt chip!
[libpdi] phyaddr= 0x8fffe000, memLen= 0x2000
18:48:52|[pdc] Both of Chief and Backup File CRC check OK!
[libpdi] CreatePartionTab:hwid fd=13
Fail to get env hwidEx!
[libpdi] can't find commLen cfg
[libpdi] PDI run in gethwid
[libpdi] PDI_eventInit Wrapper OK!!!
[libpdi] run with no coprocessor!
[Systools]: Build on Dec 28 2017 at 17:29:02.
[Systools]:SVN NUM: 36048.
the usage: gethwid type!
productGetName = 0
HWID_VERSION = 1
CATEGORY = 2
SUB_CATEGORY = 3
FVIDEO_CHIP = 4
DSP_CHIP = 5
BVIDEO_CHIP = 6
VIDEO_CHANNEL = 7
ANALOG_AUDIO_MODE = 8
AUDIO_IN_CHANNEL = 9
AUDIO_OUT_CHANNEL = 10
STORE_INTERFACE = 11
CPU_COUNT = 12
ALARM_MODE = 13
WIRELESS_INTERFACE = 14
HD_ENCODE = 15
VD_INTERFACE = 16
NET_INTERFACE = 17
INTE_ANALYSE = 18
HD_VERSION = 19
VIDEO_STAND = 20
HAS_SD_CARD = 21
PHY_MEMSIZE = 22
system error
#diagnose 1
CPU0
35: 22913842 GIC timer
39: 0 GIC RTC Alarm
42: 694720 GIC uart-pl011
52: 1300913 GIC hi_mci
53: 0 GIC ehci_hcd:usb1
57: 28515950 GIC gmac0
65: 0 GIC VOU Interrupt
66: 0 GIC mipi int
67: 22911610 GIC ISP, VIU
68: 5727684 GIC VPSS0
69: 1 GIC tde_osr_isr
70: 8037580 GIC VGS0
71: 11455494 GIC AIO Interrupt
72: 3436372 GIC VEDU_0
73: 0 GIC JPEGU_0
75: 0 GIC HEVCU_0
76: 0 GIC VDA
77: 0 GIC IVE
79: 0 GIC Gpio_irq:Group0
80: 0 GIC Gpio_irq:Group1
81: 0 GIC Gpio_irq:Group2
82: 371 GIC Gpio_irq:Group3
83: 0 GIC Gpio_irq:Group4
84: 0 GIC Gpio_irq:Group5
85: 0 GIC Gpio_irq:Group6
86: 0 GIC Gpio_irq:Group7
87: 0 GIC Gpio_irq:Group8
Err: 0
#diagnose 2
MemTotal: 254124 kB
MemFree: 142452 kB
Buffers: 3360 kB
Cached: 24236 kB
SwapCached: 0 kB
Active: 49556 kB
Inactive: 23880 kB
Active(anon): 45984 kB
Inactive(anon): 4776 kB
Active(file): 3572 kB
Inactive(file): 19104 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 45860 kB
Mapped: 20952 kB
Shmem: 4920 kB
Slab: 19476 kB
SReclaimable: 13364 kB
SUnreclaim: 6112 kB
KernelStack: 1408 kB
PageTables: 972 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 127060 kB
Committed_AS: 1229132 kB
VmallocTotal: 761856 kB
VmallocUsed: 340256 kB
VmallocChunk: 350012 kB
#diagnose 3
Character devices:
1 mem
4 /dev/vc/0
4 tty
5 /dev/tty
5 /dev/console
5 /dev/ptmx
5 threads
7 vcs
10 misc
13 input
21 sg
29 fb
77 ivf
89 i2c
90 mtd
108 ppp
128 ptm
136 pts
180 usb
189 usb_device
204 ttyAMA
218 himedia
233 len_drv
234 senDev
235 pdcMem
236 pdcRecord
237 pdcSramFile
238 pdcMisc
239 pdcIris
240 pdcAdc
241 pdcWdt
242 pdcSmartIR
243 pdcRtc
244 pdcIRCut
245 pdcHwid
246 pdcPartion
247 binder
248 binderNS
249 binderSR
250 logDev
251 ubi2
252 ubi1
253 ubi0
254 bsg
Block devices:
259 blkext
8 sd
31 mtdblock
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
179 mmc
#diagnose 4
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
sit0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eth0: 3167691280 64718312 0 132990 0 0 0 0 2557680728 8095092 0 0 0 0 0 0
#diagnose 5
229155.29 139591.81
#diagnose 6
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.55 0.0.0.0 UG 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
#gethwid 21
[OSA-APP] OSA Build on Dec 28 2017 at 17:23:19.
[OSA-APP] SVN NUM: 11764.
[libpdi] libpdi.so Build on Dec 28 2017 at 17:28:27.
[libpdi] SVN NUM: 44149.
[libpdi] PDI product has 1 configs!!!
[libpdi] PDI product Init OK!
[libpdi] PDI hwid Get OK!
[libpdi] PDI run in gethwid
[libpdi] WARN : TwoEyesCom Dev not exists,status = -1
[libpdi] partionNum=15
[libpdi] Get fpga upgrade cfg failed, use default
18:55:38|[pdc] The cmd 3221510146 is invalid
[libpdi] Get flash total size failed.
18:55:38|[pdc] The cmd 3221510149 is invalid
[libpdi] Get bootsupportswitchpart failed.
[libpdi] Support backup partition !!!
[libpdi] Flashtype = 0x4,patSize = 0x100000,rwSize = 0x800,ersSize = 0x20000
[libpdi] gFlashCtrlObj.isSupportSwitchPart:0
[libpdi] gFlashCtrlObj.bootFromBack:0
[libpdi] gFlashCtrlObj.bootVersion:2
[libpdi] WARN : Heat Dev not exists,status = -1
[libpdi] WARN : Device has no crypt chip!
[libpdi] phyaddr= 0x8fffe000, memLen= 0x2000
18:55:38|[pdc] Both of Chief and Backup File CRC check OK!
[libpdi] CreatePartionTab:hwid fd=13
Fail to get env hwidEx!
[libpdi] can't find commLen cfg
[libpdi] PDI run in gethwid
[libpdi] PDI_eventInit Wrapper OK!!!
[libpdi] run with no coprocessor!
[Systools]: Build on Dec 28 2017 at 17:29:02.
[Systools]:SVN NUM: 36048.
18:55:38|[libpdi] >-------getSystemInfo------->
Fail to get env dvname!
Fail to get env devOEM!
Fail to get env authcode!
18:55:38|[libpdi] Get authcode error
18:55:38|[libpdi] deviceType: PTZ1A225U-IRA-N
18:55:38|[libpdi] processorType: 23
18:55:38|[libpdi] hardwareVersion: 1.00
18:55:38|[libpdi] appAutoStart: 1
18:55:38|[libpdi] serialNumber: 4C0743FPAJ1644A
18:55:38|[libpdi] deviceClass: SD
18:55:39|[libpdi] noPtz: 0
18:55:39|[libpdi] noSdCard: 0
18:55:39|[libpdi] noRTC: 0
18:55:39|[libpdi] bandWidth: 80
18:55:39|[libpdi] <-------getSystemInfo-------<
hasSdcard == 1