From dabbacbf6d3a0a9b7b6988d51d42c829024e04e6 Mon Sep 17 00:00:00 2001 From: Dmitry Ilyin <6576495+widgetii@users.noreply.github.com> Date: Sat, 17 Oct 2026 20:23:31 +0300 Subject: [PATCH] gk7202v300, gk7605v100: build the split NOR package too Their kernels already carry mtdsplit and the split options (the gk7205v200 family's config fragments, #2617), but only the gk7205v200 and gk7205v300 defconfigs ran post-image.sh, so these two produced no firmware.bin and no -split package. They now do, beside the unchanged plain package. OpenIPC/u-boot#19 enables the layout in their bootloaders; until a camera runs one, sysupgrade keeps it on the plain package. Local builds: gk7202v300_lite firmware.bin 7040KB/7616KB, gk7605v100_lite 7040KB/7616KB; each FIT is described "OpenIPC ". Build-tested only: no gk7202v300 or gk7605v100 camera was run. --- br-ext-chip-goke/configs/gk7202v300_lite_defconfig | 1 + br-ext-chip-goke/configs/gk7202v300_ultimate_defconfig | 1 + br-ext-chip-goke/configs/gk7605v100_lite_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/br-ext-chip-goke/configs/gk7202v300_lite_defconfig b/br-ext-chip-goke/configs/gk7202v300_lite_defconfig index cc9a68c4a2..c1729ef5b5 100644 --- a/br-ext-chip-goke/configs/gk7202v300_lite_defconfig +++ b/br-ext-chip-goke/configs/gk7202v300_lite_defconfig @@ -21,6 +21,7 @@ BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/openipc/linux/archi BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/gk7202v300.generic.config" BR2_LINUX_KERNEL_UIMAGE=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/post-image.sh" BR2_LINUX_KERNEL_XZ=y # Filesystem diff --git a/br-ext-chip-goke/configs/gk7202v300_ultimate_defconfig b/br-ext-chip-goke/configs/gk7202v300_ultimate_defconfig index 453bd3e447..aae916d468 100644 --- a/br-ext-chip-goke/configs/gk7202v300_ultimate_defconfig +++ b/br-ext-chip-goke/configs/gk7202v300_ultimate_defconfig @@ -21,6 +21,7 @@ BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/openipc/linux/archi BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/gk7202v300.generic.config" BR2_LINUX_KERNEL_UIMAGE=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/post-image.sh" BR2_LINUX_KERNEL_XZ=y # Filesystem diff --git a/br-ext-chip-goke/configs/gk7605v100_lite_defconfig b/br-ext-chip-goke/configs/gk7605v100_lite_defconfig index fba9811968..af7f7bba7c 100644 --- a/br-ext-chip-goke/configs/gk7605v100_lite_defconfig +++ b/br-ext-chip-goke/configs/gk7605v100_lite_defconfig @@ -21,6 +21,7 @@ BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/openipc/linux/archi BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/gk7605v100.generic.config" BR2_LINUX_KERNEL_UIMAGE=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/post-image.sh" BR2_LINUX_KERNEL_XZ=y # Filesystem