From: Baikal Electronics Date: Thu, 15 Jun 2023 11:45:18 +0000 (+0300) Subject: core-image-minimal.bbappend: set section offsets according to bfk3.map-2023 X-Git-Tag: baikal/mips/sdk6.1~4 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=469c7d60a70fbe21558f4d88576643a527764575;p=openembedded-baikal.git core-image-minimal.bbappend: set section offsets according to bfk3.map-2023 --- diff --git a/meta-baikal/recipes-core/images/core-image-minimal.bbappend b/meta-baikal/recipes-core/images/core-image-minimal.bbappend index b986dde..05af2a8 100644 --- a/meta-baikal/recipes-core/images/core-image-minimal.bbappend +++ b/meta-baikal/recipes-core/images/core-image-minimal.bbappend @@ -23,10 +23,10 @@ baikal_deploy () { cp -f ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.cpio.lzma ${BAIKAL_IMAGES}/initramfs.lzma } -UBOOT_SECTION_END = "786432" -UBOOTENV_SECTION_END = "917504" -LINUX_FDT_SECTION_END = "983040" -FITIMAGE_SECTION_END = "15335424" +UBOOT_SECTION_END = "765952" +UBOOTENV_SECTION_END = "835584" +LINUX_FDT_SECTION_END = "860160" +FITIMAGE_SECTION_END = "16777216" check_size_fitness () { cur_size=$( wc -c $1 | cut -d' ' -f1)