Skip to content

Latest commit

 

History

History
119 lines (89 loc) · 2.13 KB

custom-install.md

File metadata and controls

119 lines (89 loc) · 2.13 KB

Manual / custom integration

You do not need to use the full first-boot installer. The SeekerHD changes can be incorporated into another Raspberry Pi image or application.

Required camera overlay

In /boot/firmware/config.txt:

camera_auto_detect=0
dtoverlay=imx462

For composite output also configure:

dtoverlay=vc4-kms-v3d,composite
enable_tvout=1
max_framebuffers=3
disable_fw_kms_setup=1

For HDMI use the normal KMS overlay:

dtoverlay=vc4-kms-v3d

Composite kernel mode

Keep /boot/firmware/cmdline.txt on one line.

PAL:

video=Composite-1:720x576@50i

NTSC:

video=Composite-1:720x480@60i

Patched DRM preview

Choose either:

  1. build rpicam-apps with the patch in patches/, or
  2. use the supplied private rpicam-hello, librpicam_app, and drm-preview.so bundle.

When using a private preview library:

--preview-libs /opt/divimath/rpicam/preview
--preview-backend drm

Tuning profile

Copy:

installer/Divimath-SeekerHD/tuning/imx462-seekerhd.json

to a stable location such as:

/opt/divimath/camera/imx462-seekerhd.json

and pass:

--tuning-file /opt/divimath/camera/imx462-seekerhd.json

Example PAL 16:9 command

/opt/divimath/rpicam/apps/rpicam-hello \
  --tuning-file /opt/divimath/camera/imx462-seekerhd.json \
  --preview-libs /opt/divimath/rpicam/preview \
  --preview-backend drm \
  -t 0 \
  --fullscreen \
  --framerate 50 \
  --viewfinder-mode 1920:1080:12:P \
  --viewfinder-width 1024 \
  --viewfinder-height 576 \
  --denoise off \
  --buffer-count 3 \
  --rotation 180 \
  --saturation 1.4 \
  --contrast 0.98 \
  --sharpness 2.0

Example NTSC 16:9 command

/opt/divimath/rpicam/apps/rpicam-hello \
  --tuning-file /opt/divimath/camera/imx462-seekerhd.json \
  --preview-libs /opt/divimath/rpicam/preview \
  --preview-backend drm \
  -t 0 \
  --fullscreen \
  --framerate 59.94 \
  --viewfinder-mode 1920:1080:12:P \
  --viewfinder-width 854 \
  --viewfinder-height 480 \
  --denoise off \
  --buffer-count 3 \
  --rotation 180 \
  --saturation 1.4 \
  --contrast 0.98 \
  --sharpness 2.0