[Feature][ZXW-452]merge P54U02 version
Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: I17e6795ab66e2b9d1cbbfec4b7c0028d666e177d
diff --git a/boot/common/src/uboot/board/zte/zx297520v3/zx297520v3_mdl_ab.c b/boot/common/src/uboot/board/zte/zx297520v3/zx297520v3_mdl_ab.c
index cb86245..8b0e1ae 100755
--- a/boot/common/src/uboot/board/zte/zx297520v3/zx297520v3_mdl_ab.c
+++ b/boot/common/src/uboot/board/zte/zx297520v3/zx297520v3_mdl_ab.c
@@ -698,6 +698,7 @@
{
fotaFlagInfo.boot_fota_flag.boot_to = DUAL_SYSTEM2;
fotaFlagInfo.boot_fota_flag.system = system_status;
+ fotaFlagInfo.boot_fota_flag.fota_status = 1;
/*crc32*/
fotaFlagInfo.crc32 = 0;
crc32init_le();
@@ -800,6 +801,7 @@
{
fotaFlagInfo.boot_fota_flag.boot_to = DUAL_SYSTEM;
fotaFlagInfo.boot_fota_flag.system2 = system_status;
+ fotaFlagInfo.boot_fota_flag.fota_status = 1;
/*crc32*/
fotaFlagInfo.crc32 = 0;
crc32init_le();
diff --git a/boot/common/src/uboot/board/zte/zx297520v3/zx297520v3_vehicle_dc.c b/boot/common/src/uboot/board/zte/zx297520v3/zx297520v3_vehicle_dc.c
index 0e5d5a7..0c2138f 100755
--- a/boot/common/src/uboot/board/zte/zx297520v3/zx297520v3_vehicle_dc.c
+++ b/boot/common/src/uboot/board/zte/zx297520v3/zx297520v3_vehicle_dc.c
@@ -699,6 +699,7 @@
{
fotaFlagInfo.boot_fota_flag.boot_to = DUAL_SYSTEM2;
fotaFlagInfo.boot_fota_flag.system = system_status;
+ fotaFlagInfo.boot_fota_flag.fota_status = 1;
/*crc32*/
fotaFlagInfo.crc32 = 0;
crc32init_le();
@@ -801,6 +802,7 @@
{
fotaFlagInfo.boot_fota_flag.boot_to = DUAL_SYSTEM;
fotaFlagInfo.boot_fota_flag.system2 = system_status;
+ fotaFlagInfo.boot_fota_flag.fota_status = 1;
/*crc32*/
fotaFlagInfo.crc32 = 0;
crc32init_le();
diff --git a/boot/common/src/uboot/board/zte/zx297520v3/zx297520v3_vehicle_dc_ref.c b/boot/common/src/uboot/board/zte/zx297520v3/zx297520v3_vehicle_dc_ref.c
index 8c0b388..30e4518 100755
--- a/boot/common/src/uboot/board/zte/zx297520v3/zx297520v3_vehicle_dc_ref.c
+++ b/boot/common/src/uboot/board/zte/zx297520v3/zx297520v3_vehicle_dc_ref.c
@@ -699,6 +699,7 @@
{
fotaFlagInfo.boot_fota_flag.boot_to = DUAL_SYSTEM2;
fotaFlagInfo.boot_fota_flag.system = system_status;
+ fotaFlagInfo.boot_fota_flag.fota_status = 1;
/*crc32*/
fotaFlagInfo.crc32 = 0;
crc32init_le();
@@ -801,6 +802,7 @@
{
fotaFlagInfo.boot_fota_flag.boot_to = DUAL_SYSTEM;
fotaFlagInfo.boot_fota_flag.system2 = system_status;
+ fotaFlagInfo.boot_fota_flag.fota_status = 1;
/*crc32*/
fotaFlagInfo.crc32 = 0;
crc32init_le();
diff --git a/boot/common/src/uboot/drivers/misc/load.c b/boot/common/src/uboot/drivers/misc/load.c
index 2c9c8e7..5c3a2b3 100755
--- a/boot/common/src/uboot/drivers/misc/load.c
+++ b/boot/common/src/uboot/drivers/misc/load.c
@@ -65,6 +65,9 @@
uint8_t p_uncompress_size[8];
}lzma_header_t;
+extern void crc32init_le(void);
+extern unsigned int crc32_le(unsigned int crc, unsigned char const *p, size_t len);
+
extern uint32_t ztelzma_compresssize;
extern int lzmanodeflag;
#endif
@@ -1222,6 +1225,9 @@
uint32_t fota_size = sizeof(T_FLAGS_INFO);
nand_info_t *nand = &nand_info[nand_curr_device];
struct fsl_qspi *nor = &spi_nor_flash;
+ unsigned long crc = 0;
+ unsigned long crc_cal = 0;
+ u32 crc_size = sizeof(T_FLAGS_INFO);
flush_dcache_all();
flash_dmabuf_disable_flag = 1;
@@ -1277,8 +1283,15 @@
BOOT_PRINTF(UBOOT_ERR, "[%s]: read the flags error!\n", part_name);
return 1;
}
+
+ /*crc32УÑé*/
+ crc = fotaFlagInfo->crc32;
+ fotaFlagInfo->crc32 = 0;
+ crc32init_le();
+ crc_cal = crc32_le(0,(unsigned char*)fotaFlagInfo,crc_size);
+ printf("crc is 0x%x,crc_cal is 0x%x\n",crc,crc_cal);
- if(fotaFlagInfo->magic_start != FLAGS_MAGIC)
+ if(fotaFlagInfo->magic_start != FLAGS_MAGIC || (crc!= crc_cal && crc != 0))
{
flush_dcache_all();
ret = flash->read(nand,(loff_t)backup_area_offset,
@@ -1294,7 +1307,20 @@
{
printf("flags magic err.\n");
return -1;
- }
+ }
+
+ /*crc32УÑé*/
+ crc = fotaFlagInfo->crc32;
+ fotaFlagInfo->crc32 = 0;
+ crc32init_le();
+ crc_cal = crc32_le(0,(unsigned char*)fotaFlagInfo,crc_size);
+
+ if(crc!= crc_cal && crc != 0)
+ {
+ printf("flags crc err.\n");
+ return -1;
+ }
+
}
}
else if(type == IF_TYPE_NOR)
diff --git a/boot/common/src/uboot/drivers/mtd/nand/spi_nand.c b/boot/common/src/uboot/drivers/mtd/nand/spi_nand.c
index f5be951..26da064 100755
--- a/boot/common/src/uboot/drivers/mtd/nand/spi_nand.c
+++ b/boot/common/src/uboot/drivers/mtd/nand/spi_nand.c
@@ -773,7 +773,7 @@
.offs = 4,
.len = 4,
.veroffs = 20,
- .maxblocks = 16,
+ .maxblocks = 12,
.pattern = bbt_pattern,
};
@@ -784,7 +784,7 @@
.offs = 4,
.len = 4,
.veroffs = 20,
- .maxblocks = 16,
+ .maxblocks = 12,
.pattern = mirror_pattern,
};
diff --git a/boot/common/src/uboot/drivers/power/zx234290.c b/boot/common/src/uboot/drivers/power/zx234290.c
index b6f9678..90a52e2 100755
--- a/boot/common/src/uboot/drivers/power/zx234290.c
+++ b/boot/common/src/uboot/drivers/power/zx234290.c
@@ -355,6 +355,7 @@
int pmu_init(void)
{
int ret = 0;
+ uchar reg_val = 0;
struct pmu_opt pmu = {NULL};
/* GPIO init */
@@ -381,7 +382,17 @@
}
*/
ret = zx234290_get_boot_reason_prev();
-
+ ret +=zx234290_i2c_read_reg(ZX234297_REG_ADDR_SINK_CONTROL,®_val);
+ if(reg_val==0x7f){//means 296G C
+ reg_val = 0xff;//define to 296
+ ret+=zx234290_i2c_write_reg(ZX234297_REG_ADDR_SINK_CONTROL,®_val);
+ }
+
+ if (ret != SUCCESS)
+ {
+ printf( "[%s]set 0x29 error ret=0x%x!\n", __FUNCTION__,ret);
+ }
+
return ret;
}
diff --git a/boot/common/src/uboot/include/zx234290.h b/boot/common/src/uboot/include/zx234290.h
index 79b1bac..2c0853f 100755
--- a/boot/common/src/uboot/include/zx234290.h
+++ b/boot/common/src/uboot/include/zx234290.h
@@ -57,6 +57,7 @@
#define ZX234290_REG_ADC_ADC1LSB 0x26
#define ZX234290_REG_ADC_VBATMSB 0x23 /* CHANNEL 2 */
#define ZX234290_REG_ADC_VBATLSB 0x24
+#define ZX234297_REG_ADDR_SINK_CONTROL 0X29
#define ZX234290_REG_RTC_CONTROL2 0x31
#define RTC_CONTROL2_TIE (1 << 0)
diff --git a/boot/prj/zx297520v3/bootrom/dl_off/z-load b/boot/prj/zx297520v3/bootrom/dl_off/z-load
index 86adcf4..f07109e 100755
--- a/boot/prj/zx297520v3/bootrom/dl_off/z-load
+++ b/boot/prj/zx297520v3/bootrom/dl_off/z-load
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom/dl_off/z-load.map b/boot/prj/zx297520v3/bootrom/dl_off/z-load.map
index 4266d98..24acb88 100755
--- a/boot/prj/zx297520v3/bootrom/dl_off/z-load.map
+++ b/boot/prj/zx297520v3/bootrom/dl_off/z-load.map
@@ -380,20 +380,20 @@
.debug_ranges 0x0000000000000068 0x28 drivers/libdrivers.a(drv_hash.o)
.debug_ranges 0x0000000000000090 0x38 drivers/libdrivers.a(drv_rsa.o)
-.debug_line 0x0000000000000000 0x1413
- .debug_line 0x0000000000000000 0x2df lib/libarm.a(board.o)
- .debug_line 0x00000000000002df 0x152 lib/libarm.a(string.o)
- .debug_line 0x0000000000000431 0x290 drivers/libdrivers.a(ddr.o)
- .debug_line 0x00000000000006c1 0x112 drivers/libdrivers.a(uart.o)
- .debug_line 0x00000000000007d3 0x228 drivers/libdrivers.a(image.o)
- .debug_line 0x00000000000009fb 0x118 drivers/libdrivers.a(efuse.o)
- .debug_line 0x0000000000000b13 0x2ad drivers/libdrivers.a(secure_verify.o)
- .debug_line 0x0000000000000dc0 0x2a2 drivers/libdrivers.a(nor.o)
- .debug_line 0x0000000000001062 0x88 drivers/libdrivers.a(drv_hash.o)
- .debug_line 0x00000000000010ea 0x117 drivers/libdrivers.a(drv_rsa.o)
- .debug_line 0x0000000000001201 0x10a drivers/libdrivers.a(flash.o)
- .debug_line 0x000000000000130b 0xa7 cpu/m0/libm0.a(cpu.o)
- .debug_line 0x00000000000013b2 0x61 cpu/m0/libm0.a(clk.o)
+.debug_line 0x0000000000000000 0x1415
+ .debug_line 0x0000000000000000 0x2e1 lib/libarm.a(board.o)
+ .debug_line 0x00000000000002e1 0x152 lib/libarm.a(string.o)
+ .debug_line 0x0000000000000433 0x290 drivers/libdrivers.a(ddr.o)
+ .debug_line 0x00000000000006c3 0x112 drivers/libdrivers.a(uart.o)
+ .debug_line 0x00000000000007d5 0x228 drivers/libdrivers.a(image.o)
+ .debug_line 0x00000000000009fd 0x118 drivers/libdrivers.a(efuse.o)
+ .debug_line 0x0000000000000b15 0x2ad drivers/libdrivers.a(secure_verify.o)
+ .debug_line 0x0000000000000dc2 0x2a2 drivers/libdrivers.a(nor.o)
+ .debug_line 0x0000000000001064 0x88 drivers/libdrivers.a(drv_hash.o)
+ .debug_line 0x00000000000010ec 0x117 drivers/libdrivers.a(drv_rsa.o)
+ .debug_line 0x0000000000001203 0x10a drivers/libdrivers.a(flash.o)
+ .debug_line 0x000000000000130d 0xa7 cpu/m0/libm0.a(cpu.o)
+ .debug_line 0x00000000000013b4 0x61 cpu/m0/libm0.a(clk.o)
.debug_str 0x0000000000000000 0xe62
.debug_str 0x0000000000000000 0x47c lib/libarm.a(board.o)
diff --git a/boot/prj/zx297520v3/bootrom/dl_off/z-load2 b/boot/prj/zx297520v3/bootrom/dl_off/z-load2
index 76cc160..11cc545 100755
--- a/boot/prj/zx297520v3/bootrom/dl_off/z-load2
+++ b/boot/prj/zx297520v3/bootrom/dl_off/z-load2
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom/dl_on/z-load b/boot/prj/zx297520v3/bootrom/dl_on/z-load
index 38cb6a9..f143c49 100755
--- a/boot/prj/zx297520v3/bootrom/dl_on/z-load
+++ b/boot/prj/zx297520v3/bootrom/dl_on/z-load
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom/dl_on/z-load.map b/boot/prj/zx297520v3/bootrom/dl_on/z-load.map
index 4266d98..24acb88 100755
--- a/boot/prj/zx297520v3/bootrom/dl_on/z-load.map
+++ b/boot/prj/zx297520v3/bootrom/dl_on/z-load.map
@@ -380,20 +380,20 @@
.debug_ranges 0x0000000000000068 0x28 drivers/libdrivers.a(drv_hash.o)
.debug_ranges 0x0000000000000090 0x38 drivers/libdrivers.a(drv_rsa.o)
-.debug_line 0x0000000000000000 0x1413
- .debug_line 0x0000000000000000 0x2df lib/libarm.a(board.o)
- .debug_line 0x00000000000002df 0x152 lib/libarm.a(string.o)
- .debug_line 0x0000000000000431 0x290 drivers/libdrivers.a(ddr.o)
- .debug_line 0x00000000000006c1 0x112 drivers/libdrivers.a(uart.o)
- .debug_line 0x00000000000007d3 0x228 drivers/libdrivers.a(image.o)
- .debug_line 0x00000000000009fb 0x118 drivers/libdrivers.a(efuse.o)
- .debug_line 0x0000000000000b13 0x2ad drivers/libdrivers.a(secure_verify.o)
- .debug_line 0x0000000000000dc0 0x2a2 drivers/libdrivers.a(nor.o)
- .debug_line 0x0000000000001062 0x88 drivers/libdrivers.a(drv_hash.o)
- .debug_line 0x00000000000010ea 0x117 drivers/libdrivers.a(drv_rsa.o)
- .debug_line 0x0000000000001201 0x10a drivers/libdrivers.a(flash.o)
- .debug_line 0x000000000000130b 0xa7 cpu/m0/libm0.a(cpu.o)
- .debug_line 0x00000000000013b2 0x61 cpu/m0/libm0.a(clk.o)
+.debug_line 0x0000000000000000 0x1415
+ .debug_line 0x0000000000000000 0x2e1 lib/libarm.a(board.o)
+ .debug_line 0x00000000000002e1 0x152 lib/libarm.a(string.o)
+ .debug_line 0x0000000000000433 0x290 drivers/libdrivers.a(ddr.o)
+ .debug_line 0x00000000000006c3 0x112 drivers/libdrivers.a(uart.o)
+ .debug_line 0x00000000000007d5 0x228 drivers/libdrivers.a(image.o)
+ .debug_line 0x00000000000009fd 0x118 drivers/libdrivers.a(efuse.o)
+ .debug_line 0x0000000000000b15 0x2ad drivers/libdrivers.a(secure_verify.o)
+ .debug_line 0x0000000000000dc2 0x2a2 drivers/libdrivers.a(nor.o)
+ .debug_line 0x0000000000001064 0x88 drivers/libdrivers.a(drv_hash.o)
+ .debug_line 0x00000000000010ec 0x117 drivers/libdrivers.a(drv_rsa.o)
+ .debug_line 0x0000000000001203 0x10a drivers/libdrivers.a(flash.o)
+ .debug_line 0x000000000000130d 0xa7 cpu/m0/libm0.a(cpu.o)
+ .debug_line 0x00000000000013b4 0x61 cpu/m0/libm0.a(clk.o)
.debug_str 0x0000000000000000 0xe62
.debug_str 0x0000000000000000 0x47c lib/libarm.a(board.o)
diff --git a/boot/prj/zx297520v3/bootrom/dl_on/z-load2 b/boot/prj/zx297520v3/bootrom/dl_on/z-load2
index b0c9b9a..18a645c 100755
--- a/boot/prj/zx297520v3/bootrom/dl_on/z-load2
+++ b/boot/prj/zx297520v3/bootrom/dl_on/z-load2
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom2/dl_off/loader2.bin b/boot/prj/zx297520v3/bootrom2/dl_off/loader2.bin
new file mode 100755
index 0000000..f9071ec
--- /dev/null
+++ b/boot/prj/zx297520v3/bootrom2/dl_off/loader2.bin
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom2/dl_off/z-load b/boot/prj/zx297520v3/bootrom2/dl_off/z-load
new file mode 100755
index 0000000..027cc9e
--- /dev/null
+++ b/boot/prj/zx297520v3/bootrom2/dl_off/z-load
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom2/dl_off/z-load.map b/boot/prj/zx297520v3/bootrom2/dl_off/z-load.map
new file mode 100755
index 0000000..2d307f6
--- /dev/null
+++ b/boot/prj/zx297520v3/bootrom2/dl_off/z-load.map
@@ -0,0 +1,439 @@
+Archive member included because of file (symbol)
+
+lib/libarm.a(board.o) cpu/m0/start.o (copy_to_iram1)
+lib/libarm.a(string.o) lib/libarm.a(board.o) (memcpy)
+drivers/libdrivers.a(ddr.o) lib/libarm.a(board.o) (ddr_init)
+drivers/libdrivers.a(uart.o) lib/libarm.a(board.o) (uart_init)
+drivers/libdrivers.a(image.o)
+ lib/libarm.a(board.o) (read_zloader_image)
+drivers/libdrivers.a(efuse.o)
+ lib/libarm.a(board.o) (efuse_init)
+drivers/libdrivers.a(secure_verify.o)
+ drivers/libdrivers.a(image.o) (secure_verify_zloader)
+drivers/libdrivers.a(nor.o) lib/libarm.a(board.o) (board_flash_init)
+drivers/libdrivers.a(drv_hash.o)
+ drivers/libdrivers.a(secure_verify.o) (Hash_Calculate)
+drivers/libdrivers.a(drv_rsa.o)
+ drivers/libdrivers.a(secure_verify.o) (Rsa_Calculate)
+drivers/libdrivers.a(flash.o)
+ drivers/libdrivers.a(nor.o) (get_boot_mode)
+cpu/m0/libm0.a(cpu.o) lib/libarm.a(board.o) (timer_init)
+cpu/m0/libm0.a(clk.o) lib/libarm.a(board.o) (clk_init)
+
+内存配置
+
+名称 来源 长度 属性
+*default* 0x0000000000000000 0xffffffffffffffff
+
+链结器命令稿和内存映射
+
+ 0x0000000000000000 . = 0x0
+ 0x0000000000000000 . = ALIGN (0x4)
+
+.text 0x0000000000100000 0x1908
+ cpu/m0/start.o(.text)
+ .text 0x0000000000100000 0x248 cpu/m0/start.o
+ 0x00000000001001a4 _bss_start
+ 0x00000000001001ac _bss_end
+ 0x00000000001001b0 _para_start
+ 0x00000000001001b4 _para_end
+ 0x00000000001001b8 _start
+ 0x0000000000100216 run_at
+ *(.text)
+ .text 0x0000000000100248 0x178 lib/libarm.a(board.o)
+ 0x0000000000100248 print_info
+ 0x0000000000100258 copy_to_iram1
+ 0x0000000000100278 clear_iram
+ 0x0000000000100290 write_loader_mode
+ 0x000000000010029c hang
+ 0x000000000010029e usb_apcore_poweroff
+ 0x00000000001002f8 start_armboot
+ .text 0x00000000001003c0 0x80 lib/libarm.a(string.o)
+ 0x00000000001003c0 strlen
+ 0x00000000001003d0 memset
+ 0x0000000000100412 memcmp
+ 0x000000000010042e memcpy
+ .text 0x0000000000100440 0x810 drivers/libdrivers.a(ddr.o)
+ 0x0000000000100440 nsdelay
+ 0x000000000010045a ddr_clk_init
+ 0x0000000000100470 ddr_phy_init
+ 0x000000000010056c ddr_ctrl_init
+ 0x000000000010090c ddr_prio_init
+ 0x0000000000100a30 ddr_init
+ .text 0x0000000000100c50 0x138 drivers/libdrivers.a(uart.o)
+ 0x0000000000100c50 uart_init
+ 0x0000000000100cd0 uart_putc
+ 0x0000000000100cf8 uart_puts
+ 0x0000000000100d0c uart_getc
+ 0x0000000000100d28 uart_tstc
+ 0x0000000000100d38 UART_Read
+ 0x0000000000100d54 UART_Write
+ 0x0000000000100d70 UART_Check_Sync
+ .text 0x0000000000100d88 0x10c drivers/libdrivers.a(image.o)
+ 0x0000000000100d88 page_align
+ 0x0000000000100da0 find_partition_para
+ 0x0000000000100dd0 read_image_part_offset
+ 0x0000000000100e24 read_flags_image
+ 0x0000000000100e28 read_uboot_image
+ 0x0000000000100e2c nand_read_m0
+ 0x0000000000100e30 read_zloader_image
+ .text 0x0000000000100e94 0x1a0 drivers/libdrivers.a(efuse.o)
+ 0x0000000000100e94 efuse_init
+ 0x0000000000100eb8 get_ddr_flag
+ 0x0000000000100fbc get_secure_verify_status
+ 0x0000000000101000 get_otp_secure_verify_status
+ .text 0x0000000000101034 0x198 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000000101034 BIG2SMALL
+ 0x0000000000101064 bin2hex
+ 0x00000000001010b0 secure_verify_zloader
+ 0x00000000001011c8 SecureVerify
+ .text 0x00000000001011cc 0x424 drivers/libdrivers.a(nor.o)
+ 0x00000000001011cc spifc_enable
+ 0x00000000001011fc spifc_disable
+ 0x0000000000101220 spifc_setup_cmd
+ 0x00000000001012a4 spifc_wait_cmd_end
+ 0x00000000001012d0 spifc_read_fifo
+ 0x000000000010130c spifc_start
+ 0x000000000010131c cmd_seek
+ 0x000000000010133c nor_read_reg
+ 0x000000000010139c nor_read_id
+ 0x0000000000101404 spi_nor_read
+ 0x0000000000101460 nor_read
+ 0x00000000001014b4 spi_nor_read_security_register
+ 0x0000000000101510 nor_read_security_register
+ 0x0000000000101564 nor_init
+ 0x00000000001015b4 board_flash_init
+ .text 0x00000000001015f0 0xa4 drivers/libdrivers.a(drv_hash.o)
+ 0x00000000001015f0 Hash_Calculate
+ .text 0x0000000000101694 0x174 drivers/libdrivers.a(drv_rsa.o)
+ 0x00000000001016ae Rsa_Calculate
+ .text 0x0000000000101808 0x28 drivers/libdrivers.a(flash.o)
+ 0x0000000000101808 get_boot_mode
+ .text 0x0000000000101830 0x54 cpu/m0/libm0.a(cpu.o)
+ 0x0000000000101830 timer_init
+ 0x0000000000101848 usdelay
+ .text 0x0000000000101884 0x84 cpu/m0/libm0.a(clk.o)
+ 0x0000000000101884 clk_init
+
+.glue_7 0x0000000000101908 0x0
+ .glue_7 0x0000000000000000 0x0 linker stubs
+
+.glue_7t 0x0000000000101908 0x0
+ .glue_7t 0x0000000000000000 0x0 linker stubs
+
+.vfp11_veneer 0x0000000000101908 0x0
+ .vfp11_veneer 0x0000000000000000 0x0 linker stubs
+
+.v4_bx 0x0000000000101908 0x0
+ .v4_bx 0x0000000000000000 0x0 linker stubs
+
+.iplt 0x0000000000101908 0x0
+ .iplt 0x0000000000000000 0x0 cpu/m0/start.o
+ 0x0000000000101908 . = ALIGN (0x4)
+
+.rodata 0x0000000000101908 0x16c
+ *(.rodata)
+ .rodata 0x0000000000101908 0x16c drivers/libdrivers.a(nor.o)
+
+.rodata.str1.1 0x0000000000101a74 0x1cd
+ .rodata.str1.1
+ 0x0000000000101a74 0x2d lib/libarm.a(board.o)
+ .rodata.str1.1
+ 0x0000000000101aa1 0x2a drivers/libdrivers.a(image.o)
+ .rodata.str1.1
+ 0x0000000000101acb 0x17 drivers/libdrivers.a(efuse.o)
+ .rodata.str1.1
+ 0x0000000000101ae2 0x3 drivers/libdrivers.a(secure_verify.o)
+ .rodata.str1.1
+ 0x0000000000101ae5 0x15c drivers/libdrivers.a(nor.o)
+
+.rel.dyn 0x0000000000101c44 0x0
+ .rel.iplt 0x0000000000000000 0x0 cpu/m0/start.o
+ 0x0000000000101c44 . = ALIGN (0x4)
+
+.data 0x0000000000101c44 0x50
+ *(.data)
+ .data 0x0000000000101c44 0x0 cpu/m0/start.o
+ .data 0x0000000000101c44 0x0 lib/libarm.a(board.o)
+ .data 0x0000000000101c44 0x0 lib/libarm.a(string.o)
+ .data 0x0000000000101c44 0x0 drivers/libdrivers.a(ddr.o)
+ .data 0x0000000000101c44 0x0 drivers/libdrivers.a(uart.o)
+ .data 0x0000000000101c44 0x0 drivers/libdrivers.a(image.o)
+ .data 0x0000000000101c44 0x0 drivers/libdrivers.a(efuse.o)
+ .data 0x0000000000101c44 0x0 drivers/libdrivers.a(secure_verify.o)
+ .data 0x0000000000101c44 0x50 drivers/libdrivers.a(nor.o)
+ 0x0000000000101c44 nor_cmd_table
+ .data 0x0000000000101c94 0x0 drivers/libdrivers.a(drv_hash.o)
+ .data 0x0000000000101c94 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .data 0x0000000000101c94 0x0 drivers/libdrivers.a(flash.o)
+ .data 0x0000000000101c94 0x0 cpu/m0/libm0.a(cpu.o)
+ .data 0x0000000000101c94 0x0 cpu/m0/libm0.a(clk.o)
+
+.igot.plt 0x0000000000101c94 0x0
+ .igot.plt 0x0000000000000000 0x0 cpu/m0/start.o
+ 0x0000000000101c94 . = ALIGN (0x4)
+
+.got
+ *(.got)
+ 0x0000000000101c94 . = ALIGN (0x4)
+ 0x0000000000101c94 __bss_start = .
+
+.bss 0x0000000000101c94 0x164
+ *(.bss)
+ .bss 0x0000000000101c94 0x0 cpu/m0/start.o
+ .bss 0x0000000000101c94 0x4 lib/libarm.a(board.o)
+ 0x0000000000101c94 zloader_entry_point
+ .bss 0x0000000000101c98 0x0 lib/libarm.a(string.o)
+ .bss 0x0000000000101c98 0x0 drivers/libdrivers.a(ddr.o)
+ .bss 0x0000000000101c98 0x0 drivers/libdrivers.a(uart.o)
+ .bss 0x0000000000101c98 0x0 drivers/libdrivers.a(image.o)
+ .bss 0x0000000000101c98 0x0 drivers/libdrivers.a(efuse.o)
+ .bss 0x0000000000101c98 0x104 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000000101c98 result
+ .bss 0x0000000000101d9c 0x28 drivers/libdrivers.a(nor.o)
+ 0x0000000000101d9c spi_nor_flash
+ 0x0000000000101da0 otp_data
+ .bss 0x0000000000101dc4 0x0 drivers/libdrivers.a(drv_hash.o)
+ .bss 0x0000000000101dc4 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .bss 0x0000000000101dc4 0x24 drivers/libdrivers.a(flash.o)
+ 0x0000000000101dc4 flash
+ .bss 0x0000000000101de8 0x10 cpu/m0/libm0.a(cpu.o)
+ 0x0000000000101de8 g_tick
+ .bss 0x0000000000101df8 0x0 cpu/m0/libm0.a(clk.o)
+ 0x0000000000101df8 __bss_end = .
+ 0x0000000000101df8 . = ALIGN (0x4)
+
+.para 0x0000000082000000 0x0 加载地址 0x0000000000101df8
+ 0x0000000082000000 __para_start = .
+ *(.para)
+ 0x0000000082000000 __para_end = .
+ 0x0000000082000000 __end = .
+段 .text 的地址设置为 0x100000
+LOAD cpu/m0/start.o
+START GROUP
+LOAD board/zx297520v3/libzx297520v3.a
+LOAD cpu/m0/libm0.a
+LOAD lib/libarm.a
+LOAD drivers/libdrivers.a
+END GROUP
+OUTPUT(z-load elf32-littlearm)
+
+.ARM.attributes
+ 0x0000000000000000 0x10
+ .ARM.attributes
+ 0x0000000000000000 0x10 cpu/m0/start.o
+ .ARM.attributes
+ 0x0000000000000010 0x10 lib/libarm.a(board.o)
+ .ARM.attributes
+ 0x0000000000000020 0x10 lib/libarm.a(string.o)
+ .ARM.attributes
+ 0x0000000000000030 0x10 drivers/libdrivers.a(ddr.o)
+ .ARM.attributes
+ 0x0000000000000040 0x10 drivers/libdrivers.a(uart.o)
+ .ARM.attributes
+ 0x0000000000000050 0x10 drivers/libdrivers.a(image.o)
+ .ARM.attributes
+ 0x0000000000000060 0x10 drivers/libdrivers.a(efuse.o)
+ .ARM.attributes
+ 0x0000000000000070 0x10 drivers/libdrivers.a(secure_verify.o)
+ .ARM.attributes
+ 0x0000000000000080 0x10 drivers/libdrivers.a(nor.o)
+ .ARM.attributes
+ 0x0000000000000090 0x10 drivers/libdrivers.a(drv_hash.o)
+ .ARM.attributes
+ 0x00000000000000a0 0x10 drivers/libdrivers.a(drv_rsa.o)
+ .ARM.attributes
+ 0x00000000000000b0 0x10 drivers/libdrivers.a(flash.o)
+ .ARM.attributes
+ 0x00000000000000c0 0x10 cpu/m0/libm0.a(cpu.o)
+ .ARM.attributes
+ 0x00000000000000d0 0x10 cpu/m0/libm0.a(clk.o)
+
+.comment 0x0000000000000000 0x29
+ .comment 0x0000000000000000 0x29 lib/libarm.a(board.o)
+ 0x2a (松开之前的大小)
+ .comment 0x0000000000000000 0x2a lib/libarm.a(string.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(ddr.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(uart.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(image.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(efuse.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(secure_verify.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(nor.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(drv_hash.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(drv_rsa.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(flash.o)
+ .comment 0x0000000000000000 0x2a cpu/m0/libm0.a(cpu.o)
+ .comment 0x0000000000000000 0x2a cpu/m0/libm0.a(clk.o)
+
+.note.GNU-stack
+ 0x0000000000000000 0x0
+ .note.GNU-stack
+ 0x0000000000000000 0x0 lib/libarm.a(board.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 lib/libarm.a(string.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(ddr.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(uart.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(image.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(efuse.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(secure_verify.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(nor.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(drv_hash.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(flash.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 cpu/m0/libm0.a(cpu.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 cpu/m0/libm0.a(clk.o)
+
+.stab 0x0000000000000000 0x27c
+ .stab 0x0000000000000000 0x27c cpu/m0/start.o
+
+.stabstr 0x0000000000000000 0x67
+ .stabstr 0x0000000000000000 0x67 cpu/m0/start.o
+
+.debug_info 0x0000000000000000 0x340d
+ .debug_info 0x0000000000000000 0x646 lib/libarm.a(board.o)
+ .debug_info 0x0000000000000646 0x22b lib/libarm.a(string.o)
+ .debug_info 0x0000000000000871 0x329 drivers/libdrivers.a(ddr.o)
+ .debug_info 0x0000000000000b9a 0x2a0 drivers/libdrivers.a(uart.o)
+ .debug_info 0x0000000000000e3a 0x6d3 drivers/libdrivers.a(image.o)
+ .debug_info 0x000000000000150d 0x1c3 drivers/libdrivers.a(efuse.o)
+ .debug_info 0x00000000000016d0 0x62d drivers/libdrivers.a(secure_verify.o)
+ .debug_info 0x0000000000001cfd 0xd5f drivers/libdrivers.a(nor.o)
+ .debug_info 0x0000000000002a5c 0x1e8 drivers/libdrivers.a(drv_hash.o)
+ .debug_info 0x0000000000002c44 0x3b4 drivers/libdrivers.a(drv_rsa.o)
+ .debug_info 0x0000000000002ff8 0x20f drivers/libdrivers.a(flash.o)
+ .debug_info 0x0000000000003207 0x17b cpu/m0/libm0.a(cpu.o)
+ .debug_info 0x0000000000003382 0x8b cpu/m0/libm0.a(clk.o)
+
+.debug_abbrev 0x0000000000000000 0x1290
+ .debug_abbrev 0x0000000000000000 0x286 lib/libarm.a(board.o)
+ .debug_abbrev 0x0000000000000286 0xb7 lib/libarm.a(string.o)
+ .debug_abbrev 0x000000000000033d 0x12f drivers/libdrivers.a(ddr.o)
+ .debug_abbrev 0x000000000000046c 0x19e drivers/libdrivers.a(uart.o)
+ .debug_abbrev 0x000000000000060a 0x212 drivers/libdrivers.a(image.o)
+ .debug_abbrev 0x000000000000081c 0x11d drivers/libdrivers.a(efuse.o)
+ .debug_abbrev 0x0000000000000939 0x258 drivers/libdrivers.a(secure_verify.o)
+ .debug_abbrev 0x0000000000000b91 0x280 drivers/libdrivers.a(nor.o)
+ .debug_abbrev 0x0000000000000e11 0xde drivers/libdrivers.a(drv_hash.o)
+ .debug_abbrev 0x0000000000000eef 0x1e2 drivers/libdrivers.a(drv_rsa.o)
+ .debug_abbrev 0x00000000000010d1 0xb5 drivers/libdrivers.a(flash.o)
+ .debug_abbrev 0x0000000000001186 0xc8 cpu/m0/libm0.a(cpu.o)
+ .debug_abbrev 0x000000000000124e 0x42 cpu/m0/libm0.a(clk.o)
+
+.debug_loc 0x0000000000000000 0x1ca7
+ .debug_loc 0x0000000000000000 0x107 lib/libarm.a(board.o)
+ .debug_loc 0x0000000000000107 0x29d lib/libarm.a(string.o)
+ .debug_loc 0x00000000000003a4 0x2d8 drivers/libdrivers.a(ddr.o)
+ .debug_loc 0x000000000000067c 0x228 drivers/libdrivers.a(uart.o)
+ .debug_loc 0x00000000000008a4 0x2ab drivers/libdrivers.a(image.o)
+ .debug_loc 0x0000000000000b4f 0xab drivers/libdrivers.a(efuse.o)
+ .debug_loc 0x0000000000000bfa 0x3ea drivers/libdrivers.a(secure_verify.o)
+ .debug_loc 0x0000000000000fe4 0x80a drivers/libdrivers.a(nor.o)
+ .debug_loc 0x00000000000017ee 0x1b8 drivers/libdrivers.a(drv_hash.o)
+ .debug_loc 0x00000000000019a6 0x238 drivers/libdrivers.a(drv_rsa.o)
+ .debug_loc 0x0000000000001bde 0x1f drivers/libdrivers.a(flash.o)
+ .debug_loc 0x0000000000001bfd 0xaa cpu/m0/libm0.a(cpu.o)
+
+.debug_aranges 0x0000000000000000 0x1a0
+ .debug_aranges
+ 0x0000000000000000 0x20 lib/libarm.a(board.o)
+ .debug_aranges
+ 0x0000000000000020 0x20 lib/libarm.a(string.o)
+ .debug_aranges
+ 0x0000000000000040 0x20 drivers/libdrivers.a(ddr.o)
+ .debug_aranges
+ 0x0000000000000060 0x20 drivers/libdrivers.a(uart.o)
+ .debug_aranges
+ 0x0000000000000080 0x20 drivers/libdrivers.a(image.o)
+ .debug_aranges
+ 0x00000000000000a0 0x20 drivers/libdrivers.a(efuse.o)
+ .debug_aranges
+ 0x00000000000000c0 0x20 drivers/libdrivers.a(secure_verify.o)
+ .debug_aranges
+ 0x00000000000000e0 0x20 drivers/libdrivers.a(nor.o)
+ .debug_aranges
+ 0x0000000000000100 0x20 drivers/libdrivers.a(drv_hash.o)
+ .debug_aranges
+ 0x0000000000000120 0x20 drivers/libdrivers.a(drv_rsa.o)
+ .debug_aranges
+ 0x0000000000000140 0x20 drivers/libdrivers.a(flash.o)
+ .debug_aranges
+ 0x0000000000000160 0x20 cpu/m0/libm0.a(cpu.o)
+ .debug_aranges
+ 0x0000000000000180 0x20 cpu/m0/libm0.a(clk.o)
+
+.debug_ranges 0x0000000000000000 0xc8
+ .debug_ranges 0x0000000000000000 0x18 lib/libarm.a(board.o)
+ .debug_ranges 0x0000000000000018 0x18 drivers/libdrivers.a(ddr.o)
+ .debug_ranges 0x0000000000000030 0x18 drivers/libdrivers.a(uart.o)
+ .debug_ranges 0x0000000000000048 0x20 drivers/libdrivers.a(nor.o)
+ .debug_ranges 0x0000000000000068 0x28 drivers/libdrivers.a(drv_hash.o)
+ .debug_ranges 0x0000000000000090 0x38 drivers/libdrivers.a(drv_rsa.o)
+
+.debug_line 0x0000000000000000 0x1424
+ .debug_line 0x0000000000000000 0x2f0 lib/libarm.a(board.o)
+ .debug_line 0x00000000000002f0 0x152 lib/libarm.a(string.o)
+ .debug_line 0x0000000000000442 0x290 drivers/libdrivers.a(ddr.o)
+ .debug_line 0x00000000000006d2 0x112 drivers/libdrivers.a(uart.o)
+ .debug_line 0x00000000000007e4 0x228 drivers/libdrivers.a(image.o)
+ .debug_line 0x0000000000000a0c 0x118 drivers/libdrivers.a(efuse.o)
+ .debug_line 0x0000000000000b24 0x2ad drivers/libdrivers.a(secure_verify.o)
+ .debug_line 0x0000000000000dd1 0x2a2 drivers/libdrivers.a(nor.o)
+ .debug_line 0x0000000000001073 0x88 drivers/libdrivers.a(drv_hash.o)
+ .debug_line 0x00000000000010fb 0x117 drivers/libdrivers.a(drv_rsa.o)
+ .debug_line 0x0000000000001212 0x10a drivers/libdrivers.a(flash.o)
+ .debug_line 0x000000000000131c 0xa7 cpu/m0/libm0.a(cpu.o)
+ .debug_line 0x00000000000013c3 0x61 cpu/m0/libm0.a(clk.o)
+
+.debug_str 0x0000000000000000 0xe62
+ .debug_str 0x0000000000000000 0x47c lib/libarm.a(board.o)
+ 0x4f6 (松开之前的大小)
+ .debug_str 0x000000000000047c 0x4c lib/libarm.a(string.o)
+ 0x214 (松开之前的大小)
+ .debug_str 0x00000000000004c8 0xa1 drivers/libdrivers.a(ddr.o)
+ 0x216 (松开之前的大小)
+ .debug_str 0x0000000000000569 0x8a drivers/libdrivers.a(uart.o)
+ 0x253 (松开之前的大小)
+ .debug_str 0x00000000000005f3 0x229 drivers/libdrivers.a(image.o)
+ 0x4a0 (松开之前的大小)
+ .debug_str 0x000000000000081c 0x7b drivers/libdrivers.a(efuse.o)
+ 0x255 (松开之前的大小)
+ .debug_str 0x0000000000000897 0x177 drivers/libdrivers.a(secure_verify.o)
+ 0x407 (松开之前的大小)
+ .debug_str 0x0000000000000a0e 0x2c3 drivers/libdrivers.a(nor.o)
+ 0x5f3 (松开之前的大小)
+ .debug_str 0x0000000000000cd1 0x87 drivers/libdrivers.a(drv_hash.o)
+ 0x25a (松开之前的大小)
+ .debug_str 0x0000000000000d58 0x79 drivers/libdrivers.a(drv_rsa.o)
+ 0x29c (松开之前的大小)
+ .debug_str 0x0000000000000dd1 0x12 drivers/libdrivers.a(flash.o)
+ 0x2a8 (松开之前的大小)
+ .debug_str 0x0000000000000de3 0x79 cpu/m0/libm0.a(cpu.o)
+ 0x1f8 (松开之前的大小)
+ .debug_str 0x0000000000000e5c 0x6 cpu/m0/libm0.a(clk.o)
+ 0x1bd (松开之前的大小)
+
+.debug_frame 0x0000000000000000 0x6a0
+ .debug_frame 0x0000000000000000 0xa4 lib/libarm.a(board.o)
+ .debug_frame 0x00000000000000a4 0x68 lib/libarm.a(string.o)
+ .debug_frame 0x000000000000010c 0xac drivers/libdrivers.a(ddr.o)
+ .debug_frame 0x00000000000001b8 0xc0 drivers/libdrivers.a(uart.o)
+ .debug_frame 0x0000000000000278 0xa4 drivers/libdrivers.a(image.o)
+ .debug_frame 0x000000000000031c 0x60 drivers/libdrivers.a(efuse.o)
+ .debug_frame 0x000000000000037c 0x80 drivers/libdrivers.a(secure_verify.o)
+ .debug_frame 0x00000000000003fc 0x1b0 drivers/libdrivers.a(nor.o)
+ .debug_frame 0x00000000000005ac 0x2c drivers/libdrivers.a(drv_hash.o)
+ .debug_frame 0x00000000000005d8 0x4c drivers/libdrivers.a(drv_rsa.o)
+ .debug_frame 0x0000000000000624 0x20 drivers/libdrivers.a(flash.o)
+ .debug_frame 0x0000000000000644 0x30 cpu/m0/libm0.a(cpu.o)
+ .debug_frame 0x0000000000000674 0x2c cpu/m0/libm0.a(clk.o)
diff --git a/boot/prj/zx297520v3/bootrom2/dl_off/z-load2 b/boot/prj/zx297520v3/bootrom2/dl_off/z-load2
new file mode 100755
index 0000000..11cc545
--- /dev/null
+++ b/boot/prj/zx297520v3/bootrom2/dl_off/z-load2
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom2/dl_off/z-load2.map b/boot/prj/zx297520v3/bootrom2/dl_off/z-load2.map
new file mode 100755
index 0000000..877f07a
--- /dev/null
+++ b/boot/prj/zx297520v3/bootrom2/dl_off/z-load2.map
@@ -0,0 +1,513 @@
+Archive member included because of file (symbol)
+
+lib/libarm.a(board.o) cpu/m0/start.o (start_armboot)
+lib/libarm.a(string.o) lib/libarm.a(board.o) (memcpy)
+drivers/libdrivers.a(uart.o) lib/libarm.a(board.o) (uart_puts)
+drivers/libdrivers.a(image.o)
+ lib/libarm.a(board.o) (read_flags_image)
+drivers/libdrivers.a(secure_verify.o)
+ drivers/libdrivers.a(image.o) (secure_verify_zloader)
+drivers/libdrivers.a(spifc_loader2.o)
+ lib/libarm.a(board.o) (zloader_flash_init)
+drivers/libdrivers.a(bbt.o) drivers/libdrivers.a(spifc_loader2.o) (nand_creat_ram_bbt)
+drivers/libdrivers.a(sha256.o)
+ drivers/libdrivers.a(secure_verify.o) (sha256_csum_wd)
+drivers/libdrivers.a(nor.o) lib/libarm.a(board.o) (nor_init)
+drivers/libdrivers.a(ddr.o) drivers/libdrivers.a(spifc_loader2.o) (nsdelay)
+drivers/libdrivers.a(drv_hash.o)
+ drivers/libdrivers.a(secure_verify.o) (Hash_Calculate)
+drivers/libdrivers.a(drv_rsa.o)
+ drivers/libdrivers.a(secure_verify.o) (Rsa_Calculate)
+drivers/libdrivers.a(flash.o)
+ drivers/libdrivers.a(nor.o) (get_boot_mode)
+drivers/libdrivers.a(efuse.o)
+ drivers/libdrivers.a(secure_verify.o) (get_secure_verify_status)
+cpu/m0/libm0.a(cpu.o) lib/libarm.a(board.o) (usdelay)
+
+内存配置
+
+名称 来源 长度 属性
+*default* 0x0000000000000000 0xffffffffffffffff
+
+链结器命令稿和内存映射
+
+ 0x0000000000000000 . = 0x0
+ 0x0000000000000000 . = ALIGN (0x4)
+
+.text 0x0000000020300000 0x4b10
+ cpu/m0/start.o(.text)
+ .text 0x0000000020300000 0x220 cpu/m0/start.o
+ 0x00000000203001a4 _bss_start
+ 0x00000000203001ac _bss_end
+ 0x00000000203001b0 _para_start
+ 0x00000000203001b4 _para_end
+ 0x00000000203001b8 _start
+ 0x00000000203001fe run_at
+ *(.text)
+ .text 0x0000000020300220 0x258 lib/libarm.a(board.o)
+ 0x0000000020300220 print_info
+ 0x0000000020300230 copy_to_iram1
+ 0x0000000020300250 clear_iram
+ 0x0000000020300268 write_loader_mode
+ 0x0000000020300274 hang
+ 0x0000000020300276 usb_apcore_poweroff
+ 0x00000000203002d0 start_armboot
+ .text 0x0000000020300478 0x80 lib/libarm.a(string.o)
+ 0x0000000020300478 strlen
+ 0x0000000020300488 memset
+ 0x00000000203004ca memcmp
+ 0x00000000203004e6 memcpy
+ .text 0x00000000203004f8 0x138 drivers/libdrivers.a(uart.o)
+ 0x00000000203004f8 uart_init
+ 0x0000000020300578 uart_putc
+ 0x00000000203005a0 uart_puts
+ 0x00000000203005b4 uart_getc
+ 0x00000000203005d0 uart_tstc
+ 0x00000000203005e0 UART_Read
+ 0x00000000203005fc UART_Write
+ 0x0000000020300618 UART_Check_Sync
+ .text 0x0000000020300630 0x338 drivers/libdrivers.a(image.o)
+ 0x0000000020300634 page_align
+ 0x000000002030064c find_partition_para
+ 0x000000002030067c read_image_part_offset
+ 0x00000000203006d0 read_flags_image
+ 0x00000000203007b8 read_uboot_image
+ 0x0000000020300898 nand_read_m0
+ 0x0000000020300904 read_zloader_image
+ .text 0x0000000020300968 0x2b0 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000020300986 BIG2SMALL
+ 0x00000000203009b6 bin2hex
+ 0x0000000020300a00 secure_verify_zloader
+ 0x0000000020300af4 SecureVerify
+ .text 0x0000000020300c18 0x648 drivers/libdrivers.a(spifc_loader2.o)
+ 0x0000000020300d0c zDrvGpio_SetFunc
+ 0x0000000020300d44 zDrvGpio_SetDirection
+ 0x0000000020300d94 zDrvGpio_SetOutputValue
+ 0x0000000020300dd0 spi_nand_cs
+ 0x0000000020300e0c spifc_clear_fifo
+ 0x0000000020300e20 spifc_clear_int
+ 0x0000000020300f7c spifc_read_oob
+ 0x0000000020300fc0 spifc_read_page_raw
+ 0x0000000020300ffc spifc_read_page
+ 0x0000000020301078 spifc_read
+ 0x00000000203010bc read_data
+ 0x0000000020301110 read_id
+ 0x0000000020301194 spifc_init
+ 0x0000000020301218 zloader_flash_init
+ .text 0x0000000020301260 0x1c0 drivers/libdrivers.a(bbt.o)
+ 0x00000000203012c0 nand_creat_ram_bbt
+ 0x0000000020301304 nand_search_bbt
+ 0x0000000020301390 nand_creat_bbt
+ 0x000000002030140c nand_block_isbad
+ .text 0x0000000020301420 0x2688 drivers/libdrivers.a(sha256.o)
+ 0x0000000020303940 sha256_starts
+ 0x0000000020303988 sha256_update
+ 0x0000000020303994 sha256_finish
+ 0x0000000020303a80 sha256_csum_wd
+ .text 0x0000000020303aa8 0x424 drivers/libdrivers.a(nor.o)
+ 0x0000000020303aa8 spifc_enable
+ 0x0000000020303ad8 spifc_disable
+ 0x0000000020303afc spifc_setup_cmd
+ 0x0000000020303b80 spifc_wait_cmd_end
+ 0x0000000020303bac spifc_read_fifo
+ 0x0000000020303be8 spifc_start
+ 0x0000000020303bf8 cmd_seek
+ 0x0000000020303c18 nor_read_reg
+ 0x0000000020303c78 nor_read_id
+ 0x0000000020303ce0 spi_nor_read
+ 0x0000000020303d3c nor_read
+ 0x0000000020303d90 spi_nor_read_security_register
+ 0x0000000020303dec nor_read_security_register
+ 0x0000000020303e40 nor_init
+ 0x0000000020303e90 board_flash_init
+ .text 0x0000000020303ecc 0x810 drivers/libdrivers.a(ddr.o)
+ 0x0000000020303ecc nsdelay
+ 0x0000000020303ee6 ddr_clk_init
+ 0x0000000020303efc ddr_phy_init
+ 0x0000000020303ff8 ddr_ctrl_init
+ 0x0000000020304398 ddr_prio_init
+ 0x00000000203044bc ddr_init
+ .text 0x00000000203046dc 0xa4 drivers/libdrivers.a(drv_hash.o)
+ 0x00000000203046dc Hash_Calculate
+ .text 0x0000000020304780 0x174 drivers/libdrivers.a(drv_rsa.o)
+ 0x000000002030479a Rsa_Calculate
+ .text 0x00000000203048f4 0x28 drivers/libdrivers.a(flash.o)
+ 0x00000000203048f4 get_boot_mode
+ .text 0x000000002030491c 0x1a0 drivers/libdrivers.a(efuse.o)
+ 0x000000002030491c efuse_init
+ 0x0000000020304940 get_ddr_flag
+ 0x0000000020304a44 get_secure_verify_status
+ 0x0000000020304a88 get_otp_secure_verify_status
+ .text 0x0000000020304abc 0x54 cpu/m0/libm0.a(cpu.o)
+ 0x0000000020304abc timer_init
+ 0x0000000020304ad4 usdelay
+
+.glue_7 0x0000000020304b10 0x0
+ .glue_7 0x0000000000000000 0x0 linker stubs
+
+.glue_7t 0x0000000020304b10 0x0
+ .glue_7t 0x0000000000000000 0x0 linker stubs
+
+.vfp11_veneer 0x0000000020304b10 0x0
+ .vfp11_veneer 0x0000000000000000 0x0 linker stubs
+
+.v4_bx 0x0000000020304b10 0x0
+ .v4_bx 0x0000000000000000 0x0 linker stubs
+
+.iplt 0x0000000020304b10 0x0
+ .iplt 0x0000000000000000 0x0 cpu/m0/start.o
+ 0x0000000020304b10 . = ALIGN (0x4)
+
+.rodata 0x0000000020304b10 0x3f0
+ *(.rodata)
+ .rodata 0x0000000020304b10 0x270 drivers/libdrivers.a(spifc_loader2.o)
+ .rodata 0x0000000020304d80 0x13 drivers/libdrivers.a(sha256.o)
+ 0x0000000020304d80 sha256_der_prefix
+ *fill* 0x0000000020304d93 0x1
+ .rodata 0x0000000020304d94 0x16c drivers/libdrivers.a(nor.o)
+
+.rodata.str1.1 0x0000000020304f00 0x46f
+ .rodata.str1.1
+ 0x0000000020304f00 0x16c lib/libarm.a(board.o)
+ 0x185 (松开之前的大小)
+ .rodata.str1.1
+ 0x000000002030506c 0xef drivers/libdrivers.a(image.o)
+ 0x115 (松开之前的大小)
+ .rodata.str1.1
+ 0x000000002030515b 0x5b drivers/libdrivers.a(secure_verify.o)
+ 0x5d (松开之前的大小)
+ .rodata.str1.1
+ 0x00000000203051b6 0x3d drivers/libdrivers.a(spifc_loader2.o)
+ 0x4a (松开之前的大小)
+ .rodata.str1.1
+ 0x00000000203051f3 0x9 drivers/libdrivers.a(bbt.o)
+ .rodata.str1.1
+ 0x00000000203051fc 0x15c drivers/libdrivers.a(nor.o)
+ .rodata.str1.1
+ 0x0000000020305358 0x17 drivers/libdrivers.a(efuse.o)
+
+.rel.dyn 0x0000000020305370 0x0
+ .rel.iplt 0x0000000000000000 0x0 cpu/m0/start.o
+ 0x0000000020305370 . = ALIGN (0x4)
+
+.data 0x0000000020305370 0xd0
+ *(.data)
+ .data 0x0000000020305370 0x0 cpu/m0/start.o
+ .data 0x0000000020305370 0x0 lib/libarm.a(board.o)
+ .data 0x0000000020305370 0x0 lib/libarm.a(string.o)
+ .data 0x0000000020305370 0x0 drivers/libdrivers.a(uart.o)
+ .data 0x0000000020305370 0x0 drivers/libdrivers.a(image.o)
+ .data 0x0000000020305370 0x0 drivers/libdrivers.a(secure_verify.o)
+ .data 0x0000000020305370 0x0 drivers/libdrivers.a(spifc_loader2.o)
+ .data 0x0000000020305370 0x40 drivers/libdrivers.a(bbt.o)
+ .data 0x00000000203053b0 0x40 drivers/libdrivers.a(sha256.o)
+ .data 0x00000000203053f0 0x50 drivers/libdrivers.a(nor.o)
+ 0x00000000203053f0 nor_cmd_table
+ .data 0x0000000020305440 0x0 drivers/libdrivers.a(ddr.o)
+ .data 0x0000000020305440 0x0 drivers/libdrivers.a(drv_hash.o)
+ .data 0x0000000020305440 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .data 0x0000000020305440 0x0 drivers/libdrivers.a(flash.o)
+ .data 0x0000000020305440 0x0 drivers/libdrivers.a(efuse.o)
+ .data 0x0000000020305440 0x0 cpu/m0/libm0.a(cpu.o)
+
+.igot.plt 0x0000000020305440 0x0
+ .igot.plt 0x0000000000000000 0x0 cpu/m0/start.o
+ 0x0000000020305440 . = ALIGN (0x4)
+
+.got
+ *(.got)
+ 0x0000000020305440 . = ALIGN (0x4)
+ 0x0000000020305440 __bss_start = .
+
+.bss 0x0000000020305440 0x1e8
+ *(.bss)
+ .bss 0x0000000020305440 0x0 cpu/m0/start.o
+ .bss 0x0000000020305440 0x4 lib/libarm.a(board.o)
+ 0x0000000020305440 zloader_entry_point
+ .bss 0x0000000020305444 0x0 lib/libarm.a(string.o)
+ .bss 0x0000000020305444 0x0 drivers/libdrivers.a(uart.o)
+ .bss 0x0000000020305444 0x0 drivers/libdrivers.a(image.o)
+ .bss 0x0000000020305444 0x104 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000020305444 result
+ .bss 0x0000000020305548 0x4 drivers/libdrivers.a(spifc_loader2.o)
+ .bss 0x000000002030554c 0x80 drivers/libdrivers.a(bbt.o)
+ .bss 0x00000000203055cc 0x0 drivers/libdrivers.a(sha256.o)
+ .bss 0x00000000203055cc 0x28 drivers/libdrivers.a(nor.o)
+ 0x00000000203055cc spi_nor_flash
+ 0x00000000203055d0 otp_data
+ .bss 0x00000000203055f4 0x0 drivers/libdrivers.a(ddr.o)
+ .bss 0x00000000203055f4 0x0 drivers/libdrivers.a(drv_hash.o)
+ .bss 0x00000000203055f4 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .bss 0x00000000203055f4 0x24 drivers/libdrivers.a(flash.o)
+ 0x00000000203055f4 flash
+ .bss 0x0000000020305618 0x0 drivers/libdrivers.a(efuse.o)
+ .bss 0x0000000020305618 0x10 cpu/m0/libm0.a(cpu.o)
+ 0x0000000020305618 g_tick
+ 0x0000000020305628 __bss_end = .
+ 0x0000000020305628 . = ALIGN (0x4)
+
+.para 0x0000000082000000 0x0 加载地址 0x0000000020305628
+ 0x0000000082000000 __para_start = .
+ *(.para)
+ 0x0000000082000000 __para_end = .
+ 0x0000000082000000 __end = .
+段 .text 的地址设置为 0x20300000
+LOAD cpu/m0/start.o
+START GROUP
+LOAD board/zx297520v3/libzx297520v3.a
+LOAD cpu/m0/libm0.a
+LOAD lib/libarm.a
+LOAD drivers/libdrivers.a
+END GROUP
+OUTPUT(z-load elf32-littlearm)
+
+.ARM.attributes
+ 0x0000000000000000 0x10
+ .ARM.attributes
+ 0x0000000000000000 0x10 cpu/m0/start.o
+ .ARM.attributes
+ 0x0000000000000010 0x10 lib/libarm.a(board.o)
+ .ARM.attributes
+ 0x0000000000000020 0x10 lib/libarm.a(string.o)
+ .ARM.attributes
+ 0x0000000000000030 0x10 drivers/libdrivers.a(uart.o)
+ .ARM.attributes
+ 0x0000000000000040 0x10 drivers/libdrivers.a(image.o)
+ .ARM.attributes
+ 0x0000000000000050 0x10 drivers/libdrivers.a(secure_verify.o)
+ .ARM.attributes
+ 0x0000000000000060 0x10 drivers/libdrivers.a(spifc_loader2.o)
+ .ARM.attributes
+ 0x0000000000000070 0x10 drivers/libdrivers.a(bbt.o)
+ .ARM.attributes
+ 0x0000000000000080 0x10 drivers/libdrivers.a(sha256.o)
+ .ARM.attributes
+ 0x0000000000000090 0x10 drivers/libdrivers.a(nor.o)
+ .ARM.attributes
+ 0x00000000000000a0 0x10 drivers/libdrivers.a(ddr.o)
+ .ARM.attributes
+ 0x00000000000000b0 0x10 drivers/libdrivers.a(drv_hash.o)
+ .ARM.attributes
+ 0x00000000000000c0 0x10 drivers/libdrivers.a(drv_rsa.o)
+ .ARM.attributes
+ 0x00000000000000d0 0x10 drivers/libdrivers.a(flash.o)
+ .ARM.attributes
+ 0x00000000000000e0 0x10 drivers/libdrivers.a(efuse.o)
+ .ARM.attributes
+ 0x00000000000000f0 0x10 cpu/m0/libm0.a(cpu.o)
+
+.comment 0x0000000000000000 0x29
+ .comment 0x0000000000000000 0x29 lib/libarm.a(board.o)
+ 0x2a (松开之前的大小)
+ .comment 0x0000000000000000 0x2a lib/libarm.a(string.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(uart.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(image.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(secure_verify.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(spifc_loader2.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(bbt.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(sha256.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(nor.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(ddr.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(drv_hash.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(drv_rsa.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(flash.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(efuse.o)
+ .comment 0x0000000000000000 0x2a cpu/m0/libm0.a(cpu.o)
+
+.note.GNU-stack
+ 0x0000000000000000 0x0
+ .note.GNU-stack
+ 0x0000000000000000 0x0 lib/libarm.a(board.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 lib/libarm.a(string.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(uart.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(image.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(secure_verify.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(spifc_loader2.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(bbt.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(sha256.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(nor.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(ddr.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(drv_hash.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(flash.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(efuse.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 cpu/m0/libm0.a(cpu.o)
+
+.stab 0x0000000000000000 0x204
+ .stab 0x0000000000000000 0x204 cpu/m0/start.o
+
+.stabstr 0x0000000000000000 0x67
+ .stabstr 0x0000000000000000 0x67 cpu/m0/start.o
+
+.debug_info 0x0000000000000000 0x62eb
+ .debug_info 0x0000000000000000 0x77c lib/libarm.a(board.o)
+ .debug_info 0x000000000000077c 0x22b lib/libarm.a(string.o)
+ .debug_info 0x00000000000009a7 0x2a0 drivers/libdrivers.a(uart.o)
+ .debug_info 0x0000000000000c47 0xd3c drivers/libdrivers.a(image.o)
+ .debug_info 0x0000000000001983 0xb01 drivers/libdrivers.a(secure_verify.o)
+ .debug_info 0x0000000000002484 0x1661 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_info 0x0000000000003ae5 0x70f drivers/libdrivers.a(bbt.o)
+ .debug_info 0x00000000000041f4 0x586 drivers/libdrivers.a(sha256.o)
+ .debug_info 0x000000000000477a 0xd5f drivers/libdrivers.a(nor.o)
+ .debug_info 0x00000000000054d9 0x329 drivers/libdrivers.a(ddr.o)
+ .debug_info 0x0000000000005802 0x1e8 drivers/libdrivers.a(drv_hash.o)
+ .debug_info 0x00000000000059ea 0x3b4 drivers/libdrivers.a(drv_rsa.o)
+ .debug_info 0x0000000000005d9e 0x20f drivers/libdrivers.a(flash.o)
+ .debug_info 0x0000000000005fad 0x1c3 drivers/libdrivers.a(efuse.o)
+ .debug_info 0x0000000000006170 0x17b cpu/m0/libm0.a(cpu.o)
+
+.debug_abbrev 0x0000000000000000 0x1c50
+ .debug_abbrev 0x0000000000000000 0x2c9 lib/libarm.a(board.o)
+ .debug_abbrev 0x00000000000002c9 0xb7 lib/libarm.a(string.o)
+ .debug_abbrev 0x0000000000000380 0x19e drivers/libdrivers.a(uart.o)
+ .debug_abbrev 0x000000000000051e 0x298 drivers/libdrivers.a(image.o)
+ .debug_abbrev 0x00000000000007b6 0x274 drivers/libdrivers.a(secure_verify.o)
+ .debug_abbrev 0x0000000000000a2a 0x48e drivers/libdrivers.a(spifc_loader2.o)
+ .debug_abbrev 0x0000000000000eb8 0x281 drivers/libdrivers.a(bbt.o)
+ .debug_abbrev 0x0000000000001139 0x20e drivers/libdrivers.a(sha256.o)
+ .debug_abbrev 0x0000000000001347 0x280 drivers/libdrivers.a(nor.o)
+ .debug_abbrev 0x00000000000015c7 0x12f drivers/libdrivers.a(ddr.o)
+ .debug_abbrev 0x00000000000016f6 0xde drivers/libdrivers.a(drv_hash.o)
+ .debug_abbrev 0x00000000000017d4 0x1e2 drivers/libdrivers.a(drv_rsa.o)
+ .debug_abbrev 0x00000000000019b6 0xb5 drivers/libdrivers.a(flash.o)
+ .debug_abbrev 0x0000000000001a6b 0x11d drivers/libdrivers.a(efuse.o)
+ .debug_abbrev 0x0000000000001b88 0xc8 cpu/m0/libm0.a(cpu.o)
+
+.debug_loc 0x0000000000000000 0x956d
+ .debug_loc 0x0000000000000000 0x17b lib/libarm.a(board.o)
+ .debug_loc 0x000000000000017b 0x29d lib/libarm.a(string.o)
+ .debug_loc 0x0000000000000418 0x228 drivers/libdrivers.a(uart.o)
+ .debug_loc 0x0000000000000640 0x6a2 drivers/libdrivers.a(image.o)
+ .debug_loc 0x0000000000000ce2 0x790 drivers/libdrivers.a(secure_verify.o)
+ .debug_loc 0x0000000000001472 0xef4 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_loc 0x0000000000002366 0x282 drivers/libdrivers.a(bbt.o)
+ .debug_loc 0x00000000000025e8 0x5f3f drivers/libdrivers.a(sha256.o)
+ .debug_loc 0x0000000000008527 0x80a drivers/libdrivers.a(nor.o)
+ .debug_loc 0x0000000000008d31 0x2d8 drivers/libdrivers.a(ddr.o)
+ .debug_loc 0x0000000000009009 0x1b8 drivers/libdrivers.a(drv_hash.o)
+ .debug_loc 0x00000000000091c1 0x238 drivers/libdrivers.a(drv_rsa.o)
+ .debug_loc 0x00000000000093f9 0x1f drivers/libdrivers.a(flash.o)
+ .debug_loc 0x0000000000009418 0xab drivers/libdrivers.a(efuse.o)
+ .debug_loc 0x00000000000094c3 0xaa cpu/m0/libm0.a(cpu.o)
+
+.debug_aranges 0x0000000000000000 0x1e0
+ .debug_aranges
+ 0x0000000000000000 0x20 lib/libarm.a(board.o)
+ .debug_aranges
+ 0x0000000000000020 0x20 lib/libarm.a(string.o)
+ .debug_aranges
+ 0x0000000000000040 0x20 drivers/libdrivers.a(uart.o)
+ .debug_aranges
+ 0x0000000000000060 0x20 drivers/libdrivers.a(image.o)
+ .debug_aranges
+ 0x0000000000000080 0x20 drivers/libdrivers.a(secure_verify.o)
+ .debug_aranges
+ 0x00000000000000a0 0x20 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_aranges
+ 0x00000000000000c0 0x20 drivers/libdrivers.a(bbt.o)
+ .debug_aranges
+ 0x00000000000000e0 0x20 drivers/libdrivers.a(sha256.o)
+ .debug_aranges
+ 0x0000000000000100 0x20 drivers/libdrivers.a(nor.o)
+ .debug_aranges
+ 0x0000000000000120 0x20 drivers/libdrivers.a(ddr.o)
+ .debug_aranges
+ 0x0000000000000140 0x20 drivers/libdrivers.a(drv_hash.o)
+ .debug_aranges
+ 0x0000000000000160 0x20 drivers/libdrivers.a(drv_rsa.o)
+ .debug_aranges
+ 0x0000000000000180 0x20 drivers/libdrivers.a(flash.o)
+ .debug_aranges
+ 0x00000000000001a0 0x20 drivers/libdrivers.a(efuse.o)
+ .debug_aranges
+ 0x00000000000001c0 0x20 cpu/m0/libm0.a(cpu.o)
+
+.debug_ranges 0x0000000000000000 0x238
+ .debug_ranges 0x0000000000000000 0x18 lib/libarm.a(board.o)
+ .debug_ranges 0x0000000000000018 0x18 drivers/libdrivers.a(uart.o)
+ .debug_ranges 0x0000000000000030 0x140 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_ranges 0x0000000000000170 0x30 drivers/libdrivers.a(bbt.o)
+ .debug_ranges 0x00000000000001a0 0x20 drivers/libdrivers.a(nor.o)
+ .debug_ranges 0x00000000000001c0 0x18 drivers/libdrivers.a(ddr.o)
+ .debug_ranges 0x00000000000001d8 0x28 drivers/libdrivers.a(drv_hash.o)
+ .debug_ranges 0x0000000000000200 0x38 drivers/libdrivers.a(drv_rsa.o)
+
+.debug_line 0x0000000000000000 0x1f96
+ .debug_line 0x0000000000000000 0x304 lib/libarm.a(board.o)
+ .debug_line 0x0000000000000304 0x152 lib/libarm.a(string.o)
+ .debug_line 0x0000000000000456 0x112 drivers/libdrivers.a(uart.o)
+ .debug_line 0x0000000000000568 0x3b8 drivers/libdrivers.a(image.o)
+ .debug_line 0x0000000000000920 0x38e drivers/libdrivers.a(secure_verify.o)
+ .debug_line 0x0000000000000cae 0x442 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_line 0x00000000000010f0 0x251 drivers/libdrivers.a(bbt.o)
+ .debug_line 0x0000000000001341 0x2bb drivers/libdrivers.a(sha256.o)
+ .debug_line 0x00000000000015fc 0x2a2 drivers/libdrivers.a(nor.o)
+ .debug_line 0x000000000000189e 0x290 drivers/libdrivers.a(ddr.o)
+ .debug_line 0x0000000000001b2e 0x88 drivers/libdrivers.a(drv_hash.o)
+ .debug_line 0x0000000000001bb6 0x117 drivers/libdrivers.a(drv_rsa.o)
+ .debug_line 0x0000000000001ccd 0x10a drivers/libdrivers.a(flash.o)
+ .debug_line 0x0000000000001dd7 0x118 drivers/libdrivers.a(efuse.o)
+ .debug_line 0x0000000000001eef 0xa7 cpu/m0/libm0.a(cpu.o)
+
+.debug_str 0x0000000000000000 0x1565
+ .debug_str 0x0000000000000000 0x4a7 lib/libarm.a(board.o)
+ 0x518 (松开之前的大小)
+ .debug_str 0x00000000000004a7 0x3f lib/libarm.a(string.o)
+ 0x214 (松开之前的大小)
+ .debug_str 0x00000000000004e6 0xe2 drivers/libdrivers.a(uart.o)
+ 0x253 (松开之前的大小)
+ .debug_str 0x00000000000005c8 0x35b drivers/libdrivers.a(image.o)
+ 0x808 (松开之前的大小)
+ .debug_str 0x0000000000000923 0x2f9 drivers/libdrivers.a(secure_verify.o)
+ 0x61f (松开之前的大小)
+ .debug_str 0x0000000000000c1c 0x3cc drivers/libdrivers.a(spifc_loader2.o)
+ 0x6c1 (松开之前的大小)
+ .debug_str 0x0000000000000fe8 0x103 drivers/libdrivers.a(bbt.o)
+ 0x3fe (松开之前的大小)
+ .debug_str 0x00000000000010eb 0xc3 drivers/libdrivers.a(sha256.o)
+ 0x2b7 (松开之前的大小)
+ .debug_str 0x00000000000011ae 0x1ad drivers/libdrivers.a(nor.o)
+ 0x5f3 (松开之前的大小)
+ .debug_str 0x000000000000135b 0x54 drivers/libdrivers.a(ddr.o)
+ 0x216 (松开之前的大小)
+ .debug_str 0x00000000000013af 0x87 drivers/libdrivers.a(drv_hash.o)
+ 0x25a (松开之前的大小)
+ .debug_str 0x0000000000001436 0x79 drivers/libdrivers.a(drv_rsa.o)
+ 0x29c (松开之前的大小)
+ .debug_str 0x00000000000014af 0x12 drivers/libdrivers.a(flash.o)
+ 0x2a8 (松开之前的大小)
+ .debug_str 0x00000000000014c1 0x20 drivers/libdrivers.a(efuse.o)
+ 0x255 (松开之前的大小)
+ .debug_str 0x00000000000014e1 0x84 cpu/m0/libm0.a(cpu.o)
+ 0x1f8 (松开之前的大小)
+
+.debug_frame 0x0000000000000000 0xa90
+ .debug_frame 0x0000000000000000 0xb0 lib/libarm.a(board.o)
+ .debug_frame 0x00000000000000b0 0x68 lib/libarm.a(string.o)
+ .debug_frame 0x0000000000000118 0xc0 drivers/libdrivers.a(uart.o)
+ .debug_frame 0x00000000000001d8 0xec drivers/libdrivers.a(image.o)
+ .debug_frame 0x00000000000002c4 0xb0 drivers/libdrivers.a(secure_verify.o)
+ .debug_frame 0x0000000000000374 0x23c drivers/libdrivers.a(spifc_loader2.o)
+ .debug_frame 0x00000000000005b0 0xa0 drivers/libdrivers.a(bbt.o)
+ .debug_frame 0x0000000000000650 0xbc drivers/libdrivers.a(sha256.o)
+ .debug_frame 0x000000000000070c 0x1b0 drivers/libdrivers.a(nor.o)
+ .debug_frame 0x00000000000008bc 0xac drivers/libdrivers.a(ddr.o)
+ .debug_frame 0x0000000000000968 0x2c drivers/libdrivers.a(drv_hash.o)
+ .debug_frame 0x0000000000000994 0x4c drivers/libdrivers.a(drv_rsa.o)
+ .debug_frame 0x00000000000009e0 0x20 drivers/libdrivers.a(flash.o)
+ .debug_frame 0x0000000000000a00 0x60 drivers/libdrivers.a(efuse.o)
+ .debug_frame 0x0000000000000a60 0x30 cpu/m0/libm0.a(cpu.o)
diff --git a/boot/prj/zx297520v3/bootrom2/dl_off/zloader.bin b/boot/prj/zx297520v3/bootrom2/dl_off/zloader.bin
new file mode 100755
index 0000000..821482a
--- /dev/null
+++ b/boot/prj/zx297520v3/bootrom2/dl_off/zloader.bin
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom2/dl_on/loader2.bin b/boot/prj/zx297520v3/bootrom2/dl_on/loader2.bin
new file mode 100755
index 0000000..ad811f3
--- /dev/null
+++ b/boot/prj/zx297520v3/bootrom2/dl_on/loader2.bin
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom2/dl_on/z-load b/boot/prj/zx297520v3/bootrom2/dl_on/z-load
new file mode 100755
index 0000000..33c3aa5
--- /dev/null
+++ b/boot/prj/zx297520v3/bootrom2/dl_on/z-load
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom2/dl_on/z-load.map b/boot/prj/zx297520v3/bootrom2/dl_on/z-load.map
new file mode 100755
index 0000000..2d307f6
--- /dev/null
+++ b/boot/prj/zx297520v3/bootrom2/dl_on/z-load.map
@@ -0,0 +1,439 @@
+Archive member included because of file (symbol)
+
+lib/libarm.a(board.o) cpu/m0/start.o (copy_to_iram1)
+lib/libarm.a(string.o) lib/libarm.a(board.o) (memcpy)
+drivers/libdrivers.a(ddr.o) lib/libarm.a(board.o) (ddr_init)
+drivers/libdrivers.a(uart.o) lib/libarm.a(board.o) (uart_init)
+drivers/libdrivers.a(image.o)
+ lib/libarm.a(board.o) (read_zloader_image)
+drivers/libdrivers.a(efuse.o)
+ lib/libarm.a(board.o) (efuse_init)
+drivers/libdrivers.a(secure_verify.o)
+ drivers/libdrivers.a(image.o) (secure_verify_zloader)
+drivers/libdrivers.a(nor.o) lib/libarm.a(board.o) (board_flash_init)
+drivers/libdrivers.a(drv_hash.o)
+ drivers/libdrivers.a(secure_verify.o) (Hash_Calculate)
+drivers/libdrivers.a(drv_rsa.o)
+ drivers/libdrivers.a(secure_verify.o) (Rsa_Calculate)
+drivers/libdrivers.a(flash.o)
+ drivers/libdrivers.a(nor.o) (get_boot_mode)
+cpu/m0/libm0.a(cpu.o) lib/libarm.a(board.o) (timer_init)
+cpu/m0/libm0.a(clk.o) lib/libarm.a(board.o) (clk_init)
+
+内存配置
+
+名称 来源 长度 属性
+*default* 0x0000000000000000 0xffffffffffffffff
+
+链结器命令稿和内存映射
+
+ 0x0000000000000000 . = 0x0
+ 0x0000000000000000 . = ALIGN (0x4)
+
+.text 0x0000000000100000 0x1908
+ cpu/m0/start.o(.text)
+ .text 0x0000000000100000 0x248 cpu/m0/start.o
+ 0x00000000001001a4 _bss_start
+ 0x00000000001001ac _bss_end
+ 0x00000000001001b0 _para_start
+ 0x00000000001001b4 _para_end
+ 0x00000000001001b8 _start
+ 0x0000000000100216 run_at
+ *(.text)
+ .text 0x0000000000100248 0x178 lib/libarm.a(board.o)
+ 0x0000000000100248 print_info
+ 0x0000000000100258 copy_to_iram1
+ 0x0000000000100278 clear_iram
+ 0x0000000000100290 write_loader_mode
+ 0x000000000010029c hang
+ 0x000000000010029e usb_apcore_poweroff
+ 0x00000000001002f8 start_armboot
+ .text 0x00000000001003c0 0x80 lib/libarm.a(string.o)
+ 0x00000000001003c0 strlen
+ 0x00000000001003d0 memset
+ 0x0000000000100412 memcmp
+ 0x000000000010042e memcpy
+ .text 0x0000000000100440 0x810 drivers/libdrivers.a(ddr.o)
+ 0x0000000000100440 nsdelay
+ 0x000000000010045a ddr_clk_init
+ 0x0000000000100470 ddr_phy_init
+ 0x000000000010056c ddr_ctrl_init
+ 0x000000000010090c ddr_prio_init
+ 0x0000000000100a30 ddr_init
+ .text 0x0000000000100c50 0x138 drivers/libdrivers.a(uart.o)
+ 0x0000000000100c50 uart_init
+ 0x0000000000100cd0 uart_putc
+ 0x0000000000100cf8 uart_puts
+ 0x0000000000100d0c uart_getc
+ 0x0000000000100d28 uart_tstc
+ 0x0000000000100d38 UART_Read
+ 0x0000000000100d54 UART_Write
+ 0x0000000000100d70 UART_Check_Sync
+ .text 0x0000000000100d88 0x10c drivers/libdrivers.a(image.o)
+ 0x0000000000100d88 page_align
+ 0x0000000000100da0 find_partition_para
+ 0x0000000000100dd0 read_image_part_offset
+ 0x0000000000100e24 read_flags_image
+ 0x0000000000100e28 read_uboot_image
+ 0x0000000000100e2c nand_read_m0
+ 0x0000000000100e30 read_zloader_image
+ .text 0x0000000000100e94 0x1a0 drivers/libdrivers.a(efuse.o)
+ 0x0000000000100e94 efuse_init
+ 0x0000000000100eb8 get_ddr_flag
+ 0x0000000000100fbc get_secure_verify_status
+ 0x0000000000101000 get_otp_secure_verify_status
+ .text 0x0000000000101034 0x198 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000000101034 BIG2SMALL
+ 0x0000000000101064 bin2hex
+ 0x00000000001010b0 secure_verify_zloader
+ 0x00000000001011c8 SecureVerify
+ .text 0x00000000001011cc 0x424 drivers/libdrivers.a(nor.o)
+ 0x00000000001011cc spifc_enable
+ 0x00000000001011fc spifc_disable
+ 0x0000000000101220 spifc_setup_cmd
+ 0x00000000001012a4 spifc_wait_cmd_end
+ 0x00000000001012d0 spifc_read_fifo
+ 0x000000000010130c spifc_start
+ 0x000000000010131c cmd_seek
+ 0x000000000010133c nor_read_reg
+ 0x000000000010139c nor_read_id
+ 0x0000000000101404 spi_nor_read
+ 0x0000000000101460 nor_read
+ 0x00000000001014b4 spi_nor_read_security_register
+ 0x0000000000101510 nor_read_security_register
+ 0x0000000000101564 nor_init
+ 0x00000000001015b4 board_flash_init
+ .text 0x00000000001015f0 0xa4 drivers/libdrivers.a(drv_hash.o)
+ 0x00000000001015f0 Hash_Calculate
+ .text 0x0000000000101694 0x174 drivers/libdrivers.a(drv_rsa.o)
+ 0x00000000001016ae Rsa_Calculate
+ .text 0x0000000000101808 0x28 drivers/libdrivers.a(flash.o)
+ 0x0000000000101808 get_boot_mode
+ .text 0x0000000000101830 0x54 cpu/m0/libm0.a(cpu.o)
+ 0x0000000000101830 timer_init
+ 0x0000000000101848 usdelay
+ .text 0x0000000000101884 0x84 cpu/m0/libm0.a(clk.o)
+ 0x0000000000101884 clk_init
+
+.glue_7 0x0000000000101908 0x0
+ .glue_7 0x0000000000000000 0x0 linker stubs
+
+.glue_7t 0x0000000000101908 0x0
+ .glue_7t 0x0000000000000000 0x0 linker stubs
+
+.vfp11_veneer 0x0000000000101908 0x0
+ .vfp11_veneer 0x0000000000000000 0x0 linker stubs
+
+.v4_bx 0x0000000000101908 0x0
+ .v4_bx 0x0000000000000000 0x0 linker stubs
+
+.iplt 0x0000000000101908 0x0
+ .iplt 0x0000000000000000 0x0 cpu/m0/start.o
+ 0x0000000000101908 . = ALIGN (0x4)
+
+.rodata 0x0000000000101908 0x16c
+ *(.rodata)
+ .rodata 0x0000000000101908 0x16c drivers/libdrivers.a(nor.o)
+
+.rodata.str1.1 0x0000000000101a74 0x1cd
+ .rodata.str1.1
+ 0x0000000000101a74 0x2d lib/libarm.a(board.o)
+ .rodata.str1.1
+ 0x0000000000101aa1 0x2a drivers/libdrivers.a(image.o)
+ .rodata.str1.1
+ 0x0000000000101acb 0x17 drivers/libdrivers.a(efuse.o)
+ .rodata.str1.1
+ 0x0000000000101ae2 0x3 drivers/libdrivers.a(secure_verify.o)
+ .rodata.str1.1
+ 0x0000000000101ae5 0x15c drivers/libdrivers.a(nor.o)
+
+.rel.dyn 0x0000000000101c44 0x0
+ .rel.iplt 0x0000000000000000 0x0 cpu/m0/start.o
+ 0x0000000000101c44 . = ALIGN (0x4)
+
+.data 0x0000000000101c44 0x50
+ *(.data)
+ .data 0x0000000000101c44 0x0 cpu/m0/start.o
+ .data 0x0000000000101c44 0x0 lib/libarm.a(board.o)
+ .data 0x0000000000101c44 0x0 lib/libarm.a(string.o)
+ .data 0x0000000000101c44 0x0 drivers/libdrivers.a(ddr.o)
+ .data 0x0000000000101c44 0x0 drivers/libdrivers.a(uart.o)
+ .data 0x0000000000101c44 0x0 drivers/libdrivers.a(image.o)
+ .data 0x0000000000101c44 0x0 drivers/libdrivers.a(efuse.o)
+ .data 0x0000000000101c44 0x0 drivers/libdrivers.a(secure_verify.o)
+ .data 0x0000000000101c44 0x50 drivers/libdrivers.a(nor.o)
+ 0x0000000000101c44 nor_cmd_table
+ .data 0x0000000000101c94 0x0 drivers/libdrivers.a(drv_hash.o)
+ .data 0x0000000000101c94 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .data 0x0000000000101c94 0x0 drivers/libdrivers.a(flash.o)
+ .data 0x0000000000101c94 0x0 cpu/m0/libm0.a(cpu.o)
+ .data 0x0000000000101c94 0x0 cpu/m0/libm0.a(clk.o)
+
+.igot.plt 0x0000000000101c94 0x0
+ .igot.plt 0x0000000000000000 0x0 cpu/m0/start.o
+ 0x0000000000101c94 . = ALIGN (0x4)
+
+.got
+ *(.got)
+ 0x0000000000101c94 . = ALIGN (0x4)
+ 0x0000000000101c94 __bss_start = .
+
+.bss 0x0000000000101c94 0x164
+ *(.bss)
+ .bss 0x0000000000101c94 0x0 cpu/m0/start.o
+ .bss 0x0000000000101c94 0x4 lib/libarm.a(board.o)
+ 0x0000000000101c94 zloader_entry_point
+ .bss 0x0000000000101c98 0x0 lib/libarm.a(string.o)
+ .bss 0x0000000000101c98 0x0 drivers/libdrivers.a(ddr.o)
+ .bss 0x0000000000101c98 0x0 drivers/libdrivers.a(uart.o)
+ .bss 0x0000000000101c98 0x0 drivers/libdrivers.a(image.o)
+ .bss 0x0000000000101c98 0x0 drivers/libdrivers.a(efuse.o)
+ .bss 0x0000000000101c98 0x104 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000000101c98 result
+ .bss 0x0000000000101d9c 0x28 drivers/libdrivers.a(nor.o)
+ 0x0000000000101d9c spi_nor_flash
+ 0x0000000000101da0 otp_data
+ .bss 0x0000000000101dc4 0x0 drivers/libdrivers.a(drv_hash.o)
+ .bss 0x0000000000101dc4 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .bss 0x0000000000101dc4 0x24 drivers/libdrivers.a(flash.o)
+ 0x0000000000101dc4 flash
+ .bss 0x0000000000101de8 0x10 cpu/m0/libm0.a(cpu.o)
+ 0x0000000000101de8 g_tick
+ .bss 0x0000000000101df8 0x0 cpu/m0/libm0.a(clk.o)
+ 0x0000000000101df8 __bss_end = .
+ 0x0000000000101df8 . = ALIGN (0x4)
+
+.para 0x0000000082000000 0x0 加载地址 0x0000000000101df8
+ 0x0000000082000000 __para_start = .
+ *(.para)
+ 0x0000000082000000 __para_end = .
+ 0x0000000082000000 __end = .
+段 .text 的地址设置为 0x100000
+LOAD cpu/m0/start.o
+START GROUP
+LOAD board/zx297520v3/libzx297520v3.a
+LOAD cpu/m0/libm0.a
+LOAD lib/libarm.a
+LOAD drivers/libdrivers.a
+END GROUP
+OUTPUT(z-load elf32-littlearm)
+
+.ARM.attributes
+ 0x0000000000000000 0x10
+ .ARM.attributes
+ 0x0000000000000000 0x10 cpu/m0/start.o
+ .ARM.attributes
+ 0x0000000000000010 0x10 lib/libarm.a(board.o)
+ .ARM.attributes
+ 0x0000000000000020 0x10 lib/libarm.a(string.o)
+ .ARM.attributes
+ 0x0000000000000030 0x10 drivers/libdrivers.a(ddr.o)
+ .ARM.attributes
+ 0x0000000000000040 0x10 drivers/libdrivers.a(uart.o)
+ .ARM.attributes
+ 0x0000000000000050 0x10 drivers/libdrivers.a(image.o)
+ .ARM.attributes
+ 0x0000000000000060 0x10 drivers/libdrivers.a(efuse.o)
+ .ARM.attributes
+ 0x0000000000000070 0x10 drivers/libdrivers.a(secure_verify.o)
+ .ARM.attributes
+ 0x0000000000000080 0x10 drivers/libdrivers.a(nor.o)
+ .ARM.attributes
+ 0x0000000000000090 0x10 drivers/libdrivers.a(drv_hash.o)
+ .ARM.attributes
+ 0x00000000000000a0 0x10 drivers/libdrivers.a(drv_rsa.o)
+ .ARM.attributes
+ 0x00000000000000b0 0x10 drivers/libdrivers.a(flash.o)
+ .ARM.attributes
+ 0x00000000000000c0 0x10 cpu/m0/libm0.a(cpu.o)
+ .ARM.attributes
+ 0x00000000000000d0 0x10 cpu/m0/libm0.a(clk.o)
+
+.comment 0x0000000000000000 0x29
+ .comment 0x0000000000000000 0x29 lib/libarm.a(board.o)
+ 0x2a (松开之前的大小)
+ .comment 0x0000000000000000 0x2a lib/libarm.a(string.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(ddr.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(uart.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(image.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(efuse.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(secure_verify.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(nor.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(drv_hash.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(drv_rsa.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(flash.o)
+ .comment 0x0000000000000000 0x2a cpu/m0/libm0.a(cpu.o)
+ .comment 0x0000000000000000 0x2a cpu/m0/libm0.a(clk.o)
+
+.note.GNU-stack
+ 0x0000000000000000 0x0
+ .note.GNU-stack
+ 0x0000000000000000 0x0 lib/libarm.a(board.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 lib/libarm.a(string.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(ddr.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(uart.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(image.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(efuse.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(secure_verify.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(nor.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(drv_hash.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(flash.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 cpu/m0/libm0.a(cpu.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 cpu/m0/libm0.a(clk.o)
+
+.stab 0x0000000000000000 0x27c
+ .stab 0x0000000000000000 0x27c cpu/m0/start.o
+
+.stabstr 0x0000000000000000 0x67
+ .stabstr 0x0000000000000000 0x67 cpu/m0/start.o
+
+.debug_info 0x0000000000000000 0x340d
+ .debug_info 0x0000000000000000 0x646 lib/libarm.a(board.o)
+ .debug_info 0x0000000000000646 0x22b lib/libarm.a(string.o)
+ .debug_info 0x0000000000000871 0x329 drivers/libdrivers.a(ddr.o)
+ .debug_info 0x0000000000000b9a 0x2a0 drivers/libdrivers.a(uart.o)
+ .debug_info 0x0000000000000e3a 0x6d3 drivers/libdrivers.a(image.o)
+ .debug_info 0x000000000000150d 0x1c3 drivers/libdrivers.a(efuse.o)
+ .debug_info 0x00000000000016d0 0x62d drivers/libdrivers.a(secure_verify.o)
+ .debug_info 0x0000000000001cfd 0xd5f drivers/libdrivers.a(nor.o)
+ .debug_info 0x0000000000002a5c 0x1e8 drivers/libdrivers.a(drv_hash.o)
+ .debug_info 0x0000000000002c44 0x3b4 drivers/libdrivers.a(drv_rsa.o)
+ .debug_info 0x0000000000002ff8 0x20f drivers/libdrivers.a(flash.o)
+ .debug_info 0x0000000000003207 0x17b cpu/m0/libm0.a(cpu.o)
+ .debug_info 0x0000000000003382 0x8b cpu/m0/libm0.a(clk.o)
+
+.debug_abbrev 0x0000000000000000 0x1290
+ .debug_abbrev 0x0000000000000000 0x286 lib/libarm.a(board.o)
+ .debug_abbrev 0x0000000000000286 0xb7 lib/libarm.a(string.o)
+ .debug_abbrev 0x000000000000033d 0x12f drivers/libdrivers.a(ddr.o)
+ .debug_abbrev 0x000000000000046c 0x19e drivers/libdrivers.a(uart.o)
+ .debug_abbrev 0x000000000000060a 0x212 drivers/libdrivers.a(image.o)
+ .debug_abbrev 0x000000000000081c 0x11d drivers/libdrivers.a(efuse.o)
+ .debug_abbrev 0x0000000000000939 0x258 drivers/libdrivers.a(secure_verify.o)
+ .debug_abbrev 0x0000000000000b91 0x280 drivers/libdrivers.a(nor.o)
+ .debug_abbrev 0x0000000000000e11 0xde drivers/libdrivers.a(drv_hash.o)
+ .debug_abbrev 0x0000000000000eef 0x1e2 drivers/libdrivers.a(drv_rsa.o)
+ .debug_abbrev 0x00000000000010d1 0xb5 drivers/libdrivers.a(flash.o)
+ .debug_abbrev 0x0000000000001186 0xc8 cpu/m0/libm0.a(cpu.o)
+ .debug_abbrev 0x000000000000124e 0x42 cpu/m0/libm0.a(clk.o)
+
+.debug_loc 0x0000000000000000 0x1ca7
+ .debug_loc 0x0000000000000000 0x107 lib/libarm.a(board.o)
+ .debug_loc 0x0000000000000107 0x29d lib/libarm.a(string.o)
+ .debug_loc 0x00000000000003a4 0x2d8 drivers/libdrivers.a(ddr.o)
+ .debug_loc 0x000000000000067c 0x228 drivers/libdrivers.a(uart.o)
+ .debug_loc 0x00000000000008a4 0x2ab drivers/libdrivers.a(image.o)
+ .debug_loc 0x0000000000000b4f 0xab drivers/libdrivers.a(efuse.o)
+ .debug_loc 0x0000000000000bfa 0x3ea drivers/libdrivers.a(secure_verify.o)
+ .debug_loc 0x0000000000000fe4 0x80a drivers/libdrivers.a(nor.o)
+ .debug_loc 0x00000000000017ee 0x1b8 drivers/libdrivers.a(drv_hash.o)
+ .debug_loc 0x00000000000019a6 0x238 drivers/libdrivers.a(drv_rsa.o)
+ .debug_loc 0x0000000000001bde 0x1f drivers/libdrivers.a(flash.o)
+ .debug_loc 0x0000000000001bfd 0xaa cpu/m0/libm0.a(cpu.o)
+
+.debug_aranges 0x0000000000000000 0x1a0
+ .debug_aranges
+ 0x0000000000000000 0x20 lib/libarm.a(board.o)
+ .debug_aranges
+ 0x0000000000000020 0x20 lib/libarm.a(string.o)
+ .debug_aranges
+ 0x0000000000000040 0x20 drivers/libdrivers.a(ddr.o)
+ .debug_aranges
+ 0x0000000000000060 0x20 drivers/libdrivers.a(uart.o)
+ .debug_aranges
+ 0x0000000000000080 0x20 drivers/libdrivers.a(image.o)
+ .debug_aranges
+ 0x00000000000000a0 0x20 drivers/libdrivers.a(efuse.o)
+ .debug_aranges
+ 0x00000000000000c0 0x20 drivers/libdrivers.a(secure_verify.o)
+ .debug_aranges
+ 0x00000000000000e0 0x20 drivers/libdrivers.a(nor.o)
+ .debug_aranges
+ 0x0000000000000100 0x20 drivers/libdrivers.a(drv_hash.o)
+ .debug_aranges
+ 0x0000000000000120 0x20 drivers/libdrivers.a(drv_rsa.o)
+ .debug_aranges
+ 0x0000000000000140 0x20 drivers/libdrivers.a(flash.o)
+ .debug_aranges
+ 0x0000000000000160 0x20 cpu/m0/libm0.a(cpu.o)
+ .debug_aranges
+ 0x0000000000000180 0x20 cpu/m0/libm0.a(clk.o)
+
+.debug_ranges 0x0000000000000000 0xc8
+ .debug_ranges 0x0000000000000000 0x18 lib/libarm.a(board.o)
+ .debug_ranges 0x0000000000000018 0x18 drivers/libdrivers.a(ddr.o)
+ .debug_ranges 0x0000000000000030 0x18 drivers/libdrivers.a(uart.o)
+ .debug_ranges 0x0000000000000048 0x20 drivers/libdrivers.a(nor.o)
+ .debug_ranges 0x0000000000000068 0x28 drivers/libdrivers.a(drv_hash.o)
+ .debug_ranges 0x0000000000000090 0x38 drivers/libdrivers.a(drv_rsa.o)
+
+.debug_line 0x0000000000000000 0x1424
+ .debug_line 0x0000000000000000 0x2f0 lib/libarm.a(board.o)
+ .debug_line 0x00000000000002f0 0x152 lib/libarm.a(string.o)
+ .debug_line 0x0000000000000442 0x290 drivers/libdrivers.a(ddr.o)
+ .debug_line 0x00000000000006d2 0x112 drivers/libdrivers.a(uart.o)
+ .debug_line 0x00000000000007e4 0x228 drivers/libdrivers.a(image.o)
+ .debug_line 0x0000000000000a0c 0x118 drivers/libdrivers.a(efuse.o)
+ .debug_line 0x0000000000000b24 0x2ad drivers/libdrivers.a(secure_verify.o)
+ .debug_line 0x0000000000000dd1 0x2a2 drivers/libdrivers.a(nor.o)
+ .debug_line 0x0000000000001073 0x88 drivers/libdrivers.a(drv_hash.o)
+ .debug_line 0x00000000000010fb 0x117 drivers/libdrivers.a(drv_rsa.o)
+ .debug_line 0x0000000000001212 0x10a drivers/libdrivers.a(flash.o)
+ .debug_line 0x000000000000131c 0xa7 cpu/m0/libm0.a(cpu.o)
+ .debug_line 0x00000000000013c3 0x61 cpu/m0/libm0.a(clk.o)
+
+.debug_str 0x0000000000000000 0xe62
+ .debug_str 0x0000000000000000 0x47c lib/libarm.a(board.o)
+ 0x4f6 (松开之前的大小)
+ .debug_str 0x000000000000047c 0x4c lib/libarm.a(string.o)
+ 0x214 (松开之前的大小)
+ .debug_str 0x00000000000004c8 0xa1 drivers/libdrivers.a(ddr.o)
+ 0x216 (松开之前的大小)
+ .debug_str 0x0000000000000569 0x8a drivers/libdrivers.a(uart.o)
+ 0x253 (松开之前的大小)
+ .debug_str 0x00000000000005f3 0x229 drivers/libdrivers.a(image.o)
+ 0x4a0 (松开之前的大小)
+ .debug_str 0x000000000000081c 0x7b drivers/libdrivers.a(efuse.o)
+ 0x255 (松开之前的大小)
+ .debug_str 0x0000000000000897 0x177 drivers/libdrivers.a(secure_verify.o)
+ 0x407 (松开之前的大小)
+ .debug_str 0x0000000000000a0e 0x2c3 drivers/libdrivers.a(nor.o)
+ 0x5f3 (松开之前的大小)
+ .debug_str 0x0000000000000cd1 0x87 drivers/libdrivers.a(drv_hash.o)
+ 0x25a (松开之前的大小)
+ .debug_str 0x0000000000000d58 0x79 drivers/libdrivers.a(drv_rsa.o)
+ 0x29c (松开之前的大小)
+ .debug_str 0x0000000000000dd1 0x12 drivers/libdrivers.a(flash.o)
+ 0x2a8 (松开之前的大小)
+ .debug_str 0x0000000000000de3 0x79 cpu/m0/libm0.a(cpu.o)
+ 0x1f8 (松开之前的大小)
+ .debug_str 0x0000000000000e5c 0x6 cpu/m0/libm0.a(clk.o)
+ 0x1bd (松开之前的大小)
+
+.debug_frame 0x0000000000000000 0x6a0
+ .debug_frame 0x0000000000000000 0xa4 lib/libarm.a(board.o)
+ .debug_frame 0x00000000000000a4 0x68 lib/libarm.a(string.o)
+ .debug_frame 0x000000000000010c 0xac drivers/libdrivers.a(ddr.o)
+ .debug_frame 0x00000000000001b8 0xc0 drivers/libdrivers.a(uart.o)
+ .debug_frame 0x0000000000000278 0xa4 drivers/libdrivers.a(image.o)
+ .debug_frame 0x000000000000031c 0x60 drivers/libdrivers.a(efuse.o)
+ .debug_frame 0x000000000000037c 0x80 drivers/libdrivers.a(secure_verify.o)
+ .debug_frame 0x00000000000003fc 0x1b0 drivers/libdrivers.a(nor.o)
+ .debug_frame 0x00000000000005ac 0x2c drivers/libdrivers.a(drv_hash.o)
+ .debug_frame 0x00000000000005d8 0x4c drivers/libdrivers.a(drv_rsa.o)
+ .debug_frame 0x0000000000000624 0x20 drivers/libdrivers.a(flash.o)
+ .debug_frame 0x0000000000000644 0x30 cpu/m0/libm0.a(cpu.o)
+ .debug_frame 0x0000000000000674 0x2c cpu/m0/libm0.a(clk.o)
diff --git a/boot/prj/zx297520v3/bootrom2/dl_on/z-load2 b/boot/prj/zx297520v3/bootrom2/dl_on/z-load2
new file mode 100755
index 0000000..18a645c
--- /dev/null
+++ b/boot/prj/zx297520v3/bootrom2/dl_on/z-load2
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom2/dl_on/z-load2.map b/boot/prj/zx297520v3/bootrom2/dl_on/z-load2.map
new file mode 100755
index 0000000..877f07a
--- /dev/null
+++ b/boot/prj/zx297520v3/bootrom2/dl_on/z-load2.map
@@ -0,0 +1,513 @@
+Archive member included because of file (symbol)
+
+lib/libarm.a(board.o) cpu/m0/start.o (start_armboot)
+lib/libarm.a(string.o) lib/libarm.a(board.o) (memcpy)
+drivers/libdrivers.a(uart.o) lib/libarm.a(board.o) (uart_puts)
+drivers/libdrivers.a(image.o)
+ lib/libarm.a(board.o) (read_flags_image)
+drivers/libdrivers.a(secure_verify.o)
+ drivers/libdrivers.a(image.o) (secure_verify_zloader)
+drivers/libdrivers.a(spifc_loader2.o)
+ lib/libarm.a(board.o) (zloader_flash_init)
+drivers/libdrivers.a(bbt.o) drivers/libdrivers.a(spifc_loader2.o) (nand_creat_ram_bbt)
+drivers/libdrivers.a(sha256.o)
+ drivers/libdrivers.a(secure_verify.o) (sha256_csum_wd)
+drivers/libdrivers.a(nor.o) lib/libarm.a(board.o) (nor_init)
+drivers/libdrivers.a(ddr.o) drivers/libdrivers.a(spifc_loader2.o) (nsdelay)
+drivers/libdrivers.a(drv_hash.o)
+ drivers/libdrivers.a(secure_verify.o) (Hash_Calculate)
+drivers/libdrivers.a(drv_rsa.o)
+ drivers/libdrivers.a(secure_verify.o) (Rsa_Calculate)
+drivers/libdrivers.a(flash.o)
+ drivers/libdrivers.a(nor.o) (get_boot_mode)
+drivers/libdrivers.a(efuse.o)
+ drivers/libdrivers.a(secure_verify.o) (get_secure_verify_status)
+cpu/m0/libm0.a(cpu.o) lib/libarm.a(board.o) (usdelay)
+
+内存配置
+
+名称 来源 长度 属性
+*default* 0x0000000000000000 0xffffffffffffffff
+
+链结器命令稿和内存映射
+
+ 0x0000000000000000 . = 0x0
+ 0x0000000000000000 . = ALIGN (0x4)
+
+.text 0x0000000020300000 0x4b10
+ cpu/m0/start.o(.text)
+ .text 0x0000000020300000 0x220 cpu/m0/start.o
+ 0x00000000203001a4 _bss_start
+ 0x00000000203001ac _bss_end
+ 0x00000000203001b0 _para_start
+ 0x00000000203001b4 _para_end
+ 0x00000000203001b8 _start
+ 0x00000000203001fe run_at
+ *(.text)
+ .text 0x0000000020300220 0x258 lib/libarm.a(board.o)
+ 0x0000000020300220 print_info
+ 0x0000000020300230 copy_to_iram1
+ 0x0000000020300250 clear_iram
+ 0x0000000020300268 write_loader_mode
+ 0x0000000020300274 hang
+ 0x0000000020300276 usb_apcore_poweroff
+ 0x00000000203002d0 start_armboot
+ .text 0x0000000020300478 0x80 lib/libarm.a(string.o)
+ 0x0000000020300478 strlen
+ 0x0000000020300488 memset
+ 0x00000000203004ca memcmp
+ 0x00000000203004e6 memcpy
+ .text 0x00000000203004f8 0x138 drivers/libdrivers.a(uart.o)
+ 0x00000000203004f8 uart_init
+ 0x0000000020300578 uart_putc
+ 0x00000000203005a0 uart_puts
+ 0x00000000203005b4 uart_getc
+ 0x00000000203005d0 uart_tstc
+ 0x00000000203005e0 UART_Read
+ 0x00000000203005fc UART_Write
+ 0x0000000020300618 UART_Check_Sync
+ .text 0x0000000020300630 0x338 drivers/libdrivers.a(image.o)
+ 0x0000000020300634 page_align
+ 0x000000002030064c find_partition_para
+ 0x000000002030067c read_image_part_offset
+ 0x00000000203006d0 read_flags_image
+ 0x00000000203007b8 read_uboot_image
+ 0x0000000020300898 nand_read_m0
+ 0x0000000020300904 read_zloader_image
+ .text 0x0000000020300968 0x2b0 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000020300986 BIG2SMALL
+ 0x00000000203009b6 bin2hex
+ 0x0000000020300a00 secure_verify_zloader
+ 0x0000000020300af4 SecureVerify
+ .text 0x0000000020300c18 0x648 drivers/libdrivers.a(spifc_loader2.o)
+ 0x0000000020300d0c zDrvGpio_SetFunc
+ 0x0000000020300d44 zDrvGpio_SetDirection
+ 0x0000000020300d94 zDrvGpio_SetOutputValue
+ 0x0000000020300dd0 spi_nand_cs
+ 0x0000000020300e0c spifc_clear_fifo
+ 0x0000000020300e20 spifc_clear_int
+ 0x0000000020300f7c spifc_read_oob
+ 0x0000000020300fc0 spifc_read_page_raw
+ 0x0000000020300ffc spifc_read_page
+ 0x0000000020301078 spifc_read
+ 0x00000000203010bc read_data
+ 0x0000000020301110 read_id
+ 0x0000000020301194 spifc_init
+ 0x0000000020301218 zloader_flash_init
+ .text 0x0000000020301260 0x1c0 drivers/libdrivers.a(bbt.o)
+ 0x00000000203012c0 nand_creat_ram_bbt
+ 0x0000000020301304 nand_search_bbt
+ 0x0000000020301390 nand_creat_bbt
+ 0x000000002030140c nand_block_isbad
+ .text 0x0000000020301420 0x2688 drivers/libdrivers.a(sha256.o)
+ 0x0000000020303940 sha256_starts
+ 0x0000000020303988 sha256_update
+ 0x0000000020303994 sha256_finish
+ 0x0000000020303a80 sha256_csum_wd
+ .text 0x0000000020303aa8 0x424 drivers/libdrivers.a(nor.o)
+ 0x0000000020303aa8 spifc_enable
+ 0x0000000020303ad8 spifc_disable
+ 0x0000000020303afc spifc_setup_cmd
+ 0x0000000020303b80 spifc_wait_cmd_end
+ 0x0000000020303bac spifc_read_fifo
+ 0x0000000020303be8 spifc_start
+ 0x0000000020303bf8 cmd_seek
+ 0x0000000020303c18 nor_read_reg
+ 0x0000000020303c78 nor_read_id
+ 0x0000000020303ce0 spi_nor_read
+ 0x0000000020303d3c nor_read
+ 0x0000000020303d90 spi_nor_read_security_register
+ 0x0000000020303dec nor_read_security_register
+ 0x0000000020303e40 nor_init
+ 0x0000000020303e90 board_flash_init
+ .text 0x0000000020303ecc 0x810 drivers/libdrivers.a(ddr.o)
+ 0x0000000020303ecc nsdelay
+ 0x0000000020303ee6 ddr_clk_init
+ 0x0000000020303efc ddr_phy_init
+ 0x0000000020303ff8 ddr_ctrl_init
+ 0x0000000020304398 ddr_prio_init
+ 0x00000000203044bc ddr_init
+ .text 0x00000000203046dc 0xa4 drivers/libdrivers.a(drv_hash.o)
+ 0x00000000203046dc Hash_Calculate
+ .text 0x0000000020304780 0x174 drivers/libdrivers.a(drv_rsa.o)
+ 0x000000002030479a Rsa_Calculate
+ .text 0x00000000203048f4 0x28 drivers/libdrivers.a(flash.o)
+ 0x00000000203048f4 get_boot_mode
+ .text 0x000000002030491c 0x1a0 drivers/libdrivers.a(efuse.o)
+ 0x000000002030491c efuse_init
+ 0x0000000020304940 get_ddr_flag
+ 0x0000000020304a44 get_secure_verify_status
+ 0x0000000020304a88 get_otp_secure_verify_status
+ .text 0x0000000020304abc 0x54 cpu/m0/libm0.a(cpu.o)
+ 0x0000000020304abc timer_init
+ 0x0000000020304ad4 usdelay
+
+.glue_7 0x0000000020304b10 0x0
+ .glue_7 0x0000000000000000 0x0 linker stubs
+
+.glue_7t 0x0000000020304b10 0x0
+ .glue_7t 0x0000000000000000 0x0 linker stubs
+
+.vfp11_veneer 0x0000000020304b10 0x0
+ .vfp11_veneer 0x0000000000000000 0x0 linker stubs
+
+.v4_bx 0x0000000020304b10 0x0
+ .v4_bx 0x0000000000000000 0x0 linker stubs
+
+.iplt 0x0000000020304b10 0x0
+ .iplt 0x0000000000000000 0x0 cpu/m0/start.o
+ 0x0000000020304b10 . = ALIGN (0x4)
+
+.rodata 0x0000000020304b10 0x3f0
+ *(.rodata)
+ .rodata 0x0000000020304b10 0x270 drivers/libdrivers.a(spifc_loader2.o)
+ .rodata 0x0000000020304d80 0x13 drivers/libdrivers.a(sha256.o)
+ 0x0000000020304d80 sha256_der_prefix
+ *fill* 0x0000000020304d93 0x1
+ .rodata 0x0000000020304d94 0x16c drivers/libdrivers.a(nor.o)
+
+.rodata.str1.1 0x0000000020304f00 0x46f
+ .rodata.str1.1
+ 0x0000000020304f00 0x16c lib/libarm.a(board.o)
+ 0x185 (松开之前的大小)
+ .rodata.str1.1
+ 0x000000002030506c 0xef drivers/libdrivers.a(image.o)
+ 0x115 (松开之前的大小)
+ .rodata.str1.1
+ 0x000000002030515b 0x5b drivers/libdrivers.a(secure_verify.o)
+ 0x5d (松开之前的大小)
+ .rodata.str1.1
+ 0x00000000203051b6 0x3d drivers/libdrivers.a(spifc_loader2.o)
+ 0x4a (松开之前的大小)
+ .rodata.str1.1
+ 0x00000000203051f3 0x9 drivers/libdrivers.a(bbt.o)
+ .rodata.str1.1
+ 0x00000000203051fc 0x15c drivers/libdrivers.a(nor.o)
+ .rodata.str1.1
+ 0x0000000020305358 0x17 drivers/libdrivers.a(efuse.o)
+
+.rel.dyn 0x0000000020305370 0x0
+ .rel.iplt 0x0000000000000000 0x0 cpu/m0/start.o
+ 0x0000000020305370 . = ALIGN (0x4)
+
+.data 0x0000000020305370 0xd0
+ *(.data)
+ .data 0x0000000020305370 0x0 cpu/m0/start.o
+ .data 0x0000000020305370 0x0 lib/libarm.a(board.o)
+ .data 0x0000000020305370 0x0 lib/libarm.a(string.o)
+ .data 0x0000000020305370 0x0 drivers/libdrivers.a(uart.o)
+ .data 0x0000000020305370 0x0 drivers/libdrivers.a(image.o)
+ .data 0x0000000020305370 0x0 drivers/libdrivers.a(secure_verify.o)
+ .data 0x0000000020305370 0x0 drivers/libdrivers.a(spifc_loader2.o)
+ .data 0x0000000020305370 0x40 drivers/libdrivers.a(bbt.o)
+ .data 0x00000000203053b0 0x40 drivers/libdrivers.a(sha256.o)
+ .data 0x00000000203053f0 0x50 drivers/libdrivers.a(nor.o)
+ 0x00000000203053f0 nor_cmd_table
+ .data 0x0000000020305440 0x0 drivers/libdrivers.a(ddr.o)
+ .data 0x0000000020305440 0x0 drivers/libdrivers.a(drv_hash.o)
+ .data 0x0000000020305440 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .data 0x0000000020305440 0x0 drivers/libdrivers.a(flash.o)
+ .data 0x0000000020305440 0x0 drivers/libdrivers.a(efuse.o)
+ .data 0x0000000020305440 0x0 cpu/m0/libm0.a(cpu.o)
+
+.igot.plt 0x0000000020305440 0x0
+ .igot.plt 0x0000000000000000 0x0 cpu/m0/start.o
+ 0x0000000020305440 . = ALIGN (0x4)
+
+.got
+ *(.got)
+ 0x0000000020305440 . = ALIGN (0x4)
+ 0x0000000020305440 __bss_start = .
+
+.bss 0x0000000020305440 0x1e8
+ *(.bss)
+ .bss 0x0000000020305440 0x0 cpu/m0/start.o
+ .bss 0x0000000020305440 0x4 lib/libarm.a(board.o)
+ 0x0000000020305440 zloader_entry_point
+ .bss 0x0000000020305444 0x0 lib/libarm.a(string.o)
+ .bss 0x0000000020305444 0x0 drivers/libdrivers.a(uart.o)
+ .bss 0x0000000020305444 0x0 drivers/libdrivers.a(image.o)
+ .bss 0x0000000020305444 0x104 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000020305444 result
+ .bss 0x0000000020305548 0x4 drivers/libdrivers.a(spifc_loader2.o)
+ .bss 0x000000002030554c 0x80 drivers/libdrivers.a(bbt.o)
+ .bss 0x00000000203055cc 0x0 drivers/libdrivers.a(sha256.o)
+ .bss 0x00000000203055cc 0x28 drivers/libdrivers.a(nor.o)
+ 0x00000000203055cc spi_nor_flash
+ 0x00000000203055d0 otp_data
+ .bss 0x00000000203055f4 0x0 drivers/libdrivers.a(ddr.o)
+ .bss 0x00000000203055f4 0x0 drivers/libdrivers.a(drv_hash.o)
+ .bss 0x00000000203055f4 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .bss 0x00000000203055f4 0x24 drivers/libdrivers.a(flash.o)
+ 0x00000000203055f4 flash
+ .bss 0x0000000020305618 0x0 drivers/libdrivers.a(efuse.o)
+ .bss 0x0000000020305618 0x10 cpu/m0/libm0.a(cpu.o)
+ 0x0000000020305618 g_tick
+ 0x0000000020305628 __bss_end = .
+ 0x0000000020305628 . = ALIGN (0x4)
+
+.para 0x0000000082000000 0x0 加载地址 0x0000000020305628
+ 0x0000000082000000 __para_start = .
+ *(.para)
+ 0x0000000082000000 __para_end = .
+ 0x0000000082000000 __end = .
+段 .text 的地址设置为 0x20300000
+LOAD cpu/m0/start.o
+START GROUP
+LOAD board/zx297520v3/libzx297520v3.a
+LOAD cpu/m0/libm0.a
+LOAD lib/libarm.a
+LOAD drivers/libdrivers.a
+END GROUP
+OUTPUT(z-load elf32-littlearm)
+
+.ARM.attributes
+ 0x0000000000000000 0x10
+ .ARM.attributes
+ 0x0000000000000000 0x10 cpu/m0/start.o
+ .ARM.attributes
+ 0x0000000000000010 0x10 lib/libarm.a(board.o)
+ .ARM.attributes
+ 0x0000000000000020 0x10 lib/libarm.a(string.o)
+ .ARM.attributes
+ 0x0000000000000030 0x10 drivers/libdrivers.a(uart.o)
+ .ARM.attributes
+ 0x0000000000000040 0x10 drivers/libdrivers.a(image.o)
+ .ARM.attributes
+ 0x0000000000000050 0x10 drivers/libdrivers.a(secure_verify.o)
+ .ARM.attributes
+ 0x0000000000000060 0x10 drivers/libdrivers.a(spifc_loader2.o)
+ .ARM.attributes
+ 0x0000000000000070 0x10 drivers/libdrivers.a(bbt.o)
+ .ARM.attributes
+ 0x0000000000000080 0x10 drivers/libdrivers.a(sha256.o)
+ .ARM.attributes
+ 0x0000000000000090 0x10 drivers/libdrivers.a(nor.o)
+ .ARM.attributes
+ 0x00000000000000a0 0x10 drivers/libdrivers.a(ddr.o)
+ .ARM.attributes
+ 0x00000000000000b0 0x10 drivers/libdrivers.a(drv_hash.o)
+ .ARM.attributes
+ 0x00000000000000c0 0x10 drivers/libdrivers.a(drv_rsa.o)
+ .ARM.attributes
+ 0x00000000000000d0 0x10 drivers/libdrivers.a(flash.o)
+ .ARM.attributes
+ 0x00000000000000e0 0x10 drivers/libdrivers.a(efuse.o)
+ .ARM.attributes
+ 0x00000000000000f0 0x10 cpu/m0/libm0.a(cpu.o)
+
+.comment 0x0000000000000000 0x29
+ .comment 0x0000000000000000 0x29 lib/libarm.a(board.o)
+ 0x2a (松开之前的大小)
+ .comment 0x0000000000000000 0x2a lib/libarm.a(string.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(uart.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(image.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(secure_verify.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(spifc_loader2.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(bbt.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(sha256.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(nor.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(ddr.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(drv_hash.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(drv_rsa.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(flash.o)
+ .comment 0x0000000000000000 0x2a drivers/libdrivers.a(efuse.o)
+ .comment 0x0000000000000000 0x2a cpu/m0/libm0.a(cpu.o)
+
+.note.GNU-stack
+ 0x0000000000000000 0x0
+ .note.GNU-stack
+ 0x0000000000000000 0x0 lib/libarm.a(board.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 lib/libarm.a(string.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(uart.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(image.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(secure_verify.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(spifc_loader2.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(bbt.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(sha256.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(nor.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(ddr.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(drv_hash.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(flash.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 drivers/libdrivers.a(efuse.o)
+ .note.GNU-stack
+ 0x0000000000000000 0x0 cpu/m0/libm0.a(cpu.o)
+
+.stab 0x0000000000000000 0x204
+ .stab 0x0000000000000000 0x204 cpu/m0/start.o
+
+.stabstr 0x0000000000000000 0x67
+ .stabstr 0x0000000000000000 0x67 cpu/m0/start.o
+
+.debug_info 0x0000000000000000 0x62eb
+ .debug_info 0x0000000000000000 0x77c lib/libarm.a(board.o)
+ .debug_info 0x000000000000077c 0x22b lib/libarm.a(string.o)
+ .debug_info 0x00000000000009a7 0x2a0 drivers/libdrivers.a(uart.o)
+ .debug_info 0x0000000000000c47 0xd3c drivers/libdrivers.a(image.o)
+ .debug_info 0x0000000000001983 0xb01 drivers/libdrivers.a(secure_verify.o)
+ .debug_info 0x0000000000002484 0x1661 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_info 0x0000000000003ae5 0x70f drivers/libdrivers.a(bbt.o)
+ .debug_info 0x00000000000041f4 0x586 drivers/libdrivers.a(sha256.o)
+ .debug_info 0x000000000000477a 0xd5f drivers/libdrivers.a(nor.o)
+ .debug_info 0x00000000000054d9 0x329 drivers/libdrivers.a(ddr.o)
+ .debug_info 0x0000000000005802 0x1e8 drivers/libdrivers.a(drv_hash.o)
+ .debug_info 0x00000000000059ea 0x3b4 drivers/libdrivers.a(drv_rsa.o)
+ .debug_info 0x0000000000005d9e 0x20f drivers/libdrivers.a(flash.o)
+ .debug_info 0x0000000000005fad 0x1c3 drivers/libdrivers.a(efuse.o)
+ .debug_info 0x0000000000006170 0x17b cpu/m0/libm0.a(cpu.o)
+
+.debug_abbrev 0x0000000000000000 0x1c50
+ .debug_abbrev 0x0000000000000000 0x2c9 lib/libarm.a(board.o)
+ .debug_abbrev 0x00000000000002c9 0xb7 lib/libarm.a(string.o)
+ .debug_abbrev 0x0000000000000380 0x19e drivers/libdrivers.a(uart.o)
+ .debug_abbrev 0x000000000000051e 0x298 drivers/libdrivers.a(image.o)
+ .debug_abbrev 0x00000000000007b6 0x274 drivers/libdrivers.a(secure_verify.o)
+ .debug_abbrev 0x0000000000000a2a 0x48e drivers/libdrivers.a(spifc_loader2.o)
+ .debug_abbrev 0x0000000000000eb8 0x281 drivers/libdrivers.a(bbt.o)
+ .debug_abbrev 0x0000000000001139 0x20e drivers/libdrivers.a(sha256.o)
+ .debug_abbrev 0x0000000000001347 0x280 drivers/libdrivers.a(nor.o)
+ .debug_abbrev 0x00000000000015c7 0x12f drivers/libdrivers.a(ddr.o)
+ .debug_abbrev 0x00000000000016f6 0xde drivers/libdrivers.a(drv_hash.o)
+ .debug_abbrev 0x00000000000017d4 0x1e2 drivers/libdrivers.a(drv_rsa.o)
+ .debug_abbrev 0x00000000000019b6 0xb5 drivers/libdrivers.a(flash.o)
+ .debug_abbrev 0x0000000000001a6b 0x11d drivers/libdrivers.a(efuse.o)
+ .debug_abbrev 0x0000000000001b88 0xc8 cpu/m0/libm0.a(cpu.o)
+
+.debug_loc 0x0000000000000000 0x956d
+ .debug_loc 0x0000000000000000 0x17b lib/libarm.a(board.o)
+ .debug_loc 0x000000000000017b 0x29d lib/libarm.a(string.o)
+ .debug_loc 0x0000000000000418 0x228 drivers/libdrivers.a(uart.o)
+ .debug_loc 0x0000000000000640 0x6a2 drivers/libdrivers.a(image.o)
+ .debug_loc 0x0000000000000ce2 0x790 drivers/libdrivers.a(secure_verify.o)
+ .debug_loc 0x0000000000001472 0xef4 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_loc 0x0000000000002366 0x282 drivers/libdrivers.a(bbt.o)
+ .debug_loc 0x00000000000025e8 0x5f3f drivers/libdrivers.a(sha256.o)
+ .debug_loc 0x0000000000008527 0x80a drivers/libdrivers.a(nor.o)
+ .debug_loc 0x0000000000008d31 0x2d8 drivers/libdrivers.a(ddr.o)
+ .debug_loc 0x0000000000009009 0x1b8 drivers/libdrivers.a(drv_hash.o)
+ .debug_loc 0x00000000000091c1 0x238 drivers/libdrivers.a(drv_rsa.o)
+ .debug_loc 0x00000000000093f9 0x1f drivers/libdrivers.a(flash.o)
+ .debug_loc 0x0000000000009418 0xab drivers/libdrivers.a(efuse.o)
+ .debug_loc 0x00000000000094c3 0xaa cpu/m0/libm0.a(cpu.o)
+
+.debug_aranges 0x0000000000000000 0x1e0
+ .debug_aranges
+ 0x0000000000000000 0x20 lib/libarm.a(board.o)
+ .debug_aranges
+ 0x0000000000000020 0x20 lib/libarm.a(string.o)
+ .debug_aranges
+ 0x0000000000000040 0x20 drivers/libdrivers.a(uart.o)
+ .debug_aranges
+ 0x0000000000000060 0x20 drivers/libdrivers.a(image.o)
+ .debug_aranges
+ 0x0000000000000080 0x20 drivers/libdrivers.a(secure_verify.o)
+ .debug_aranges
+ 0x00000000000000a0 0x20 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_aranges
+ 0x00000000000000c0 0x20 drivers/libdrivers.a(bbt.o)
+ .debug_aranges
+ 0x00000000000000e0 0x20 drivers/libdrivers.a(sha256.o)
+ .debug_aranges
+ 0x0000000000000100 0x20 drivers/libdrivers.a(nor.o)
+ .debug_aranges
+ 0x0000000000000120 0x20 drivers/libdrivers.a(ddr.o)
+ .debug_aranges
+ 0x0000000000000140 0x20 drivers/libdrivers.a(drv_hash.o)
+ .debug_aranges
+ 0x0000000000000160 0x20 drivers/libdrivers.a(drv_rsa.o)
+ .debug_aranges
+ 0x0000000000000180 0x20 drivers/libdrivers.a(flash.o)
+ .debug_aranges
+ 0x00000000000001a0 0x20 drivers/libdrivers.a(efuse.o)
+ .debug_aranges
+ 0x00000000000001c0 0x20 cpu/m0/libm0.a(cpu.o)
+
+.debug_ranges 0x0000000000000000 0x238
+ .debug_ranges 0x0000000000000000 0x18 lib/libarm.a(board.o)
+ .debug_ranges 0x0000000000000018 0x18 drivers/libdrivers.a(uart.o)
+ .debug_ranges 0x0000000000000030 0x140 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_ranges 0x0000000000000170 0x30 drivers/libdrivers.a(bbt.o)
+ .debug_ranges 0x00000000000001a0 0x20 drivers/libdrivers.a(nor.o)
+ .debug_ranges 0x00000000000001c0 0x18 drivers/libdrivers.a(ddr.o)
+ .debug_ranges 0x00000000000001d8 0x28 drivers/libdrivers.a(drv_hash.o)
+ .debug_ranges 0x0000000000000200 0x38 drivers/libdrivers.a(drv_rsa.o)
+
+.debug_line 0x0000000000000000 0x1f96
+ .debug_line 0x0000000000000000 0x304 lib/libarm.a(board.o)
+ .debug_line 0x0000000000000304 0x152 lib/libarm.a(string.o)
+ .debug_line 0x0000000000000456 0x112 drivers/libdrivers.a(uart.o)
+ .debug_line 0x0000000000000568 0x3b8 drivers/libdrivers.a(image.o)
+ .debug_line 0x0000000000000920 0x38e drivers/libdrivers.a(secure_verify.o)
+ .debug_line 0x0000000000000cae 0x442 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_line 0x00000000000010f0 0x251 drivers/libdrivers.a(bbt.o)
+ .debug_line 0x0000000000001341 0x2bb drivers/libdrivers.a(sha256.o)
+ .debug_line 0x00000000000015fc 0x2a2 drivers/libdrivers.a(nor.o)
+ .debug_line 0x000000000000189e 0x290 drivers/libdrivers.a(ddr.o)
+ .debug_line 0x0000000000001b2e 0x88 drivers/libdrivers.a(drv_hash.o)
+ .debug_line 0x0000000000001bb6 0x117 drivers/libdrivers.a(drv_rsa.o)
+ .debug_line 0x0000000000001ccd 0x10a drivers/libdrivers.a(flash.o)
+ .debug_line 0x0000000000001dd7 0x118 drivers/libdrivers.a(efuse.o)
+ .debug_line 0x0000000000001eef 0xa7 cpu/m0/libm0.a(cpu.o)
+
+.debug_str 0x0000000000000000 0x1565
+ .debug_str 0x0000000000000000 0x4a7 lib/libarm.a(board.o)
+ 0x518 (松开之前的大小)
+ .debug_str 0x00000000000004a7 0x3f lib/libarm.a(string.o)
+ 0x214 (松开之前的大小)
+ .debug_str 0x00000000000004e6 0xe2 drivers/libdrivers.a(uart.o)
+ 0x253 (松开之前的大小)
+ .debug_str 0x00000000000005c8 0x35b drivers/libdrivers.a(image.o)
+ 0x808 (松开之前的大小)
+ .debug_str 0x0000000000000923 0x2f9 drivers/libdrivers.a(secure_verify.o)
+ 0x61f (松开之前的大小)
+ .debug_str 0x0000000000000c1c 0x3cc drivers/libdrivers.a(spifc_loader2.o)
+ 0x6c1 (松开之前的大小)
+ .debug_str 0x0000000000000fe8 0x103 drivers/libdrivers.a(bbt.o)
+ 0x3fe (松开之前的大小)
+ .debug_str 0x00000000000010eb 0xc3 drivers/libdrivers.a(sha256.o)
+ 0x2b7 (松开之前的大小)
+ .debug_str 0x00000000000011ae 0x1ad drivers/libdrivers.a(nor.o)
+ 0x5f3 (松开之前的大小)
+ .debug_str 0x000000000000135b 0x54 drivers/libdrivers.a(ddr.o)
+ 0x216 (松开之前的大小)
+ .debug_str 0x00000000000013af 0x87 drivers/libdrivers.a(drv_hash.o)
+ 0x25a (松开之前的大小)
+ .debug_str 0x0000000000001436 0x79 drivers/libdrivers.a(drv_rsa.o)
+ 0x29c (松开之前的大小)
+ .debug_str 0x00000000000014af 0x12 drivers/libdrivers.a(flash.o)
+ 0x2a8 (松开之前的大小)
+ .debug_str 0x00000000000014c1 0x20 drivers/libdrivers.a(efuse.o)
+ 0x255 (松开之前的大小)
+ .debug_str 0x00000000000014e1 0x84 cpu/m0/libm0.a(cpu.o)
+ 0x1f8 (松开之前的大小)
+
+.debug_frame 0x0000000000000000 0xa90
+ .debug_frame 0x0000000000000000 0xb0 lib/libarm.a(board.o)
+ .debug_frame 0x00000000000000b0 0x68 lib/libarm.a(string.o)
+ .debug_frame 0x0000000000000118 0xc0 drivers/libdrivers.a(uart.o)
+ .debug_frame 0x00000000000001d8 0xec drivers/libdrivers.a(image.o)
+ .debug_frame 0x00000000000002c4 0xb0 drivers/libdrivers.a(secure_verify.o)
+ .debug_frame 0x0000000000000374 0x23c drivers/libdrivers.a(spifc_loader2.o)
+ .debug_frame 0x00000000000005b0 0xa0 drivers/libdrivers.a(bbt.o)
+ .debug_frame 0x0000000000000650 0xbc drivers/libdrivers.a(sha256.o)
+ .debug_frame 0x000000000000070c 0x1b0 drivers/libdrivers.a(nor.o)
+ .debug_frame 0x00000000000008bc 0xac drivers/libdrivers.a(ddr.o)
+ .debug_frame 0x0000000000000968 0x2c drivers/libdrivers.a(drv_hash.o)
+ .debug_frame 0x0000000000000994 0x4c drivers/libdrivers.a(drv_rsa.o)
+ .debug_frame 0x00000000000009e0 0x20 drivers/libdrivers.a(flash.o)
+ .debug_frame 0x0000000000000a00 0x60 drivers/libdrivers.a(efuse.o)
+ .debug_frame 0x0000000000000a60 0x30 cpu/m0/libm0.a(cpu.o)
diff --git a/boot/prj/zx297520v3/bootrom2/dl_on/zloader.bin b/boot/prj/zx297520v3/bootrom2/dl_on/zloader.bin
new file mode 100755
index 0000000..3425f47
--- /dev/null
+++ b/boot/prj/zx297520v3/bootrom2/dl_on/zloader.bin
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom2/merge_boorom.sh b/boot/prj/zx297520v3/bootrom2/merge_boorom.sh
new file mode 100755
index 0000000..3a077d4
--- /dev/null
+++ b/boot/prj/zx297520v3/bootrom2/merge_boorom.sh
@@ -0,0 +1,42 @@
+#!/bin/bash
+
+CURR_DIR=`pwd`
+TOP_DIR=$CURR_DIR/../../../..
+
+rm $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_on/zloader_tmp.bin
+rm $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_off/zloader_tmp.bin
+rm $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_on/loader2_tmp.bin
+rm $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_off/loader2_tmp.bin
+rm $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_on/bootrom.bin
+rm $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_off/bootrom.bin
+
+
+cp -rvf $TOP_DIR/boot/prj/zx297520v3/vehicle_dc/bin/dl_on/zloader_tmp.bin $TOP_DIR/boot/prj/zx297520v3/vehicle_dc/bin/dl_on/zloader.bin
+cp -rvf $TOP_DIR/boot/prj/zx297520v3/vehicle_dc/bin/dl_off/zloader_tmp.bin $TOP_DIR/boot/prj/zx297520v3/vehicle_dc/bin/dl_off/zloader.bin
+cp -rvf $TOP_DIR/boot/prj/zx297520v3/vehicle_dc_ref/bin/dl_on/zloader_tmp.bin $TOP_DIR/boot/prj/zx297520v3/vehicle_dc_ref/bin/dl_on/zloader.bin
+cp -rvf $TOP_DIR/boot/prj/zx297520v3/vehicle_dc_ref/bin/dl_off/zloader_tmp.bin $TOP_DIR/boot/prj/zx297520v3/vehicle_dc_ref/bin/dl_off/zloader.bin
+
+rm $TOP_DIR/boot/prj/zx297520v3/vehicle_dc/bin/dl_on/zloader_tmp.bin
+rm $TOP_DIR/boot/prj/zx297520v3/vehicle_dc_ref/bin/dl_on/zloader_tmp.bin
+rm $TOP_DIR/boot/prj/zx297520v3/vehicle_dc/bin/dl_off/zloader_tmp.bin
+rm $TOP_DIR/boot/prj/zx297520v3/vehicle_dc_ref/bin/dl_off/zloader_tmp.bin
+
+
+dd if=$TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_on/zloader.bin of=$TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_on/zloader_tmp.bin bs=8192 conv=sync
+dd if=$TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_off/zloader.bin of=$TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_off/zloader_tmp.bin bs=8192 conv=sync
+dd if=$TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_on/loader2.bin of=$TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_on/loader2_tmp.bin bs=24576 conv=sync
+dd if=$TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_off/loader2.bin of=$TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_off/loader2_tmp.bin bs=24576 conv=sync
+dd if=$TOP_DIR/boot/prj/zx297520v3/vehicle_dc/bin/dl_on/zloader.bin of=$TOP_DIR/boot/prj/zx297520v3/vehicle_dc/bin/dl_on/zloader_tmp.bin bs=8192 conv=sync
+dd if=$TOP_DIR/boot/prj/zx297520v3/vehicle_dc_ref/bin/dl_on/zloader.bin of=$TOP_DIR/boot/prj/zx297520v3/vehicle_dc_ref/bin/dl_on/zloader_tmp.bin bs=8192 conv=sync
+dd if=$TOP_DIR/boot/prj/zx297520v3/vehicle_dc/bin/dl_off/zloader.bin of=$TOP_DIR/boot/prj/zx297520v3/vehicle_dc/bin/dl_off/zloader_tmp.bin bs=8192 conv=sync
+dd if=$TOP_DIR/boot/prj/zx297520v3/vehicle_dc_ref/bin/dl_off/zloader.bin of=$TOP_DIR/boot/prj/zx297520v3/vehicle_dc_ref/bin/dl_off/zloader_tmp.bin bs=8192 conv=sync
+
+
+cat $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_on/zloader_tmp.bin $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_on/loader2_tmp.bin > $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_on/bootrom.bin
+cat $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_on/bootrom.bin $TOP_DIR/boot/prj/zx297520v3/vehicle_dc/bin/dl_on/zloader_tmp.bin > $TOP_DIR/boot/prj/zx297520v3/vehicle_dc/bin/dl_on/zloader.bin
+cat $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_on/bootrom.bin $TOP_DIR/boot/prj/zx297520v3/vehicle_dc_ref/bin/dl_on/zloader_tmp.bin > $TOP_DIR/boot/prj/zx297520v3/vehicle_dc_ref/bin/dl_on/zloader.bin
+
+cat $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_off/zloader_tmp.bin $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_off/loader2_tmp.bin > $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_off/bootrom.bin
+cat $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_off/bootrom.bin $TOP_DIR/boot/prj/zx297520v3/vehicle_dc/bin/dl_off/zloader_tmp.bin > $TOP_DIR/boot/prj/zx297520v3/vehicle_dc/bin/dl_off/zloader.bin
+cat $TOP_DIR/boot/prj/zx297520v3/bootrom2/dl_off/bootrom.bin $TOP_DIR/boot/prj/zx297520v3/vehicle_dc_ref/bin/dl_off/zloader_tmp.bin > $TOP_DIR/boot/prj/zx297520v3/vehicle_dc_ref/bin/dl_off/zloader.bin
+