OpenHisiIpCam / br-hisicam

Buildroot based sample firmware for HiSilicon`s System-On-a-Chip ip cameras
http://www.openhisiipcam.org
Other
137 stars 25 forks source link

Xiaomi MJSXJ02HL - Hi3518ERNCV300 #18

Closed nunojpg closed 3 years ago

nunojpg commented 4 years ago

Hi,

I just opened this low cost camera and I leave here the serial dump. The chip physical marking is "Hi3518ERNCV300".

I don't know which sensor it has, maybe you can see from the log.

I currently don't have any use for cameras so I will not make any work on this, so I just searched for a project using this SOCs to leave the serial dump for someone interested in getting this cameras.

I had to destroy most of the plastic case to open the camera, so it's not very hackable friendly.

Regards

System startup

Uncompress Ok!

U-Boot 2016.11 (Dec 04 2019 - 14:52:34 +0800)hi3518ev300

Relocation Offset is: 03731000
Relocating to 43f31000, new gd at 43ef0ef0, sp at 43ef0ed0
SPI Nor:  NAND:  0 MiB
MMC:   Card did not respond to voltage select!
No SD device found !
hisi-sdhci: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
[hl-boot] spi_flash_probe!!!!
[hl-boot] map_physmem!!!!
[hl-boot] Spi para flash read...
[hl-boot] FWGRADEUP not find !!!!!!!!!
Net:   No ethernet found.
Hit any key to stop autoboot:  0 
liuyang_do_sd_start!!!!!!!!!!!!!!!!!!!!!!!!
liuyang_flash->read!!!!!!!!!!!!!!!!!!!!!!!!
liuyang_search_pbuf!!!!!!!!!!!!!!!!!!!!!!!!
FWGRADEUP not find !!!!!!!!!
liuyang_bootargs!!!!!!!!!!!!!!!!!!!!!!!!
device 0 offset 0x40000, size 0x200000

SF: 2097152 bytes @ 0x40000 Read: OK
## Booting kernel from Legacy Image at 40000000 ...
   Image Name:   Linux-4.9.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1916842 Bytes = 1.8 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 4.9.37 (root@chenx-Latitude-3490) (gcc version 6.3.0 (HC&C V100R002C00B032_20190114) ) #7 Thu Oct 17 10:45:21 CST 2019
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
CPU: div instructions available: patching division code
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt:Machine model: Hisilicon HI3518EV300 DEMO Board
Memory policy: Data cache writeback
CPU: All CPU(s) started in SVC mode.
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 11430
Kernel command line: mem=45M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=squashfs rw mtdparts=hi_sfc:256K(boot),1984K(kernel),3904K(rootfs),3904K(app),1984K(kback),3904K(aback),384K(cfg),64K(para)
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 40340K/46080K available (3593K kernel code, 147K rwdata, 1020K rodata, 156K init, 246K bss, 5740K reserved, 0K cma-reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xc3000000 - 0xff800000   ( 968 MB)
    lowmem  : 0xc0000000 - 0xc2d00000   (  45 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc038a818   (3595 kB)
      .init : 0xc048b000 - 0xc04b2000   ( 156 kB)
      .data : 0xc04b2000 - 0xc04d6ce0   ( 148 kB)
       .bss : 0xc04d8000 - 0xc0515a18   ( 247 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:16 nr_irqs:16 16
Gic dist init...
arm_arch_timer: Architected cp15 timer(s) running at 50.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns
sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns
Switching to timer-based delay loop, resolution 20ns
clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=500000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x40008240 - 0x40008298
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Serial: AMBA PL011 UART driver
12040000.uart: ttyAMA0 at MMIO 0x12040000 (irq = 20, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
ssp-pl022 12070000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12070000.spi: mapped registers from 0x12070000 to c3063000
ssp-pl022 12071000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12071000.spi: mapped registers from 0x12071000 to c3067000
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Linux video capture interface: v2.00
clocksource: Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
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.
workingset: timestamp_bits=30 max_order=14 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
pl061_gpio 120b0000.gpio_chip: PL061 GPIO chip @0x120b0000 registered
pl061_gpio 120b1000.gpio_chip: PL061 GPIO chip @0x120b1000 registered
pl061_gpio 120b2000.gpio_chip: PL061 GPIO chip @0x120b2000 registered
pl061_gpio 120b4000.gpio_chip: PL061 GPIO chip @0x120b4000 registered
pl061_gpio 120b5000.gpio_chip: PL061 GPIO chip @0x120b5000 registered
pl061_gpio 120b6000.gpio_chip: PL061 GPIO chip @0x120b6000 registered
pl061_gpio 120b7000.gpio_chip: PL061 GPIO chip @0x120b7000 registered
pl061_gpio 120b8000.gpio_chip: PL061 GPIO chip @0x120b8000 registered
brd: module loaded
hisi-sfc hisi_spi_nor.0: SPI Nor ID Table Version 1.2
hisi-sfc hisi_spi_nor.0: all blocks is unlocked.
hisi-sfc hisi_spi_nor.0: gd25q128 (Chipsize 16 Mbytes, Blocksize 64KiB)
8 cmdlinepart partitions found on MTD device hi_sfc
8 cmdlinepart partitions found on MTD device hi_sfc
Creating 8 MTD partitions on "hi_sfc":
0x000000000000-0x000000040000 : "boot"
0x000000040000-0x000000230000 : "kernel"
0x000000230000-0x000000600000 : "rootfs"
0x000000600000-0x0000009d0000 : "app"
0x0000009d0000-0x000000bc0000 : "kback"
0x000000bc0000-0x000000f90000 : "aback"
0x000000f90000-0x000000ff0000 : "cfg"
0x000000ff0000-0x000001000000 : "para"
dwc3 10030000.hidwc3: Configuration mismatch. dr_mode forced to host
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x20010010
xhci-hcd xhci-hcd.0.auto: irq 113, io mem 0x10030000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
hub 2-0:1.0: USB hub found
hub 2-0:1.0: hub can't support USB3.0
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver pl2303
usbserial: USB Serial support registered for pl2303
i2c /dev entries driver
hibvt-i2c 12060000.i2c: hibvt-i2c0@100000hz registered
hibvt-i2c 12061000.i2c: hibvt-i2c1@100000hz registered
hibvt-i2c 12062000.i2c: hibvt-i2c2@100000hz registered
uvcvideo: Unable to create debugfs directory
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on 10010000.sdhci [10010000.sdhci] using ADMA in legacy mode
mmc1: SDHCI controller on 10020000.sdhci [10020000.sdhci] using ADMA in legacy mode
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
Key type dns_resolver registered
hctosys: unable to open rtc device (rtc0)
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 156K (c048b000 - c04b2000)
This architecture does not have kernel memory protection.
 __________________________________
|                                  |
|                                  |
|                                  |
|                                  |
| _   _             _           _  |
|| | | |_   _  __ _| |     __ _(_) |
|| |_| | | | |/ _| | |  _ / _| | | |
||  _  | |_| | (_| | |_| | (_| | | |
||_| |_|\__,_|\__,_|_____|\__,_|_| |
|                                  |
|                                  |
|___________________HuaLai_Fw...___|

[RCS]: /etc/init.d/S00devs
[RCS]: /etc/init.d/S01udev
Start mount rootfs...
mount -t squashfs /dev/mtdblock3 /usr/app
random: mount: uninitialized urandom read (4 bytes read)
mount -t squashfs /dev/mtdblock4 /backk
mount -t squashfs /dev/mtdblock5 /backa
mount -t jffs2 /dev/mtdblock6 /configs
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/app/lib
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/app/bin:/usr/app/sbin
export LD_LIBRARY_PATH=/thirdlib:/lib:/usr/lib:/usr/app/lib
export LD_LIBRARY_PATH PATH
/usr/app/bin/init_app.sh
*** Board tools : ver0.0.1_20121120 *** 
[debug]: {source/utils/cmdshell.c:168}cmdstr:himm
0x112C0048: 0x00001E30 --> 0x00001D54 
[END]
*** Board tools : ver0.0.1_20121120 *** 
[debug]: {source/utils/cmdshell.c:168}cmdstr:himm
0x112C004C: 0x00001160 --> 0x00001174 
[END]
*** Board tools : ver0.0.1_20121120 *** 
[debug]: {source/utils/cmdshell.c:168}cmdstr:himm
0x112C0064: 0x00001160 --> 0x00001174 
[END]
*** Board tools : ver0.0.1_20121120 *** 
[debug]: {source/utils/cmdshell.c:168}cmdstr:himm
0x112C0060: 0x00001160 --> 0x00001174 
[END]
*** Board tools : ver0.0.1_20121120 *** 
[debug]: {source/utils/cmdshell.c:168}cmdstr:himm
0x112C005C: 0x00001160 --> 0x00001174 
[END]
*** Board tools : ver0.0.1_20121120 *** 
[debug]: {source/utils/cmdshell.c:168}cmdstr:himm
0x112C0058: 0x00001160 --> 0x00001174 
[END]
*** Board tools : ver0.0.1_20121120 *** 
[debug]: {source/utils/cmdshell.c:168}cmdstr:himm
0x10020028: 0x20000000 --> 0x28000000 
[END]
*** Board tools : ver0.0.1_20121120 *** 
[debug]: {source/utils/cmdshell.c:168}cmdstr:himm
0x10020028: 0x28000000 --> 0x20000000 
[END]
rtl8189ftv: loading out-of-tree module taints kernel.
RTL871X: module init start
RTL871X: rtl8189ftv v4.3.24.7_21113.20170208.nova.1.02
RTL871X: build time: Jun 19 2019 14:40:43
RTL871X: module init ret=0
sdhci-hisi 10020000.sdhci: card claims to support voltages below defined range
sh: 45M: bad number
======online_flag = 0, cmos_yuv_flag = 0, sensor=f22, chip=hi3518ev300, board=demo======
sysconfig init success!
Module himedia: init ok
Hisilicon Media Memory Zone Manager
hi_osal 1.0 init success!
hi3516ev200_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
load sys.ko for Hi3516EV200...OK!
mmc1: new high speed SDIO card at address 0001
RTL871X: ++++++++rtw_drv_init: vendor=0x024c device=0xf179 class=0x07
load region.ko for Hi3516EV200...OK!
random: fast init done
load vgs.ko for Hi3516EV200...OK!
load vi.ko for Hi3516EV200...OK !
ISP Mod init!
load vpss.ko for Hi3516EV200...OK!
RTL871X: HW EFUSE
RTL871X: hal_com_config_channel_plan chplan:0x20
load chnl.ko for Hi3516EV200...OK!
load vedu.ko for Hi3516EV200...OK!
load rc.ko for Hi3516EV200...OK!
load venc.ko for Hi3516EV200...OK!
load h264e.ko for Hi3516EV200...OK!
load h265e.ko for Hi3516EV200...OK!
load jpege.ko for Hi3516EV200...OK!
load ive.ko for Hi3516EV200...OK!
RTL871X: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=50:ec:50:49:16:bf
load mipi_rx driver successful!
/

===========welcome to assis process=========
[Build date] Jun 30 2020 (13:39:32)
[exec-assis,0144]msgSndId:0
[exec-assis,0159]msgRcvId:32769
[SDK-DOG]dbg: turn on watchdog success!

===========welcome to iCamera_app===========
[Build date] Jun 30 2020 (13:39:33)
[msg:79]log: msg_queue_create() ok  MsgId:65538
[sdevice_not_work_set_callback]dbg: set ok! have 1 cb
[sdevice_can_work_set_callback]dbg: set ok! have 1 cb
init_log_module() ok
[sdevice_can_work_set_callback]dbg: set ok! have 2 cb
[exec-iCame,0144]msgSndId:0
[exec-iCame,0159]msgRcvId:32769
[timer,144]dbg: init complete.
[Func]:cmos_set_wdr_mode [Line]:743 [Info]:linear mode
random: crng init done
up
killall: wpa_supplicant: no process killed
killall: udhcpc: no process killed
killall: udhcpd: no process killed
killall: hostapd: no process killed
down
up
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
RTL871X: start auth
RTL871X: auth success, start assoc
RTL871X: assoc success
RTL871X: recv eapol packet
RTL871X: send eapol packet
RTL871X: recv eapol packet
RTL871X: send eapol packet
RTL871X: set pairwise key camid:4, addr:C8:94:F9:CD:71:49, kid:0, type:AES
RTL871X: set group key camid:5, addr:C8:94:F9:CD:71:49, kid:2, type:AES
udhcpc: started, v1.31.0
udhcpc: sending discover
udhcpc: sending select for 192.168.123.129
udhcpc: lease of 192.168.123.129 obtained, lease time 43200
deleting routers
adding dns 8.8.8.8
adding dns 8.8.4.4
killall: miio_client: no process killed
killall: miio_client_helper_nomqtt.sh: no process killed
killall: wifi_start.sh: no process killed
Jan  1 08:00:15 miio_client[1145]: [W] miio_client: version: miio-client 4.0.9 (main,230)
[Mi-helper] ln34: {"method":"_internal.helper_ready"}
Jan  1 08:00:15 miio_client[1146]: [W] internal: handle_internal_hello, fd: 7, STATE: (0) (handle_internal_hello,1292)
[Mi-helper] Got _internal.request_dinfo
[Mi-helper] ln303: {"method":"_internal.request_dinfo","params":"/etc/miio/"}
[Mi-helper] dinfo_file:    /etc/miio//device.conf
Jan  1 08:00:15 miio_client[1146]: [W] internal: cmd_internal_response_dinfo:1230 STATE: [STATE_DEVICE_INIT] -> [STATE_DIDKEY_DONE] (_set_conn_state,397)
Jan  1 08:00:15 miio_client[1146]: [W] internal: handle_internal_hello, fd: 8, STATE: (3) (handle_internal_hello,1292)
[Mi-helper] Got _internal.request_dtoken
[Mi-helper] dcountry_file: /etc/miio//device.country
[Mi-helper] ln311: {"method":"_internal.response_dcountry","params":""}
Jan  1 08:00:15 miio_client[1146]: [W] internal: cmd_internal_response_dtoken:911 STATE: [STATE_DIDKEY_DONE] -> [STATE_TOKEN_DONE] (_set_conn_state,397)
Jan  1 08:00:15 miio_client[1146]: [W] internal: handle_internal_hello, fd: 8, STATE: (4) (handle_internal_hello,1292)
[Mi-helper] Got _internal.req_wifi_conf_status
[Mi-helper] wificonf_file: /etc/miio//wifi.conf
[Mi-helper] WIFI_SSID: 
[Mi-helper] ln243: {"method":"_internal.res_wifi_conf_status","params":1}
Jan  1 08:00:15 miio_client[1146]: [W] internal: cmd_internal_res_wifi_conf_status:487 STATE: [STATE_TOKEN_DONE] -> [STATE_WIFI_STA_MODE] (_set_conn_state,397)
Jan  1 08:00:15 miio_client[1146]: [W] miio_client: miio_common init (main,284)
Jan  1 08:00:15 miio_client[1146]: [W] internal: handle_internal_hello, fd: 8, STATE: (6) (handle_internal_hello,1292)
[Mi-helper] ifname: wlan0
[Mi-helper] ssid:   Internet
[Mi-helper] bssid:  C8:94:F9:CD:71:49
[Mi-helper] ip:     192.168.123.129
[Mi-helper] mask:   255.255.255.0
[Mi-helper] gw:     192.168.123.1
OK
Jan  1 08:00:16 miio_client[1146]: [W] archnet: ip =, not valid (arch_net_is_offline,183)
[Mi-helper] ln238: {"method":"_internal.info","partner_id":"","params":{"hw_ver":"Linux","fw_ver":"4.0.9_0112","ap":{"ssid":"Internet","bssid":"C8:94:F9:CD:71:49","rssi":"-60"},"netif":{"localIp":"192.168.123.129","mask":"255.255.255.0","gw":"192.168.123.1"}}}
Jan  1 08:00:16 miio_client[1146]: [W] internal: no wifi state (cmd_internal_get_info_callback,2080)
Jan  1 08:00:16 miio_client[1146]: [W] internal: freq is not uint. (cmd_internal_get_info_callback,2170)
Jan  1 08:00:16 miio_client[1146]: [W] internal: cmd_internal_get_info_callback:2318 STATE: [STATE_WIFI_STA_MODE] -> [STATE_WIFI_STA_GOT_IP] (_set_conn_state,397)
Jan  1 08:00:16 miio_client[1146]: [W] internal: handle_internal_hello, fd: 8, STATE: (7) (handle_internal_hello,1292)
Jan  1 08:00:16 miio_client[1146]: [W] internal: handle_internal_hello:1365 STATE: [STATE_WIFI_STA_GOT_IP] -> [STATE_CLOUD_TRYING] (_set_conn_state,397)
Jan  1 08:00:17 miio_client[1146]: [W] arch_os: delete mutex handle = 587832 (arch_os_mutex_delete,484)
Jan  1 08:00:17 miio_client[1146]: [W] arch_os: delete mutex handle = 587688 (arch_os_mutex_delete,484)
Jan  1 08:00:17 miio_client[1146]: [W] arch_os: delete mutex handle = 587720 (arch_os_mutex_delete,484)
Jan  1 08:00:17 miio_client[1146]: [W] httpdns: "proto" not found! (http_in_close,235)
Jan  1 08:00:17 miio_client[1146]: [W] tls: timeout[100]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Jan  1 08:00:17 miio_client[1146]: [W] tls: timeout[200]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Jan  1 08:00:17 miio_client[1146]: [W] tls: timeout[300]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Jan  1 08:00:18 miio_client[1146]: [W] tls: timeout[400]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Jan  1 08:00:18 miio_client[1146]: [W] tls: timeout[500]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Jan  1 08:00:18 miio_client[1146]: [W] tls: timeout[600]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Jan  1 08:00:18 miio_client[1146]: [W] tls: timeout[700]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Jan  1 08:00:20 miio_client[1146]: [W] miio_client_func: Got online msg. (miio_client_online_hook,73)
Jan  1 08:00:20 miio_client[1146]: [W] internal: miio_client_online_hook:75 STATE: [STATE_CLOUD_TRYING] -> [STATE_CLOUD_CONNECTED] (_set_conn_state,397)
[Mi-helper] ifname: wlan0
[Mi-helper] ssid:   Internet
[Mi-helper] bssid:  C8:94:F9:CD:71:49
[Mi-helper] ip:     192.168.123.129
[Mi-helper] mask:   255.255.255.0
[Mi-helper] gw:     192.168.123.1
OK
[Mi-helper] ln238: {"method":"_internal.info","partner_id":"","params":{"hw_ver":"Linux","fw_ver":"4.0.9_0112","ap":{"ssid":"Internet","bssid":"C8:94:F9:CD:71:49","rssi":"-60"},"netif":{"localIp":"192.168.123.129","mask":"255.255.255.0","gw":"192.168.123.1"}}}
Jan  1 08:00:24 miio_client[1146]: [W] internal: no wifi state (cmd_internal_get_info_callback,2080)
Jan  1 08:00:24 miio_client[1146]: [W] internal: freq is not uint. (cmd_internal_get_info_callback,2170)
Jan  1 08:00:24 miio_client[1146]: [W] internal: handle_internal_hello, fd: 8, STATE: (12) (handle_internal_hello,1292)
[assis]WDG_CMD_FEED_DOG!!!!
[assis]WDG_CMD_FEED_DOG!!!!
[assis]WDG_CMD_FEED_DOG!!!!
Sep 13 05:36:45 miio_client[1146]: [W] ot: up session[id=1599946600] timeout (ot_timer_up_session_timeout,952)
Sep 13 05:36:50 miio_client[1146]: [W] ot: up session[id=1599946606] timeout (ot_timer_up_session_timeout,952)
[assis]WDG_CMD_FEED_DOG!!!!
Sep 13 05:36:56 miio_client[1146]: [W] ot: up session[id=1599946612] timeout (ot_timer_up_session_timeout,952)
Sep 13 05:37:02 miio_client[1146]: [W] ots: kplv timeout. Cut. (ots_timer_kplv_timeout,705)
Sep 13 05:37:02 miio_client[1146]: [W] ot: up session[id=1599946618] flushed... (ot_up_rpc_delegate_flush,1245)
Sep 13 05:37:02 miio_client[1146]: [W] arch_os: delete mutex handle = 587688 (arch_os_mutex_delete,484)
Sep 13 05:37:02 miio_client[1146]: [W] arch_os: delete mutex handle = 587720 (arch_os_mutex_delete,484)
Sep 13 05:37:02 miio_client[1146]: [W] arch_os: delete mutex handle = 587752 (arch_os_mutex_delete,484)
Sep 13 05:37:02 miio_client[1146]: [W] ots: ots reconnect will start in 9457 ms... (ots_reconnect,1263)
Sep 13 05:37:02 miio_client[1146]: [W] miio_client_func: Got offline msg. (miio_client_offline_hook,90)
Sep 13 05:37:02 miio_client[1146]: [W] internal: miio_client_offline_hook:92 STATE: [STATE_CLOUD_CONNECTED] -> [STATE_CLOUD_CONNECT_RETRY] (_set_conn_state,397)
Sep 13 05:37:03 miio_client[1146]: [W] miio_net_analyse: OFFLINE reason 30 OT is nok 
 (_miio_offline_net_check,308)
Sep 13 05:37:04 miio_client[1146]: [W] miio_client_func: cloud socket not ready yet, current state: 14 (handle_report_msg,231)
Sep 13 05:37:12 miio_client[1146]: [W] tls: timeout[100]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Sep 13 05:37:12 miio_client[1146]: [W] tls: timeout[200]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Sep 13 05:37:12 miio_client[1146]: [W] tls: timeout[300]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Sep 13 05:37:12 miio_client[1146]: [W] tls: timeout[400]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Sep 13 05:37:12 miio_client[1146]: [W] tls: timeout[500]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Sep 13 05:37:12 miio_client[1146]: [W] tls: timeout[600]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Sep 13 05:37:13 miio_client[1146]: [W] tls: timeout[700]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Sep 13 05:37:13 miio_client[1146]: [W] tls: timeout[800]! mbedtls_ssl_handshake returned -0x6800 (d0_tls_open,389)
Sep 13 05:37:14 miio_client[1146]: [W] miio_client_func: Got online msg. (miio_client_online_hook,73)
Sep 13 05:37:14 miio_client[1146]: [W] internal: miio_client_online_hook:75 STATE: [STATE_CLOUD_CONNECT_RETRY] -> [STATE_CLOUD_CONNECTED] (_set_conn_state,397)
[Mi-helper] ifname: wlan0
[Mi-helper] ssid:   Internet
[Mi-helper] bssid:  C8:94:F9:CD:71:49
[Mi-helper] ip:     192.168.123.129
[Mi-helper] mask:   255.255.255.0
[Mi-helper] gw:     192.168.123.1
OK
[Mi-helper] ln238: {"method":"_internal.info","partner_id":"","params":{"hw_ver":"Linux","fw_ver":"4.0.9_0112","ap":{"ssid":"Internet","bssid":"C8:94:F9:CD:71:49","rssi":"-60"},"netif":{"localIp":"192.168.123.129","mask":"255.255.255.0","gw":"192.168.123.1"}}}
Sep 13 05:37:16 miio_client[1146]: [W] internal: no wifi state (cmd_internal_get_info_callback,2080)
Sep 13 05:37:16 miio_client[1146]: [W] internal: freq is not uint. (cmd_internal_get_info_callback,2170)
Sep 13 05:37:16 miio_client[1146]: [W] internal: handle_internal_hello, fd: 8, STATE: (12) (handle_internal_hello,1292)
[assis]WDG_CMD_FEED_DOG!!!!
[assis]WDG_CMD_FEED_DOG!!!!
av71966 commented 3 years ago

Hi! IA tried to diassembly camera... do U have photos?

nikitos1550 commented 3 years ago

Maybe SOI F22?

======online_flag = 0, cmos_yuv_flag = 0, sensor=f22, chip=hi3518ev300, board=demo======
nunojpg commented 3 years ago

Remove the black front panel first. You'll probably leave some marks since it requires some effort to get the glue to detatch.

PXL_20200916_091838473

PXL_20200916_090310176

nikitos1550 commented 3 years ago

Seems there is no wired ethernet (I am not sure), if so, development will be difficult.

nunojpg commented 3 years ago

Seems there is no wired ethernet (I am not sure), if so, development will be difficult.

No Ethernet, only rtl8189ftv Wi-Fi.

nikitos1550 commented 3 years ago

What do you want to do with this device?

nunojpg commented 3 years ago

What do you want to do with this device?

Cry about the 20 eurs I lost. I don't really have any use for cameras anyway.

nikitos1550 commented 3 years ago

Why lost? What is wrong with it?

nunojpg commented 3 years ago

It uses the Xiaomi China server only and performance at Europe is not sufficient. The stream sometimes takes too long to load on their own app, and Google Home integration does not work. Besides I've destroyed the plastic case.

nikitos1550 commented 3 years ago

I see. Sad. Seems this topic can be closed.