From e68a2d0c360aeb93ff951a7a9c67b58550511c18 Mon Sep 17 00:00:00 2001 From: AI Dev Date: Wed, 14 Oct 2026 15:59:59 +0000 Subject: [PATCH] gk7202v300 xg521, hi3518ev300 xiaomi: stop installing the WDR/ profiles firmware removed Both profiles carry their own copy of the SoC's osdrv package, and both copies still install files/sensor/config/WDR/*.ini. The firmware dropped those profiles on 2026-10-10 (firmware#2567: majestic switches the linear profile to line WDR itself), so the glob matches nothing and the install step fails with "cannot stat .../WDR/*.ini". Neither board has built since. The copies now remove the directory, as the firmware's own package does. Both build locally against firmware master: headroom kernel 266 KB / rootfs 180 KB for xg521, 174 KB / 60 KB for the xiaomi. --- .../package/goke-osdrv-gk7205v200/goke-osdrv-gk7205v200.mk | 7 +++++-- .../hisilicon-osdrv-hi3516ev200.mk | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/devices/gk7202v300_lite_xg521/general/package/goke-osdrv-gk7205v200/goke-osdrv-gk7205v200.mk b/devices/gk7202v300_lite_xg521/general/package/goke-osdrv-gk7205v200/goke-osdrv-gk7205v200.mk index b0197f0d5..1e33910e8 100644 --- a/devices/gk7202v300_lite_xg521/general/package/goke-osdrv-gk7205v200/goke-osdrv-gk7205v200.mk +++ b/devices/gk7202v300_lite_xg521/general/package/goke-osdrv-gk7205v200/goke-osdrv-gk7205v200.mk @@ -28,8 +28,11 @@ define GOKE_OSDRV_GK7205V200_INSTALL_TARGET_CMDS $(INSTALL) -m 755 -d $(TARGET_DIR)/etc/sensors $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensors $(GOKE_OSDRV_GK7205V200_PKGDIR)/files/sensor/config/*.ini - $(INSTALL) -m 755 -d $(TARGET_DIR)/etc/sensors/WDR - $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensors/WDR $(GOKE_OSDRV_GK7205V200_PKGDIR)/files/sensor/config/WDR/*.ini + # The firmware no longer ships WDR/ copies of the sensor profiles: majestic + # switches the linear one to line WDR itself. Removed outright, as the + # firmware's own package does, so a rebuild over an earlier target does not + # keep the old directory. + rm -rf $(TARGET_DIR)/etc/sensors/WDR $(INSTALL) -m 755 -d $(TARGET_DIR)/etc/sensors/high-fps $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensors/high-fps $(GOKE_OSDRV_GK7205V200_PKGDIR)/files/sensor/config/high-fps/*.ini diff --git a/devices/hi3518ev300_lite_xiaomi-mjsxj02hl/general/package/hisilicon-osdrv-hi3516ev200/hisilicon-osdrv-hi3516ev200.mk b/devices/hi3518ev300_lite_xiaomi-mjsxj02hl/general/package/hisilicon-osdrv-hi3516ev200/hisilicon-osdrv-hi3516ev200.mk index 001da43fb..c743ed6ba 100644 --- a/devices/hi3518ev300_lite_xiaomi-mjsxj02hl/general/package/hisilicon-osdrv-hi3516ev200/hisilicon-osdrv-hi3516ev200.mk +++ b/devices/hi3518ev300_lite_xiaomi-mjsxj02hl/general/package/hisilicon-osdrv-hi3516ev200/hisilicon-osdrv-hi3516ev200.mk @@ -13,8 +13,11 @@ define HISILICON_OSDRV_HI3516EV200_INSTALL_TARGET_CMDS $(INSTALL) -m 755 -d $(TARGET_DIR)/etc/sensors $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensors $(HISILICON_OSDRV_HI3516EV200_PKGDIR)/files/sensor/config/*.ini - $(INSTALL) -m 755 -d $(TARGET_DIR)/etc/sensors/WDR - $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensors/WDR $(HISILICON_OSDRV_HI3516EV200_PKGDIR)/files/sensor/config/WDR/*.ini + # The firmware no longer ships WDR/ copies of the sensor profiles: majestic + # switches the linear one to line WDR itself. Removed outright, as the + # firmware's own package does, so a rebuild over an earlier target does not + # keep the old directory. + rm -rf $(TARGET_DIR)/etc/sensors/WDR $(INSTALL) -m 755 -d $(TARGET_DIR)/etc/sensors/iq $(INSTALL) -m 644 -t $(TARGET_DIR)/etc/sensors/iq $(HISILICON_OSDRV_HI3516EV200_PKGDIR)/files/sensor/iq/imx307.ini