Skip to content

xg521: update device override for 60fps→high-fps rename in firmware#95

Merged
widgetii merged 1 commit into
masterfrom
fix/xg521-goke-osdrv-60fps-to-high-fps
May 24, 2026
Merged

xg521: update device override for 60fps→high-fps rename in firmware#95
widgetii merged 1 commit into
masterfrom
fix/xg521-goke-osdrv-60fps-to-high-fps

Conversation

@widgetii
Copy link
Copy Markdown
Member

Summary

The xg521 device-specific override at devices/gk7202v300_lite_xg521/general/package/goke-osdrv-gk7205v200/goke-osdrv-gk7205v200.mk references /etc/sensors/60fps and files/sensor/config/60fps/*.ini. OpenIPC/firmware#2090 (2026-05-13, "IMX335 companion to openhisilicon #99") renamed the upstream directory 60fps/high-fps/. Every cron build of gk7202v300_lite_xg521 since then has failed:

/usr/bin/install: cannot stat 'general/package/goke-osdrv-gk7205v200//files/sensor/config/60fps/*.ini': No such file or directory

Two-line fix: change both install rules to use high-fps. Target install path moves from /etc/sensors/60fps/etc/sensors/high-fps to match the rest of the V4 sensor presets.

Notes

  • The matching entry in devices/gk7202v300_lite_xg521/general/scripts/excludes/gk7202v300_lite.list (/etc/sensors/60fps/720p_imx307_i2c_2l.ini) is now stale, but harmless — rootfs_script.sh uses rm -f (no-op on missing path). Cleanup can be a follow-up.
  • Other Goke device overlays (gk7205v200_lite_, gk7205v210_lite_, gk7205v300_lite_*, etc.) have the same exclude-list staleness but no broken install rule. They're not affected by this bug. xg521 is the only one with its own .mk override that diverged.

Test plan

  • CI passes (YAML/Makefile syntactic only — no buildable code change reachable via PR triggers).
  • After merge, gh workflow run build-one.yml -f platform=gk7202v300_lite_xg521 produces a successful build.
  • Next builder cron gk7202v300_lite_xg521 matrix entry passes; result lands in the https://openipc.github.io/builder/manifest.flat index for the first time since 2026-05-13.

See also

🤖 Generated with Claude Code

OpenIPC/firmware PR #2090 (2026-05-13, "IMX335 companion to
openhisilicon #99") renamed `general/package/goke-osdrv-gk7205v200/
files/sensor/config/60fps/` to `high-fps/`. The xg521 device-specific
goke-osdrv-gk7205v200.mk override here still references the old path,
causing every cron build of gk7202v300_lite_xg521 to fail:

  /usr/bin/install: cannot stat 'general/package/goke-osdrv-gk7205v200//
  files/sensor/config/60fps/*.ini': No such file or directory

Update the two install lines to use `high-fps` matching the renamed
upstream directory. Target install path also moves from
/etc/sensors/60fps → /etc/sensors/high-fps for consistency with what
the rest of the V4 sensor presets use.

The matching exclude-list entry in
  devices/gk7202v300_lite_xg521/general/scripts/excludes/gk7202v300_lite.list
references /etc/sensors/60fps/... and is now stale; left as-is since
`rm -f` on a non-existent path is a no-op (rootfs_script.sh:
xargs -I % rm -f ${TARGET_DIR}%). Can be cleaned in a follow-up.

Other Goke device overlays (gk7205v200_lite_*, gk7205v210_lite_*,
gk7205v300_lite_*) only have the same exclude-list staleness and no
broken install rule, so they aren't affected by this bug.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@widgetii widgetii merged commit 7b0757e into master May 24, 2026
@widgetii widgetii deleted the fix/xg521-goke-osdrv-60fps-to-high-fps branch May 24, 2026 16:18
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.

1 participant