From 95c8a85d5c9600d6da8f1bb4a2169de2d8d2ba06 Mon Sep 17 00:00:00 2001 From: JianHang Wu Date: Mon, 9 Dec 2024 21:35:54 +0800 Subject: [PATCH] Scripts:change the default offset and fix a bug Signed-off-by: JianHang Wu --- scripts/pack_firmware_bin/gen_firmware_xml.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/pack_firmware_bin/gen_firmware_xml.c b/scripts/pack_firmware_bin/gen_firmware_xml.c index 95f86d28..33f7f32f 100644 --- a/scripts/pack_firmware_bin/gen_firmware_xml.c +++ b/scripts/pack_firmware_bin/gen_firmware_xml.c @@ -14,7 +14,7 @@ #define FLASHSIZE 0x4000000 #ifdef SG2044R - #define PARTION{"efie","0x80000",\ + #define PARTION{"efie","0x80000","0x1000",\ "fsbl.bin", "0x81000" ,"0x7010080000" ,\ "fw_dynamic.bin", "0x15d000", "0x82200000", \ "ap_Image" ,"0x2f0000" ,"0x82400000", \ @@ -32,8 +32,8 @@ #define PARTION {"fip.bin","0x00030000",\ "efie","0x600000","0x1000",\ "zsbl.bin","0x2a00000","0x40000000",\ - "fw_dynamic.bin","0x660000","0x00000000",\ - "riscv64_Image","0x6b0000","0x02000000",\ + "fw_dynamic.bin","0x670000","0x00000000",\ + "riscv64_Image","0x6c0000","0x02000000",\ "initrd.img","0x2b00000","0x30000000",\ "SG2042.fd","0x2000000","0x2000000"} #define PARTNUM 7 @@ -45,7 +45,7 @@ #endif #ifdef SG2044 - #define PARTION {"efie","0x80000","4096",\ + #define PARTION {"efie","0x80000","0x1000",\ "zsbl.bin","0x2f0000","0x40000000",\ "fsbl.bin","0x81000","0x7010080000",\ "fw_dynamic.bin","0x15d000","0x80000000",\