From 8e4515247219c06daf5ac2fb80b4b365a73c663b Mon Sep 17 00:00:00 2001 From: AI Dev Date: Sat, 5 Dec 2026 12:51:22 +0000 Subject: [PATCH] nt98566_lite_xm-ivg-n8s: the split NOR layout The profile copied firmware's nt98566_lite before OpenIPC/firmware#3049 moved it to the split layout, and so still built the fixed-slot image. It now packages with post-image-split.sh and reads the kernel for 0x3B0000, as firmware's nt98566_lite does, so OpenIPC's Novatek U-Boot (which scans only up to 0x400000) boots it. --- .../configs/nt98566_lite_xm-ivg-n8s_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devices/nt98566_lite_xm-ivg-n8s/br-ext-chip-novatek/configs/nt98566_lite_xm-ivg-n8s_defconfig b/devices/nt98566_lite_xm-ivg-n8s/br-ext-chip-novatek/configs/nt98566_lite_xm-ivg-n8s_defconfig index 232fcb979..fa93606d9 100644 --- a/devices/nt98566_lite_xm-ivg-n8s/br-ext-chip-novatek/configs/nt98566_lite_xm-ivg-n8s_defconfig +++ b/devices/nt98566_lite_xm-ivg-n8s/br-ext-chip-novatek/configs/nt98566_lite_xm-ivg-n8s_defconfig @@ -68,3 +68,9 @@ BR2_PACKAGE_OPUS_OPENIPC=y BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y BR2_PACKAGE_VTUND_OPENIPC=y BR2_PACKAGE_YAML_CLI=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_GENERAL_PATH)/scripts/post-image-split.sh" +# OpenIPC's Novatek U-Boot reads the kernel for the size its layout scan +# finds (the uImage up to the squashfs), not a fixed 2 MiB slot. Its +# published builds scan only up to 0x400000, so the squashfs, and with it +# the uImage's end, has to start below that for them to boot the image. +BR2_OPENIPC_NOR_KERNEL_READ_SIZE=0x3B0000