Skip to content

Conversation

@scpcom
Copy link

@scpcom scpcom commented Mar 8, 2025

This will add all parts to build and package the components required to make camera, video encoder and more available under Debian:

  • osdrv
  • middleware (cvi_mpi)
  • middleware/component/isp (SensorSupportList)
  • sensor-config (collection of cvi_sdr_bin and sensor_cfg.ini)

The test_mmf sample is also included, you can stream the h265 camera signal via rtsp with this command:
/mnt/system/usr/bin/test_mmf 10
You get more options if you just type
/mnt/system/usr/bin/test_mmf

Currently only the static linked binaries work (glibc or musl) with this commit. But it is also possible to switch to the glibc compiler from host-tools (/host-tools/gcc/riscv64-linux-x86_64) which would allow dynamic linked libraries.

Tested on Duo256, LicheeRV Nano and NanoKVM.

@zhc7
Copy link

zhc7 commented Apr 14, 2025

hi, thanks for the pr! does this contain the tpu driver?

@scpcom
Copy link
Author

scpcom commented Apr 14, 2025

Yes, the driver is part of the included osrdv package:
https://github.com/sophgo/osdrv/tree/sg200x-dev/interdrv/tpu

@bhupiister
Copy link

does this request solve the camera issue on Debian image? has anyone tested it yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants