Skip to content

Commit

Permalink
Scripts:change the default offset and fix a bug
Browse files Browse the repository at this point in the history
Signed-off-by: JianHang Wu <[email protected]>
  • Loading branch information
wu-jian-hang authored and xingxg2022 committed Dec 9, 2024
1 parent 1cdf823 commit 95c8a85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/pack_firmware_bin/gen_firmware_xml.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", \
Expand All @@ -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
Expand All @@ -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",\
Expand Down

0 comments on commit 95c8a85

Please sign in to comment.