尚维国际的模组到了,开箱使用。
最近项目上涉及一部分模组,因此入坑,前期还比较谨慎,最近本着时间就是金钱的想法,开始陆续入手不少板子和镜头。之前有事没事在淘宝上搜索新唐、君正、全志、松翰的板子。正巧站主也发了一个链接https://whycan.cn/t_1839.html,遂入手。
先上照片:
让店主配块灯板,好大一块板,有需要再装吧。
淘宝展示的资料有问题,接线如下:
客户端读取视频时功耗对比:
其中左侧为不接负载;中为尚维T30;右为雄迈Hi3518EV。
接上串口:
板载Test串口从上到下定义依次为:
1 - UART1_TXD
2 - UART1_RXD
3 - GND
4 - UART_RTS(猜测,未验证)
5 - UART_CTS(猜测,未验证)
启动日志:
U-Boot SPL 2013.07 (Jan 26 2018 - 14:37:18)
Timer init
CLK stop
PLL init
pll_init:411
pll_cfg.pdiv = 10, pll_cfg.h2div = 5, pll_cfg.h0div = 5, pll_cfg.cdiv = 1, pll_cfg.l2div = 2
fbdiv = 62 , refdiv = 1 , fdivq = 4 ,pllod = 2 range = 3
cppcr is 03d01060
CPM_CPAPCR 07c0504d
fbdiv = 42 , refdiv = 1 , fdivq = 2 ,pllod = 1 range = 3
cppcr is 02900860
CPM_CPMPCR 07c0882d
fbdiv = 50 , refdiv = 1 , fdivq = 2 ,pllod = 1 range = 3
cppcr is 03100860
CPM_CPVPCR 0310086d
fbdiv = 50 , refdiv = 1 , fdivq = 2 ,pllod = 1 range = 3
cppcr is 03100860
CPM_CPEPCR 0310086d
cppcr 0x9a773310
apll_freq 750000000
mpll_freq 1000000000
vpll_freq = 1200000000 epll = 1200000000
ddr sel mpll, cpu sel apll
ddrfreq 500000000
cclk 750000000
l2clk 375000000
h0clk 200000000
h2clk 200000000
pclk 100000000
CLK init
SDRAM init
sdram init start
ddr_inno_phy_init ..!
phy reg = 0x00000007, CL = 0x00000007
ddr_inno_phy_init ..! 11: 00000004
ddr_inno_phy_init ..! 22: 00000006
ddr_inno_phy_init ..! 33: 00000006
REG_DDR_LMR: 00000210
REG_DDR_LMR: 00000310
REG_DDR_LMR: 00000110
REG_DDR_LMR, MR0: 00e73011
T30_0x5: 00000007
T30_0x15: 0000000c
T30_0x4: 00000000
T30_0x14: 00000002
INNO_TRAINING_CTRL 1: 00000000
INNO_TRAINING_CTRL 2: 000000a1
T30_cc: 00000003
INNO_TRAINING_CTRL 3: 000000a0
T30_190: 0000001d
T30_194: 0000001d
jz-04 : 0x00000051
jz-08 : 0x000000a0
jz-28 : 0x00000024
DDR PHY init OK
INNO_DQ_WIDTH :00000003
INNO_PLL_FBDIV :00000014
INNO_PLL_PDIV :00000005
INNO_MEM_CFG :00000051
INNO_PLL_CTRL :00000018
INNO_CHANNEL_EN :0000000d
INNO_CWL :00000006
INNO_CL :00000007
DDR Controller init
DDRC_STATUS 0x80000001
DDRC_CFG 0x0a688a40
DDRC_CTRL 0x0000891c
DDRC_LMR 0x00000000
DDRC_DLP 0x00000000
DDRC_TIMING1 0x040e0806
DDRC_TIMING2 0x02170707
DDRC_TIMING3 0x2007051e
DDRC_TIMING4 0x1a240031
DDRC_TIMING5 0xff060405
DDRC_TIMING6 0x32170505
DDRC_REFCNT 0x00f2b601
DDRC_MMAP0 0x000020fc
DDRC_MMAP1 0x00002400
DDRC_REMAP1 0x03020100
DDRC_REMAP2 0x07060504
DDRC_REMAP3 0x0b0a0908
DDRC_REMAP4 0x0f0e0d0c
DDRC_REMAP5 0x13121110
DDRC_AUTOSR_EN 0x00000000
sdram init finished
SDRAM init ok
board_init_r
image entry point: 0x80100000
U-Boot 2013.07 (Jan 26 2018 - 14:37:18)
Board: ISVP (Ingenic XBurst T30 SoC)
DRAM: 64 MiB
Top of RAM usable for U-Boot at: 84000000
Reserving 705k for U-Boot at: 83f4c000
Reserving 32772k for malloc() at: 81f4b000
Reserving 32 Bytes for Board Info at: 81f4afe0
Reserving 124 Bytes for Global Data at: 81f4af64
Reserving 128k for boot params() at: 81f2af64
Stack Pointer at: 81f2af48
Now running in RAM - U-Boot at: 83f4c000
MMC: msc: 0
the manufacturer 1c
SF: Detected EN25QH64
In: serial
Out: serial
Err: serial
gpio_request lable = PHY RESET gpio = 60
gpio_request lable = IR-CUT-1 gpio = 72
gpio_request lable = IR-CUT-2 gpio = 73
Net: Jz4775-9161
Hit any key to stop autoboot: 0
id1=0x243,id2=0xc54
saveaddr: 83fff000
the manufacturer 1c
SF: Detected EN25QH64
jz_init......
Bus Mode Reg after write: 0x00020100
====>PHY not found!
GMAC init finish
OurPort: 2051
starting...
time out resend: 0
time out resend: 1
time out resend: 2
JVUpdTimeout When CMD_TRY
netupdate - net update, MODEL just like JVS-HI3518C.
Usage:
netupdate netupdate [MODEL] [SAVEDADDR] [CFGOFFSET] [CFGSIZE]
Just like this:
netupdate JVS-HI3518C 0x83FFF000 0x780000 0x80000
the manufacturer 1c
SF: Detected EN25QH64
--->probe spend 4 ms
SF: 1769472 bytes @ 0x4c0000 Read: OK
--->read spend 230 ms
## Booting kernel from Legacy Image at 80600000 ...
Image Name: Linux-3.10.14__isvp_monkey_1.0__
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1689016 Bytes = 1.6 MiB
Load Address: 80010000
Entry Point: 803a6920
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.14__isvp_monkey_1.0__ (devin@swdev) (gcc version 4.7.2 (Ingenic r2.3.3 2016.12) ) #1 PREEMPT Fri Mar 30 18:44:32 CST 2018
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 RESET ERROR PC:02404846
[ 0.000000] CPU0 revision is: 00d00100 (Ingenic Xburst)
[ 0.000000] FPU revision is: 00b70000
[ 0.000000] CCLK:750MHz L2CLK:375Mhz H0CLK:250MHz H2CLK:250Mhz PCLK:125Mhz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 004c0000 @ 00010000 (usable)
[ 0.000000] memory: 00040000 @ 004d0000 (usable after init)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 02c00000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x02bfffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x02bfffff]
[ 0.000000] Primary instruction cache 32kB, 8-way, VIPT, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 8-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] pls check processor_id[0x00d00100],sc_jz not support!
[ 0.000000] MIPS secondary cache 128kB, 8-way, linesize 32 bytes.
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 11176
[ 0.000000] Kernel command line: console=ttyS1,115200n8 mem=44M@0x0 rmem=20M@0x2c00000 init=/linuxrc rootfstype=squashfs root=/dev/mtdblock3 rw mtdparts=jz_sfc:256k(boot),4608k(appfs),1728k(kernel),1024k(root),64k(hwconfig),512k(config)
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 38868k/45056k available (3709k kernel code, 6188k reserved, 1154k data, 256k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:418
[ 0.000000] clockevents_config_and_register success.
[ 0.000028] Calibrating delay loop... 743.83 BogoMIPS (lpj=3719168)
[ 0.037702] pid_max: default: 32768 minimum: 301
[ 0.042734] Mount-cache hash table entries: 512
[ 0.047930] Initializing cgroup subsys debug
[ 0.052194] Initializing cgroup subsys freezer
[ 0.059505] regulator-dummy: no parameters
[ 0.063775] NET: Registered protocol family 16
[ 0.086552] bio: create slab <bio-0> at 0
[ 0.093218] jz-dma jz-dma: JZ SoC DMA initialized
[ 0.098405] usbcore: registered new interface driver usbfs
[ 0.103944] usbcore: registered new interface driver hub
[ 0.109474] usbcore: registered new device driver usb
[ 0.114720] i2c-gpio i2c-gpio.1: using pins 57 (SDA) and 58 (SCL)
[ 0.120990] (null): set:311 hold:312 dev=125000000 h=625 l=625
[ 0.127150] media: Linux media interface: v0.10
[ 0.131710] Linux video capture interface: v2.00
[ 0.138743] Switching to clocksource jz_clocksource
[ 0.144389] jz-dwc2 jz-dwc2: cgu clk gate get error
[ 0.149392] cfg80211: Calling CRDA to update world regulatory domain
[ 0.155850] jz-dwc2 jz-dwc2: regulator vbus get error
[ 0.160907] DWC IN OTG MODE
[ 0.313253] sft id =========================off
[ 0.317886] dwc2 dwc2: Keep PHY ON
[ 0.321259] dwc2 dwc2: Using Buffer DMA mode
[ 0.524215] dwc2 dwc2: Core Release: 3.00a
[ 0.539752] dwc2 dwc2: dwc2_core_reset() HANG! Soft Reset GRSTCTL=0x80000001
[ 0.558314] dwc2 dwc2: dwc2_core_reset() HANG! Soft Reset GRSTCTL=0x80000001
[ 0.565424] dwc2 dwc2: DesignWare USB2.0 High-Speed Host Controller
[ 0.571771] dwc2 dwc2: new USB bus registered, assigned bus number 1
[ 0.579269] hub 1-0:1.0: USB hub found
[ 0.583015] hub 1-0:1.0: 1 port detected
[ 0.587230] dwc2 dwc2: DWC2 Host Initialized
[ 0.591746] NET: Registered protocol family 2
[ 0.596838] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.603819] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.610203] TCP: Hash tables configured (established 512 bind 512)
[ 0.616542] TCP: reno registered
[ 0.619742] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.625702] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.632340] NET: Registered protocol family 1
[ 0.637119] RPC: Registered named UNIX socket transport module.
[ 0.643054] RPC: Registered udp transport module.
[ 0.647898] RPC: Registered tcp transport module.
[ 0.652590] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.659756] freq_udelay_jiffys[0].max_num = 10
[ 0.664244] cpufreq udelay loops_per_jiffy
[ 0.668602] 12000 59506 59506
[ 0.671868] 24000 119013 119013
[ 0.675364] 60000 297533 297533
[ 0.678755] 120000 595066 595066
[ 0.682286] 200000 991778 991778
[ 0.685927] 300000 1487667 1487667
[ 0.689561] 600000 2975334 2975334
[ 0.693268] 792000 3927441 3927441
[ 0.697011] 1008000 4998561 4998561
[ 0.700773] 1200000 5950668 5950668
[ 0.710943] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.718009] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
[ 0.724071] msgmni has been set to 75
[ 0.729344] io scheduler noop registered
[ 0.733287] io scheduler cfq registered (default)
[ 0.740211] jz-uart.1: ttyS1 at MMIO 0x10031000 (irq = 58) is a uart1
[ 0.748766] console [ttyS1] enabled, bootconsole disabled
[ 0.748766] console [ttyS1] enabled, bootconsole disabled
[ 0.764789] brd: module loaded
[ 0.770303] loop: module loaded
[ 0.774457] zram: Created 2 device(s) ...
[ 0.778708] logger: created 256K log 'log_main'
[ 0.784263] jz SADC driver registeres over!
[ 0.789745] jz TCU driver register completed
[ 0.794747] the id code = 1c7017, the flash name is EN25QH64
[ 0.800622] JZ SFC Controller for SFC channel 0 driver register
[ 0.806848] 6 cmdlinepart partitions found on MTD device jz_sfc
[ 0.812987] Creating 6 MTD partitions on "jz_sfc":
[ 0.817979] 0x000000000000-0x000000040000 : "boot"
[ 0.823587] 0x000000040000-0x0000004c0000 : "appfs"
[ 0.829307] 0x0000004c0000-0x000000670000 : "kernel"
[ 0.835120] 0x000000670000-0x000000770000 : "root"
[ 0.840707] 0x000000770000-0x000000780000 : "hwconfig"
[ 0.846724] 0x000000780000-0x000000800000 : "config"
[ 0.852480] SPI NOR MTD LOAD OK
[ 0.855875] tun: Universal TUN/TAP device driver, 1.6
[ 0.861115] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 0.867666] Bus Mode Reg after reset: 0x00020101, cnt=0
[ 0.876463] libphy: jz_mii_bus: probed
[ 0.880451] =======>gmacdev = 0x821f7800<================
[ 0.886132] =========>gmacdev->MacBase = 0xb34b0000 DmaBase = 0xb34b1000
[ 0.893082] Bus Mode Reg after reset: 0x00020101, cnt=0
[ 0.900186] jz_mac jz_mac.0: JZ on-chip Ethernet MAC driver, Version 1.0
[ 0.907400] usbcore: registered new interface driver zd1201
[ 0.913553] jzmmc_v1.2 jzmmc_v1.2.0: vmmc regulator missing
[ 0.954708] jzmmc_v1.2 jzmmc_v1.2.0: register success!
[ 0.960433] TCP: cubic registered
[ 0.963928] NET: Registered protocol family 17
[ 0.969644] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 0.976928] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 0.989247] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 0.997237] Freeing unused kernel memory: 256K (804d0000 - 80510000)
mdev is ok......
IPC login: /dev/mtdblock5
input sensor is ov2735b
[ 2.263436] @@@@ tx-isp-probe ok @@@@@
[ 2.318289] at24 1-0050: 2048 byte 24c16 EEPROM, writable, 16 bytes/write
[ 2.338201] jz_codec_register: probe() successful!
[ 2.964153] dma dma0chan24: Channel 24 have been requested.(phy id 7,type 0x06 desc a1899000)
[ 2.973496] dma dma0chan25: Channel 25 have been requested.(phy id 6,type 0x06 desc a189e000)
[ 2.998718] Bus Mode Reg after reset: 0x00020101, cnt=0
route: SIOCDELRT: No such process
route: SIOCDELRT: No such process
interface info here...
iface = eth0
inet = static
ip = 192.168.1.199
netmask = 255.255.255.0
gateway = 192.168.1.1
dns = 192.168.1.1
killall: udhcpc: no process killed
killall: wpa_supplicant: no process killed
iface eth0 static
interface, static ip...
hwclock: can't open '/dev/misc/rtc': No such file or directory
IPCam Init...
building date: Apr 23 2018: 17:52:34
y=2018,m=3,d=29
yst1 = 1
[ 4.902905] name : i2c-gpio1 nr : 1
[ 4.908839] name : i2c0 nr : 0
[ 4.994060] sensor_read: addr=0x2 value = 0x27
[ 4.999324] sensor_read: addr=0x3 value = 0x35
[ 5.004466] sensor_read: addr=0x4 value = 0x7
[ 5.009470] sensor_read: addr=0x4 value = 0x7
[ 5.014131] info: success sensor find : ov2735b
[ 5.018888] misc sinfo_release
====>>. sensor: 0
IspInit start
[ 5.070744] set sensor gpio as PA-low-10bit
[ 5.154917] ov2735 chip found @ 0x3c (i2c0)
funcs: 0x0
InitIsp success
__framesource_init ok
__encoder_group_init ok
__osd_group_init ok
__device_bind ok
enter night mode...
enter day mode...
jv_sensor_nocolour 0
IMP_ISP_Tuning_SetTemperDnsAttr ret 0
mountpoint: /progs/rec/00/: No such file or directory
umount failed, error is No such file or directory
No Disk
mac is same one
check inet: static
__bSupport_WIFI_check=0
**********************YSIZE:16
mptzosd_init: af not support!
zrtsp start......
dooralarm not support
Read config file /etc/conf.d/jovision//default/system.cfg failed.
schedule1 0
schedule2 0
sch1TimeStart 6:0
sch1TimeEnd 18:0
sch2TimeStart 18:0
sch2TimeEnd 6:0
IP auto adapt open!
utl_net_lan_init(266) dev_id :c96a71
Start create MLAN
jv_mdetect_stop ok
-----call jv_privacy_stop----chn 0-----
IMP_FrameSource_SetChnAttr chn=0, w=1920, h=1080, scaler(1920, 1080), ret=0
i265e[info]: Main profile, Level-4 (Main tier)
jv_stream_start ok venc=0, w=1920, h=1080, fps=25/1, gop=50, bitrate=2048
IMP_FrameSource_SetChnAttr chn=1, w=640, h=480, scaler(640, 480), ret=0
i265e[info]: Main profile, Level-3 (Main tier)
jv_stream_start ok venc=1, w=640, h=480, fps=25/1, gop=50, bitrate=546
jv_mdetect_stop ok
jv_osddrv_create chn=0, handle=0, rgnHandle=0, (16, 1008), w=152, h=56
jv_osddrv_create chn=0, handle=1, rgnHandle=1, (1440, 16), w=464, h=56
jv_osddrv_create chn=1, handle=2, rgnHandle=2, (8, 448), w=56, h=24
jv_osddrv_create chn=1, handle=3, rgnHandle=3, (472, 8), w=160, h=24
mprivacy_flush chn=0, enable=0
i265e[info]: Main profile, Level-4 (Main tier)
i265e[info]: Main profile, Level-3 (Main tier)
IMP_Encoder_SetChnAttrRcMode(chn 1) ret 0
IMP_Encoder_SetChnFrmRate(chn 1) ret 0
IMP_Encoder_SetGOPSize(chn 1) ret 0
IMP_Encoder_SetChnHSkip(chn 1) ret 0
jv_steam_set_attr (chn 1): fps=25/1, gop=50, bitrate=546
mprivacy_flush chn=0, enable=0
system: killall thttpd
killall: thttpd: no process killed
system: /progs/bin/thttpd -d /progs/html/ -c "/cgi-bin/*|/onvif/*" -u root -T utf-8&
jv_mdetect_stop ok
Failed open /etc/conf.d/jovision/presetpos.cfg, because: No such file or directory
NO support Af!
NOt support pu&c!
jv_sensor_brightness 128
jv_sensor_contrast 128
jv_sensor_sharpness 128
jv_sensor_nocolour 0
jv_sensor_saturation 128
new CSWorker = 0
jvserver************v2.0.82.3[private:v2.0.81.38 20171114.1] (build 2018-1-23 10:36:57)
================ Init YST first ok(SQ492134513).
AddThreadID..........threadname:CheckDbgReq,thread id: 192
AddThreadID..........threadname:CloudStorageClearProc,thread id: 193
AddThreadID..........threadname:CloudStorageFilesProc,thread id: 194
AddThreadID..........threadname:WorkProc,thread id: 190
AddThreadID..........threadname:ListenProcTCP,thread id: 191
AddThreadID..........threadname:ListenProc,thread id: 188
AddThreadID..........threadname:GetIPNatProc,thread id: 189
AddThreadID..........threadname:SpCheckProc,thread id: 187
AddThreadID..........threadname:GetPositionProc,thread id: 186
AddThreadID..........threadname:SetUpnpProc,thread id: 185
+++++++++++++++++create socket success m_SocketRawBC:35
### tinyonvif built: Nov 22 2017: 10:02:41
ovdistar
gp.bRunning=1
system: sync
AddThreadID..........threadname:YSTProc,thread id: 199
AddThreadID..........threadname:WaitForPackage,thread id: 197
AddThreadID..........threadname:CheckNatProc,thread id: 198
AddThreadID..........threadname:LANToolProc,thread id: 196
AddThreadID..........threadname:SendProc,thread id: 202
AddThreadID..........threadname:RecvProc,thread id: 203
AddThreadID..........threadname:SCHCANNAL::GTProc,thread id: 201
AddThreadID..........threadname:SCHCANNAL::GTProc,thread id: 204
AddThreadID..........threadname:SendProc,thread id: 205
AddThreadID..........threadname:RecvProc,thread id: 206
AddThreadID..........threadname:BCProc,thread id: 207
AddThreadID..........threadname:SCHCANNAL::GTProc,thread id: 208
AddThreadID..........threadname:SendProc,thread id: 209
AddThreadID..........threadname:RecvProc,thread id: 210
AddThreadID..........threadname:SCHCANNAL::GTProc,thread id: 211
AddThreadID..........threadname:SendProc,thread id: 212
AddThreadID..........threadname:RecvProc,thread id: 213
AddThreadID..........threadname:LANSerchProc,thread id: 214
===ov pid:215
system: echo 3 > /proc/sys/vm/drop_caches
watchdog enabled, timeout=30
[ 7.893871] libphy: 0:00 - Link is Up - 100/Full
**************set net to eth0**************
set net card eth0
JVN_SetLocalNetCard eth0
**************eth0 setting static**************
ip: c0a801c7, gw: c0a80101, mask:ffffff00
file fd:42
system: killall udhcpc; killall wpa_supplicant;
Channel:2 -- Client:43 [192.168.1.168:65053], type:1, connect success!
found some client(s) do not support smart venc
i265e[info]: Main profile, Level-3 (Main tier)
start ntp ntp.fudan.edu.cn
killall: udhcpc: no process killed
killall: wpa_supplicant: no process killed
Trun to DayMode...
jv_sensor_nocolour 0
enter day mode...
system: /progs/networkcfg.sh &
set isp fps 25/1, ret 0
ovdistop
join ok.
interface info here...
iface = eth0
inet = static
ip = 192.168.1.199
netmask = 255.255.255.0
gateway = 192.168.1.1
dns = 192.168.1.1
killall: udhcpc: no process killed
killall: wpa_supplicant: no process killed
iface eth0 static
interface, static ip...
ovdistar
ntp time receive 0, -1
ntp time receive 1, -1
ntp time receive 2, 0
校时成功
IPC login: root
Password:
Login incorrect
IPC login: root
Password:
Login incorrect
IPC login:
Login timed out after 60 seconds
IPC login: ▒յ▒▒▒▒▒▒▒▒RTMP 38 ▒
----------------cloud storage switch off------------------
从上电开始计时,直到客户端出现视频,大概22s,其中客户端大部分时间显示连接中,因此该时间还是比较准确的。
几个问题:1.有谁知道账户和密码,随便填了几个都不行;2.尚维的rtsp地址是多少?
该处链接https://www.jiangyu.org/port-and-rtsp-address-of-several-ipcams/所说地址测试无效。
最近编辑记录 cheng (2018-11-13 00:15:19)
离线
支持H.264及H.265编码
离线
采用官方客户端CMS2.0,子码流粗略估计延时在500ms左右。
离线
上面对比的雄迈模组应该用的是Hi3518EV100。
离线
正常晃动摄像头,采用H.265编码传输,子码流网络占用在50KB/s以内。
离线
感谢楼主的分享和评测!
关于设备的IP地址应该可以通过 onvif 协议搜索出来, 淘宝上面的硬盘录像机有这个功能, 或者电脑上安装某些录像软件也可以。
昨晚直接对官方客户端抓包没提取出来rtsp,今天有时间试试onvif
离线
没有bsp和工具链,基本没得玩
只能等了
离线
采用onvif协议获取rtsp地址,利用ONVIF Device Manager,拿到rtsp地址
主码流:rtsp://192.168.1.199:5544/live0
辅码流:rtsp://192.168.1.199:5544/live1
经过测试,主辅码流靠字符段截取判断,如rtsp://192.168.1.199:5544/live11就是rtsp://192.168.1.199:5544/live1。
用vlc或potplayer可以直接播放:
离线
播放器优化一下300ms以内应该没什么问题。常规操作到此为止,看看能不能搞到sdk。
离线
看得我都蠢蠢欲动了,想想家里还有那么多吃灰的板子还是忍几天吧
多忍几天。。。
离线
据说 root 的 密码是 IPCam@sw
v5!就是这个密码
IPC login: root
Password:
Dec 6 22:23:05 login[247]: root login on 'console'
[root@IPC:~]# ls /
bin home media opt root sys usr
dev lib mnt proc run system var
etc linuxrc nfsroot progs sbin tmp wifi
[root@IPC:~]# cat /home/startup.sh
#! /bin/sh
export LD_LIBRARY_PATH='/home/libs'
mount /tmp /progs/html/cgi-bin/snapshot
[ -d /progs/rec ] && mount_as_tmpfs /progs/rec
#fw_printenv
cp /home/fw_env.config /tmp/
[ -d /var/lock ] || mkdir /var/lock
#get /dev/mtdblockN with mtd name
getmtd()
{
MTDNAME=$1
temp=`grep $MTDNAME /proc/mtd`
temp=${temp%%:*}
echo ${temp/mtd/\/dev\/mtdblock}
}
#mtd3: 00080000 00010000 "config"
CONFIG_MTD=`getmtd \"config\"`
echo $CONFIG_MTD
mkdir /tmp/conf.d
mount -t jffs2 $CONFIG_MTD /tmp/conf.d/
[ -d /etc/conf.d/jovision ] || mkdir /etc/conf.d/jovision
[ -d /etc/conf.d/fixed ] || mkdir /etc/conf.d/fixed
[ -d /etc/conf.d/jovision/network ] || mkdir -p /etc/conf.d/jovision/network
echo "256000" > /proc/sys/net/core/wmem_default #500KB默认缓存
echo "512000" > /proc/sys/net/core/wmem_max #1000KB最大缓存
#echo "512000" > /proc/sys/net/core/rmem_default #500KB默认缓存
#echo "1024000" > /proc/sys/net/core/rmem_max #1000KB最大缓存
#设置保留内存大小
echo 512 > /proc/sys/vm/min_free_kbytes
MODULE_DIR=$(uname -r)
mkdir -p /tmp/modules/${MODULE_DIR}
# zram swap
#echo 100 > /proc/sys/vm/swappiness
#echo 16777216 > /sys/block/zram0/disksize
#mkswap /dev/zram0
#swapon /dev/zram0
#echo 6291456 > /sys/block/zram1/disksize
#mkfs.vfat /dev/zram1
#mkdir /tmp/zram_disk
#mount -t vfat /dev/zram1 /tmp/zram_disk/
#设置栈大小
ulimit -s 4096
cd /home/ipc_drv
#default value of SENSOR
SENSOR=ov2735b
#set the value of SENSOR
if [ -f /etc/conf.d/jovision/sensor.sh ] ; then
. /etc/conf.d/jovision/sensor.sh
else
echo SENSOR=$SENSOR > /etc/conf.d/jovision/sensor.sh
fi
./loaddrv ${SENSOR}
#wifi
[ ! -f /home/wifi/vt9271.ko ] || insmod /home/wifi/vt9271.ko
[ ! -f /home/wifi/8188fu.ko ] || insmod /home/wifi/8188fu.ko
if [ -f /home/wifi/mt7601Usta.ko ] ; then
insmod /home/wifi/mt7601Usta.ko
fi
#setMAC
if [ -f /etc/conf.d/jovision/network/mac.cfg ] ; then
. /etc/conf.d/jovision/network/mac.cfg
fi
#配置网络参数
/progs/networkcfg.sh
#telnetd&
hwclock -s -u
cp /progs/bin/mySystem /tmp/
/tmp/mySystem &
if [ -f /etc/conf.d/startup.sh ] ; then
/etc/conf.d/startup.sh
exit
fi
cp /progs/bin/sctrl /tmp
/tmp/sctrl
reboot
[root@IPC:~]# ls /progs/bin/
mySystem sctrl thttpd webproxy
[root@IPC:~]#
离线
之前的图里ircut位置没插好,正确连线见下图右上部:
离线