Coder Social home page Coder Social logo

xm530: No sensor detected about ipctool HOT 6 CLOSED

openipc avatar openipc commented on July 24, 2024
xm530: No sensor detected

from ipctool.

Comments (6)

widgetii avatar widgetii commented on July 24, 2024

Could you show output of ipctool without flags?

from ipctool.

kodidu avatar kodidu commented on July 24, 2024
root@openipc-xm530:~# ipctool
---
board:
  vendor: Xiongmai
  cloudId: ------
  snsType: 55
chip:
  vendor: Xiongmai
  model: XM530
ethernet:
  mac: "-------"
rom:
  - type: nor
    block: 64K
    partitions:
      - name: boot
        size: 0x40000
        sha1: 821bac0f
        contains:
          - name: xmcrypto
            offset: 0x2fc00
          - name: uboot-env
            offset: 0x30000
      - name: env
        size: 0x10000
        sha1: afd8fab3
      - name: kernel
        size: 0x200000
        sha1: a930524b
      - name: rootfs
        size: 0x500000
        path: /,squashfs
        sha1: 22c1d611
      - name: rootfs_data
        size: 0xb0000
        path: /overlay,jffs2,rw
    size: 8M
ram:
  total: 64M
  media: 32M
firmware:
  kernel: "3.10.103+ (SMP Sun Nov 14 17:10:22 UTC 2021)"
  toolchain: gcc version 7.5.0 (Buildroot -geac3d7b)
  god-app: /usr/bin/majestic

from ipctool.

widgetii avatar widgetii commented on July 24, 2024

Is Majestic working on your camera? According to XM SDK source code you might have something like F37

from ipctool.

kodidu avatar kodidu commented on July 24, 2024

Yes it is starting up and seems to detect the sensor.
DEBUG: libfvideo: F37!

root@openipc-xm530:~# killall majestic; majestic
LIBH264: Complied at Apr 30 2019 16:55:22
12:36:22 [    main] main@132                      Majestic Free for Xiongmai, version master+d9d602c, built on 2021-11-14
12:36:22 [app_conf] load_config@122               Using /etc/majestic.yaml as main configuration
12:36:22 [     sdk] sdk_specific_config@768       sdk_specific_config()
12:36:22 [  config] parse_param_value@108         Section 'cloud' doesn't exist in config '/etc/majestic.yaml'.
12:36:22 [watchdog] watchdog_start@85             Watchdog timeout set to 10 seconds
DEBUG: [ISP_SDK]BUILD TIME:Sep 21 2021 11:58:04
DEBUG: OSC:12M
12:36:22 [     log] printf@262                    SYS/VI set in [ Sofia ]
12:36:22 [     log] printf@262                    Vstd_init     [ PAL ]
12:36:22 [     log] printf@262                    Rslt  [ 0 ]
12:36:22 [     log] printf@262                    IPC_Venc:     [ H.264 ]
12:36:22 [     log] printf@262                    Sns_IF:       [ By src ]

DEBUG: SnsCfgFile: 55
DEBUG: sensor_get_chip:
12:36:22 [     log] printf@262                    0x40
 12:36:22 [     log] printf@262                    0x1
 12:36:22 [     log] printf@262                    0x1
 12:36:22 [     log] printf@262                    0x37
12:36:22 [    puts]
DEBUG: Venc:495
DEBUG: DspChip:XM530
DEBUG: SnsIF:MIPI
DEBUG: Vstd:PAL[25fps]
DEBUG: ------------- SOIF37 2M 25fps  init ok! (@20190909)----------------
DEBUG: sensor_init Ok!
DEBUG: cmos_fps_set F37 2M 25fps
DEBUG: cmos_fps_set F37 2M 25fps
DEBUG: Init over ~~~~~~~~
DEBUG: ProductType: 0x0
DEBUG: libfvideo: F37!
DEBUG: isp_sample end!
DEBUG: imageStyle XM!
12:36:22 [     sdk] ViChnConfig@120               ViChn = 0, enNorm = 0, enSize = 14
12:36:22 [     sdk] COMM_VENC_Start@171           VencChn = 0,enType = 96,enNorm = 0,enSize = 14,enRcMode = 0
12:36:22 [     sdk] COMM_SYS_GetPicSize@148       enNorm = 0,enPicSize = 14
12:36:22 [    puts]                               XM_MPI_ISP_MemInit OK...
12:36:22 [root_med] RootMediaSupplier_new@10      new RootMediaSupplier(NAL)
12:36:22 [root_med] RootMediaSupplier_new@10      new RootMediaSupplier(MJPEG)
12:36:22 [  evhttp] new_http_server@288           HTTP server started on 0.0.0.0:80
12:36:22 [root_med] RootMediaSupplier_new@10      new RootMediaSupplier(MP4)
12:36:22 [root_med] RootMediaSupplier_new@10      new RootMediaSupplier(MP4A)
12:36:22 [    rtsp] rtsp_init@153                 RTSP server started on port 554
12:36:22 [     sdk] sdk_fps_by_stream@725         sdk_fps_by_stream(0)
12:36:22 [     sdk] sdk_secsInGop_by_stream@738   sdk_secsInGop_by_stream(0)
12:36:22 [     sdk] sdk_secsInGop_by_stream@738   sdk_secsInGop_by_stream(0)
DEBUG: black and white
DEBUG: EShutter 1/1
DEBUG: color
^C12:36:23 [     log] printf@262                    Interrupt signal received
12:36:23 [root_med] RootMediaSupplier_drop@37     drop RootMediaSupplier(MP4)
12:36:23 [root_med] RootMediaSupplier_drop@37     drop RootMediaSupplier(MP4A)
12:36:23 [root_med] RootMediaSupplier_drop@37     drop RootMediaSupplier(NAL)
12:36:23 [root_med] RootMediaSupplier_drop@37     drop RootMediaSupplier(MJPEG)
12:36:23 [     sdk] sdk_dealloc_static_bufs@708   sdk_dealloc_static_bufs()
12:36:23 [watchdog] watchdog_stop@126             Watchdog closed
12:36:23 [    main] main@202                      Shutdown main thread

from ipctool.

widgetii avatar widgetii commented on July 24, 2024

Please try new ad-hoc version to test different addresses
ipctool.gz

from ipctool.

kodidu avatar kodidu commented on July 24, 2024
root@openipc-xm530:~# ./ipctool
---
board:
  vendor: Xiongmai
  version: 2.1.11.14
  cloudId: fdsfdsf
  snsType: 55
chip:
  vendor: Xiongmai
  model: XM530
ethernet:
  mac: "sfsf"
rom:
  - type: nor
    block: 64K
    partitions:
      - name: boot
        size: 0x40000
        sha1: 821bac0f
        contains:
          - name: xmcrypto
            offset: 0x2fc00
          - name: uboot-env
            offset: 0x30000
      - name: env
        size: 0x10000
        sha1: afd8fab3
      - name: kernel
        size: 0x200000
        sha1: a930524b
      - name: rootfs
        size: 0x500000
        path: /,squashfs
        sha1: 22c1d611
      - name: rootfs_data
        size: 0xb0000
        path: /overlay,jffs2,rw
    size: 8M
ram:
  total: 64M
  media: 32M
firmware:
  kernel: "3.10.103+ (SMP Sun Nov 14 17:10:22 UTC 2021)"
  toolchain: gcc version 7.5.0 (Buildroot -geac3d7b)
sensors:
- vendor: Silicon Optronics
  model: JXF37
  control:
    bus: 0
    type: i2c
    addr: 0x40

from ipctool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.