Merge "[Feature][ZXW-237]merge 4Gb DDR patch"
diff --git a/boot/common/src/loader/drivers/ddr.c b/boot/common/src/loader/drivers/ddr.c
old mode 100644
new mode 100755
index 0bcec12..15b91f3
--- a/boot/common/src/loader/drivers/ddr.c
+++ b/boot/common/src/loader/drivers/ddr.c
@@ -496,7 +496,7 @@
else
{
#if _DDR_BYPASS_MODE
- if(flag == CHIP_DDR_IS_256M)
+ if((flag == CHIP_DDR_IS_256M)||(flag == CHIP_DDR_IS_512M))
__REG( 0x00150064 ) = 0x00130014 ; //VALUE_RFSHTMG / t_rfc_nom_x32(trefi):RW:16:12:=0x13 lpddr3_trefbw_en:RW:15:1:=0x0 t_rfc_min:RW:0:9:=0x0a
else
__REG( 0x00150064 ) = 0x00260014 ; //VALUE_RFSHTMG / t_rfc_nom_x32(trefi):RW:16:12:=0x26 lpddr3_trefbw_en:RW:15:1:=0x0 t_rfc_min:RW:0:9:=0x14
@@ -529,7 +529,7 @@
__REG( 0x00150184 ) = 0x00800100 ; //VALUE_ZQCTL1 / t_zq_reset_nop:RW:20:10:=0x8 t_zq_short_interval_x1024:RW:0:20:=0x100
#else
- if(flag == CHIP_DDR_IS_256M)
+ if((flag == CHIP_DDR_IS_256M)||(flag == CHIP_DDR_IS_512M))
__REG( 0x00150064 ) = 0x0018001a ; //VALUE_RFSHTMG / t_rfc_nom_x32(trefi):RW:16:12:=0x18 lpddr3_trefbw_en:RW:15:1:=0x0 t_rfc_min:RW:0:9:=0x0d
else
__REG( 0x00150064 ) = 0x0030001a ; //VALUE_RFSHTMG / t_rfc_nom_x32(trefi):RW:16:12:=0x26 lpddr3_trefbw_en:RW:15:1:=0x0 t_rfc_min:RW:0:9:=0x14
@@ -590,6 +590,20 @@
__REG( 0x00150210 ) = 0x00000f0f ; //VALUE_ADDRMAP4 / addrmap_col_b11:RW:8:4:=0xf addrmap_col_b10:RW:0:4:=0xf
}
+ else if((flag == CHIP_DDR_IS_128M)||(flag == CHIP_DDR_IS_256M))
+ {
+ __REG( 0x00150204 ) = 0x00070707 ; //VALUE_ADDRMAP1 / addrmap_bank_b2:RW:16:4:=0x7 addrmap_bank_b1:RW:8:4:=0x7 addrmap_bank_b0:RW:0:4:=0x7
+ __REG( 0x00150208 ) = 0x00000000 ; //VALUE_ADDRMAP2 / addrmap_col_b5:RW:24:4:=0x0 addrmap_col_b4:RW:16:4:=0x0 addrmap_col_b3:RW:8:4:=0x0 addrmap_col_b2:RW:0:4:=0x0
+ __REG( 0x0015020c ) = 0x0f000000 ; //VALUE_ADDRMAP3 / addrmap_col_b9:RW:24:4:=0xf addrmap_col_b8:RW:16:4:=0x0 addrmap_col_b7:RW:8:4:=0x0 addrmap_col_b6:RW:0:4:=0x0
+ __REG( 0x00150210 ) = 0x00000f0f ; //VALUE_ADDRMAP4 / addrmap_col_b11:RW:8:4:=0xf addrmap_col_b10:RW:0:4:=0xf
+
+ }
+ else if(flag == CHIP_DDR_IS_512M){
+ __REG( 0x00150204 ) = 0x00080808 ; //VALUE_ADDRMAP1 / addrmap_bank_b2:RW:16:4:=0x7 addrmap_bank_b1:RW:8:4:=0x7 addrmap_bank_b0:RW:0:4:=0x7
+ __REG( 0x00150208 ) = 0x00000000 ; //VALUE_ADDRMAP2 / addrmap_col_b5:RW:24:4:=0x0 addrmap_col_b4:RW:16:4:=0x0 addrmap_col_b3:RW:8:4:=0x0 addrmap_col_b2:RW:0:4:=0x0
+ __REG( 0x0015020c ) = 0x00000000 ; //VALUE_ADDRMAP3 / addrmap_col_b9:RW:24:4:=0x0 addrmap_col_b8:RW:16:4:=0x0 addrmap_col_b7:RW:8:4:=0x0 addrmap_col_b6:RW:0:4:=0x0
+ __REG( 0x00150210 ) = 0x00000f0f ; //VALUE_ADDRMAP4 / addrmap_col_b11:RW:8:4:=0xf addrmap_col_b10:RW:0:4:=0xf
+ }
else
{
__REG( 0x00150204 ) = 0x00070707 ; //VALUE_ADDRMAP1 / addrmap_bank_b2:RW:16:4:=0x7 addrmap_bank_b1:RW:8:4:=0x7 addrmap_bank_b0:RW:0:4:=0x7
@@ -609,12 +623,21 @@
__REG( 0x00150214 ) = 0x05050505 ; //VALUE_ADDRMAP5 / addrmap_row_b11:RW:24:4:=0x6 addrmap_row_b2_10:RW:16:4:=0x6 addrmap_row_b1:RW:8:4:=0x6 addrmap_row_b0:RW:0:4:=0x6
__REG( 0x00150218 ) = 0x0f0f0f05 ; //VALUE_ADDRMAP6 / addrmap_row_b15:RW:24:4:=0xf addrmap_row_b14:RW:16:4:=0xf addrmap_row_b13:RW:8:4:=0xf addrmap_row_b12:RW:0:4:=0x6
}
-
+ else if(flag == CHIP_DDR_IS_128M)
+ {
+ __REG( 0x00150214 ) = 0x06060606 ; //VALUE_ADDRMAP5 / addrmap_row_b11:RW:24:4:=0x6 addrmap_row_b2_10:RW:16:4:=0x6 addrmap_row_b1:RW:8:4:=0x6 addrmap_row_b0:RW:0:4:=0x6
+ __REG( 0x00150218 ) = 0x0f0f0f06 ; //VALUE_ADDRMAP6 / addrmap_row_b15:RW:24:4:=0xf addrmap_row_b14:RW:16:4:=0xf addrmap_row_b13:RW:8:4:=0xf addrmap_row_b12:RW:0:4:=0x6
+ }
else if(flag == CHIP_DDR_IS_256M)
{
__REG( 0x00150214 ) = 0x06060606 ; //VALUE_ADDRMAP5 / addrmap_row_b11:RW:24:4:=0x6 addrmap_row_b2_10:RW:16:4:=0x6 addrmap_row_b1:RW:8:4:=0x6 addrmap_row_b0:RW:0:4:=0x6
__REG( 0x00150218 ) = 0x0f0f0606 ; //VALUE_ADDRMAP6 / addrmap_row_b15:RW:24:4:=0xf addrmap_row_b14:RW:16:4:=0xf addrmap_row_b13:RW:8:4:=0x6 addrmap_row_b12:RW:0:4:=0x6
}
+ else if(flag == CHIP_DDR_IS_512M)
+ {
+ __REG( 0x00150214 ) = 0x07070707 ; //VALUE_ADDRMAP5 / addrmap_row_b11:RW:24:4:=0x6 addrmap_row_b2_10:RW:16:4:=0x6 addrmap_row_b1:RW:8:4:=0x6 addrmap_row_b0:RW:0:4:=0x6
+ __REG( 0x00150218 ) = 0x0f0f0707 ; //VALUE_ADDRMAP6 / addrmap_row_b15:RW:24:4:=0xf addrmap_row_b14:RW:16:4:=0xf addrmap_row_b13:RW:8:4:=0x6 addrmap_row_b12:RW:0:4:=0x6
+ }
else
{
__REG( 0x00150214 ) = 0x06060606 ; //VALUE_ADDRMAP5 / addrmap_row_b11:RW:24:4:=0x6 addrmap_row_b2_10:RW:16:4:=0x6 addrmap_row_b1:RW:8:4:=0x6 addrmap_row_b0:RW:0:4:=0x6
diff --git a/boot/common/src/loader/drivers/efuse.c b/boot/common/src/loader/drivers/efuse.c
index 2b2cc08..ae3ebd3 100755
--- a/boot/common/src/loader/drivers/efuse.c
+++ b/boot/common/src/loader/drivers/efuse.c
@@ -53,6 +53,11 @@
{
ddr_flag = CHIP_DDR_256M;
}
+ else if(((psEfuseInfo->secure_flag >> 8) == ZX297520V3ECOSCC_GW_NYB_4G_DDR)
+ ||((psEfuseInfo->secure_flag >> 8) == ZX297520V3ECOGG_GW_NYB_4G_DDR))
+ {
+ ddr_flag = CHIP_DDR_512M;
+ }
else
{
ddr_flag = CHIP_DDR_128M;
diff --git a/boot/common/src/loader/lib/board.c b/boot/common/src/loader/lib/board.c
index 0a55f70..f6651cb 100755
--- a/boot/common/src/loader/lib/board.c
+++ b/boot/common/src/loader/lib/board.c
@@ -199,10 +199,18 @@
else if(get_ddr_flag() == CHIP_DDR_IS_128M)
{
ddr_init(CHIP_DDR_IS_128M);
+ }
+ else if(get_ddr_flag() == CHIP_DDR_IS_256M)
+ {
+ ddr_init(CHIP_DDR_IS_256M);
+ }
+ else if(get_ddr_flag() == CHIP_DDR_IS_512M)
+ {
+ ddr_init(CHIP_DDR_IS_512M);
}
else
{
- ddr_init(CHIP_DDR_IS_256M);
+ ddr_init(CHIP_DDR_IS_128M);
}
usb_apcore_poweroff();
@@ -377,10 +385,18 @@
else if(get_ddr_flag() == CHIP_DDR_IS_128M)
{
ddr_init(CHIP_DDR_IS_128M);
+ }
+ else if(get_ddr_flag() == CHIP_DDR_IS_256M)
+ {
+ ddr_init(CHIP_DDR_IS_256M);
+ }
+ else if(get_ddr_flag() == CHIP_DDR_IS_512M)
+ {
+ ddr_init(CHIP_DDR_IS_512M);
}
else
{
- ddr_init(CHIP_DDR_IS_256M);
+ ddr_init(CHIP_DDR_IS_128M);
}
diff --git a/boot/common/src/uboot/arch/arm/lib/bootm.c b/boot/common/src/uboot/arch/arm/lib/bootm.c
index 41cc4c1..914259d 100755
--- a/boot/common/src/uboot/arch/arm/lib/bootm.c
+++ b/boot/common/src/uboot/arch/arm/lib/bootm.c
@@ -302,6 +302,11 @@
size[bank] = DDR_BASE_LEN_CAP + 0x8000000;
reg32(IRAM_BASE_ADDR_BOOT_DDR) = (DDR_BASE_LEN_CAP + 0x8000000);
}
+ else if(g_ddr_size_flag == CHIP_DDR_IS_512M)
+ {
+ size[bank] = DDR_BASE_LEN_CAP + 0x18000000;
+ reg32(IRAM_BASE_ADDR_BOOT_DDR) = (DDR_BASE_LEN_CAP + 0x18000000);
+ }
else
{
debug("ddr size is error.\n");
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 0c2138f..23bf246 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
@@ -982,10 +982,18 @@
else if(g_ddr_size_flag == CHIP_DDR_IS_128M)
{
g_sys_kernel_sdram_size = CONFIG_SYS_SDRAM128_RECOVERY_A9_SIZE;
+ }
+ else if(g_ddr_size_flag == CHIP_DDR_IS_256M)
+ {
+ g_sys_kernel_sdram_size = CONFIG_SYS_SDRAM256_RECOVERY_A9_SIZE;
+ }
+ else if(g_ddr_size_flag == CHIP_DDR_IS_512M)
+ {
+ g_sys_kernel_sdram_size = CONFIG_SYS_SDRAM512_RECOVERY_A9_SIZE;
}
else
{
- g_sys_kernel_sdram_size = CONFIG_SYS_SDRAM256_RECOVERY_A9_SIZE;
+ g_sys_kernel_sdram_size = CONFIG_SYS_SDRAM128_RECOVERY_A9_SIZE;
}
ret = fs_load_arm_image_linux(ARM_RECOVERY_USERDATA_IMAGE); /*FOTA-UPDATE*/
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 27dfc10..0872ca4 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
@@ -982,10 +982,18 @@
else if(g_ddr_size_flag == CHIP_DDR_IS_128M)
{
g_sys_kernel_sdram_size = CONFIG_SYS_SDRAM128_RECOVERY_A9_SIZE;
+ }
+ else if(g_ddr_size_flag == CHIP_DDR_IS_256M)
+ {
+ g_sys_kernel_sdram_size = CONFIG_SYS_SDRAM256_RECOVERY_A9_SIZE;
+ }
+ else if(g_ddr_size_flag == CHIP_DDR_IS_512M)
+ {
+ g_sys_kernel_sdram_size = CONFIG_SYS_SDRAM512_RECOVERY_A9_SIZE;
}
else
{
- g_sys_kernel_sdram_size = CONFIG_SYS_SDRAM256_RECOVERY_A9_SIZE;
+ g_sys_kernel_sdram_size = CONFIG_SYS_SDRAM128_RECOVERY_A9_SIZE;
}
ret = fs_load_arm_image_linux(ARM_RECOVERY_USERDATA_IMAGE); /*FOTA-UPDATE*/
diff --git a/boot/common/src/uboot/downloader/cmd_efuse_program.c b/boot/common/src/uboot/downloader/cmd_efuse_program.c
index ffd2e8f..ddc2275 100755
--- a/boot/common/src/uboot/downloader/cmd_efuse_program.c
+++ b/boot/common/src/uboot/downloader/cmd_efuse_program.c
@@ -37,6 +37,7 @@
#define BOARD_TYPE_ZX297520V3E32M 0x1
#define BOARD_TYPE_ZX297520V3E64M 0x2
#define BOARD_TYPE_ZX297520V3E256M 0x3
+#define BOARD_TYPE_ZX297520V3E512M 0x4
#define BOARD_TYPE_UNKNOWN 0xFF
@@ -249,6 +250,12 @@
{
printf("chip_flag=0x%x board_type is V3E.\n", chip_flag);
board_type = BOARD_TYPE_ZX297520V3E256M;
+ }
+ else if((chip_flag == ZX297520V3ECOSCC_GW_NYB_4G_DDR)
+ ||(chip_flag == ZX297520V3ECOGG_GW_NYB_4G_DDR))
+ {
+ printf("chip_flag=0x%x board_type is V3E.\n", chip_flag);
+ board_type = BOARD_TYPE_ZX297520V3E512M;
}
else if((chip_flag == ZX297520V3ECO_GW_WINBD_256M_DDR)
||(chip_flag == ZX297520V3ECO_GW_UNILC_256M_DDR)
diff --git a/boot/common/src/uboot/drivers/efuse/efuse.c b/boot/common/src/uboot/drivers/efuse/efuse.c
index 9d0937e..30bf2b3 100755
--- a/boot/common/src/uboot/drivers/efuse/efuse.c
+++ b/boot/common/src/uboot/drivers/efuse/efuse.c
@@ -238,6 +238,12 @@
{
g_ddr_size_flag = CHIP_DDR_IS_256M;
BOOT_PRINTF(UBOOT_NOTICE, "secure_flag=0x%x.\n", psEfuseInfo->secure_flag);
+ }
+ else if(((psEfuseInfo->secure_flag >> 8) == ZX297520V3ECOSCC_GW_NYB_4G_DDR)
+ ||((psEfuseInfo->secure_flag >> 8) == ZX297520V3ECOGG_GW_NYB_4G_DDR))
+ {
+ g_ddr_size_flag = CHIP_DDR_IS_512M;
+ BOOT_PRINTF(UBOOT_NOTICE, "secure_flag=0x%x.\n", psEfuseInfo->secure_flag);
}
else
{
diff --git a/boot/common/src/uboot/drivers/mtd/nand/nand.c b/boot/common/src/uboot/drivers/mtd/nand/nand.c
index 92aa855..5c471ca 100755
--- a/boot/common/src/uboot/drivers/mtd/nand/nand.c
+++ b/boot/common/src/uboot/drivers/mtd/nand/nand.c
@@ -167,7 +167,9 @@
if(one_flag == 0){
/*¶ÁȡоƬid*/
if((reg32(0x0121b040)>>8) == ZX297520V3ECOGG_GW_NYC_NOR_2G_DDR
- ||(reg32(0x0121b040)>>8) == ZX297520V3ECOSC_GW_NYC_NOR_2G_DDR)
+ ||(reg32(0x0121b040)>>8) == ZX297520V3ECOSC_GW_NYC_NOR_2G_DDR
+ ||(reg32(0x0121b040)>>8) == ZX297520V3ECOSCC_GW_NYB_4G_DDR
+ ||(reg32(0x0121b040)>>8) == ZX297520V3ECOGG_GW_NYB_4G_DDR)
{
g_nor_flag = 1;
efuse_get_data();
diff --git a/boot/common/src/uboot/include/configs/zx297520v3.h b/boot/common/src/uboot/include/configs/zx297520v3.h
index ea771fa..b947ab2 100755
--- a/boot/common/src/uboot/include/configs/zx297520v3.h
+++ b/boot/common/src/uboot/include/configs/zx297520v3.h
@@ -160,9 +160,13 @@
#define CONFIG_SYS_SDRAM128_A9_SIZE 0x07BC0000 //123.75M
#define CONFIG_SYS_SDRAM128_RECOVERY_A9_SIZE 0x08000000
-#define CONFIG_SYS_SDRAM256_A9_SIZE 0x0FBC0000 //251S.75M
+#define CONFIG_SYS_SDRAM256_A9_SIZE 0x0FBC0000 //251.75M
#define CONFIG_SYS_SDRAM256_RECOVERY_A9_SIZE 0x10000000
+
+#define CONFIG_SYS_SDRAM512_A9_SIZE 0x1FBC0000 //507.75M
+#define CONFIG_SYS_SDRAM512_RECOVERY_A9_SIZE 0x20000000
+
#define AMT_MODE_FLAG 0x544D
diff --git a/boot/prj/zx297520v3/bootrom/dl_off/loader2.bin b/boot/prj/zx297520v3/bootrom/dl_off/loader2.bin
index f9071ec..4a7d48e 100755
--- a/boot/prj/zx297520v3/bootrom/dl_off/loader2.bin
+++ b/boot/prj/zx297520v3/bootrom/dl_off/loader2.bin
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom/dl_off/z-load b/boot/prj/zx297520v3/bootrom/dl_off/z-load
index f07109e..11bd1dd 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 24acb88..fb2ebb9 100755
--- a/boot/prj/zx297520v3/bootrom/dl_off/z-load.map
+++ b/boot/prj/zx297520v3/bootrom/dl_off/z-load.map
@@ -30,7 +30,7 @@
0x0000000000000000 . = 0x0
0x0000000000000000 . = ALIGN (0x4)
-.text 0x0000000000100000 0x18d4
+.text 0x0000000000100000 0x191c
cpu/m0/start.o(.text)
.text 0x0000000000100000 0x248 cpu/m0/start.o
0x00000000001001a4 _bss_start
@@ -40,7 +40,7 @@
0x00000000001001b8 _start
0x0000000000100216 run_at
*(.text)
- .text 0x0000000000100248 0x144 lib/libarm.a(board.o)
+ .text 0x0000000000100248 0x154 lib/libarm.a(board.o)
0x0000000000100248 print_info
0x0000000000100258 copy_to_iram1
0x0000000000100278 clear_iram
@@ -48,162 +48,162 @@
0x000000000010029c hang
0x000000000010029e usb_apcore_poweroff
0x00000000001002f8 start_armboot
- .text 0x000000000010038c 0x80 lib/libarm.a(string.o)
- 0x000000000010038c strlen
- 0x000000000010039c memset
- 0x00000000001003de memcmp
- 0x00000000001003fa memcpy
- .text 0x000000000010040c 0x810 drivers/libdrivers.a(ddr.o)
- 0x000000000010040c nsdelay
- 0x0000000000100426 ddr_clk_init
- 0x000000000010043c ddr_phy_init
- 0x0000000000100538 ddr_ctrl_init
- 0x00000000001008d8 ddr_prio_init
- 0x00000000001009fc ddr_init
- .text 0x0000000000100c1c 0x138 drivers/libdrivers.a(uart.o)
- 0x0000000000100c1c uart_init
- 0x0000000000100c9c uart_putc
- 0x0000000000100cc4 uart_puts
- 0x0000000000100cd8 uart_getc
- 0x0000000000100cf4 uart_tstc
- 0x0000000000100d04 UART_Read
- 0x0000000000100d20 UART_Write
- 0x0000000000100d3c UART_Check_Sync
- .text 0x0000000000100d54 0x10c drivers/libdrivers.a(image.o)
- 0x0000000000100d54 page_align
- 0x0000000000100d6c find_partition_para
- 0x0000000000100d9c read_image_part_offset
- 0x0000000000100df0 read_flags_image
- 0x0000000000100df4 read_uboot_image
- 0x0000000000100df8 nand_read_m0
- 0x0000000000100dfc read_zloader_image
- .text 0x0000000000100e60 0x1a0 drivers/libdrivers.a(efuse.o)
- 0x0000000000100e60 efuse_init
- 0x0000000000100e84 get_ddr_flag
- 0x0000000000100f88 get_secure_verify_status
- 0x0000000000100fcc get_otp_secure_verify_status
- .text 0x0000000000101000 0x198 drivers/libdrivers.a(secure_verify.o)
- 0x0000000000101000 BIG2SMALL
- 0x0000000000101030 bin2hex
- 0x000000000010107c secure_verify_zloader
- 0x0000000000101194 SecureVerify
- .text 0x0000000000101198 0x424 drivers/libdrivers.a(nor.o)
- 0x0000000000101198 spifc_enable
- 0x00000000001011c8 spifc_disable
- 0x00000000001011ec spifc_setup_cmd
- 0x0000000000101270 spifc_wait_cmd_end
- 0x000000000010129c spifc_read_fifo
- 0x00000000001012d8 spifc_start
- 0x00000000001012e8 cmd_seek
- 0x0000000000101308 nor_read_reg
- 0x0000000000101368 nor_read_id
- 0x00000000001013d0 spi_nor_read
- 0x000000000010142c nor_read
- 0x0000000000101480 spi_nor_read_security_register
- 0x00000000001014dc nor_read_security_register
- 0x0000000000101530 nor_init
- 0x0000000000101580 board_flash_init
- .text 0x00000000001015bc 0xa4 drivers/libdrivers.a(drv_hash.o)
- 0x00000000001015bc Hash_Calculate
- .text 0x0000000000101660 0x174 drivers/libdrivers.a(drv_rsa.o)
- 0x000000000010167a Rsa_Calculate
- .text 0x00000000001017d4 0x28 drivers/libdrivers.a(flash.o)
- 0x00000000001017d4 get_boot_mode
- .text 0x00000000001017fc 0x54 cpu/m0/libm0.a(cpu.o)
- 0x00000000001017fc timer_init
- 0x0000000000101814 usdelay
- .text 0x0000000000101850 0x84 cpu/m0/libm0.a(clk.o)
- 0x0000000000101850 clk_init
+ .text 0x000000000010039c 0x80 lib/libarm.a(string.o)
+ 0x000000000010039c strlen
+ 0x00000000001003ac memset
+ 0x00000000001003ee memcmp
+ 0x000000000010040a memcpy
+ .text 0x000000000010041c 0x82c drivers/libdrivers.a(ddr.o)
+ 0x000000000010041c nsdelay
+ 0x0000000000100436 ddr_clk_init
+ 0x000000000010044c ddr_phy_init
+ 0x0000000000100548 ddr_ctrl_init
+ 0x0000000000100904 ddr_prio_init
+ 0x0000000000100a28 ddr_init
+ .text 0x0000000000100c48 0x138 drivers/libdrivers.a(uart.o)
+ 0x0000000000100c48 uart_init
+ 0x0000000000100cc8 uart_putc
+ 0x0000000000100cf0 uart_puts
+ 0x0000000000100d04 uart_getc
+ 0x0000000000100d20 uart_tstc
+ 0x0000000000100d30 UART_Read
+ 0x0000000000100d4c UART_Write
+ 0x0000000000100d68 UART_Check_Sync
+ .text 0x0000000000100d80 0x10c drivers/libdrivers.a(image.o)
+ 0x0000000000100d80 page_align
+ 0x0000000000100d98 find_partition_para
+ 0x0000000000100dc8 read_image_part_offset
+ 0x0000000000100e1c read_flags_image
+ 0x0000000000100e20 read_uboot_image
+ 0x0000000000100e24 nand_read_m0
+ 0x0000000000100e28 read_zloader_image
+ .text 0x0000000000100e8c 0x1bc drivers/libdrivers.a(efuse.o)
+ 0x0000000000100e8c efuse_init
+ 0x0000000000100eb0 get_ddr_flag
+ 0x0000000000100fd0 get_secure_verify_status
+ 0x0000000000101014 get_otp_secure_verify_status
+ .text 0x0000000000101048 0x198 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000000101048 BIG2SMALL
+ 0x0000000000101078 bin2hex
+ 0x00000000001010c4 secure_verify_zloader
+ 0x00000000001011dc SecureVerify
+ .text 0x00000000001011e0 0x424 drivers/libdrivers.a(nor.o)
+ 0x00000000001011e0 spifc_enable
+ 0x0000000000101210 spifc_disable
+ 0x0000000000101234 spifc_setup_cmd
+ 0x00000000001012b8 spifc_wait_cmd_end
+ 0x00000000001012e4 spifc_read_fifo
+ 0x0000000000101320 spifc_start
+ 0x0000000000101330 cmd_seek
+ 0x0000000000101350 nor_read_reg
+ 0x00000000001013b0 nor_read_id
+ 0x0000000000101418 spi_nor_read
+ 0x0000000000101474 nor_read
+ 0x00000000001014c8 spi_nor_read_security_register
+ 0x0000000000101524 nor_read_security_register
+ 0x0000000000101578 nor_init
+ 0x00000000001015c8 board_flash_init
+ .text 0x0000000000101604 0xa4 drivers/libdrivers.a(drv_hash.o)
+ 0x0000000000101604 Hash_Calculate
+ .text 0x00000000001016a8 0x174 drivers/libdrivers.a(drv_rsa.o)
+ 0x00000000001016c2 Rsa_Calculate
+ .text 0x000000000010181c 0x28 drivers/libdrivers.a(flash.o)
+ 0x000000000010181c get_boot_mode
+ .text 0x0000000000101844 0x54 cpu/m0/libm0.a(cpu.o)
+ 0x0000000000101844 timer_init
+ 0x000000000010185c usdelay
+ .text 0x0000000000101898 0x84 cpu/m0/libm0.a(clk.o)
+ 0x0000000000101898 clk_init
-.glue_7 0x00000000001018d4 0x0
+.glue_7 0x000000000010191c 0x0
.glue_7 0x0000000000000000 0x0 linker stubs
-.glue_7t 0x00000000001018d4 0x0
+.glue_7t 0x000000000010191c 0x0
.glue_7t 0x0000000000000000 0x0 linker stubs
-.vfp11_veneer 0x00000000001018d4 0x0
+.vfp11_veneer 0x000000000010191c 0x0
.vfp11_veneer 0x0000000000000000 0x0 linker stubs
-.v4_bx 0x00000000001018d4 0x0
+.v4_bx 0x000000000010191c 0x0
.v4_bx 0x0000000000000000 0x0 linker stubs
-.iplt 0x00000000001018d4 0x0
+.iplt 0x000000000010191c 0x0
.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x00000000001018d4 . = ALIGN (0x4)
+ 0x000000000010191c . = ALIGN (0x4)
-.rodata 0x00000000001018d4 0x16c
+.rodata 0x000000000010191c 0x16c
*(.rodata)
- .rodata 0x00000000001018d4 0x16c drivers/libdrivers.a(nor.o)
+ .rodata 0x000000000010191c 0x16c drivers/libdrivers.a(nor.o)
-.rodata.str1.1 0x0000000000101a40 0x1cd
+.rodata.str1.1 0x0000000000101a88 0x1c9
.rodata.str1.1
- 0x0000000000101a40 0x2d lib/libarm.a(board.o)
+ 0x0000000000101a88 0x29 lib/libarm.a(board.o)
.rodata.str1.1
- 0x0000000000101a6d 0x2a drivers/libdrivers.a(image.o)
+ 0x0000000000101ab1 0x2a drivers/libdrivers.a(image.o)
.rodata.str1.1
- 0x0000000000101a97 0x17 drivers/libdrivers.a(efuse.o)
+ 0x0000000000101adb 0x17 drivers/libdrivers.a(efuse.o)
.rodata.str1.1
- 0x0000000000101aae 0x3 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000000101af2 0x3 drivers/libdrivers.a(secure_verify.o)
.rodata.str1.1
- 0x0000000000101ab1 0x15c drivers/libdrivers.a(nor.o)
+ 0x0000000000101af5 0x15c drivers/libdrivers.a(nor.o)
-.rel.dyn 0x0000000000101c10 0x0
+.rel.dyn 0x0000000000101c54 0x0
.rel.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000000101c10 . = ALIGN (0x4)
+ 0x0000000000101c54 . = ALIGN (0x4)
-.data 0x0000000000101c10 0x50
+.data 0x0000000000101c54 0x50
*(.data)
- .data 0x0000000000101c10 0x0 cpu/m0/start.o
- .data 0x0000000000101c10 0x0 lib/libarm.a(board.o)
- .data 0x0000000000101c10 0x0 lib/libarm.a(string.o)
- .data 0x0000000000101c10 0x0 drivers/libdrivers.a(ddr.o)
- .data 0x0000000000101c10 0x0 drivers/libdrivers.a(uart.o)
- .data 0x0000000000101c10 0x0 drivers/libdrivers.a(image.o)
- .data 0x0000000000101c10 0x0 drivers/libdrivers.a(efuse.o)
- .data 0x0000000000101c10 0x0 drivers/libdrivers.a(secure_verify.o)
- .data 0x0000000000101c10 0x50 drivers/libdrivers.a(nor.o)
- 0x0000000000101c10 nor_cmd_table
- .data 0x0000000000101c60 0x0 drivers/libdrivers.a(drv_hash.o)
- .data 0x0000000000101c60 0x0 drivers/libdrivers.a(drv_rsa.o)
- .data 0x0000000000101c60 0x0 drivers/libdrivers.a(flash.o)
- .data 0x0000000000101c60 0x0 cpu/m0/libm0.a(cpu.o)
- .data 0x0000000000101c60 0x0 cpu/m0/libm0.a(clk.o)
+ .data 0x0000000000101c54 0x0 cpu/m0/start.o
+ .data 0x0000000000101c54 0x0 lib/libarm.a(board.o)
+ .data 0x0000000000101c54 0x0 lib/libarm.a(string.o)
+ .data 0x0000000000101c54 0x0 drivers/libdrivers.a(ddr.o)
+ .data 0x0000000000101c54 0x0 drivers/libdrivers.a(uart.o)
+ .data 0x0000000000101c54 0x0 drivers/libdrivers.a(image.o)
+ .data 0x0000000000101c54 0x0 drivers/libdrivers.a(efuse.o)
+ .data 0x0000000000101c54 0x0 drivers/libdrivers.a(secure_verify.o)
+ .data 0x0000000000101c54 0x50 drivers/libdrivers.a(nor.o)
+ 0x0000000000101c54 nor_cmd_table
+ .data 0x0000000000101ca4 0x0 drivers/libdrivers.a(drv_hash.o)
+ .data 0x0000000000101ca4 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .data 0x0000000000101ca4 0x0 drivers/libdrivers.a(flash.o)
+ .data 0x0000000000101ca4 0x0 cpu/m0/libm0.a(cpu.o)
+ .data 0x0000000000101ca4 0x0 cpu/m0/libm0.a(clk.o)
-.igot.plt 0x0000000000101c60 0x0
+.igot.plt 0x0000000000101ca4 0x0
.igot.plt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000000101c60 . = ALIGN (0x4)
+ 0x0000000000101ca4 . = ALIGN (0x4)
.got
*(.got)
- 0x0000000000101c60 . = ALIGN (0x4)
- 0x0000000000101c60 __bss_start = .
+ 0x0000000000101ca4 . = ALIGN (0x4)
+ 0x0000000000101ca4 __bss_start = .
-.bss 0x0000000000101c60 0x164
+.bss 0x0000000000101ca4 0x164
*(.bss)
- .bss 0x0000000000101c60 0x0 cpu/m0/start.o
- .bss 0x0000000000101c60 0x4 lib/libarm.a(board.o)
- 0x0000000000101c60 zloader_entry_point
- .bss 0x0000000000101c64 0x0 lib/libarm.a(string.o)
- .bss 0x0000000000101c64 0x0 drivers/libdrivers.a(ddr.o)
- .bss 0x0000000000101c64 0x0 drivers/libdrivers.a(uart.o)
- .bss 0x0000000000101c64 0x0 drivers/libdrivers.a(image.o)
- .bss 0x0000000000101c64 0x0 drivers/libdrivers.a(efuse.o)
- .bss 0x0000000000101c64 0x104 drivers/libdrivers.a(secure_verify.o)
- 0x0000000000101c64 result
- .bss 0x0000000000101d68 0x28 drivers/libdrivers.a(nor.o)
- 0x0000000000101d68 spi_nor_flash
- 0x0000000000101d6c otp_data
- .bss 0x0000000000101d90 0x0 drivers/libdrivers.a(drv_hash.o)
- .bss 0x0000000000101d90 0x0 drivers/libdrivers.a(drv_rsa.o)
- .bss 0x0000000000101d90 0x24 drivers/libdrivers.a(flash.o)
- 0x0000000000101d90 flash
- .bss 0x0000000000101db4 0x10 cpu/m0/libm0.a(cpu.o)
- 0x0000000000101db4 g_tick
- .bss 0x0000000000101dc4 0x0 cpu/m0/libm0.a(clk.o)
- 0x0000000000101dc4 __bss_end = .
- 0x0000000000101dc4 . = ALIGN (0x4)
+ .bss 0x0000000000101ca4 0x0 cpu/m0/start.o
+ .bss 0x0000000000101ca4 0x4 lib/libarm.a(board.o)
+ 0x0000000000101ca4 zloader_entry_point
+ .bss 0x0000000000101ca8 0x0 lib/libarm.a(string.o)
+ .bss 0x0000000000101ca8 0x0 drivers/libdrivers.a(ddr.o)
+ .bss 0x0000000000101ca8 0x0 drivers/libdrivers.a(uart.o)
+ .bss 0x0000000000101ca8 0x0 drivers/libdrivers.a(image.o)
+ .bss 0x0000000000101ca8 0x0 drivers/libdrivers.a(efuse.o)
+ .bss 0x0000000000101ca8 0x104 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000000101ca8 result
+ .bss 0x0000000000101dac 0x28 drivers/libdrivers.a(nor.o)
+ 0x0000000000101dac spi_nor_flash
+ 0x0000000000101db0 otp_data
+ .bss 0x0000000000101dd4 0x0 drivers/libdrivers.a(drv_hash.o)
+ .bss 0x0000000000101dd4 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .bss 0x0000000000101dd4 0x24 drivers/libdrivers.a(flash.o)
+ 0x0000000000101dd4 flash
+ .bss 0x0000000000101df8 0x10 cpu/m0/libm0.a(cpu.o)
+ 0x0000000000101df8 g_tick
+ .bss 0x0000000000101e08 0x0 cpu/m0/libm0.a(clk.o)
+ 0x0000000000101e08 __bss_end = .
+ 0x0000000000101e08 . = ALIGN (0x4)
-.para 0x0000000082000000 0x0 加载地址 0x0000000000101dc4
+.para 0x0000000082000000 0x0 加载地址 0x0000000000101e08
0x0000000082000000 __para_start = .
*(.para)
0x0000000082000000 __para_end = .
@@ -300,20 +300,20 @@
.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_info 0x0000000000000000 0x341f
+ .debug_info 0x0000000000000000 0x658 lib/libarm.a(board.o)
+ .debug_info 0x0000000000000658 0x22b lib/libarm.a(string.o)
+ .debug_info 0x0000000000000883 0x329 drivers/libdrivers.a(ddr.o)
+ .debug_info 0x0000000000000bac 0x2a0 drivers/libdrivers.a(uart.o)
+ .debug_info 0x0000000000000e4c 0x6d3 drivers/libdrivers.a(image.o)
+ .debug_info 0x000000000000151f 0x1c3 drivers/libdrivers.a(efuse.o)
+ .debug_info 0x00000000000016e2 0x62d drivers/libdrivers.a(secure_verify.o)
+ .debug_info 0x0000000000001d0f 0xd5f drivers/libdrivers.a(nor.o)
+ .debug_info 0x0000000000002a6e 0x1e8 drivers/libdrivers.a(drv_hash.o)
+ .debug_info 0x0000000000002c56 0x3b4 drivers/libdrivers.a(drv_rsa.o)
+ .debug_info 0x000000000000300a 0x20f drivers/libdrivers.a(flash.o)
+ .debug_info 0x0000000000003219 0x17b cpu/m0/libm0.a(cpu.o)
+ .debug_info 0x0000000000003394 0x8b cpu/m0/libm0.a(clk.o)
.debug_abbrev 0x0000000000000000 0x1290
.debug_abbrev 0x0000000000000000 0x286 lib/libarm.a(board.o)
@@ -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 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_line 0x0000000000000000 0x1422
+ .debug_line 0x0000000000000000 0x2e5 lib/libarm.a(board.o)
+ .debug_line 0x00000000000002e5 0x152 lib/libarm.a(string.o)
+ .debug_line 0x0000000000000437 0x299 drivers/libdrivers.a(ddr.o)
+ .debug_line 0x00000000000006d0 0x112 drivers/libdrivers.a(uart.o)
+ .debug_line 0x00000000000007e2 0x228 drivers/libdrivers.a(image.o)
+ .debug_line 0x0000000000000a0a 0x118 drivers/libdrivers.a(efuse.o)
+ .debug_line 0x0000000000000b22 0x2ad drivers/libdrivers.a(secure_verify.o)
+ .debug_line 0x0000000000000dcf 0x2a2 drivers/libdrivers.a(nor.o)
+ .debug_line 0x0000000000001071 0x88 drivers/libdrivers.a(drv_hash.o)
+ .debug_line 0x00000000000010f9 0x117 drivers/libdrivers.a(drv_rsa.o)
+ .debug_line 0x0000000000001210 0x10a drivers/libdrivers.a(flash.o)
+ .debug_line 0x000000000000131a 0xa7 cpu/m0/libm0.a(cpu.o)
+ .debug_line 0x00000000000013c1 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 11cc545..5abaa83 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_off/z-load2.map b/boot/prj/zx297520v3/bootrom/dl_off/z-load2.map
index 877f07a..e422c41 100755
--- a/boot/prj/zx297520v3/bootrom/dl_off/z-load2.map
+++ b/boot/prj/zx297520v3/bootrom/dl_off/z-load2.map
@@ -34,7 +34,7 @@
0x0000000000000000 . = 0x0
0x0000000000000000 . = ALIGN (0x4)
-.text 0x0000000020300000 0x4b10
+.text 0x0000000020300000 0x4b3c
cpu/m0/start.o(.text)
.text 0x0000000020300000 0x220 cpu/m0/start.o
0x00000000203001a4 _bss_start
@@ -44,7 +44,7 @@
0x00000000203001b8 _start
0x00000000203001fe run_at
*(.text)
- .text 0x0000000020300220 0x258 lib/libarm.a(board.o)
+ .text 0x0000000020300220 0x24c lib/libarm.a(board.o)
0x0000000020300220 print_info
0x0000000020300230 copy_to_iram1
0x0000000020300250 clear_iram
@@ -52,201 +52,201 @@
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
+ .text 0x000000002030046c 0x80 lib/libarm.a(string.o)
+ 0x000000002030046c strlen
+ 0x000000002030047c memset
+ 0x00000000203004be memcmp
+ 0x00000000203004da memcpy
+ .text 0x00000000203004ec 0x138 drivers/libdrivers.a(uart.o)
+ 0x00000000203004ec uart_init
+ 0x000000002030056c uart_putc
+ 0x0000000020300594 uart_puts
+ 0x00000000203005a8 uart_getc
+ 0x00000000203005c4 uart_tstc
+ 0x00000000203005d4 UART_Read
+ 0x00000000203005f0 UART_Write
+ 0x000000002030060c UART_Check_Sync
+ .text 0x0000000020300624 0x338 drivers/libdrivers.a(image.o)
+ 0x0000000020300628 page_align
+ 0x0000000020300640 find_partition_para
+ 0x0000000020300670 read_image_part_offset
+ 0x00000000203006c4 read_flags_image
+ 0x00000000203007ac read_uboot_image
+ 0x000000002030088c nand_read_m0
+ 0x00000000203008f8 read_zloader_image
+ .text 0x000000002030095c 0x2b0 drivers/libdrivers.a(secure_verify.o)
+ 0x000000002030097a BIG2SMALL
+ 0x00000000203009aa bin2hex
+ 0x00000000203009f4 secure_verify_zloader
+ 0x0000000020300ae8 SecureVerify
+ .text 0x0000000020300c0c 0x648 drivers/libdrivers.a(spifc_loader2.o)
+ 0x0000000020300d00 zDrvGpio_SetFunc
+ 0x0000000020300d38 zDrvGpio_SetDirection
+ 0x0000000020300d88 zDrvGpio_SetOutputValue
+ 0x0000000020300dc4 spi_nand_cs
+ 0x0000000020300e00 spifc_clear_fifo
+ 0x0000000020300e14 spifc_clear_int
+ 0x0000000020300f70 spifc_read_oob
+ 0x0000000020300fb4 spifc_read_page_raw
+ 0x0000000020300ff0 spifc_read_page
+ 0x000000002030106c spifc_read
+ 0x00000000203010b0 read_data
+ 0x0000000020301104 read_id
+ 0x0000000020301188 spifc_init
+ 0x000000002030120c zloader_flash_init
+ .text 0x0000000020301254 0x1c0 drivers/libdrivers.a(bbt.o)
+ 0x00000000203012b4 nand_creat_ram_bbt
+ 0x00000000203012f8 nand_search_bbt
+ 0x0000000020301384 nand_creat_bbt
+ 0x0000000020301400 nand_block_isbad
+ .text 0x0000000020301414 0x2688 drivers/libdrivers.a(sha256.o)
+ 0x0000000020303934 sha256_starts
+ 0x000000002030397c sha256_update
+ 0x0000000020303988 sha256_finish
+ 0x0000000020303a74 sha256_csum_wd
+ .text 0x0000000020303a9c 0x424 drivers/libdrivers.a(nor.o)
+ 0x0000000020303a9c spifc_enable
+ 0x0000000020303acc spifc_disable
+ 0x0000000020303af0 spifc_setup_cmd
+ 0x0000000020303b74 spifc_wait_cmd_end
+ 0x0000000020303ba0 spifc_read_fifo
+ 0x0000000020303bdc spifc_start
+ 0x0000000020303bec cmd_seek
+ 0x0000000020303c0c nor_read_reg
+ 0x0000000020303c6c nor_read_id
+ 0x0000000020303cd4 spi_nor_read
+ 0x0000000020303d30 nor_read
+ 0x0000000020303d84 spi_nor_read_security_register
+ 0x0000000020303de0 nor_read_security_register
+ 0x0000000020303e34 nor_init
+ 0x0000000020303e84 board_flash_init
+ .text 0x0000000020303ec0 0x82c drivers/libdrivers.a(ddr.o)
+ 0x0000000020303ec0 nsdelay
+ 0x0000000020303eda ddr_clk_init
+ 0x0000000020303ef0 ddr_phy_init
+ 0x0000000020303fec ddr_ctrl_init
+ 0x00000000203043a8 ddr_prio_init
+ 0x00000000203044cc ddr_init
+ .text 0x00000000203046ec 0xa4 drivers/libdrivers.a(drv_hash.o)
+ 0x00000000203046ec Hash_Calculate
+ .text 0x0000000020304790 0x174 drivers/libdrivers.a(drv_rsa.o)
+ 0x00000000203047aa Rsa_Calculate
+ .text 0x0000000020304904 0x28 drivers/libdrivers.a(flash.o)
+ 0x0000000020304904 get_boot_mode
+ .text 0x000000002030492c 0x1bc drivers/libdrivers.a(efuse.o)
+ 0x000000002030492c efuse_init
+ 0x0000000020304950 get_ddr_flag
+ 0x0000000020304a70 get_secure_verify_status
+ 0x0000000020304ab4 get_otp_secure_verify_status
+ .text 0x0000000020304ae8 0x54 cpu/m0/libm0.a(cpu.o)
+ 0x0000000020304ae8 timer_init
+ 0x0000000020304b00 usdelay
-.glue_7 0x0000000020304b10 0x0
+.glue_7 0x0000000020304b3c 0x0
.glue_7 0x0000000000000000 0x0 linker stubs
-.glue_7t 0x0000000020304b10 0x0
+.glue_7t 0x0000000020304b3c 0x0
.glue_7t 0x0000000000000000 0x0 linker stubs
-.vfp11_veneer 0x0000000020304b10 0x0
+.vfp11_veneer 0x0000000020304b3c 0x0
.vfp11_veneer 0x0000000000000000 0x0 linker stubs
-.v4_bx 0x0000000020304b10 0x0
+.v4_bx 0x0000000020304b3c 0x0
.v4_bx 0x0000000000000000 0x0 linker stubs
-.iplt 0x0000000020304b10 0x0
+.iplt 0x0000000020304b3c 0x0
.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000020304b10 . = ALIGN (0x4)
+ 0x0000000020304b3c . = ALIGN (0x4)
-.rodata 0x0000000020304b10 0x3f0
+.rodata 0x0000000020304b3c 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 0x0000000020304b3c 0x270 drivers/libdrivers.a(spifc_loader2.o)
+ .rodata 0x0000000020304dac 0x13 drivers/libdrivers.a(sha256.o)
+ 0x0000000020304dac sha256_der_prefix
+ *fill* 0x0000000020304dbf 0x1
+ .rodata 0x0000000020304dc0 0x16c drivers/libdrivers.a(nor.o)
-.rodata.str1.1 0x0000000020304f00 0x46f
+.rodata.str1.1 0x0000000020304f2c 0x45b
.rodata.str1.1
- 0x0000000020304f00 0x16c lib/libarm.a(board.o)
- 0x185 (松开之前的大小)
+ 0x0000000020304f2c 0x158 lib/libarm.a(board.o)
+ 0x171 (松开之前的大小)
.rodata.str1.1
- 0x000000002030506c 0xef drivers/libdrivers.a(image.o)
+ 0x0000000020305084 0xef drivers/libdrivers.a(image.o)
0x115 (松开之前的大小)
.rodata.str1.1
- 0x000000002030515b 0x5b drivers/libdrivers.a(secure_verify.o)
+ 0x0000000020305173 0x5b drivers/libdrivers.a(secure_verify.o)
0x5d (松开之前的大小)
.rodata.str1.1
- 0x00000000203051b6 0x3d drivers/libdrivers.a(spifc_loader2.o)
+ 0x00000000203051ce 0x3d drivers/libdrivers.a(spifc_loader2.o)
0x4a (松开之前的大小)
.rodata.str1.1
- 0x00000000203051f3 0x9 drivers/libdrivers.a(bbt.o)
+ 0x000000002030520b 0x9 drivers/libdrivers.a(bbt.o)
.rodata.str1.1
- 0x00000000203051fc 0x15c drivers/libdrivers.a(nor.o)
+ 0x0000000020305214 0x15c drivers/libdrivers.a(nor.o)
.rodata.str1.1
- 0x0000000020305358 0x17 drivers/libdrivers.a(efuse.o)
+ 0x0000000020305370 0x17 drivers/libdrivers.a(efuse.o)
-.rel.dyn 0x0000000020305370 0x0
+.rel.dyn 0x0000000020305388 0x0
.rel.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000020305370 . = ALIGN (0x4)
+ 0x0000000020305388 . = ALIGN (0x4)
-.data 0x0000000020305370 0xd0
+.data 0x0000000020305388 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)
+ .data 0x0000000020305388 0x0 cpu/m0/start.o
+ .data 0x0000000020305388 0x0 lib/libarm.a(board.o)
+ .data 0x0000000020305388 0x0 lib/libarm.a(string.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(uart.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(image.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(secure_verify.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(spifc_loader2.o)
+ .data 0x0000000020305388 0x40 drivers/libdrivers.a(bbt.o)
+ .data 0x00000000203053c8 0x40 drivers/libdrivers.a(sha256.o)
+ .data 0x0000000020305408 0x50 drivers/libdrivers.a(nor.o)
+ 0x0000000020305408 nor_cmd_table
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(ddr.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(drv_hash.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(flash.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(efuse.o)
+ .data 0x0000000020305458 0x0 cpu/m0/libm0.a(cpu.o)
-.igot.plt 0x0000000020305440 0x0
+.igot.plt 0x0000000020305458 0x0
.igot.plt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000020305440 . = ALIGN (0x4)
+ 0x0000000020305458 . = ALIGN (0x4)
.got
*(.got)
- 0x0000000020305440 . = ALIGN (0x4)
- 0x0000000020305440 __bss_start = .
+ 0x0000000020305458 . = ALIGN (0x4)
+ 0x0000000020305458 __bss_start = .
-.bss 0x0000000020305440 0x1e8
+.bss 0x0000000020305458 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)
+ .bss 0x0000000020305458 0x0 cpu/m0/start.o
+ .bss 0x0000000020305458 0x4 lib/libarm.a(board.o)
+ 0x0000000020305458 zloader_entry_point
+ .bss 0x000000002030545c 0x0 lib/libarm.a(string.o)
+ .bss 0x000000002030545c 0x0 drivers/libdrivers.a(uart.o)
+ .bss 0x000000002030545c 0x0 drivers/libdrivers.a(image.o)
+ .bss 0x000000002030545c 0x104 drivers/libdrivers.a(secure_verify.o)
+ 0x000000002030545c result
+ .bss 0x0000000020305560 0x4 drivers/libdrivers.a(spifc_loader2.o)
+ .bss 0x0000000020305564 0x80 drivers/libdrivers.a(bbt.o)
+ .bss 0x00000000203055e4 0x0 drivers/libdrivers.a(sha256.o)
+ .bss 0x00000000203055e4 0x28 drivers/libdrivers.a(nor.o)
+ 0x00000000203055e4 spi_nor_flash
+ 0x00000000203055e8 otp_data
+ .bss 0x000000002030560c 0x0 drivers/libdrivers.a(ddr.o)
+ .bss 0x000000002030560c 0x0 drivers/libdrivers.a(drv_hash.o)
+ .bss 0x000000002030560c 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .bss 0x000000002030560c 0x24 drivers/libdrivers.a(flash.o)
+ 0x000000002030560c flash
+ .bss 0x0000000020305630 0x0 drivers/libdrivers.a(efuse.o)
+ .bss 0x0000000020305630 0x10 cpu/m0/libm0.a(cpu.o)
+ 0x0000000020305630 g_tick
+ 0x0000000020305640 __bss_end = .
+ 0x0000000020305640 . = ALIGN (0x4)
-.para 0x0000000082000000 0x0 加载地址 0x0000000020305628
+.para 0x0000000082000000 0x0 加载地址 0x0000000020305640
0x0000000082000000 __para_start = .
*(.para)
0x0000000082000000 __para_end = .
@@ -353,22 +353,22 @@
.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_info 0x0000000000000000 0x62d4
+ .debug_info 0x0000000000000000 0x765 lib/libarm.a(board.o)
+ .debug_info 0x0000000000000765 0x22b lib/libarm.a(string.o)
+ .debug_info 0x0000000000000990 0x2a0 drivers/libdrivers.a(uart.o)
+ .debug_info 0x0000000000000c30 0xd3c drivers/libdrivers.a(image.o)
+ .debug_info 0x000000000000196c 0xb01 drivers/libdrivers.a(secure_verify.o)
+ .debug_info 0x000000000000246d 0x1661 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_info 0x0000000000003ace 0x70f drivers/libdrivers.a(bbt.o)
+ .debug_info 0x00000000000041dd 0x586 drivers/libdrivers.a(sha256.o)
+ .debug_info 0x0000000000004763 0xd5f drivers/libdrivers.a(nor.o)
+ .debug_info 0x00000000000054c2 0x329 drivers/libdrivers.a(ddr.o)
+ .debug_info 0x00000000000057eb 0x1e8 drivers/libdrivers.a(drv_hash.o)
+ .debug_info 0x00000000000059d3 0x3b4 drivers/libdrivers.a(drv_rsa.o)
+ .debug_info 0x0000000000005d87 0x20f drivers/libdrivers.a(flash.o)
+ .debug_info 0x0000000000005f96 0x1c3 drivers/libdrivers.a(efuse.o)
+ .debug_info 0x0000000000006159 0x17b cpu/m0/libm0.a(cpu.o)
.debug_abbrev 0x0000000000000000 0x1c50
.debug_abbrev 0x0000000000000000 0x2c9 lib/libarm.a(board.o)
@@ -446,22 +446,22 @@
.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_line 0x0000000000000000 0x1f9e
+ .debug_line 0x0000000000000000 0x303 lib/libarm.a(board.o)
+ .debug_line 0x0000000000000303 0x152 lib/libarm.a(string.o)
+ .debug_line 0x0000000000000455 0x112 drivers/libdrivers.a(uart.o)
+ .debug_line 0x0000000000000567 0x3b8 drivers/libdrivers.a(image.o)
+ .debug_line 0x000000000000091f 0x38e drivers/libdrivers.a(secure_verify.o)
+ .debug_line 0x0000000000000cad 0x442 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_line 0x00000000000010ef 0x251 drivers/libdrivers.a(bbt.o)
+ .debug_line 0x0000000000001340 0x2bb drivers/libdrivers.a(sha256.o)
+ .debug_line 0x00000000000015fb 0x2a2 drivers/libdrivers.a(nor.o)
+ .debug_line 0x000000000000189d 0x299 drivers/libdrivers.a(ddr.o)
+ .debug_line 0x0000000000001b36 0x88 drivers/libdrivers.a(drv_hash.o)
+ .debug_line 0x0000000000001bbe 0x117 drivers/libdrivers.a(drv_rsa.o)
+ .debug_line 0x0000000000001cd5 0x10a drivers/libdrivers.a(flash.o)
+ .debug_line 0x0000000000001ddf 0x118 drivers/libdrivers.a(efuse.o)
+ .debug_line 0x0000000000001ef7 0xa7 cpu/m0/libm0.a(cpu.o)
.debug_str 0x0000000000000000 0x1565
.debug_str 0x0000000000000000 0x4a7 lib/libarm.a(board.o)
diff --git a/boot/prj/zx297520v3/bootrom/dl_off/zloader.bin b/boot/prj/zx297520v3/bootrom/dl_off/zloader.bin
index 71a0cdf..7f266c1 100755
--- a/boot/prj/zx297520v3/bootrom/dl_off/zloader.bin
+++ b/boot/prj/zx297520v3/bootrom/dl_off/zloader.bin
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom/dl_on/loader2.bin b/boot/prj/zx297520v3/bootrom/dl_on/loader2.bin
index ad811f3..3652c89 100755
--- a/boot/prj/zx297520v3/bootrom/dl_on/loader2.bin
+++ b/boot/prj/zx297520v3/bootrom/dl_on/loader2.bin
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom/dl_on/z-load b/boot/prj/zx297520v3/bootrom/dl_on/z-load
index f143c49..9dcf975 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 24acb88..fb2ebb9 100755
--- a/boot/prj/zx297520v3/bootrom/dl_on/z-load.map
+++ b/boot/prj/zx297520v3/bootrom/dl_on/z-load.map
@@ -30,7 +30,7 @@
0x0000000000000000 . = 0x0
0x0000000000000000 . = ALIGN (0x4)
-.text 0x0000000000100000 0x18d4
+.text 0x0000000000100000 0x191c
cpu/m0/start.o(.text)
.text 0x0000000000100000 0x248 cpu/m0/start.o
0x00000000001001a4 _bss_start
@@ -40,7 +40,7 @@
0x00000000001001b8 _start
0x0000000000100216 run_at
*(.text)
- .text 0x0000000000100248 0x144 lib/libarm.a(board.o)
+ .text 0x0000000000100248 0x154 lib/libarm.a(board.o)
0x0000000000100248 print_info
0x0000000000100258 copy_to_iram1
0x0000000000100278 clear_iram
@@ -48,162 +48,162 @@
0x000000000010029c hang
0x000000000010029e usb_apcore_poweroff
0x00000000001002f8 start_armboot
- .text 0x000000000010038c 0x80 lib/libarm.a(string.o)
- 0x000000000010038c strlen
- 0x000000000010039c memset
- 0x00000000001003de memcmp
- 0x00000000001003fa memcpy
- .text 0x000000000010040c 0x810 drivers/libdrivers.a(ddr.o)
- 0x000000000010040c nsdelay
- 0x0000000000100426 ddr_clk_init
- 0x000000000010043c ddr_phy_init
- 0x0000000000100538 ddr_ctrl_init
- 0x00000000001008d8 ddr_prio_init
- 0x00000000001009fc ddr_init
- .text 0x0000000000100c1c 0x138 drivers/libdrivers.a(uart.o)
- 0x0000000000100c1c uart_init
- 0x0000000000100c9c uart_putc
- 0x0000000000100cc4 uart_puts
- 0x0000000000100cd8 uart_getc
- 0x0000000000100cf4 uart_tstc
- 0x0000000000100d04 UART_Read
- 0x0000000000100d20 UART_Write
- 0x0000000000100d3c UART_Check_Sync
- .text 0x0000000000100d54 0x10c drivers/libdrivers.a(image.o)
- 0x0000000000100d54 page_align
- 0x0000000000100d6c find_partition_para
- 0x0000000000100d9c read_image_part_offset
- 0x0000000000100df0 read_flags_image
- 0x0000000000100df4 read_uboot_image
- 0x0000000000100df8 nand_read_m0
- 0x0000000000100dfc read_zloader_image
- .text 0x0000000000100e60 0x1a0 drivers/libdrivers.a(efuse.o)
- 0x0000000000100e60 efuse_init
- 0x0000000000100e84 get_ddr_flag
- 0x0000000000100f88 get_secure_verify_status
- 0x0000000000100fcc get_otp_secure_verify_status
- .text 0x0000000000101000 0x198 drivers/libdrivers.a(secure_verify.o)
- 0x0000000000101000 BIG2SMALL
- 0x0000000000101030 bin2hex
- 0x000000000010107c secure_verify_zloader
- 0x0000000000101194 SecureVerify
- .text 0x0000000000101198 0x424 drivers/libdrivers.a(nor.o)
- 0x0000000000101198 spifc_enable
- 0x00000000001011c8 spifc_disable
- 0x00000000001011ec spifc_setup_cmd
- 0x0000000000101270 spifc_wait_cmd_end
- 0x000000000010129c spifc_read_fifo
- 0x00000000001012d8 spifc_start
- 0x00000000001012e8 cmd_seek
- 0x0000000000101308 nor_read_reg
- 0x0000000000101368 nor_read_id
- 0x00000000001013d0 spi_nor_read
- 0x000000000010142c nor_read
- 0x0000000000101480 spi_nor_read_security_register
- 0x00000000001014dc nor_read_security_register
- 0x0000000000101530 nor_init
- 0x0000000000101580 board_flash_init
- .text 0x00000000001015bc 0xa4 drivers/libdrivers.a(drv_hash.o)
- 0x00000000001015bc Hash_Calculate
- .text 0x0000000000101660 0x174 drivers/libdrivers.a(drv_rsa.o)
- 0x000000000010167a Rsa_Calculate
- .text 0x00000000001017d4 0x28 drivers/libdrivers.a(flash.o)
- 0x00000000001017d4 get_boot_mode
- .text 0x00000000001017fc 0x54 cpu/m0/libm0.a(cpu.o)
- 0x00000000001017fc timer_init
- 0x0000000000101814 usdelay
- .text 0x0000000000101850 0x84 cpu/m0/libm0.a(clk.o)
- 0x0000000000101850 clk_init
+ .text 0x000000000010039c 0x80 lib/libarm.a(string.o)
+ 0x000000000010039c strlen
+ 0x00000000001003ac memset
+ 0x00000000001003ee memcmp
+ 0x000000000010040a memcpy
+ .text 0x000000000010041c 0x82c drivers/libdrivers.a(ddr.o)
+ 0x000000000010041c nsdelay
+ 0x0000000000100436 ddr_clk_init
+ 0x000000000010044c ddr_phy_init
+ 0x0000000000100548 ddr_ctrl_init
+ 0x0000000000100904 ddr_prio_init
+ 0x0000000000100a28 ddr_init
+ .text 0x0000000000100c48 0x138 drivers/libdrivers.a(uart.o)
+ 0x0000000000100c48 uart_init
+ 0x0000000000100cc8 uart_putc
+ 0x0000000000100cf0 uart_puts
+ 0x0000000000100d04 uart_getc
+ 0x0000000000100d20 uart_tstc
+ 0x0000000000100d30 UART_Read
+ 0x0000000000100d4c UART_Write
+ 0x0000000000100d68 UART_Check_Sync
+ .text 0x0000000000100d80 0x10c drivers/libdrivers.a(image.o)
+ 0x0000000000100d80 page_align
+ 0x0000000000100d98 find_partition_para
+ 0x0000000000100dc8 read_image_part_offset
+ 0x0000000000100e1c read_flags_image
+ 0x0000000000100e20 read_uboot_image
+ 0x0000000000100e24 nand_read_m0
+ 0x0000000000100e28 read_zloader_image
+ .text 0x0000000000100e8c 0x1bc drivers/libdrivers.a(efuse.o)
+ 0x0000000000100e8c efuse_init
+ 0x0000000000100eb0 get_ddr_flag
+ 0x0000000000100fd0 get_secure_verify_status
+ 0x0000000000101014 get_otp_secure_verify_status
+ .text 0x0000000000101048 0x198 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000000101048 BIG2SMALL
+ 0x0000000000101078 bin2hex
+ 0x00000000001010c4 secure_verify_zloader
+ 0x00000000001011dc SecureVerify
+ .text 0x00000000001011e0 0x424 drivers/libdrivers.a(nor.o)
+ 0x00000000001011e0 spifc_enable
+ 0x0000000000101210 spifc_disable
+ 0x0000000000101234 spifc_setup_cmd
+ 0x00000000001012b8 spifc_wait_cmd_end
+ 0x00000000001012e4 spifc_read_fifo
+ 0x0000000000101320 spifc_start
+ 0x0000000000101330 cmd_seek
+ 0x0000000000101350 nor_read_reg
+ 0x00000000001013b0 nor_read_id
+ 0x0000000000101418 spi_nor_read
+ 0x0000000000101474 nor_read
+ 0x00000000001014c8 spi_nor_read_security_register
+ 0x0000000000101524 nor_read_security_register
+ 0x0000000000101578 nor_init
+ 0x00000000001015c8 board_flash_init
+ .text 0x0000000000101604 0xa4 drivers/libdrivers.a(drv_hash.o)
+ 0x0000000000101604 Hash_Calculate
+ .text 0x00000000001016a8 0x174 drivers/libdrivers.a(drv_rsa.o)
+ 0x00000000001016c2 Rsa_Calculate
+ .text 0x000000000010181c 0x28 drivers/libdrivers.a(flash.o)
+ 0x000000000010181c get_boot_mode
+ .text 0x0000000000101844 0x54 cpu/m0/libm0.a(cpu.o)
+ 0x0000000000101844 timer_init
+ 0x000000000010185c usdelay
+ .text 0x0000000000101898 0x84 cpu/m0/libm0.a(clk.o)
+ 0x0000000000101898 clk_init
-.glue_7 0x00000000001018d4 0x0
+.glue_7 0x000000000010191c 0x0
.glue_7 0x0000000000000000 0x0 linker stubs
-.glue_7t 0x00000000001018d4 0x0
+.glue_7t 0x000000000010191c 0x0
.glue_7t 0x0000000000000000 0x0 linker stubs
-.vfp11_veneer 0x00000000001018d4 0x0
+.vfp11_veneer 0x000000000010191c 0x0
.vfp11_veneer 0x0000000000000000 0x0 linker stubs
-.v4_bx 0x00000000001018d4 0x0
+.v4_bx 0x000000000010191c 0x0
.v4_bx 0x0000000000000000 0x0 linker stubs
-.iplt 0x00000000001018d4 0x0
+.iplt 0x000000000010191c 0x0
.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x00000000001018d4 . = ALIGN (0x4)
+ 0x000000000010191c . = ALIGN (0x4)
-.rodata 0x00000000001018d4 0x16c
+.rodata 0x000000000010191c 0x16c
*(.rodata)
- .rodata 0x00000000001018d4 0x16c drivers/libdrivers.a(nor.o)
+ .rodata 0x000000000010191c 0x16c drivers/libdrivers.a(nor.o)
-.rodata.str1.1 0x0000000000101a40 0x1cd
+.rodata.str1.1 0x0000000000101a88 0x1c9
.rodata.str1.1
- 0x0000000000101a40 0x2d lib/libarm.a(board.o)
+ 0x0000000000101a88 0x29 lib/libarm.a(board.o)
.rodata.str1.1
- 0x0000000000101a6d 0x2a drivers/libdrivers.a(image.o)
+ 0x0000000000101ab1 0x2a drivers/libdrivers.a(image.o)
.rodata.str1.1
- 0x0000000000101a97 0x17 drivers/libdrivers.a(efuse.o)
+ 0x0000000000101adb 0x17 drivers/libdrivers.a(efuse.o)
.rodata.str1.1
- 0x0000000000101aae 0x3 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000000101af2 0x3 drivers/libdrivers.a(secure_verify.o)
.rodata.str1.1
- 0x0000000000101ab1 0x15c drivers/libdrivers.a(nor.o)
+ 0x0000000000101af5 0x15c drivers/libdrivers.a(nor.o)
-.rel.dyn 0x0000000000101c10 0x0
+.rel.dyn 0x0000000000101c54 0x0
.rel.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000000101c10 . = ALIGN (0x4)
+ 0x0000000000101c54 . = ALIGN (0x4)
-.data 0x0000000000101c10 0x50
+.data 0x0000000000101c54 0x50
*(.data)
- .data 0x0000000000101c10 0x0 cpu/m0/start.o
- .data 0x0000000000101c10 0x0 lib/libarm.a(board.o)
- .data 0x0000000000101c10 0x0 lib/libarm.a(string.o)
- .data 0x0000000000101c10 0x0 drivers/libdrivers.a(ddr.o)
- .data 0x0000000000101c10 0x0 drivers/libdrivers.a(uart.o)
- .data 0x0000000000101c10 0x0 drivers/libdrivers.a(image.o)
- .data 0x0000000000101c10 0x0 drivers/libdrivers.a(efuse.o)
- .data 0x0000000000101c10 0x0 drivers/libdrivers.a(secure_verify.o)
- .data 0x0000000000101c10 0x50 drivers/libdrivers.a(nor.o)
- 0x0000000000101c10 nor_cmd_table
- .data 0x0000000000101c60 0x0 drivers/libdrivers.a(drv_hash.o)
- .data 0x0000000000101c60 0x0 drivers/libdrivers.a(drv_rsa.o)
- .data 0x0000000000101c60 0x0 drivers/libdrivers.a(flash.o)
- .data 0x0000000000101c60 0x0 cpu/m0/libm0.a(cpu.o)
- .data 0x0000000000101c60 0x0 cpu/m0/libm0.a(clk.o)
+ .data 0x0000000000101c54 0x0 cpu/m0/start.o
+ .data 0x0000000000101c54 0x0 lib/libarm.a(board.o)
+ .data 0x0000000000101c54 0x0 lib/libarm.a(string.o)
+ .data 0x0000000000101c54 0x0 drivers/libdrivers.a(ddr.o)
+ .data 0x0000000000101c54 0x0 drivers/libdrivers.a(uart.o)
+ .data 0x0000000000101c54 0x0 drivers/libdrivers.a(image.o)
+ .data 0x0000000000101c54 0x0 drivers/libdrivers.a(efuse.o)
+ .data 0x0000000000101c54 0x0 drivers/libdrivers.a(secure_verify.o)
+ .data 0x0000000000101c54 0x50 drivers/libdrivers.a(nor.o)
+ 0x0000000000101c54 nor_cmd_table
+ .data 0x0000000000101ca4 0x0 drivers/libdrivers.a(drv_hash.o)
+ .data 0x0000000000101ca4 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .data 0x0000000000101ca4 0x0 drivers/libdrivers.a(flash.o)
+ .data 0x0000000000101ca4 0x0 cpu/m0/libm0.a(cpu.o)
+ .data 0x0000000000101ca4 0x0 cpu/m0/libm0.a(clk.o)
-.igot.plt 0x0000000000101c60 0x0
+.igot.plt 0x0000000000101ca4 0x0
.igot.plt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000000101c60 . = ALIGN (0x4)
+ 0x0000000000101ca4 . = ALIGN (0x4)
.got
*(.got)
- 0x0000000000101c60 . = ALIGN (0x4)
- 0x0000000000101c60 __bss_start = .
+ 0x0000000000101ca4 . = ALIGN (0x4)
+ 0x0000000000101ca4 __bss_start = .
-.bss 0x0000000000101c60 0x164
+.bss 0x0000000000101ca4 0x164
*(.bss)
- .bss 0x0000000000101c60 0x0 cpu/m0/start.o
- .bss 0x0000000000101c60 0x4 lib/libarm.a(board.o)
- 0x0000000000101c60 zloader_entry_point
- .bss 0x0000000000101c64 0x0 lib/libarm.a(string.o)
- .bss 0x0000000000101c64 0x0 drivers/libdrivers.a(ddr.o)
- .bss 0x0000000000101c64 0x0 drivers/libdrivers.a(uart.o)
- .bss 0x0000000000101c64 0x0 drivers/libdrivers.a(image.o)
- .bss 0x0000000000101c64 0x0 drivers/libdrivers.a(efuse.o)
- .bss 0x0000000000101c64 0x104 drivers/libdrivers.a(secure_verify.o)
- 0x0000000000101c64 result
- .bss 0x0000000000101d68 0x28 drivers/libdrivers.a(nor.o)
- 0x0000000000101d68 spi_nor_flash
- 0x0000000000101d6c otp_data
- .bss 0x0000000000101d90 0x0 drivers/libdrivers.a(drv_hash.o)
- .bss 0x0000000000101d90 0x0 drivers/libdrivers.a(drv_rsa.o)
- .bss 0x0000000000101d90 0x24 drivers/libdrivers.a(flash.o)
- 0x0000000000101d90 flash
- .bss 0x0000000000101db4 0x10 cpu/m0/libm0.a(cpu.o)
- 0x0000000000101db4 g_tick
- .bss 0x0000000000101dc4 0x0 cpu/m0/libm0.a(clk.o)
- 0x0000000000101dc4 __bss_end = .
- 0x0000000000101dc4 . = ALIGN (0x4)
+ .bss 0x0000000000101ca4 0x0 cpu/m0/start.o
+ .bss 0x0000000000101ca4 0x4 lib/libarm.a(board.o)
+ 0x0000000000101ca4 zloader_entry_point
+ .bss 0x0000000000101ca8 0x0 lib/libarm.a(string.o)
+ .bss 0x0000000000101ca8 0x0 drivers/libdrivers.a(ddr.o)
+ .bss 0x0000000000101ca8 0x0 drivers/libdrivers.a(uart.o)
+ .bss 0x0000000000101ca8 0x0 drivers/libdrivers.a(image.o)
+ .bss 0x0000000000101ca8 0x0 drivers/libdrivers.a(efuse.o)
+ .bss 0x0000000000101ca8 0x104 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000000101ca8 result
+ .bss 0x0000000000101dac 0x28 drivers/libdrivers.a(nor.o)
+ 0x0000000000101dac spi_nor_flash
+ 0x0000000000101db0 otp_data
+ .bss 0x0000000000101dd4 0x0 drivers/libdrivers.a(drv_hash.o)
+ .bss 0x0000000000101dd4 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .bss 0x0000000000101dd4 0x24 drivers/libdrivers.a(flash.o)
+ 0x0000000000101dd4 flash
+ .bss 0x0000000000101df8 0x10 cpu/m0/libm0.a(cpu.o)
+ 0x0000000000101df8 g_tick
+ .bss 0x0000000000101e08 0x0 cpu/m0/libm0.a(clk.o)
+ 0x0000000000101e08 __bss_end = .
+ 0x0000000000101e08 . = ALIGN (0x4)
-.para 0x0000000082000000 0x0 加载地址 0x0000000000101dc4
+.para 0x0000000082000000 0x0 加载地址 0x0000000000101e08
0x0000000082000000 __para_start = .
*(.para)
0x0000000082000000 __para_end = .
@@ -300,20 +300,20 @@
.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_info 0x0000000000000000 0x341f
+ .debug_info 0x0000000000000000 0x658 lib/libarm.a(board.o)
+ .debug_info 0x0000000000000658 0x22b lib/libarm.a(string.o)
+ .debug_info 0x0000000000000883 0x329 drivers/libdrivers.a(ddr.o)
+ .debug_info 0x0000000000000bac 0x2a0 drivers/libdrivers.a(uart.o)
+ .debug_info 0x0000000000000e4c 0x6d3 drivers/libdrivers.a(image.o)
+ .debug_info 0x000000000000151f 0x1c3 drivers/libdrivers.a(efuse.o)
+ .debug_info 0x00000000000016e2 0x62d drivers/libdrivers.a(secure_verify.o)
+ .debug_info 0x0000000000001d0f 0xd5f drivers/libdrivers.a(nor.o)
+ .debug_info 0x0000000000002a6e 0x1e8 drivers/libdrivers.a(drv_hash.o)
+ .debug_info 0x0000000000002c56 0x3b4 drivers/libdrivers.a(drv_rsa.o)
+ .debug_info 0x000000000000300a 0x20f drivers/libdrivers.a(flash.o)
+ .debug_info 0x0000000000003219 0x17b cpu/m0/libm0.a(cpu.o)
+ .debug_info 0x0000000000003394 0x8b cpu/m0/libm0.a(clk.o)
.debug_abbrev 0x0000000000000000 0x1290
.debug_abbrev 0x0000000000000000 0x286 lib/libarm.a(board.o)
@@ -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 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_line 0x0000000000000000 0x1422
+ .debug_line 0x0000000000000000 0x2e5 lib/libarm.a(board.o)
+ .debug_line 0x00000000000002e5 0x152 lib/libarm.a(string.o)
+ .debug_line 0x0000000000000437 0x299 drivers/libdrivers.a(ddr.o)
+ .debug_line 0x00000000000006d0 0x112 drivers/libdrivers.a(uart.o)
+ .debug_line 0x00000000000007e2 0x228 drivers/libdrivers.a(image.o)
+ .debug_line 0x0000000000000a0a 0x118 drivers/libdrivers.a(efuse.o)
+ .debug_line 0x0000000000000b22 0x2ad drivers/libdrivers.a(secure_verify.o)
+ .debug_line 0x0000000000000dcf 0x2a2 drivers/libdrivers.a(nor.o)
+ .debug_line 0x0000000000001071 0x88 drivers/libdrivers.a(drv_hash.o)
+ .debug_line 0x00000000000010f9 0x117 drivers/libdrivers.a(drv_rsa.o)
+ .debug_line 0x0000000000001210 0x10a drivers/libdrivers.a(flash.o)
+ .debug_line 0x000000000000131a 0xa7 cpu/m0/libm0.a(cpu.o)
+ .debug_line 0x00000000000013c1 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 18a645c..f556735 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/bootrom/dl_on/z-load2.map b/boot/prj/zx297520v3/bootrom/dl_on/z-load2.map
index 877f07a..e422c41 100755
--- a/boot/prj/zx297520v3/bootrom/dl_on/z-load2.map
+++ b/boot/prj/zx297520v3/bootrom/dl_on/z-load2.map
@@ -34,7 +34,7 @@
0x0000000000000000 . = 0x0
0x0000000000000000 . = ALIGN (0x4)
-.text 0x0000000020300000 0x4b10
+.text 0x0000000020300000 0x4b3c
cpu/m0/start.o(.text)
.text 0x0000000020300000 0x220 cpu/m0/start.o
0x00000000203001a4 _bss_start
@@ -44,7 +44,7 @@
0x00000000203001b8 _start
0x00000000203001fe run_at
*(.text)
- .text 0x0000000020300220 0x258 lib/libarm.a(board.o)
+ .text 0x0000000020300220 0x24c lib/libarm.a(board.o)
0x0000000020300220 print_info
0x0000000020300230 copy_to_iram1
0x0000000020300250 clear_iram
@@ -52,201 +52,201 @@
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
+ .text 0x000000002030046c 0x80 lib/libarm.a(string.o)
+ 0x000000002030046c strlen
+ 0x000000002030047c memset
+ 0x00000000203004be memcmp
+ 0x00000000203004da memcpy
+ .text 0x00000000203004ec 0x138 drivers/libdrivers.a(uart.o)
+ 0x00000000203004ec uart_init
+ 0x000000002030056c uart_putc
+ 0x0000000020300594 uart_puts
+ 0x00000000203005a8 uart_getc
+ 0x00000000203005c4 uart_tstc
+ 0x00000000203005d4 UART_Read
+ 0x00000000203005f0 UART_Write
+ 0x000000002030060c UART_Check_Sync
+ .text 0x0000000020300624 0x338 drivers/libdrivers.a(image.o)
+ 0x0000000020300628 page_align
+ 0x0000000020300640 find_partition_para
+ 0x0000000020300670 read_image_part_offset
+ 0x00000000203006c4 read_flags_image
+ 0x00000000203007ac read_uboot_image
+ 0x000000002030088c nand_read_m0
+ 0x00000000203008f8 read_zloader_image
+ .text 0x000000002030095c 0x2b0 drivers/libdrivers.a(secure_verify.o)
+ 0x000000002030097a BIG2SMALL
+ 0x00000000203009aa bin2hex
+ 0x00000000203009f4 secure_verify_zloader
+ 0x0000000020300ae8 SecureVerify
+ .text 0x0000000020300c0c 0x648 drivers/libdrivers.a(spifc_loader2.o)
+ 0x0000000020300d00 zDrvGpio_SetFunc
+ 0x0000000020300d38 zDrvGpio_SetDirection
+ 0x0000000020300d88 zDrvGpio_SetOutputValue
+ 0x0000000020300dc4 spi_nand_cs
+ 0x0000000020300e00 spifc_clear_fifo
+ 0x0000000020300e14 spifc_clear_int
+ 0x0000000020300f70 spifc_read_oob
+ 0x0000000020300fb4 spifc_read_page_raw
+ 0x0000000020300ff0 spifc_read_page
+ 0x000000002030106c spifc_read
+ 0x00000000203010b0 read_data
+ 0x0000000020301104 read_id
+ 0x0000000020301188 spifc_init
+ 0x000000002030120c zloader_flash_init
+ .text 0x0000000020301254 0x1c0 drivers/libdrivers.a(bbt.o)
+ 0x00000000203012b4 nand_creat_ram_bbt
+ 0x00000000203012f8 nand_search_bbt
+ 0x0000000020301384 nand_creat_bbt
+ 0x0000000020301400 nand_block_isbad
+ .text 0x0000000020301414 0x2688 drivers/libdrivers.a(sha256.o)
+ 0x0000000020303934 sha256_starts
+ 0x000000002030397c sha256_update
+ 0x0000000020303988 sha256_finish
+ 0x0000000020303a74 sha256_csum_wd
+ .text 0x0000000020303a9c 0x424 drivers/libdrivers.a(nor.o)
+ 0x0000000020303a9c spifc_enable
+ 0x0000000020303acc spifc_disable
+ 0x0000000020303af0 spifc_setup_cmd
+ 0x0000000020303b74 spifc_wait_cmd_end
+ 0x0000000020303ba0 spifc_read_fifo
+ 0x0000000020303bdc spifc_start
+ 0x0000000020303bec cmd_seek
+ 0x0000000020303c0c nor_read_reg
+ 0x0000000020303c6c nor_read_id
+ 0x0000000020303cd4 spi_nor_read
+ 0x0000000020303d30 nor_read
+ 0x0000000020303d84 spi_nor_read_security_register
+ 0x0000000020303de0 nor_read_security_register
+ 0x0000000020303e34 nor_init
+ 0x0000000020303e84 board_flash_init
+ .text 0x0000000020303ec0 0x82c drivers/libdrivers.a(ddr.o)
+ 0x0000000020303ec0 nsdelay
+ 0x0000000020303eda ddr_clk_init
+ 0x0000000020303ef0 ddr_phy_init
+ 0x0000000020303fec ddr_ctrl_init
+ 0x00000000203043a8 ddr_prio_init
+ 0x00000000203044cc ddr_init
+ .text 0x00000000203046ec 0xa4 drivers/libdrivers.a(drv_hash.o)
+ 0x00000000203046ec Hash_Calculate
+ .text 0x0000000020304790 0x174 drivers/libdrivers.a(drv_rsa.o)
+ 0x00000000203047aa Rsa_Calculate
+ .text 0x0000000020304904 0x28 drivers/libdrivers.a(flash.o)
+ 0x0000000020304904 get_boot_mode
+ .text 0x000000002030492c 0x1bc drivers/libdrivers.a(efuse.o)
+ 0x000000002030492c efuse_init
+ 0x0000000020304950 get_ddr_flag
+ 0x0000000020304a70 get_secure_verify_status
+ 0x0000000020304ab4 get_otp_secure_verify_status
+ .text 0x0000000020304ae8 0x54 cpu/m0/libm0.a(cpu.o)
+ 0x0000000020304ae8 timer_init
+ 0x0000000020304b00 usdelay
-.glue_7 0x0000000020304b10 0x0
+.glue_7 0x0000000020304b3c 0x0
.glue_7 0x0000000000000000 0x0 linker stubs
-.glue_7t 0x0000000020304b10 0x0
+.glue_7t 0x0000000020304b3c 0x0
.glue_7t 0x0000000000000000 0x0 linker stubs
-.vfp11_veneer 0x0000000020304b10 0x0
+.vfp11_veneer 0x0000000020304b3c 0x0
.vfp11_veneer 0x0000000000000000 0x0 linker stubs
-.v4_bx 0x0000000020304b10 0x0
+.v4_bx 0x0000000020304b3c 0x0
.v4_bx 0x0000000000000000 0x0 linker stubs
-.iplt 0x0000000020304b10 0x0
+.iplt 0x0000000020304b3c 0x0
.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000020304b10 . = ALIGN (0x4)
+ 0x0000000020304b3c . = ALIGN (0x4)
-.rodata 0x0000000020304b10 0x3f0
+.rodata 0x0000000020304b3c 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 0x0000000020304b3c 0x270 drivers/libdrivers.a(spifc_loader2.o)
+ .rodata 0x0000000020304dac 0x13 drivers/libdrivers.a(sha256.o)
+ 0x0000000020304dac sha256_der_prefix
+ *fill* 0x0000000020304dbf 0x1
+ .rodata 0x0000000020304dc0 0x16c drivers/libdrivers.a(nor.o)
-.rodata.str1.1 0x0000000020304f00 0x46f
+.rodata.str1.1 0x0000000020304f2c 0x45b
.rodata.str1.1
- 0x0000000020304f00 0x16c lib/libarm.a(board.o)
- 0x185 (松开之前的大小)
+ 0x0000000020304f2c 0x158 lib/libarm.a(board.o)
+ 0x171 (松开之前的大小)
.rodata.str1.1
- 0x000000002030506c 0xef drivers/libdrivers.a(image.o)
+ 0x0000000020305084 0xef drivers/libdrivers.a(image.o)
0x115 (松开之前的大小)
.rodata.str1.1
- 0x000000002030515b 0x5b drivers/libdrivers.a(secure_verify.o)
+ 0x0000000020305173 0x5b drivers/libdrivers.a(secure_verify.o)
0x5d (松开之前的大小)
.rodata.str1.1
- 0x00000000203051b6 0x3d drivers/libdrivers.a(spifc_loader2.o)
+ 0x00000000203051ce 0x3d drivers/libdrivers.a(spifc_loader2.o)
0x4a (松开之前的大小)
.rodata.str1.1
- 0x00000000203051f3 0x9 drivers/libdrivers.a(bbt.o)
+ 0x000000002030520b 0x9 drivers/libdrivers.a(bbt.o)
.rodata.str1.1
- 0x00000000203051fc 0x15c drivers/libdrivers.a(nor.o)
+ 0x0000000020305214 0x15c drivers/libdrivers.a(nor.o)
.rodata.str1.1
- 0x0000000020305358 0x17 drivers/libdrivers.a(efuse.o)
+ 0x0000000020305370 0x17 drivers/libdrivers.a(efuse.o)
-.rel.dyn 0x0000000020305370 0x0
+.rel.dyn 0x0000000020305388 0x0
.rel.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000020305370 . = ALIGN (0x4)
+ 0x0000000020305388 . = ALIGN (0x4)
-.data 0x0000000020305370 0xd0
+.data 0x0000000020305388 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)
+ .data 0x0000000020305388 0x0 cpu/m0/start.o
+ .data 0x0000000020305388 0x0 lib/libarm.a(board.o)
+ .data 0x0000000020305388 0x0 lib/libarm.a(string.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(uart.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(image.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(secure_verify.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(spifc_loader2.o)
+ .data 0x0000000020305388 0x40 drivers/libdrivers.a(bbt.o)
+ .data 0x00000000203053c8 0x40 drivers/libdrivers.a(sha256.o)
+ .data 0x0000000020305408 0x50 drivers/libdrivers.a(nor.o)
+ 0x0000000020305408 nor_cmd_table
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(ddr.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(drv_hash.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(flash.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(efuse.o)
+ .data 0x0000000020305458 0x0 cpu/m0/libm0.a(cpu.o)
-.igot.plt 0x0000000020305440 0x0
+.igot.plt 0x0000000020305458 0x0
.igot.plt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000020305440 . = ALIGN (0x4)
+ 0x0000000020305458 . = ALIGN (0x4)
.got
*(.got)
- 0x0000000020305440 . = ALIGN (0x4)
- 0x0000000020305440 __bss_start = .
+ 0x0000000020305458 . = ALIGN (0x4)
+ 0x0000000020305458 __bss_start = .
-.bss 0x0000000020305440 0x1e8
+.bss 0x0000000020305458 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)
+ .bss 0x0000000020305458 0x0 cpu/m0/start.o
+ .bss 0x0000000020305458 0x4 lib/libarm.a(board.o)
+ 0x0000000020305458 zloader_entry_point
+ .bss 0x000000002030545c 0x0 lib/libarm.a(string.o)
+ .bss 0x000000002030545c 0x0 drivers/libdrivers.a(uart.o)
+ .bss 0x000000002030545c 0x0 drivers/libdrivers.a(image.o)
+ .bss 0x000000002030545c 0x104 drivers/libdrivers.a(secure_verify.o)
+ 0x000000002030545c result
+ .bss 0x0000000020305560 0x4 drivers/libdrivers.a(spifc_loader2.o)
+ .bss 0x0000000020305564 0x80 drivers/libdrivers.a(bbt.o)
+ .bss 0x00000000203055e4 0x0 drivers/libdrivers.a(sha256.o)
+ .bss 0x00000000203055e4 0x28 drivers/libdrivers.a(nor.o)
+ 0x00000000203055e4 spi_nor_flash
+ 0x00000000203055e8 otp_data
+ .bss 0x000000002030560c 0x0 drivers/libdrivers.a(ddr.o)
+ .bss 0x000000002030560c 0x0 drivers/libdrivers.a(drv_hash.o)
+ .bss 0x000000002030560c 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .bss 0x000000002030560c 0x24 drivers/libdrivers.a(flash.o)
+ 0x000000002030560c flash
+ .bss 0x0000000020305630 0x0 drivers/libdrivers.a(efuse.o)
+ .bss 0x0000000020305630 0x10 cpu/m0/libm0.a(cpu.o)
+ 0x0000000020305630 g_tick
+ 0x0000000020305640 __bss_end = .
+ 0x0000000020305640 . = ALIGN (0x4)
-.para 0x0000000082000000 0x0 加载地址 0x0000000020305628
+.para 0x0000000082000000 0x0 加载地址 0x0000000020305640
0x0000000082000000 __para_start = .
*(.para)
0x0000000082000000 __para_end = .
@@ -353,22 +353,22 @@
.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_info 0x0000000000000000 0x62d4
+ .debug_info 0x0000000000000000 0x765 lib/libarm.a(board.o)
+ .debug_info 0x0000000000000765 0x22b lib/libarm.a(string.o)
+ .debug_info 0x0000000000000990 0x2a0 drivers/libdrivers.a(uart.o)
+ .debug_info 0x0000000000000c30 0xd3c drivers/libdrivers.a(image.o)
+ .debug_info 0x000000000000196c 0xb01 drivers/libdrivers.a(secure_verify.o)
+ .debug_info 0x000000000000246d 0x1661 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_info 0x0000000000003ace 0x70f drivers/libdrivers.a(bbt.o)
+ .debug_info 0x00000000000041dd 0x586 drivers/libdrivers.a(sha256.o)
+ .debug_info 0x0000000000004763 0xd5f drivers/libdrivers.a(nor.o)
+ .debug_info 0x00000000000054c2 0x329 drivers/libdrivers.a(ddr.o)
+ .debug_info 0x00000000000057eb 0x1e8 drivers/libdrivers.a(drv_hash.o)
+ .debug_info 0x00000000000059d3 0x3b4 drivers/libdrivers.a(drv_rsa.o)
+ .debug_info 0x0000000000005d87 0x20f drivers/libdrivers.a(flash.o)
+ .debug_info 0x0000000000005f96 0x1c3 drivers/libdrivers.a(efuse.o)
+ .debug_info 0x0000000000006159 0x17b cpu/m0/libm0.a(cpu.o)
.debug_abbrev 0x0000000000000000 0x1c50
.debug_abbrev 0x0000000000000000 0x2c9 lib/libarm.a(board.o)
@@ -446,22 +446,22 @@
.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_line 0x0000000000000000 0x1f9e
+ .debug_line 0x0000000000000000 0x303 lib/libarm.a(board.o)
+ .debug_line 0x0000000000000303 0x152 lib/libarm.a(string.o)
+ .debug_line 0x0000000000000455 0x112 drivers/libdrivers.a(uart.o)
+ .debug_line 0x0000000000000567 0x3b8 drivers/libdrivers.a(image.o)
+ .debug_line 0x000000000000091f 0x38e drivers/libdrivers.a(secure_verify.o)
+ .debug_line 0x0000000000000cad 0x442 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_line 0x00000000000010ef 0x251 drivers/libdrivers.a(bbt.o)
+ .debug_line 0x0000000000001340 0x2bb drivers/libdrivers.a(sha256.o)
+ .debug_line 0x00000000000015fb 0x2a2 drivers/libdrivers.a(nor.o)
+ .debug_line 0x000000000000189d 0x299 drivers/libdrivers.a(ddr.o)
+ .debug_line 0x0000000000001b36 0x88 drivers/libdrivers.a(drv_hash.o)
+ .debug_line 0x0000000000001bbe 0x117 drivers/libdrivers.a(drv_rsa.o)
+ .debug_line 0x0000000000001cd5 0x10a drivers/libdrivers.a(flash.o)
+ .debug_line 0x0000000000001ddf 0x118 drivers/libdrivers.a(efuse.o)
+ .debug_line 0x0000000000001ef7 0xa7 cpu/m0/libm0.a(cpu.o)
.debug_str 0x0000000000000000 0x1565
.debug_str 0x0000000000000000 0x4a7 lib/libarm.a(board.o)
diff --git a/boot/prj/zx297520v3/bootrom/dl_on/zloader.bin b/boot/prj/zx297520v3/bootrom/dl_on/zloader.bin
index ba5e394..2b4959a 100755
--- a/boot/prj/zx297520v3/bootrom/dl_on/zloader.bin
+++ b/boot/prj/zx297520v3/bootrom/dl_on/zloader.bin
Binary files differ
diff --git a/boot/prj/zx297520v3/bootrom2/dl_off/loader2.bin b/boot/prj/zx297520v3/bootrom2/dl_off/loader2.bin
index f9071ec..4a7d48e 100755
--- a/boot/prj/zx297520v3/bootrom2/dl_off/loader2.bin
+++ 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
index 027cc9e..a1aadc0 100755
--- a/boot/prj/zx297520v3/bootrom2/dl_off/z-load
+++ 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
index 2d307f6..cc3e364 100755
--- a/boot/prj/zx297520v3/bootrom2/dl_off/z-load.map
+++ b/boot/prj/zx297520v3/bootrom2/dl_off/z-load.map
@@ -30,7 +30,7 @@
0x0000000000000000 . = 0x0
0x0000000000000000 . = ALIGN (0x4)
-.text 0x0000000000100000 0x1908
+.text 0x0000000000100000 0x1950
cpu/m0/start.o(.text)
.text 0x0000000000100000 0x248 cpu/m0/start.o
0x00000000001001a4 _bss_start
@@ -40,7 +40,7 @@
0x00000000001001b8 _start
0x0000000000100216 run_at
*(.text)
- .text 0x0000000000100248 0x178 lib/libarm.a(board.o)
+ .text 0x0000000000100248 0x188 lib/libarm.a(board.o)
0x0000000000100248 print_info
0x0000000000100258 copy_to_iram1
0x0000000000100278 clear_iram
@@ -48,162 +48,162 @@
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
+ .text 0x00000000001003d0 0x80 lib/libarm.a(string.o)
+ 0x00000000001003d0 strlen
+ 0x00000000001003e0 memset
+ 0x0000000000100422 memcmp
+ 0x000000000010043e memcpy
+ .text 0x0000000000100450 0x82c drivers/libdrivers.a(ddr.o)
+ 0x0000000000100450 nsdelay
+ 0x000000000010046a ddr_clk_init
+ 0x0000000000100480 ddr_phy_init
+ 0x000000000010057c ddr_ctrl_init
+ 0x0000000000100938 ddr_prio_init
+ 0x0000000000100a5c ddr_init
+ .text 0x0000000000100c7c 0x138 drivers/libdrivers.a(uart.o)
+ 0x0000000000100c7c uart_init
+ 0x0000000000100cfc uart_putc
+ 0x0000000000100d24 uart_puts
+ 0x0000000000100d38 uart_getc
+ 0x0000000000100d54 uart_tstc
+ 0x0000000000100d64 UART_Read
+ 0x0000000000100d80 UART_Write
+ 0x0000000000100d9c UART_Check_Sync
+ .text 0x0000000000100db4 0x10c drivers/libdrivers.a(image.o)
+ 0x0000000000100db4 page_align
+ 0x0000000000100dcc find_partition_para
+ 0x0000000000100dfc read_image_part_offset
+ 0x0000000000100e50 read_flags_image
+ 0x0000000000100e54 read_uboot_image
+ 0x0000000000100e58 nand_read_m0
+ 0x0000000000100e5c read_zloader_image
+ .text 0x0000000000100ec0 0x1bc drivers/libdrivers.a(efuse.o)
+ 0x0000000000100ec0 efuse_init
+ 0x0000000000100ee4 get_ddr_flag
+ 0x0000000000101004 get_secure_verify_status
+ 0x0000000000101048 get_otp_secure_verify_status
+ .text 0x000000000010107c 0x198 drivers/libdrivers.a(secure_verify.o)
+ 0x000000000010107c BIG2SMALL
+ 0x00000000001010ac bin2hex
+ 0x00000000001010f8 secure_verify_zloader
+ 0x0000000000101210 SecureVerify
+ .text 0x0000000000101214 0x424 drivers/libdrivers.a(nor.o)
+ 0x0000000000101214 spifc_enable
+ 0x0000000000101244 spifc_disable
+ 0x0000000000101268 spifc_setup_cmd
+ 0x00000000001012ec spifc_wait_cmd_end
+ 0x0000000000101318 spifc_read_fifo
+ 0x0000000000101354 spifc_start
+ 0x0000000000101364 cmd_seek
+ 0x0000000000101384 nor_read_reg
+ 0x00000000001013e4 nor_read_id
+ 0x000000000010144c spi_nor_read
+ 0x00000000001014a8 nor_read
+ 0x00000000001014fc spi_nor_read_security_register
+ 0x0000000000101558 nor_read_security_register
+ 0x00000000001015ac nor_init
+ 0x00000000001015fc board_flash_init
+ .text 0x0000000000101638 0xa4 drivers/libdrivers.a(drv_hash.o)
+ 0x0000000000101638 Hash_Calculate
+ .text 0x00000000001016dc 0x174 drivers/libdrivers.a(drv_rsa.o)
+ 0x00000000001016f6 Rsa_Calculate
+ .text 0x0000000000101850 0x28 drivers/libdrivers.a(flash.o)
+ 0x0000000000101850 get_boot_mode
+ .text 0x0000000000101878 0x54 cpu/m0/libm0.a(cpu.o)
+ 0x0000000000101878 timer_init
+ 0x0000000000101890 usdelay
+ .text 0x00000000001018cc 0x84 cpu/m0/libm0.a(clk.o)
+ 0x00000000001018cc clk_init
-.glue_7 0x0000000000101908 0x0
+.glue_7 0x0000000000101950 0x0
.glue_7 0x0000000000000000 0x0 linker stubs
-.glue_7t 0x0000000000101908 0x0
+.glue_7t 0x0000000000101950 0x0
.glue_7t 0x0000000000000000 0x0 linker stubs
-.vfp11_veneer 0x0000000000101908 0x0
+.vfp11_veneer 0x0000000000101950 0x0
.vfp11_veneer 0x0000000000000000 0x0 linker stubs
-.v4_bx 0x0000000000101908 0x0
+.v4_bx 0x0000000000101950 0x0
.v4_bx 0x0000000000000000 0x0 linker stubs
-.iplt 0x0000000000101908 0x0
+.iplt 0x0000000000101950 0x0
.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000000101908 . = ALIGN (0x4)
+ 0x0000000000101950 . = ALIGN (0x4)
-.rodata 0x0000000000101908 0x16c
+.rodata 0x0000000000101950 0x16c
*(.rodata)
- .rodata 0x0000000000101908 0x16c drivers/libdrivers.a(nor.o)
+ .rodata 0x0000000000101950 0x16c drivers/libdrivers.a(nor.o)
-.rodata.str1.1 0x0000000000101a74 0x1cd
+.rodata.str1.1 0x0000000000101abc 0x1c9
.rodata.str1.1
- 0x0000000000101a74 0x2d lib/libarm.a(board.o)
+ 0x0000000000101abc 0x29 lib/libarm.a(board.o)
.rodata.str1.1
- 0x0000000000101aa1 0x2a drivers/libdrivers.a(image.o)
+ 0x0000000000101ae5 0x2a drivers/libdrivers.a(image.o)
.rodata.str1.1
- 0x0000000000101acb 0x17 drivers/libdrivers.a(efuse.o)
+ 0x0000000000101b0f 0x17 drivers/libdrivers.a(efuse.o)
.rodata.str1.1
- 0x0000000000101ae2 0x3 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000000101b26 0x3 drivers/libdrivers.a(secure_verify.o)
.rodata.str1.1
- 0x0000000000101ae5 0x15c drivers/libdrivers.a(nor.o)
+ 0x0000000000101b29 0x15c drivers/libdrivers.a(nor.o)
-.rel.dyn 0x0000000000101c44 0x0
+.rel.dyn 0x0000000000101c88 0x0
.rel.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000000101c44 . = ALIGN (0x4)
+ 0x0000000000101c88 . = ALIGN (0x4)
-.data 0x0000000000101c44 0x50
+.data 0x0000000000101c88 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)
+ .data 0x0000000000101c88 0x0 cpu/m0/start.o
+ .data 0x0000000000101c88 0x0 lib/libarm.a(board.o)
+ .data 0x0000000000101c88 0x0 lib/libarm.a(string.o)
+ .data 0x0000000000101c88 0x0 drivers/libdrivers.a(ddr.o)
+ .data 0x0000000000101c88 0x0 drivers/libdrivers.a(uart.o)
+ .data 0x0000000000101c88 0x0 drivers/libdrivers.a(image.o)
+ .data 0x0000000000101c88 0x0 drivers/libdrivers.a(efuse.o)
+ .data 0x0000000000101c88 0x0 drivers/libdrivers.a(secure_verify.o)
+ .data 0x0000000000101c88 0x50 drivers/libdrivers.a(nor.o)
+ 0x0000000000101c88 nor_cmd_table
+ .data 0x0000000000101cd8 0x0 drivers/libdrivers.a(drv_hash.o)
+ .data 0x0000000000101cd8 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .data 0x0000000000101cd8 0x0 drivers/libdrivers.a(flash.o)
+ .data 0x0000000000101cd8 0x0 cpu/m0/libm0.a(cpu.o)
+ .data 0x0000000000101cd8 0x0 cpu/m0/libm0.a(clk.o)
-.igot.plt 0x0000000000101c94 0x0
+.igot.plt 0x0000000000101cd8 0x0
.igot.plt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000000101c94 . = ALIGN (0x4)
+ 0x0000000000101cd8 . = ALIGN (0x4)
.got
*(.got)
- 0x0000000000101c94 . = ALIGN (0x4)
- 0x0000000000101c94 __bss_start = .
+ 0x0000000000101cd8 . = ALIGN (0x4)
+ 0x0000000000101cd8 __bss_start = .
-.bss 0x0000000000101c94 0x164
+.bss 0x0000000000101cd8 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)
+ .bss 0x0000000000101cd8 0x0 cpu/m0/start.o
+ .bss 0x0000000000101cd8 0x4 lib/libarm.a(board.o)
+ 0x0000000000101cd8 zloader_entry_point
+ .bss 0x0000000000101cdc 0x0 lib/libarm.a(string.o)
+ .bss 0x0000000000101cdc 0x0 drivers/libdrivers.a(ddr.o)
+ .bss 0x0000000000101cdc 0x0 drivers/libdrivers.a(uart.o)
+ .bss 0x0000000000101cdc 0x0 drivers/libdrivers.a(image.o)
+ .bss 0x0000000000101cdc 0x0 drivers/libdrivers.a(efuse.o)
+ .bss 0x0000000000101cdc 0x104 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000000101cdc result
+ .bss 0x0000000000101de0 0x28 drivers/libdrivers.a(nor.o)
+ 0x0000000000101de0 spi_nor_flash
+ 0x0000000000101de4 otp_data
+ .bss 0x0000000000101e08 0x0 drivers/libdrivers.a(drv_hash.o)
+ .bss 0x0000000000101e08 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .bss 0x0000000000101e08 0x24 drivers/libdrivers.a(flash.o)
+ 0x0000000000101e08 flash
+ .bss 0x0000000000101e2c 0x10 cpu/m0/libm0.a(cpu.o)
+ 0x0000000000101e2c g_tick
+ .bss 0x0000000000101e3c 0x0 cpu/m0/libm0.a(clk.o)
+ 0x0000000000101e3c __bss_end = .
+ 0x0000000000101e3c . = ALIGN (0x4)
-.para 0x0000000082000000 0x0 加载地址 0x0000000000101df8
+.para 0x0000000082000000 0x0 加载地址 0x0000000000101e3c
0x0000000082000000 __para_start = .
*(.para)
0x0000000082000000 __para_end = .
@@ -300,20 +300,20 @@
.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_info 0x0000000000000000 0x341f
+ .debug_info 0x0000000000000000 0x658 lib/libarm.a(board.o)
+ .debug_info 0x0000000000000658 0x22b lib/libarm.a(string.o)
+ .debug_info 0x0000000000000883 0x329 drivers/libdrivers.a(ddr.o)
+ .debug_info 0x0000000000000bac 0x2a0 drivers/libdrivers.a(uart.o)
+ .debug_info 0x0000000000000e4c 0x6d3 drivers/libdrivers.a(image.o)
+ .debug_info 0x000000000000151f 0x1c3 drivers/libdrivers.a(efuse.o)
+ .debug_info 0x00000000000016e2 0x62d drivers/libdrivers.a(secure_verify.o)
+ .debug_info 0x0000000000001d0f 0xd5f drivers/libdrivers.a(nor.o)
+ .debug_info 0x0000000000002a6e 0x1e8 drivers/libdrivers.a(drv_hash.o)
+ .debug_info 0x0000000000002c56 0x3b4 drivers/libdrivers.a(drv_rsa.o)
+ .debug_info 0x000000000000300a 0x20f drivers/libdrivers.a(flash.o)
+ .debug_info 0x0000000000003219 0x17b cpu/m0/libm0.a(cpu.o)
+ .debug_info 0x0000000000003394 0x8b cpu/m0/libm0.a(clk.o)
.debug_abbrev 0x0000000000000000 0x1290
.debug_abbrev 0x0000000000000000 0x286 lib/libarm.a(board.o)
@@ -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 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_line 0x0000000000000000 0x1430
+ .debug_line 0x0000000000000000 0x2f3 lib/libarm.a(board.o)
+ .debug_line 0x00000000000002f3 0x152 lib/libarm.a(string.o)
+ .debug_line 0x0000000000000445 0x299 drivers/libdrivers.a(ddr.o)
+ .debug_line 0x00000000000006de 0x112 drivers/libdrivers.a(uart.o)
+ .debug_line 0x00000000000007f0 0x228 drivers/libdrivers.a(image.o)
+ .debug_line 0x0000000000000a18 0x118 drivers/libdrivers.a(efuse.o)
+ .debug_line 0x0000000000000b30 0x2ad drivers/libdrivers.a(secure_verify.o)
+ .debug_line 0x0000000000000ddd 0x2a2 drivers/libdrivers.a(nor.o)
+ .debug_line 0x000000000000107f 0x88 drivers/libdrivers.a(drv_hash.o)
+ .debug_line 0x0000000000001107 0x117 drivers/libdrivers.a(drv_rsa.o)
+ .debug_line 0x000000000000121e 0x10a drivers/libdrivers.a(flash.o)
+ .debug_line 0x0000000000001328 0xa7 cpu/m0/libm0.a(cpu.o)
+ .debug_line 0x00000000000013cf 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/bootrom2/dl_off/z-load2 b/boot/prj/zx297520v3/bootrom2/dl_off/z-load2
index 11cc545..5abaa83 100755
--- a/boot/prj/zx297520v3/bootrom2/dl_off/z-load2
+++ 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
index 877f07a..e422c41 100755
--- a/boot/prj/zx297520v3/bootrom2/dl_off/z-load2.map
+++ b/boot/prj/zx297520v3/bootrom2/dl_off/z-load2.map
@@ -34,7 +34,7 @@
0x0000000000000000 . = 0x0
0x0000000000000000 . = ALIGN (0x4)
-.text 0x0000000020300000 0x4b10
+.text 0x0000000020300000 0x4b3c
cpu/m0/start.o(.text)
.text 0x0000000020300000 0x220 cpu/m0/start.o
0x00000000203001a4 _bss_start
@@ -44,7 +44,7 @@
0x00000000203001b8 _start
0x00000000203001fe run_at
*(.text)
- .text 0x0000000020300220 0x258 lib/libarm.a(board.o)
+ .text 0x0000000020300220 0x24c lib/libarm.a(board.o)
0x0000000020300220 print_info
0x0000000020300230 copy_to_iram1
0x0000000020300250 clear_iram
@@ -52,201 +52,201 @@
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
+ .text 0x000000002030046c 0x80 lib/libarm.a(string.o)
+ 0x000000002030046c strlen
+ 0x000000002030047c memset
+ 0x00000000203004be memcmp
+ 0x00000000203004da memcpy
+ .text 0x00000000203004ec 0x138 drivers/libdrivers.a(uart.o)
+ 0x00000000203004ec uart_init
+ 0x000000002030056c uart_putc
+ 0x0000000020300594 uart_puts
+ 0x00000000203005a8 uart_getc
+ 0x00000000203005c4 uart_tstc
+ 0x00000000203005d4 UART_Read
+ 0x00000000203005f0 UART_Write
+ 0x000000002030060c UART_Check_Sync
+ .text 0x0000000020300624 0x338 drivers/libdrivers.a(image.o)
+ 0x0000000020300628 page_align
+ 0x0000000020300640 find_partition_para
+ 0x0000000020300670 read_image_part_offset
+ 0x00000000203006c4 read_flags_image
+ 0x00000000203007ac read_uboot_image
+ 0x000000002030088c nand_read_m0
+ 0x00000000203008f8 read_zloader_image
+ .text 0x000000002030095c 0x2b0 drivers/libdrivers.a(secure_verify.o)
+ 0x000000002030097a BIG2SMALL
+ 0x00000000203009aa bin2hex
+ 0x00000000203009f4 secure_verify_zloader
+ 0x0000000020300ae8 SecureVerify
+ .text 0x0000000020300c0c 0x648 drivers/libdrivers.a(spifc_loader2.o)
+ 0x0000000020300d00 zDrvGpio_SetFunc
+ 0x0000000020300d38 zDrvGpio_SetDirection
+ 0x0000000020300d88 zDrvGpio_SetOutputValue
+ 0x0000000020300dc4 spi_nand_cs
+ 0x0000000020300e00 spifc_clear_fifo
+ 0x0000000020300e14 spifc_clear_int
+ 0x0000000020300f70 spifc_read_oob
+ 0x0000000020300fb4 spifc_read_page_raw
+ 0x0000000020300ff0 spifc_read_page
+ 0x000000002030106c spifc_read
+ 0x00000000203010b0 read_data
+ 0x0000000020301104 read_id
+ 0x0000000020301188 spifc_init
+ 0x000000002030120c zloader_flash_init
+ .text 0x0000000020301254 0x1c0 drivers/libdrivers.a(bbt.o)
+ 0x00000000203012b4 nand_creat_ram_bbt
+ 0x00000000203012f8 nand_search_bbt
+ 0x0000000020301384 nand_creat_bbt
+ 0x0000000020301400 nand_block_isbad
+ .text 0x0000000020301414 0x2688 drivers/libdrivers.a(sha256.o)
+ 0x0000000020303934 sha256_starts
+ 0x000000002030397c sha256_update
+ 0x0000000020303988 sha256_finish
+ 0x0000000020303a74 sha256_csum_wd
+ .text 0x0000000020303a9c 0x424 drivers/libdrivers.a(nor.o)
+ 0x0000000020303a9c spifc_enable
+ 0x0000000020303acc spifc_disable
+ 0x0000000020303af0 spifc_setup_cmd
+ 0x0000000020303b74 spifc_wait_cmd_end
+ 0x0000000020303ba0 spifc_read_fifo
+ 0x0000000020303bdc spifc_start
+ 0x0000000020303bec cmd_seek
+ 0x0000000020303c0c nor_read_reg
+ 0x0000000020303c6c nor_read_id
+ 0x0000000020303cd4 spi_nor_read
+ 0x0000000020303d30 nor_read
+ 0x0000000020303d84 spi_nor_read_security_register
+ 0x0000000020303de0 nor_read_security_register
+ 0x0000000020303e34 nor_init
+ 0x0000000020303e84 board_flash_init
+ .text 0x0000000020303ec0 0x82c drivers/libdrivers.a(ddr.o)
+ 0x0000000020303ec0 nsdelay
+ 0x0000000020303eda ddr_clk_init
+ 0x0000000020303ef0 ddr_phy_init
+ 0x0000000020303fec ddr_ctrl_init
+ 0x00000000203043a8 ddr_prio_init
+ 0x00000000203044cc ddr_init
+ .text 0x00000000203046ec 0xa4 drivers/libdrivers.a(drv_hash.o)
+ 0x00000000203046ec Hash_Calculate
+ .text 0x0000000020304790 0x174 drivers/libdrivers.a(drv_rsa.o)
+ 0x00000000203047aa Rsa_Calculate
+ .text 0x0000000020304904 0x28 drivers/libdrivers.a(flash.o)
+ 0x0000000020304904 get_boot_mode
+ .text 0x000000002030492c 0x1bc drivers/libdrivers.a(efuse.o)
+ 0x000000002030492c efuse_init
+ 0x0000000020304950 get_ddr_flag
+ 0x0000000020304a70 get_secure_verify_status
+ 0x0000000020304ab4 get_otp_secure_verify_status
+ .text 0x0000000020304ae8 0x54 cpu/m0/libm0.a(cpu.o)
+ 0x0000000020304ae8 timer_init
+ 0x0000000020304b00 usdelay
-.glue_7 0x0000000020304b10 0x0
+.glue_7 0x0000000020304b3c 0x0
.glue_7 0x0000000000000000 0x0 linker stubs
-.glue_7t 0x0000000020304b10 0x0
+.glue_7t 0x0000000020304b3c 0x0
.glue_7t 0x0000000000000000 0x0 linker stubs
-.vfp11_veneer 0x0000000020304b10 0x0
+.vfp11_veneer 0x0000000020304b3c 0x0
.vfp11_veneer 0x0000000000000000 0x0 linker stubs
-.v4_bx 0x0000000020304b10 0x0
+.v4_bx 0x0000000020304b3c 0x0
.v4_bx 0x0000000000000000 0x0 linker stubs
-.iplt 0x0000000020304b10 0x0
+.iplt 0x0000000020304b3c 0x0
.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000020304b10 . = ALIGN (0x4)
+ 0x0000000020304b3c . = ALIGN (0x4)
-.rodata 0x0000000020304b10 0x3f0
+.rodata 0x0000000020304b3c 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 0x0000000020304b3c 0x270 drivers/libdrivers.a(spifc_loader2.o)
+ .rodata 0x0000000020304dac 0x13 drivers/libdrivers.a(sha256.o)
+ 0x0000000020304dac sha256_der_prefix
+ *fill* 0x0000000020304dbf 0x1
+ .rodata 0x0000000020304dc0 0x16c drivers/libdrivers.a(nor.o)
-.rodata.str1.1 0x0000000020304f00 0x46f
+.rodata.str1.1 0x0000000020304f2c 0x45b
.rodata.str1.1
- 0x0000000020304f00 0x16c lib/libarm.a(board.o)
- 0x185 (松开之前的大小)
+ 0x0000000020304f2c 0x158 lib/libarm.a(board.o)
+ 0x171 (松开之前的大小)
.rodata.str1.1
- 0x000000002030506c 0xef drivers/libdrivers.a(image.o)
+ 0x0000000020305084 0xef drivers/libdrivers.a(image.o)
0x115 (松开之前的大小)
.rodata.str1.1
- 0x000000002030515b 0x5b drivers/libdrivers.a(secure_verify.o)
+ 0x0000000020305173 0x5b drivers/libdrivers.a(secure_verify.o)
0x5d (松开之前的大小)
.rodata.str1.1
- 0x00000000203051b6 0x3d drivers/libdrivers.a(spifc_loader2.o)
+ 0x00000000203051ce 0x3d drivers/libdrivers.a(spifc_loader2.o)
0x4a (松开之前的大小)
.rodata.str1.1
- 0x00000000203051f3 0x9 drivers/libdrivers.a(bbt.o)
+ 0x000000002030520b 0x9 drivers/libdrivers.a(bbt.o)
.rodata.str1.1
- 0x00000000203051fc 0x15c drivers/libdrivers.a(nor.o)
+ 0x0000000020305214 0x15c drivers/libdrivers.a(nor.o)
.rodata.str1.1
- 0x0000000020305358 0x17 drivers/libdrivers.a(efuse.o)
+ 0x0000000020305370 0x17 drivers/libdrivers.a(efuse.o)
-.rel.dyn 0x0000000020305370 0x0
+.rel.dyn 0x0000000020305388 0x0
.rel.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000020305370 . = ALIGN (0x4)
+ 0x0000000020305388 . = ALIGN (0x4)
-.data 0x0000000020305370 0xd0
+.data 0x0000000020305388 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)
+ .data 0x0000000020305388 0x0 cpu/m0/start.o
+ .data 0x0000000020305388 0x0 lib/libarm.a(board.o)
+ .data 0x0000000020305388 0x0 lib/libarm.a(string.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(uart.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(image.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(secure_verify.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(spifc_loader2.o)
+ .data 0x0000000020305388 0x40 drivers/libdrivers.a(bbt.o)
+ .data 0x00000000203053c8 0x40 drivers/libdrivers.a(sha256.o)
+ .data 0x0000000020305408 0x50 drivers/libdrivers.a(nor.o)
+ 0x0000000020305408 nor_cmd_table
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(ddr.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(drv_hash.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(flash.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(efuse.o)
+ .data 0x0000000020305458 0x0 cpu/m0/libm0.a(cpu.o)
-.igot.plt 0x0000000020305440 0x0
+.igot.plt 0x0000000020305458 0x0
.igot.plt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000020305440 . = ALIGN (0x4)
+ 0x0000000020305458 . = ALIGN (0x4)
.got
*(.got)
- 0x0000000020305440 . = ALIGN (0x4)
- 0x0000000020305440 __bss_start = .
+ 0x0000000020305458 . = ALIGN (0x4)
+ 0x0000000020305458 __bss_start = .
-.bss 0x0000000020305440 0x1e8
+.bss 0x0000000020305458 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)
+ .bss 0x0000000020305458 0x0 cpu/m0/start.o
+ .bss 0x0000000020305458 0x4 lib/libarm.a(board.o)
+ 0x0000000020305458 zloader_entry_point
+ .bss 0x000000002030545c 0x0 lib/libarm.a(string.o)
+ .bss 0x000000002030545c 0x0 drivers/libdrivers.a(uart.o)
+ .bss 0x000000002030545c 0x0 drivers/libdrivers.a(image.o)
+ .bss 0x000000002030545c 0x104 drivers/libdrivers.a(secure_verify.o)
+ 0x000000002030545c result
+ .bss 0x0000000020305560 0x4 drivers/libdrivers.a(spifc_loader2.o)
+ .bss 0x0000000020305564 0x80 drivers/libdrivers.a(bbt.o)
+ .bss 0x00000000203055e4 0x0 drivers/libdrivers.a(sha256.o)
+ .bss 0x00000000203055e4 0x28 drivers/libdrivers.a(nor.o)
+ 0x00000000203055e4 spi_nor_flash
+ 0x00000000203055e8 otp_data
+ .bss 0x000000002030560c 0x0 drivers/libdrivers.a(ddr.o)
+ .bss 0x000000002030560c 0x0 drivers/libdrivers.a(drv_hash.o)
+ .bss 0x000000002030560c 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .bss 0x000000002030560c 0x24 drivers/libdrivers.a(flash.o)
+ 0x000000002030560c flash
+ .bss 0x0000000020305630 0x0 drivers/libdrivers.a(efuse.o)
+ .bss 0x0000000020305630 0x10 cpu/m0/libm0.a(cpu.o)
+ 0x0000000020305630 g_tick
+ 0x0000000020305640 __bss_end = .
+ 0x0000000020305640 . = ALIGN (0x4)
-.para 0x0000000082000000 0x0 加载地址 0x0000000020305628
+.para 0x0000000082000000 0x0 加载地址 0x0000000020305640
0x0000000082000000 __para_start = .
*(.para)
0x0000000082000000 __para_end = .
@@ -353,22 +353,22 @@
.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_info 0x0000000000000000 0x62d4
+ .debug_info 0x0000000000000000 0x765 lib/libarm.a(board.o)
+ .debug_info 0x0000000000000765 0x22b lib/libarm.a(string.o)
+ .debug_info 0x0000000000000990 0x2a0 drivers/libdrivers.a(uart.o)
+ .debug_info 0x0000000000000c30 0xd3c drivers/libdrivers.a(image.o)
+ .debug_info 0x000000000000196c 0xb01 drivers/libdrivers.a(secure_verify.o)
+ .debug_info 0x000000000000246d 0x1661 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_info 0x0000000000003ace 0x70f drivers/libdrivers.a(bbt.o)
+ .debug_info 0x00000000000041dd 0x586 drivers/libdrivers.a(sha256.o)
+ .debug_info 0x0000000000004763 0xd5f drivers/libdrivers.a(nor.o)
+ .debug_info 0x00000000000054c2 0x329 drivers/libdrivers.a(ddr.o)
+ .debug_info 0x00000000000057eb 0x1e8 drivers/libdrivers.a(drv_hash.o)
+ .debug_info 0x00000000000059d3 0x3b4 drivers/libdrivers.a(drv_rsa.o)
+ .debug_info 0x0000000000005d87 0x20f drivers/libdrivers.a(flash.o)
+ .debug_info 0x0000000000005f96 0x1c3 drivers/libdrivers.a(efuse.o)
+ .debug_info 0x0000000000006159 0x17b cpu/m0/libm0.a(cpu.o)
.debug_abbrev 0x0000000000000000 0x1c50
.debug_abbrev 0x0000000000000000 0x2c9 lib/libarm.a(board.o)
@@ -446,22 +446,22 @@
.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_line 0x0000000000000000 0x1f9e
+ .debug_line 0x0000000000000000 0x303 lib/libarm.a(board.o)
+ .debug_line 0x0000000000000303 0x152 lib/libarm.a(string.o)
+ .debug_line 0x0000000000000455 0x112 drivers/libdrivers.a(uart.o)
+ .debug_line 0x0000000000000567 0x3b8 drivers/libdrivers.a(image.o)
+ .debug_line 0x000000000000091f 0x38e drivers/libdrivers.a(secure_verify.o)
+ .debug_line 0x0000000000000cad 0x442 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_line 0x00000000000010ef 0x251 drivers/libdrivers.a(bbt.o)
+ .debug_line 0x0000000000001340 0x2bb drivers/libdrivers.a(sha256.o)
+ .debug_line 0x00000000000015fb 0x2a2 drivers/libdrivers.a(nor.o)
+ .debug_line 0x000000000000189d 0x299 drivers/libdrivers.a(ddr.o)
+ .debug_line 0x0000000000001b36 0x88 drivers/libdrivers.a(drv_hash.o)
+ .debug_line 0x0000000000001bbe 0x117 drivers/libdrivers.a(drv_rsa.o)
+ .debug_line 0x0000000000001cd5 0x10a drivers/libdrivers.a(flash.o)
+ .debug_line 0x0000000000001ddf 0x118 drivers/libdrivers.a(efuse.o)
+ .debug_line 0x0000000000001ef7 0xa7 cpu/m0/libm0.a(cpu.o)
.debug_str 0x0000000000000000 0x1565
.debug_str 0x0000000000000000 0x4a7 lib/libarm.a(board.o)
diff --git a/boot/prj/zx297520v3/bootrom2/dl_off/zloader.bin b/boot/prj/zx297520v3/bootrom2/dl_off/zloader.bin
index 821482a..20b3a7a 100755
--- a/boot/prj/zx297520v3/bootrom2/dl_off/zloader.bin
+++ 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
index ad811f3..3652c89 100755
--- a/boot/prj/zx297520v3/bootrom2/dl_on/loader2.bin
+++ 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
index 33c3aa5..5889419 100755
--- a/boot/prj/zx297520v3/bootrom2/dl_on/z-load
+++ 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
index 2d307f6..cc3e364 100755
--- a/boot/prj/zx297520v3/bootrom2/dl_on/z-load.map
+++ b/boot/prj/zx297520v3/bootrom2/dl_on/z-load.map
@@ -30,7 +30,7 @@
0x0000000000000000 . = 0x0
0x0000000000000000 . = ALIGN (0x4)
-.text 0x0000000000100000 0x1908
+.text 0x0000000000100000 0x1950
cpu/m0/start.o(.text)
.text 0x0000000000100000 0x248 cpu/m0/start.o
0x00000000001001a4 _bss_start
@@ -40,7 +40,7 @@
0x00000000001001b8 _start
0x0000000000100216 run_at
*(.text)
- .text 0x0000000000100248 0x178 lib/libarm.a(board.o)
+ .text 0x0000000000100248 0x188 lib/libarm.a(board.o)
0x0000000000100248 print_info
0x0000000000100258 copy_to_iram1
0x0000000000100278 clear_iram
@@ -48,162 +48,162 @@
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
+ .text 0x00000000001003d0 0x80 lib/libarm.a(string.o)
+ 0x00000000001003d0 strlen
+ 0x00000000001003e0 memset
+ 0x0000000000100422 memcmp
+ 0x000000000010043e memcpy
+ .text 0x0000000000100450 0x82c drivers/libdrivers.a(ddr.o)
+ 0x0000000000100450 nsdelay
+ 0x000000000010046a ddr_clk_init
+ 0x0000000000100480 ddr_phy_init
+ 0x000000000010057c ddr_ctrl_init
+ 0x0000000000100938 ddr_prio_init
+ 0x0000000000100a5c ddr_init
+ .text 0x0000000000100c7c 0x138 drivers/libdrivers.a(uart.o)
+ 0x0000000000100c7c uart_init
+ 0x0000000000100cfc uart_putc
+ 0x0000000000100d24 uart_puts
+ 0x0000000000100d38 uart_getc
+ 0x0000000000100d54 uart_tstc
+ 0x0000000000100d64 UART_Read
+ 0x0000000000100d80 UART_Write
+ 0x0000000000100d9c UART_Check_Sync
+ .text 0x0000000000100db4 0x10c drivers/libdrivers.a(image.o)
+ 0x0000000000100db4 page_align
+ 0x0000000000100dcc find_partition_para
+ 0x0000000000100dfc read_image_part_offset
+ 0x0000000000100e50 read_flags_image
+ 0x0000000000100e54 read_uboot_image
+ 0x0000000000100e58 nand_read_m0
+ 0x0000000000100e5c read_zloader_image
+ .text 0x0000000000100ec0 0x1bc drivers/libdrivers.a(efuse.o)
+ 0x0000000000100ec0 efuse_init
+ 0x0000000000100ee4 get_ddr_flag
+ 0x0000000000101004 get_secure_verify_status
+ 0x0000000000101048 get_otp_secure_verify_status
+ .text 0x000000000010107c 0x198 drivers/libdrivers.a(secure_verify.o)
+ 0x000000000010107c BIG2SMALL
+ 0x00000000001010ac bin2hex
+ 0x00000000001010f8 secure_verify_zloader
+ 0x0000000000101210 SecureVerify
+ .text 0x0000000000101214 0x424 drivers/libdrivers.a(nor.o)
+ 0x0000000000101214 spifc_enable
+ 0x0000000000101244 spifc_disable
+ 0x0000000000101268 spifc_setup_cmd
+ 0x00000000001012ec spifc_wait_cmd_end
+ 0x0000000000101318 spifc_read_fifo
+ 0x0000000000101354 spifc_start
+ 0x0000000000101364 cmd_seek
+ 0x0000000000101384 nor_read_reg
+ 0x00000000001013e4 nor_read_id
+ 0x000000000010144c spi_nor_read
+ 0x00000000001014a8 nor_read
+ 0x00000000001014fc spi_nor_read_security_register
+ 0x0000000000101558 nor_read_security_register
+ 0x00000000001015ac nor_init
+ 0x00000000001015fc board_flash_init
+ .text 0x0000000000101638 0xa4 drivers/libdrivers.a(drv_hash.o)
+ 0x0000000000101638 Hash_Calculate
+ .text 0x00000000001016dc 0x174 drivers/libdrivers.a(drv_rsa.o)
+ 0x00000000001016f6 Rsa_Calculate
+ .text 0x0000000000101850 0x28 drivers/libdrivers.a(flash.o)
+ 0x0000000000101850 get_boot_mode
+ .text 0x0000000000101878 0x54 cpu/m0/libm0.a(cpu.o)
+ 0x0000000000101878 timer_init
+ 0x0000000000101890 usdelay
+ .text 0x00000000001018cc 0x84 cpu/m0/libm0.a(clk.o)
+ 0x00000000001018cc clk_init
-.glue_7 0x0000000000101908 0x0
+.glue_7 0x0000000000101950 0x0
.glue_7 0x0000000000000000 0x0 linker stubs
-.glue_7t 0x0000000000101908 0x0
+.glue_7t 0x0000000000101950 0x0
.glue_7t 0x0000000000000000 0x0 linker stubs
-.vfp11_veneer 0x0000000000101908 0x0
+.vfp11_veneer 0x0000000000101950 0x0
.vfp11_veneer 0x0000000000000000 0x0 linker stubs
-.v4_bx 0x0000000000101908 0x0
+.v4_bx 0x0000000000101950 0x0
.v4_bx 0x0000000000000000 0x0 linker stubs
-.iplt 0x0000000000101908 0x0
+.iplt 0x0000000000101950 0x0
.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000000101908 . = ALIGN (0x4)
+ 0x0000000000101950 . = ALIGN (0x4)
-.rodata 0x0000000000101908 0x16c
+.rodata 0x0000000000101950 0x16c
*(.rodata)
- .rodata 0x0000000000101908 0x16c drivers/libdrivers.a(nor.o)
+ .rodata 0x0000000000101950 0x16c drivers/libdrivers.a(nor.o)
-.rodata.str1.1 0x0000000000101a74 0x1cd
+.rodata.str1.1 0x0000000000101abc 0x1c9
.rodata.str1.1
- 0x0000000000101a74 0x2d lib/libarm.a(board.o)
+ 0x0000000000101abc 0x29 lib/libarm.a(board.o)
.rodata.str1.1
- 0x0000000000101aa1 0x2a drivers/libdrivers.a(image.o)
+ 0x0000000000101ae5 0x2a drivers/libdrivers.a(image.o)
.rodata.str1.1
- 0x0000000000101acb 0x17 drivers/libdrivers.a(efuse.o)
+ 0x0000000000101b0f 0x17 drivers/libdrivers.a(efuse.o)
.rodata.str1.1
- 0x0000000000101ae2 0x3 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000000101b26 0x3 drivers/libdrivers.a(secure_verify.o)
.rodata.str1.1
- 0x0000000000101ae5 0x15c drivers/libdrivers.a(nor.o)
+ 0x0000000000101b29 0x15c drivers/libdrivers.a(nor.o)
-.rel.dyn 0x0000000000101c44 0x0
+.rel.dyn 0x0000000000101c88 0x0
.rel.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000000101c44 . = ALIGN (0x4)
+ 0x0000000000101c88 . = ALIGN (0x4)
-.data 0x0000000000101c44 0x50
+.data 0x0000000000101c88 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)
+ .data 0x0000000000101c88 0x0 cpu/m0/start.o
+ .data 0x0000000000101c88 0x0 lib/libarm.a(board.o)
+ .data 0x0000000000101c88 0x0 lib/libarm.a(string.o)
+ .data 0x0000000000101c88 0x0 drivers/libdrivers.a(ddr.o)
+ .data 0x0000000000101c88 0x0 drivers/libdrivers.a(uart.o)
+ .data 0x0000000000101c88 0x0 drivers/libdrivers.a(image.o)
+ .data 0x0000000000101c88 0x0 drivers/libdrivers.a(efuse.o)
+ .data 0x0000000000101c88 0x0 drivers/libdrivers.a(secure_verify.o)
+ .data 0x0000000000101c88 0x50 drivers/libdrivers.a(nor.o)
+ 0x0000000000101c88 nor_cmd_table
+ .data 0x0000000000101cd8 0x0 drivers/libdrivers.a(drv_hash.o)
+ .data 0x0000000000101cd8 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .data 0x0000000000101cd8 0x0 drivers/libdrivers.a(flash.o)
+ .data 0x0000000000101cd8 0x0 cpu/m0/libm0.a(cpu.o)
+ .data 0x0000000000101cd8 0x0 cpu/m0/libm0.a(clk.o)
-.igot.plt 0x0000000000101c94 0x0
+.igot.plt 0x0000000000101cd8 0x0
.igot.plt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000000101c94 . = ALIGN (0x4)
+ 0x0000000000101cd8 . = ALIGN (0x4)
.got
*(.got)
- 0x0000000000101c94 . = ALIGN (0x4)
- 0x0000000000101c94 __bss_start = .
+ 0x0000000000101cd8 . = ALIGN (0x4)
+ 0x0000000000101cd8 __bss_start = .
-.bss 0x0000000000101c94 0x164
+.bss 0x0000000000101cd8 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)
+ .bss 0x0000000000101cd8 0x0 cpu/m0/start.o
+ .bss 0x0000000000101cd8 0x4 lib/libarm.a(board.o)
+ 0x0000000000101cd8 zloader_entry_point
+ .bss 0x0000000000101cdc 0x0 lib/libarm.a(string.o)
+ .bss 0x0000000000101cdc 0x0 drivers/libdrivers.a(ddr.o)
+ .bss 0x0000000000101cdc 0x0 drivers/libdrivers.a(uart.o)
+ .bss 0x0000000000101cdc 0x0 drivers/libdrivers.a(image.o)
+ .bss 0x0000000000101cdc 0x0 drivers/libdrivers.a(efuse.o)
+ .bss 0x0000000000101cdc 0x104 drivers/libdrivers.a(secure_verify.o)
+ 0x0000000000101cdc result
+ .bss 0x0000000000101de0 0x28 drivers/libdrivers.a(nor.o)
+ 0x0000000000101de0 spi_nor_flash
+ 0x0000000000101de4 otp_data
+ .bss 0x0000000000101e08 0x0 drivers/libdrivers.a(drv_hash.o)
+ .bss 0x0000000000101e08 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .bss 0x0000000000101e08 0x24 drivers/libdrivers.a(flash.o)
+ 0x0000000000101e08 flash
+ .bss 0x0000000000101e2c 0x10 cpu/m0/libm0.a(cpu.o)
+ 0x0000000000101e2c g_tick
+ .bss 0x0000000000101e3c 0x0 cpu/m0/libm0.a(clk.o)
+ 0x0000000000101e3c __bss_end = .
+ 0x0000000000101e3c . = ALIGN (0x4)
-.para 0x0000000082000000 0x0 加载地址 0x0000000000101df8
+.para 0x0000000082000000 0x0 加载地址 0x0000000000101e3c
0x0000000082000000 __para_start = .
*(.para)
0x0000000082000000 __para_end = .
@@ -300,20 +300,20 @@
.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_info 0x0000000000000000 0x341f
+ .debug_info 0x0000000000000000 0x658 lib/libarm.a(board.o)
+ .debug_info 0x0000000000000658 0x22b lib/libarm.a(string.o)
+ .debug_info 0x0000000000000883 0x329 drivers/libdrivers.a(ddr.o)
+ .debug_info 0x0000000000000bac 0x2a0 drivers/libdrivers.a(uart.o)
+ .debug_info 0x0000000000000e4c 0x6d3 drivers/libdrivers.a(image.o)
+ .debug_info 0x000000000000151f 0x1c3 drivers/libdrivers.a(efuse.o)
+ .debug_info 0x00000000000016e2 0x62d drivers/libdrivers.a(secure_verify.o)
+ .debug_info 0x0000000000001d0f 0xd5f drivers/libdrivers.a(nor.o)
+ .debug_info 0x0000000000002a6e 0x1e8 drivers/libdrivers.a(drv_hash.o)
+ .debug_info 0x0000000000002c56 0x3b4 drivers/libdrivers.a(drv_rsa.o)
+ .debug_info 0x000000000000300a 0x20f drivers/libdrivers.a(flash.o)
+ .debug_info 0x0000000000003219 0x17b cpu/m0/libm0.a(cpu.o)
+ .debug_info 0x0000000000003394 0x8b cpu/m0/libm0.a(clk.o)
.debug_abbrev 0x0000000000000000 0x1290
.debug_abbrev 0x0000000000000000 0x286 lib/libarm.a(board.o)
@@ -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 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_line 0x0000000000000000 0x1430
+ .debug_line 0x0000000000000000 0x2f3 lib/libarm.a(board.o)
+ .debug_line 0x00000000000002f3 0x152 lib/libarm.a(string.o)
+ .debug_line 0x0000000000000445 0x299 drivers/libdrivers.a(ddr.o)
+ .debug_line 0x00000000000006de 0x112 drivers/libdrivers.a(uart.o)
+ .debug_line 0x00000000000007f0 0x228 drivers/libdrivers.a(image.o)
+ .debug_line 0x0000000000000a18 0x118 drivers/libdrivers.a(efuse.o)
+ .debug_line 0x0000000000000b30 0x2ad drivers/libdrivers.a(secure_verify.o)
+ .debug_line 0x0000000000000ddd 0x2a2 drivers/libdrivers.a(nor.o)
+ .debug_line 0x000000000000107f 0x88 drivers/libdrivers.a(drv_hash.o)
+ .debug_line 0x0000000000001107 0x117 drivers/libdrivers.a(drv_rsa.o)
+ .debug_line 0x000000000000121e 0x10a drivers/libdrivers.a(flash.o)
+ .debug_line 0x0000000000001328 0xa7 cpu/m0/libm0.a(cpu.o)
+ .debug_line 0x00000000000013cf 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/bootrom2/dl_on/z-load2 b/boot/prj/zx297520v3/bootrom2/dl_on/z-load2
index 18a645c..f556735 100755
--- a/boot/prj/zx297520v3/bootrom2/dl_on/z-load2
+++ 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
index 877f07a..e422c41 100755
--- a/boot/prj/zx297520v3/bootrom2/dl_on/z-load2.map
+++ b/boot/prj/zx297520v3/bootrom2/dl_on/z-load2.map
@@ -34,7 +34,7 @@
0x0000000000000000 . = 0x0
0x0000000000000000 . = ALIGN (0x4)
-.text 0x0000000020300000 0x4b10
+.text 0x0000000020300000 0x4b3c
cpu/m0/start.o(.text)
.text 0x0000000020300000 0x220 cpu/m0/start.o
0x00000000203001a4 _bss_start
@@ -44,7 +44,7 @@
0x00000000203001b8 _start
0x00000000203001fe run_at
*(.text)
- .text 0x0000000020300220 0x258 lib/libarm.a(board.o)
+ .text 0x0000000020300220 0x24c lib/libarm.a(board.o)
0x0000000020300220 print_info
0x0000000020300230 copy_to_iram1
0x0000000020300250 clear_iram
@@ -52,201 +52,201 @@
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
+ .text 0x000000002030046c 0x80 lib/libarm.a(string.o)
+ 0x000000002030046c strlen
+ 0x000000002030047c memset
+ 0x00000000203004be memcmp
+ 0x00000000203004da memcpy
+ .text 0x00000000203004ec 0x138 drivers/libdrivers.a(uart.o)
+ 0x00000000203004ec uart_init
+ 0x000000002030056c uart_putc
+ 0x0000000020300594 uart_puts
+ 0x00000000203005a8 uart_getc
+ 0x00000000203005c4 uart_tstc
+ 0x00000000203005d4 UART_Read
+ 0x00000000203005f0 UART_Write
+ 0x000000002030060c UART_Check_Sync
+ .text 0x0000000020300624 0x338 drivers/libdrivers.a(image.o)
+ 0x0000000020300628 page_align
+ 0x0000000020300640 find_partition_para
+ 0x0000000020300670 read_image_part_offset
+ 0x00000000203006c4 read_flags_image
+ 0x00000000203007ac read_uboot_image
+ 0x000000002030088c nand_read_m0
+ 0x00000000203008f8 read_zloader_image
+ .text 0x000000002030095c 0x2b0 drivers/libdrivers.a(secure_verify.o)
+ 0x000000002030097a BIG2SMALL
+ 0x00000000203009aa bin2hex
+ 0x00000000203009f4 secure_verify_zloader
+ 0x0000000020300ae8 SecureVerify
+ .text 0x0000000020300c0c 0x648 drivers/libdrivers.a(spifc_loader2.o)
+ 0x0000000020300d00 zDrvGpio_SetFunc
+ 0x0000000020300d38 zDrvGpio_SetDirection
+ 0x0000000020300d88 zDrvGpio_SetOutputValue
+ 0x0000000020300dc4 spi_nand_cs
+ 0x0000000020300e00 spifc_clear_fifo
+ 0x0000000020300e14 spifc_clear_int
+ 0x0000000020300f70 spifc_read_oob
+ 0x0000000020300fb4 spifc_read_page_raw
+ 0x0000000020300ff0 spifc_read_page
+ 0x000000002030106c spifc_read
+ 0x00000000203010b0 read_data
+ 0x0000000020301104 read_id
+ 0x0000000020301188 spifc_init
+ 0x000000002030120c zloader_flash_init
+ .text 0x0000000020301254 0x1c0 drivers/libdrivers.a(bbt.o)
+ 0x00000000203012b4 nand_creat_ram_bbt
+ 0x00000000203012f8 nand_search_bbt
+ 0x0000000020301384 nand_creat_bbt
+ 0x0000000020301400 nand_block_isbad
+ .text 0x0000000020301414 0x2688 drivers/libdrivers.a(sha256.o)
+ 0x0000000020303934 sha256_starts
+ 0x000000002030397c sha256_update
+ 0x0000000020303988 sha256_finish
+ 0x0000000020303a74 sha256_csum_wd
+ .text 0x0000000020303a9c 0x424 drivers/libdrivers.a(nor.o)
+ 0x0000000020303a9c spifc_enable
+ 0x0000000020303acc spifc_disable
+ 0x0000000020303af0 spifc_setup_cmd
+ 0x0000000020303b74 spifc_wait_cmd_end
+ 0x0000000020303ba0 spifc_read_fifo
+ 0x0000000020303bdc spifc_start
+ 0x0000000020303bec cmd_seek
+ 0x0000000020303c0c nor_read_reg
+ 0x0000000020303c6c nor_read_id
+ 0x0000000020303cd4 spi_nor_read
+ 0x0000000020303d30 nor_read
+ 0x0000000020303d84 spi_nor_read_security_register
+ 0x0000000020303de0 nor_read_security_register
+ 0x0000000020303e34 nor_init
+ 0x0000000020303e84 board_flash_init
+ .text 0x0000000020303ec0 0x82c drivers/libdrivers.a(ddr.o)
+ 0x0000000020303ec0 nsdelay
+ 0x0000000020303eda ddr_clk_init
+ 0x0000000020303ef0 ddr_phy_init
+ 0x0000000020303fec ddr_ctrl_init
+ 0x00000000203043a8 ddr_prio_init
+ 0x00000000203044cc ddr_init
+ .text 0x00000000203046ec 0xa4 drivers/libdrivers.a(drv_hash.o)
+ 0x00000000203046ec Hash_Calculate
+ .text 0x0000000020304790 0x174 drivers/libdrivers.a(drv_rsa.o)
+ 0x00000000203047aa Rsa_Calculate
+ .text 0x0000000020304904 0x28 drivers/libdrivers.a(flash.o)
+ 0x0000000020304904 get_boot_mode
+ .text 0x000000002030492c 0x1bc drivers/libdrivers.a(efuse.o)
+ 0x000000002030492c efuse_init
+ 0x0000000020304950 get_ddr_flag
+ 0x0000000020304a70 get_secure_verify_status
+ 0x0000000020304ab4 get_otp_secure_verify_status
+ .text 0x0000000020304ae8 0x54 cpu/m0/libm0.a(cpu.o)
+ 0x0000000020304ae8 timer_init
+ 0x0000000020304b00 usdelay
-.glue_7 0x0000000020304b10 0x0
+.glue_7 0x0000000020304b3c 0x0
.glue_7 0x0000000000000000 0x0 linker stubs
-.glue_7t 0x0000000020304b10 0x0
+.glue_7t 0x0000000020304b3c 0x0
.glue_7t 0x0000000000000000 0x0 linker stubs
-.vfp11_veneer 0x0000000020304b10 0x0
+.vfp11_veneer 0x0000000020304b3c 0x0
.vfp11_veneer 0x0000000000000000 0x0 linker stubs
-.v4_bx 0x0000000020304b10 0x0
+.v4_bx 0x0000000020304b3c 0x0
.v4_bx 0x0000000000000000 0x0 linker stubs
-.iplt 0x0000000020304b10 0x0
+.iplt 0x0000000020304b3c 0x0
.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000020304b10 . = ALIGN (0x4)
+ 0x0000000020304b3c . = ALIGN (0x4)
-.rodata 0x0000000020304b10 0x3f0
+.rodata 0x0000000020304b3c 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 0x0000000020304b3c 0x270 drivers/libdrivers.a(spifc_loader2.o)
+ .rodata 0x0000000020304dac 0x13 drivers/libdrivers.a(sha256.o)
+ 0x0000000020304dac sha256_der_prefix
+ *fill* 0x0000000020304dbf 0x1
+ .rodata 0x0000000020304dc0 0x16c drivers/libdrivers.a(nor.o)
-.rodata.str1.1 0x0000000020304f00 0x46f
+.rodata.str1.1 0x0000000020304f2c 0x45b
.rodata.str1.1
- 0x0000000020304f00 0x16c lib/libarm.a(board.o)
- 0x185 (松开之前的大小)
+ 0x0000000020304f2c 0x158 lib/libarm.a(board.o)
+ 0x171 (松开之前的大小)
.rodata.str1.1
- 0x000000002030506c 0xef drivers/libdrivers.a(image.o)
+ 0x0000000020305084 0xef drivers/libdrivers.a(image.o)
0x115 (松开之前的大小)
.rodata.str1.1
- 0x000000002030515b 0x5b drivers/libdrivers.a(secure_verify.o)
+ 0x0000000020305173 0x5b drivers/libdrivers.a(secure_verify.o)
0x5d (松开之前的大小)
.rodata.str1.1
- 0x00000000203051b6 0x3d drivers/libdrivers.a(spifc_loader2.o)
+ 0x00000000203051ce 0x3d drivers/libdrivers.a(spifc_loader2.o)
0x4a (松开之前的大小)
.rodata.str1.1
- 0x00000000203051f3 0x9 drivers/libdrivers.a(bbt.o)
+ 0x000000002030520b 0x9 drivers/libdrivers.a(bbt.o)
.rodata.str1.1
- 0x00000000203051fc 0x15c drivers/libdrivers.a(nor.o)
+ 0x0000000020305214 0x15c drivers/libdrivers.a(nor.o)
.rodata.str1.1
- 0x0000000020305358 0x17 drivers/libdrivers.a(efuse.o)
+ 0x0000000020305370 0x17 drivers/libdrivers.a(efuse.o)
-.rel.dyn 0x0000000020305370 0x0
+.rel.dyn 0x0000000020305388 0x0
.rel.iplt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000020305370 . = ALIGN (0x4)
+ 0x0000000020305388 . = ALIGN (0x4)
-.data 0x0000000020305370 0xd0
+.data 0x0000000020305388 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)
+ .data 0x0000000020305388 0x0 cpu/m0/start.o
+ .data 0x0000000020305388 0x0 lib/libarm.a(board.o)
+ .data 0x0000000020305388 0x0 lib/libarm.a(string.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(uart.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(image.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(secure_verify.o)
+ .data 0x0000000020305388 0x0 drivers/libdrivers.a(spifc_loader2.o)
+ .data 0x0000000020305388 0x40 drivers/libdrivers.a(bbt.o)
+ .data 0x00000000203053c8 0x40 drivers/libdrivers.a(sha256.o)
+ .data 0x0000000020305408 0x50 drivers/libdrivers.a(nor.o)
+ 0x0000000020305408 nor_cmd_table
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(ddr.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(drv_hash.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(flash.o)
+ .data 0x0000000020305458 0x0 drivers/libdrivers.a(efuse.o)
+ .data 0x0000000020305458 0x0 cpu/m0/libm0.a(cpu.o)
-.igot.plt 0x0000000020305440 0x0
+.igot.plt 0x0000000020305458 0x0
.igot.plt 0x0000000000000000 0x0 cpu/m0/start.o
- 0x0000000020305440 . = ALIGN (0x4)
+ 0x0000000020305458 . = ALIGN (0x4)
.got
*(.got)
- 0x0000000020305440 . = ALIGN (0x4)
- 0x0000000020305440 __bss_start = .
+ 0x0000000020305458 . = ALIGN (0x4)
+ 0x0000000020305458 __bss_start = .
-.bss 0x0000000020305440 0x1e8
+.bss 0x0000000020305458 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)
+ .bss 0x0000000020305458 0x0 cpu/m0/start.o
+ .bss 0x0000000020305458 0x4 lib/libarm.a(board.o)
+ 0x0000000020305458 zloader_entry_point
+ .bss 0x000000002030545c 0x0 lib/libarm.a(string.o)
+ .bss 0x000000002030545c 0x0 drivers/libdrivers.a(uart.o)
+ .bss 0x000000002030545c 0x0 drivers/libdrivers.a(image.o)
+ .bss 0x000000002030545c 0x104 drivers/libdrivers.a(secure_verify.o)
+ 0x000000002030545c result
+ .bss 0x0000000020305560 0x4 drivers/libdrivers.a(spifc_loader2.o)
+ .bss 0x0000000020305564 0x80 drivers/libdrivers.a(bbt.o)
+ .bss 0x00000000203055e4 0x0 drivers/libdrivers.a(sha256.o)
+ .bss 0x00000000203055e4 0x28 drivers/libdrivers.a(nor.o)
+ 0x00000000203055e4 spi_nor_flash
+ 0x00000000203055e8 otp_data
+ .bss 0x000000002030560c 0x0 drivers/libdrivers.a(ddr.o)
+ .bss 0x000000002030560c 0x0 drivers/libdrivers.a(drv_hash.o)
+ .bss 0x000000002030560c 0x0 drivers/libdrivers.a(drv_rsa.o)
+ .bss 0x000000002030560c 0x24 drivers/libdrivers.a(flash.o)
+ 0x000000002030560c flash
+ .bss 0x0000000020305630 0x0 drivers/libdrivers.a(efuse.o)
+ .bss 0x0000000020305630 0x10 cpu/m0/libm0.a(cpu.o)
+ 0x0000000020305630 g_tick
+ 0x0000000020305640 __bss_end = .
+ 0x0000000020305640 . = ALIGN (0x4)
-.para 0x0000000082000000 0x0 加载地址 0x0000000020305628
+.para 0x0000000082000000 0x0 加载地址 0x0000000020305640
0x0000000082000000 __para_start = .
*(.para)
0x0000000082000000 __para_end = .
@@ -353,22 +353,22 @@
.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_info 0x0000000000000000 0x62d4
+ .debug_info 0x0000000000000000 0x765 lib/libarm.a(board.o)
+ .debug_info 0x0000000000000765 0x22b lib/libarm.a(string.o)
+ .debug_info 0x0000000000000990 0x2a0 drivers/libdrivers.a(uart.o)
+ .debug_info 0x0000000000000c30 0xd3c drivers/libdrivers.a(image.o)
+ .debug_info 0x000000000000196c 0xb01 drivers/libdrivers.a(secure_verify.o)
+ .debug_info 0x000000000000246d 0x1661 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_info 0x0000000000003ace 0x70f drivers/libdrivers.a(bbt.o)
+ .debug_info 0x00000000000041dd 0x586 drivers/libdrivers.a(sha256.o)
+ .debug_info 0x0000000000004763 0xd5f drivers/libdrivers.a(nor.o)
+ .debug_info 0x00000000000054c2 0x329 drivers/libdrivers.a(ddr.o)
+ .debug_info 0x00000000000057eb 0x1e8 drivers/libdrivers.a(drv_hash.o)
+ .debug_info 0x00000000000059d3 0x3b4 drivers/libdrivers.a(drv_rsa.o)
+ .debug_info 0x0000000000005d87 0x20f drivers/libdrivers.a(flash.o)
+ .debug_info 0x0000000000005f96 0x1c3 drivers/libdrivers.a(efuse.o)
+ .debug_info 0x0000000000006159 0x17b cpu/m0/libm0.a(cpu.o)
.debug_abbrev 0x0000000000000000 0x1c50
.debug_abbrev 0x0000000000000000 0x2c9 lib/libarm.a(board.o)
@@ -446,22 +446,22 @@
.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_line 0x0000000000000000 0x1f9e
+ .debug_line 0x0000000000000000 0x303 lib/libarm.a(board.o)
+ .debug_line 0x0000000000000303 0x152 lib/libarm.a(string.o)
+ .debug_line 0x0000000000000455 0x112 drivers/libdrivers.a(uart.o)
+ .debug_line 0x0000000000000567 0x3b8 drivers/libdrivers.a(image.o)
+ .debug_line 0x000000000000091f 0x38e drivers/libdrivers.a(secure_verify.o)
+ .debug_line 0x0000000000000cad 0x442 drivers/libdrivers.a(spifc_loader2.o)
+ .debug_line 0x00000000000010ef 0x251 drivers/libdrivers.a(bbt.o)
+ .debug_line 0x0000000000001340 0x2bb drivers/libdrivers.a(sha256.o)
+ .debug_line 0x00000000000015fb 0x2a2 drivers/libdrivers.a(nor.o)
+ .debug_line 0x000000000000189d 0x299 drivers/libdrivers.a(ddr.o)
+ .debug_line 0x0000000000001b36 0x88 drivers/libdrivers.a(drv_hash.o)
+ .debug_line 0x0000000000001bbe 0x117 drivers/libdrivers.a(drv_rsa.o)
+ .debug_line 0x0000000000001cd5 0x10a drivers/libdrivers.a(flash.o)
+ .debug_line 0x0000000000001ddf 0x118 drivers/libdrivers.a(efuse.o)
+ .debug_line 0x0000000000001ef7 0xa7 cpu/m0/libm0.a(cpu.o)
.debug_str 0x0000000000000000 0x1565
.debug_str 0x0000000000000000 0x4a7 lib/libarm.a(board.o)
diff --git a/boot/prj/zx297520v3/bootrom2/dl_on/zloader.bin b/boot/prj/zx297520v3/bootrom2/dl_on/zloader.bin
index 3425f47..3d21453 100755
--- a/boot/prj/zx297520v3/bootrom2/dl_on/zloader.bin
+++ b/boot/prj/zx297520v3/bootrom2/dl_on/zloader.bin
Binary files differ