Skip to content

ssc338q_rubyfpv_generic-nor.tgz rootfs does not include SigmaStar userspace libs — majestic cannot start #85

@wkumik

Description

@wkumik

Root cause

The ssc338q_rubyfpv_generic-nor.tgz artifact does not include the SigmaStar userspace libraries that majestic is linked against. The kernel modules are bundled (mi_venc.ko, mi_vpe.ko, etc. under /lib/modules/4.9.84/sigmastar/) and /usr/bin/majestic is present, but the libmi_*.so / libcus3a.so / libispalgo.so / libcam_os_wrapper.so family is absent from the rootfs. Result: majestic exits immediately on launch, Ruby never gets a video source, GS sits on "waiting for video feed".

The libs are not hidden elsewhere — find / -name 'libmi_*.so' returns zero matches, and /rom/usr/lib/ (the raw squashfs) has 87 .so files but none from the SigmaStar SDK. They are simply not in the firmware image.

Repro

Hardware: Runcam WiFiLink 2 (SSC338Q + IMX415, 16 MB NOR, IMX415 sensor).

  1. Download https://github.com/OpenIPC/builder/releases/download/latest/ssc338q_rubyfpv_generic-nor.tgz
  2. Flash uImage.ssc338q/dev/mtd2, rootfs.squashfs.ssc338q/dev/mtd3, reboot.
  3. Telemetry and radio link come up; GS (Ruby 11.7) reports "waiting for video feed" indefinitely.

Evidence

/etc/os-release:
```
OPENIPC_VERSION=2.6.04.14
BUILD_OPTION=rubyfpv
TIME_STAMP=1776145779
```

ldd /usr/bin/majestic → 20 libraries "not found":
```
libmi_ai.so libmi_ao.so libmi_divp.so libmi_isp.so libmi_rgn.so
libmi_sensor.so libmi_sys.so libmi_venc.so libmi_vif.so libmi_vpe.so
libcus3a.so libispalgo.so libcam_os_wrapper.so libcam_fs_wrapper.so
libmi_ipu.so libmi_ive.so libmi_shadow.so libmi_vdf.so libMD_LINUX.so
libmi_iqserver.so
```

Launching manually:
```
/usr/bin/majestic: error while loading shared libraries: libmi_ai.so: cannot open shared object file: No such file or directory
```

Ruby router log (consequence):
```
S3-0:00:11.448 000 Router: SOFTERROR: [VideoSourceMaj] Start program: Can't find the PID of majestic
```

Expected

The rubyfpv artifact should either bundle the SigmaStar userspace SDK (so majestic actually runs) or not ship /usr/bin/majestic at all. Currently the image promises a video source it cannot provide.

For comparison, Runcam's own WiFiLink2_Ruby_V11.1(b286) NOR image on the same hardware works — majestic launches cleanly, video streams. That image ships libmi_*.so etc. in /usr/lib/.

Workaround

Flash Runcam's official Ruby 11.1 image from https://www.runcam.com/download/runcamwifilink2 — loses newer Ruby features (11.8 vs 11.1) but video works.

Note

rubyfpv.com currently recommends this exact broken artifact for SSC338Q users: https://rubyfpv.com/setup_openipc.php — worth cross-linking if/when this is fixed.

Environment

  • SoC: SSC338Q + IMX415 (Runcam WiFiLink 2)
  • Flash: 16 MB NOR. mtd layout: boot / env / kernel (2M) / rootfs (8M) / rootfs_data (5.6M)
  • Kernel: Linux 4.9.84 ssc338q

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions