Merge branch 'Branch_S550_Fast_Emmc' of 192.168.6.216:linux-em-group/s530-ntk into Branch_S550_Emmc

This commit is contained in:
xiehongyan 2023-12-20 15:43:33 +08:00
commit b1d2650475
20 changed files with 62 additions and 7866 deletions

View File

@ -78,7 +78,7 @@
#define LEFTFRAME_ROTATE270 3 #define LEFTFRAME_ROTATE270 3
#define RIGHTFRAME_ROTATE270 3 #define RIGHTFRAME_ROTATE270 3
#define BAR_X_ROTATE270 36 #define BAR_X_ROTATE270 36
#define BAR_Y_ROTATE270 46 #define BAR_Y_ROTATE270 45
#define BAR_W_ROTATE270 10 //Progressive bar and drawing by CPU. The x-offset is movable #define BAR_W_ROTATE270 10 //Progressive bar and drawing by CPU. The x-offset is movable
#define BAR_H_ROTATE270 8 #define BAR_H_ROTATE270 8
#define STRING1_X_ROTATE270 36 #define STRING1_X_ROTATE270 36
@ -951,7 +951,7 @@ void nvt_display_draw(UINT32 u32Id)
//printf("g_uiPinPongIdx:%lu g_uiXBarStep:%lu g_uiBarWtmp:%lu tmp:%lu\r\n", g_uiPinPongIdx,g_uiXBarStep,g_uiBarWtmp, (g_uiStr6_h - g_uiBarW)); //printf("g_uiPinPongIdx:%lu g_uiXBarStep:%lu g_uiBarWtmp:%lu tmp:%lu\r\n", g_uiPinPongIdx,g_uiXBarStep,g_uiBarWtmp, (g_uiStr6_h - g_uiBarW));
g_uiXBarStep++; g_uiXBarStep++;
g_uiBarWtmp = g_uiXBarStep*g_uiBarW; g_uiBarWtmp = g_uiXBarStep*g_uiBarW;
if(g_uiBarWtmp > g_uiStr6_h) if((g_uiBarWtmp > g_uiStr6_h) || (g_uiXBarStep >= g_uiTotalBarNum))
{ {
g_uiBarWtmp = g_uiStr6_h; g_uiBarWtmp = g_uiStr6_h;
} }
@ -1312,7 +1312,7 @@ void nvt_display_config(UINT32 config_id, UINT32 vlaue)
g_uiTotalBarNum = vlaue*2; //wrtie partition + read back partition g_uiTotalBarNum = vlaue*2; //wrtie partition + read back partition
g_uiBarW = g_uiStr6_h/(vlaue*2); g_uiBarW = g_uiStr6_h/(vlaue*2);
g_uiBarH = g_uiStr6_w; g_uiBarH = g_uiStr6_w;
//printf("g_uiBarW:%lu\r\n", g_uiBarW); //printf("g_uiBarW:%lu g_uiBarH:%lu\r\n", g_uiBarW, g_uiBarH);
break; break;
} }
} }

View File

@ -833,6 +833,7 @@ static void MovieExe_WifiCB(HD_VIDEO_FRAME *pEthcamSrc)
//#if (MOVIE_UVAC_FUNC == DISABLE) //#if (MOVIE_UVAC_FUNC == DISABLE)
//if (System_GetState(SYS_STATE_CURRSUBMODE) != SYS_SUBMODE_WIFI) { //if (System_GetState(SYS_STATE_CURRSUBMODE) != SYS_SUBMODE_WIFI) {
if (ImageApp_MovieMulti_IsStreamRunning(_CFG_STRM_ID_1) == FALSE) { if (ImageApp_MovieMulti_IsStreamRunning(_CFG_STRM_ID_1) == FALSE) {
vos_util_delay_ms(10);
return; return;
} }
//#endif //#endif

View File

@ -2065,46 +2065,48 @@ _THUMB2 static int bl_load_uboot_from_flash(unsigned char *p_fdt, unsigned char
// debug_err_var("OtaFlag=", info->OtaFlag); // debug_err_var("OtaFlag=", info->OtaFlag);
return 0; return 0;
} }
/* assume ota_flag is read from partition_sys and in the first word */
_THUMB2 static UINT32 bl_check_ota_flag(UINT32 buf_fdt, UINT32 buf_size)
{
int er;
unsigned char *p_fdt = NULL;
DRAM_PARTITION *p_dram_partition = NULL;
unsigned char *p_tmp = (unsigned char *)SDRAM_Start_FW;
/* assume ota_flag is read from partition_sys and in the first word */ // open flash
_THUMB2 static UINT32 bl_check_ota_flag(void) if (bl_flash_open() != 0) {
{ debug_msg("flash open failed\r\n");
int er; return 0;
unsigned char *p_fdt = NULL; }
DRAM_PARTITION *p_dram_partition = NULL;
unsigned char *p_tmp = (unsigned char *)SDRAM_Start_FW;
// open flash #if (FDT_SUPPORT)
if (bl_flash_open() != 0) { // load fdt
debug_msg("flash open failed\r\n");
return 0;
}
#if (FDT_SUPPORT) debug_msg_var("buf_fdt=", buf_fdt);
// load fdt debug_msg_var("buf_size=", buf_size);
er = bl_load_fdt_from_flash(p_tmp, SDRAM_Start_FW, &p_fdt); // dtb size less than 32MB to be safer. er = bl_load_fdt_from_flash((unsigned char *)buf_fdt, buf_size, &p_fdt); // dtb size less than 32MB to be safer.
if (er != 0) { if (er != 0) {
debug_err("load fdt failed\r\n"); debug_err("load fdt failed\r\n");
return 0; return 0;
} }
#endif #endif
p_dram_partition = (DRAM_PARTITION *)bl_get_fdt_cfg(p_fdt, MODELEXT_TYPE_DRAM_PARTITION); p_dram_partition = (DRAM_PARTITION *)bl_get_fdt_cfg(p_fdt, MODELEXT_TYPE_DRAM_PARTITION);
if (p_dram_partition == NULL) { if (p_dram_partition == NULL) {
debug_err("null p_dram_partition\r\n"); debug_err("null p_dram_partition\r\n");
return 0; return 0;
} }
if(bl_load_sys_from_flash((unsigned char *)p_dram_partition->fdt_addr, p_tmp)){ if(bl_load_sys_from_flash((unsigned char *)p_dram_partition->fdt_addr, p_tmp)){
debug_err("bl_load_sys_from_flash failed\r\n"); debug_err("bl_load_sys_from_flash failed\r\n");
return 0; return 0;
} }
UINT32* ota_flag = (UINT32*)p_tmp; UINT32* ota_flag = (UINT32*)p_tmp;
debug_msg_var("ota_flag=", *ota_flag); debug_msg_var("ota_flag=", *ota_flag);
return (*ota_flag); return (*ota_flag);
} }
#endif #endif
/***********************************************************************************/ /***********************************************************************************/
@ -3129,7 +3131,8 @@ _THUMB2 UINT32 bl_mainFlow(void)
UINT32 uiTmpBufferAddr = uiheapBufferAddr + FAT_HEAP_BUFFER_SIZE; UINT32 uiTmpBufferAddr = uiheapBufferAddr + FAT_HEAP_BUFFER_SIZE;
UINT32 uiUpdateBootloaderBufAddr = uiTmpBufferAddr + 0x4000; UINT32 uiUpdateBootloaderBufAddr = uiTmpBufferAddr + 0x4000;
UINT32 uiUpdateMainBinBufAddr = SDRAM_Start_FW; UINT32 uiUpdateMainBinBufAddr = SDRAM_Start_FW;
UINT32 uiOTABufferAddr = uiUpdateBootloaderBufAddr + 0xA000;
UINT32 uiOTABufferSize = 0x10000 * 2; /* 2 blks */
// UART initial sequence // UART initial sequence
//uart_openSystemUART(); //uart_openSystemUART();
// rtc reset shutdown timer // rtc reset shutdown timer
@ -3215,7 +3218,7 @@ _THUMB2 UINT32 bl_mainFlow(void)
UINT32 ota_flag = 0; UINT32 ota_flag = 0;
if(gsfSpecialKeyCallBack(0)) if(gsfSpecialKeyCallBack(0))
{ {
ota_flag = bl_check_ota_flag(); ota_flag = bl_check_ota_flag(uiOTABufferAddr, uiOTABufferSize);
} }
#if !(USB_WRITELOADER || UART_UPDATE) #if !(USB_WRITELOADER || UART_UPDATE)
@ -3299,15 +3302,19 @@ _THUMB2 UINT32 bl_mainFlow(void)
if (bl_load_rtos_from_non_nvtpack(uiUpdateMainBinBufAddr, uiUpdateFileLen, &adjusted_addr, &adjusted_size) == 0) { if (bl_load_rtos_from_non_nvtpack(uiUpdateMainBinBufAddr, uiUpdateFileLen, &adjusted_addr, &adjusted_size) == 0) {
uiFwBaseAddr = adjusted_addr; //fix compressed fit bl_checkDramScanFW() after copy its to temp area, see commit log uiFwBaseAddr = adjusted_addr; //fix compressed fit bl_checkDramScanFW() after copy its to temp area, see commit log
uiUpdateFileLen = adjusted_size; uiUpdateFileLen = adjusted_size;
} else {
bl_displayErrMsg("invalid firmware");
}
#if UPDATE_EMU_CODE #if UPDATE_EMU_CODE
uiLoaderFunc |= FUNC_UPDATE_FW; uiLoaderFunc |= FUNC_UPDATE_FW;
#else #else
uiLoaderFunc |= FUNC_RUN_CARD; uiLoaderFunc |= FUNC_RUN_CARD;
#endif #endif
} else {
debug_err("invalid firmware");
uiLoaderFunc |= FUNC_RUN_FLASH;
}
} }
fat_close_rootfile(); fat_close_rootfile();
debug_msg("\r\n"); // for line end RRRRRRR.... debug_msg("\r\n"); // for line end RRRRRRR....

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,383 +0,0 @@
00000068 A _loader_dram_text_size
000000bc A _loader_data_size
00000388 A _loader_exec_size
000024d8 A _loader_exec_compress_load_base
01000000 T _internal_strg_param_start
01000000 T _loader_exec_compres_start
01000000 t prj_isFastbootKeyPressed
01000010 t prj_checkCardExist
01000024 t prj_issfSpecialKeyPressed
01000050 t prj_isSpecialKeyPressed
01000118 T debug_disable_msg
01000124 T prj_main
01000230 T gpio_getPin
01000258 T Dec2HexStr
01000290 T Dec2HexStr2Bytes
010002f0 T utl_memset
0100034a T utl_memcpy
010003c0 T strlen
010003d4 T strnlen
010003ee T strncpy
0100040a T strncmp
0100042e T strchr
0100044a T memcmp
0100046a T strcmp
01000484 T memchr
01000518 t bl_decompress_rtos
01000540 t bl_get_partition_fdt_offset.part.1
0100059c t bl_load_rtos_from_non_nvtpack.isra.4.constprop.14
01000688 t bl_get_fdt_nvt_memory_cfg_property.constprop.16
010006f4 t bl_get_fdt_cfg
01000850 t bl_update_loader_flag
01000910 t bl_entry_boot
010009a4 t bl_boot_teeos
010009ec t bl_get_fdt_partition_property
01000a3c t bl_get_partition
01000b38 t bl_load_uboot_from_flash
01000cec T bl_flash_open
01000d74 T bl_chk_valid_all_in_one
01000d98 T bl_chk_fdt
01000e6c T bl_chk_uboot
01000e94 t bl_load_uboot_from_all_in_one
01000fb8 T bl_copy_fdt_to_fdt_addr
01001000 t bl_load_fdt_from_flash.constprop.10
010010a0 T bl_boot_uboot
01001194 T bl_process_all_in_one
01001444 T bl_read_rtos_addr
01001464 T bl_mainFlow
01001f9c T loader_setUpdateFwName
01001fb0 T loader_setUpdateLdrName
01001fc4 T loader_setRunFwName
01001fd8 T loader_setVersion
01001fe8 T loader_installSpecialKeyCB
01001ff8 T loader_installsfSpecialKeyCB
01002008 T loader_installCardDetectCB
01002018 T loader_installFastbootKeyCB
01002028 T loader_setStorageIntType
0100203c t nvtpack_get_uitron_offset
010020b0 T nvtpack_calc_nvt_sum
010020d4 T nvtpack_getver
0100215c T nvtpack_verify
0100224c T nvtpack_get_partition
0100232c t cpu_l2_cache_wait_sync_done
01002340 T cpu_invalidateDCacheBlock
01002394 T cpu_cleanDCacheBlock
010023d8 T cpu_cleanInvalidateDCache
010023f8 T CPUflushReadCache
01002436 T CPUflushWriteCache
01002460 T fdt_check_header
010024b0 T fdt_offset_ptr
010024e0 T fdt_next_tag
0100258c T _fdt_check_node_offset
010025b4 T _fdt_check_prop_offset
010025dc T fdt_next_node
01002650 T fdt_first_subnode
0100267e T fdt_next_subnode
010026b4 t _fdt_offset_ptr
010026d0 t _fdt_mem_rsv
010026ec t _nextprop
01002724 T fdt_string
01002732 T fdt_num_mem_rsv
01002758 T fdt_subnode_offset_namelen
010027e0 T fdt_subnode_offset
010027fe T fdt_get_name
01002840 T fdt_first_property_offset
01002858 T fdt_next_property_offset
01002870 T fdt_get_property_by_offset
010028a0 T fdt_get_property_namelen
01002914 T fdt_get_property
01002940 T fdt_getprop_namelen
01002958 T fdt_getprop_by_offset
01002980 T fdt_getprop
010029ac T fdt_get_alias_namelen
010029dc T fdt_path_offset
01002a6c T fdt_check_full
01002b38 t SMHostSendCommand
01002b54 t flash_close
01002b8c t flash_getBlockSize
01002b96 t flash_setReservedAreaMaxBlockNumber
01002b9c t flash_getTotalSize
01002bac t flash_installAccessCB
01002bbc t flash_installIdentifyCB
01002bcc t flash_setConfig
01002be8 t flash_setFrequency
01002c68 t SMHostGetStatus.constprop.3
01002c84 t spiflash_getStatus
01002cc8 t spiflash_waitReady
01002d0c t spi_nor_send_cmd
01002d38 t spiflash_enableWriteLatch
01002d44 t sm_card_host_setup_address_cycle.constprop.5
01002d5c t spiFlash_eraseSector
01002dc0 t spiflash_setStatus
01002e04 t flash_setReservedBadBlockNumber
01002e0c t flash_open
01003164 t flash_readSectors
01003434 t spiFlash_write
0100366c t flash_writePartition
01003694 t flash_writeSectors
010036a8 T nor_get_storage_object
010036bc t SDHostGetStatus
010036e4 t SDHostDataCommand
0100378c t SDHostSimpleCommand
0100380c t CardReadSector
010038cc T card_open
01003b30 T card_close
01003b50 T card_get_type
01003b58 T dma_get_dram_capacity
01003b80 T quary_secure_boot
01003bbc t fat_getclusterstatus
01003ce0 t fat_getnextcluster
01003e18 t fat_getmaxclusternumber
01003e44 t fat_getnextdir_entry
01003e7c t fat_getfirstdir_entry
01003ea4 t fat_getdir_sectornumber
01003ed4 T fat_regfilesystem
01003ef8 T fat_internal_mount_partition
01004260 T fat_internal_initFAT
010042fc T fat_internal_open_rootfile
010045a0 T fat_internal_read_rootfile
0100463c T fat_internal_close_rootfile
0100465c T fat_initFAT
01004674 T fat_open_rootfile
0100468c T fat_read_rootfile
010046a4 T fat_close_rootfile
010046b8 T atoi
010046e4 T __aeabi_uidiv
010046e4 T __udivsi3
010046e4 t .udivsi3_skip_div0_test
010048d0 T __aeabi_uidivmod
010048f0 T __aeabi_idiv
010048f0 T __divsi3
010048f8 t .divsi3_skip_div0_test
01004b10 T __aeabi_idivmod
01004b30 W __aeabi_idiv0
01004b30 W __aeabi_ldiv0
01004b34 T __aeabi_uldivmod
01004b70 T __popcountsi2
01004bb8 T __udivmoddi4
01004ce0 t __debug_err_var_veneer
01004ce8 t __rom_efuse_read_from_thumb
01004cf0 t __cpu_cleanInvalidateDCacheAll_veneer
01004cf8 t __debug_msg_var_from_arm
01004d00 t __CPUInvalidateICacheAll_veneer
01004d08 t __debug_msg_veneer
01004d10 t __rom_LZ_Uncompress_from_thumb
01004d18 t __utl_is_sram_fw_from_thumb
01004d20 t __set_usb_suspend_veneer
01004d28 t __utl_get_bootsrc_veneer
01004d30 t __debug_err_veneer
01004d38 t __UTL_getDrvTmpBufferAddress_from_thumb
01004d40 t __timer_delay_veneer
01004d48 t __fLib_PutSerialStr_veneer
01004d50 t __UTL_setDrvTmpBufferAddress_from_thumb
01004d58 t __fLib_PutSerialChar_veneer
01004d60 T _loader_exec_compres_end
01005894 r GUID_FW2
010058a4 r GUID_FW
010058b4 r GUID_RES
01005b40 T load_dram_scan
01005b40 T _loader_dram_text_start_base
01005ba0 t __debug_msg_veneer
01005ba8 D _image_general_var_base
01005ba8 D _loader_data_start_base
01005ba8 D _load_general_var_base
01005ba8 d ota_sts.4476
01005bac d nodeoffset.5197
01005bb0 d nodeoffset_nvt_memory_cfg.5120
01005bb4 d RWErrorMsg
01005bc4 d g_uiStartBlkUpdateFW
01005bc8 d UPDATE_LOADER_NAME
01005bd5 d UPDATE_FW_NAME
01005be2 d RUN_FW_NAME
01005bef d LoaderErrorMsg
01005c05 d FWErrorMsg
01005c17 d RECOVERY_FW_NAME
01005c24 d guiSpiClkDiv
01005c28 D spi_nor
01005c60 d uiBufAddr
01005c64 D _image_general_var_limit
01005c80 B gStr
01005c80 B _image_general_zi_zi_base
01005c90 b gStorageIntType
01005c94 b g_dram_partition
01005d14 b g_uiVersion
01005d18 B int_strg_obj
01005d20 b g_emb_uboot
01005d40 B rom_lzma_inflate
01005d44 b g_is_flash_open
01005d48 b g_emb_teeos
01005d68 b g_rtos_load_addr
01005d6c b g_rtos_target_addr
01005d70 b g_rtos_size
01005d78 b g_emb_rtos
01005d98 b gsfSpecialKeyCallBack
01005da0 b g_emb_sys
01005dc0 b gRecoveryTriggerCallBack
01005dc4 b gSpecialKeyCallBack
01005dc8 b gCardDetectCallBack
01005dcc b gFastbootKeyCallBack
01005dd0 B BaseOfStack
01005dd4 B TopOfStack
01005dd8 B lzma_temp_buffer
01015dd8 b uiSpiFlashSize
01015ddc b gSpiProgramCallBack
01015de0 b gSpiIdentifyCallBack
01015de4 b bQuadConfigured
01015de8 b uiQuadReadType
01015dec b bSupportEWSR
01015ded b bDualRead
01015df0 b b_support_RDCR
01015df4 b bQuadEnabled
01015df8 b SDContext
01015e00 b FileSys
01015fc0 b vBitMapBuf
010167c0 b ui32FATPages
010167c4 b RootFileHandle
01016800 b TempBuf
01016a00 b uiBufSize
01016a04 b dbg_count
01016a08 b gFatAccessCallBack
01016a40 b vFatBuf
01036a40 B emuCommonBuf
01036a54 B currentPtr
01038000 B _ttb
0103c000 B _ttb_lv2
0103c400 A __common_base
0103c400 A __common_limit
0103c400 A _image_general_zi_zi_limit
0103c400 B _image_load_reset_base
0103c400 B _image_load_reset_length
0103c400 B _image_load_reset_zi_base
0103c400 B _image_load_reset_zi_limit
0103c400 B _loader_heap_base
0103c400 B _load_load_reset_base
0117c400 B _stack_start
f07c0000 T _load_BOOT_EXEC_start_base
f07c0000 t PowerOnReset
f07c0004 t LDRAlign
f07c0008 t CompressBase
f07c000c t CalibrationDutyReg
f07c0010 t DDR_PARAM0
f07c0014 t DDR_PARAM1
f07c0018 t DDR_PARAM2
f07c001c t DDR_PARAM3
f07c0020 t DDR_PARAM4
f07c0024 t LOADER_SIZE
f07c0028 T __start
f07c002c T _load_BOOT_EXEC_end_base
f07c0030 D ConfigRamTab
f07c0030 D _load_LOADER_CONFIGRAM_start_base
f07c0070 D LoaderInternalInfo
f07c0070 D _load_LOADER_CONFIGRAM_end_base
f07c0070 D _load_LOADER_CONFIGRAM_FREQ_PARAM_start_base
f07c0090 D _load_LOADER_CONFIGRAM_FREQ_PARAM_end_base
f07c0300 R g_dma_config_setting
f07c0368 R config_dram1_tbl_2_start_base
f07c0368 R g_dma_config_setting_2
f07c0500 T _load_core2_entry_program_start_base
f07c051c t timer_init
f07c053c t wait_interrupt
f07c05e8 T _load_core2_entry_program_end_base
f07c0600 T _load_LOADER_REMAP_start_base
f07c0600 t _start
f07c0620 t _undefined_instruction
f07c0624 t _software_interrupt
f07c0628 t _prefetch_abort
f07c062c t _data_abort
f07c0630 t _irq
f07c0634 t _fiq
f07c0638 T start
f07c06fc t clearbss
f07c0710 t wait_hvy_load
f07c0730 t invTlb
f07c0768 t way_loop
f07c076c t set_loop
f07c07ec t way_loop_L2
f07c0824 t init_ttb_dram_c1
f07c0844 t init_ttb_so
f07c08a8 t enable_L1
f07c0904 t INT_LOOP
f07c0908 T rom_efuse_read
f07c091c T rom_debug_msg
f07c0930 T rom_debug_msg_var
f07c0944 T rom_debug_msg_err
f07c0958 T rom_LZ_Uncompress
f07c096c T rom_Dec2HexStr
f07c0980 t false_reset
f07c09c0 t exp_halt
f07c09c4 t undefined_instruction
f07c0a08 t software_interrupt
f07c0a4c t prefetch_abort
f07c0a90 t data_abort
f07c0ad4 t irq
f07c0ad8 t fiq
f07c0b48 T EXP_Handler
f07c0b48 t EXP_LOOP
f07c0b48 T _load_LOADER_REMAP_end_base
f07c0b48 T _load_vector_exp_table_start_base
f07c0b50 t apply_driving_calibration
f07c0b50 T _load_vector_exp_table_end_base
f07c0b70 t duty_calibration.constprop.1
f07c0d10 t issue_load_mode.constprop.2
f07c0d2c T disable_rom_wdt
f07c0d70 T rom_memcpy
f07c0d8c T config_dma
f07c1b20 T set_usb_suspend
f07c1bec T uart0_obj
f07c1bf8 T uart1_obj
f07c1c04 T serial_putc
f07c1c20 T serial2_getc
f07c1c3c T serial2_putc
f07c1c58 T serial_getc
f07c1c74 T uart_openSystemUART
f07c1cd0 T serial_init
f07c1cdc T uart_openSystemUART2
f07c1d3c T serial2_init
f07c1d48 T uart_getChar_polling
f07c1d78 T uart_chkChar
f07c1d98 T uart_getStr_polling
f07c1df4 T uart_getBinary
f07c1e0c T get_uart_object
f07c1e3c t m_console
f07c1e40 t debug_put_string
f07c1e68 T debug_set_console
f07c1e7c T debug_err
f07c1e94 T debug_err_var
f07c1ecc T debug_dump_addr
f07c1f38 T g_uiDrvTmpBuffer
f07c1f3c T bitCount
f07c1f4c T UTL_setDrvTmpBufferAddress
f07c1f64 T UTL_getDrvTmpBufferAddress
f07c1f7c T UTL_canUpdateSecKey
f07c1fa8 T utl_is_sram_fw
f07c1fc8 T utl_test_checksum
f07c2068 T utl_dram_protect_enable
f07c209c T utl_dram_protect_disable
f07c20b4 T utl_dram_protect_check
f07c20d8 T utl_get_bootsrc
f07c20ec T utl_get_chipversion
f07c2100 t ____popcountsi2_veneer
f07c2108 t __Dec2HexStr_veneer
f07c2150 t _loader_exec_start_base
f07c2150 T main
f07c2254 T rtc_chkS3boot_init
f07c22b0 T rtc_chkS3boot_wait_init
f07c22d0 T rtc_chkS3boot
f07c2308 T timer_delay
f07c2320 T CPUInvalidateICacheAll
f07c2338 T _cache_clean_d_cache_all
f07c2380 T _cache_invalidate_data_cache_all
f07c23c8 T cpu_invalidateDCacheAll
f07c23e2 T _cache_clean_invalidate_d_cache_All
f07c2430 T cpu_cleanInvalidateDCacheAll
f07c2450 T fLib_PutSerialChar
f07c246c T fLib_PutSerialStr
f07c2480 T debug_msg
f07c248a T debug_msg_var
f07c24b8 t __bl_mainFlow_veneer
f07c24c0 t __CPUflushReadCache_veneer
f07c24c8 t __bl_read_rtos_addr_veneer
f07c24d0 t __Dec2HexStr_veneer
f07c24d8 A _loader_exec_compress_load_cpu_addr
f07c24d8 T _loader_exec_end_base
f07c8018 A _loader_dram_text_cpu_addr

View File

@ -1,517 +0,0 @@
Loader565_Data/Release/Loader565.axf: file format elf32-littlearm
Loader565_Data/Release/Loader565.axf
architecture: arm, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0xf07c0028
Program Header:
0x70000001 off 0x00024d60 vaddr 0x01004d60 paddr 0x00007238 align 2**2
filesz 0x00000008 memsz 0x00000008 flags r--
LOAD off 0x00010000 vaddr 0xf07c0000 paddr 0x00000000 align 2**16
filesz 0x000024d8 memsz 0x000024d8 flags rwx
LOAD off 0x00020000 vaddr 0x01000000 paddr 0x000024d8 align 2**16
filesz 0x00005c68 memsz 0x00005c68 flags rwx
LOAD off 0x00025c80 vaddr 0x01005c80 paddr 0x00008180 align 2**16
filesz 0x00000000 memsz 0x00176780 flags rw-
private flags = 5000200: [Version5 EABI] [soft-float ABI]
Sections:
Idx Name Size VMA LMA File off Algn
0 .BOOT_EXEC 0000002c f07c0000 00000000 00010000 2**2
CONTENTS, ALLOC, LOAD, CODE
1 .LOADER_CONFIGRAM 00000060 f07c0030 00000030 00010030 2**2
CONTENTS, ALLOC, LOAD, DATA
2 .LOADER_CONFIGRAM2 000000d0 f07c0300 00000300 00010300 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 .LOADER_CORE2_ENTRY_PROGRAM 000000e8 f07c0500 00000500 00010500 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
4 .LOADER_REMAP 00001b50 f07c0600 00000600 00010600 2**3
CONTENTS, ALLOC, LOAD, READONLY, CODE
5 .LOADER_EXEC 00000388 f07c2150 00002150 00012150 2**3
CONTENTS, ALLOC, LOAD, READONLY, CODE
6 .text 00004d60 01000000 000024d8 00020000 2**3
CONTENTS, ALLOC, LOAD, READONLY, CODE
7 .ARM.exidx 00000008 01004d60 00007238 00024d60 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
8 .rodata 00000dd8 01004d68 00007240 00024d68 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
9 .dram_text 00000068 01005b40 00008018 00025b40 2**3
CONTENTS, ALLOC, LOAD, READONLY, CODE
10 .data 000000bc 01005ba8 00008080 00025ba8 2**2
CONTENTS, ALLOC, LOAD, DATA
11 .dummy 00000004 01005c64 0000813c 00025c64 2**0
CONTENTS, ALLOC, LOAD, DATA
12 .bss 00036780 01005c80 00008180 00025c80 2**6
ALLOC
13 .loader_heap 00140000 0103c400 0003e900 00025c80 2**0
ALLOC
14 .comment 00000074 00000000 00000000 00025c68 2**0
CONTENTS, READONLY
15 .ARM.attributes 00000037 00000000 00000000 00025cdc 2**0
CONTENTS, READONLY
16 .debug_frame 000000c0 00000000 00000000 00025d14 2**2
CONTENTS, READONLY, DEBUGGING
17 .debug_line 00000d87 00000000 00000000 00025dd4 2**0
CONTENTS, READONLY, DEBUGGING
18 .debug_info 000029b1 00000000 00000000 00026b5b 2**0
CONTENTS, READONLY, DEBUGGING
19 .debug_abbrev 00000475 00000000 00000000 0002950c 2**0
CONTENTS, READONLY, DEBUGGING
20 .debug_aranges 000000c0 00000000 00000000 00029988 2**3
CONTENTS, READONLY, DEBUGGING
21 .debug_loc 000001df 00000000 00000000 00029a48 2**0
CONTENTS, READONLY, DEBUGGING
22 .debug_str 0000120b 00000000 00000000 00029c27 2**0
CONTENTS, READONLY, DEBUGGING
SYMBOL TABLE:
f07c0000 l d .BOOT_EXEC 00000000 .BOOT_EXEC
f07c0030 l d .LOADER_CONFIGRAM 00000000 .LOADER_CONFIGRAM
f07c0300 l d .LOADER_CONFIGRAM2 00000000 .LOADER_CONFIGRAM2
f07c0500 l d .LOADER_CORE2_ENTRY_PROGRAM 00000000 .LOADER_CORE2_ENTRY_PROGRAM
f07c0600 l d .LOADER_REMAP 00000000 .LOADER_REMAP
f07c2150 l d .LOADER_EXEC 00000000 .LOADER_EXEC
01000000 l d .text 00000000 .text
01004d60 l d .ARM.exidx 00000000 .ARM.exidx
01004d68 l d .rodata 00000000 .rodata
01005b40 l d .dram_text 00000000 .dram_text
01005ba8 l d .data 00000000 .data
01005c64 l d .dummy 00000000 .dummy
01005c80 l d .bss 00000000 .bss
0103c400 l d .loader_heap 00000000 .loader_heap
00000000 l d .comment 00000000 .comment
00000000 l d .ARM.attributes 00000000 .ARM.attributes
00000000 l d .debug_frame 00000000 .debug_frame
00000000 l d .debug_line 00000000 .debug_line
00000000 l d .debug_info 00000000 .debug_info
00000000 l d .debug_abbrev 00000000 .debug_abbrev
00000000 l d .debug_aranges 00000000 .debug_aranges
00000000 l d .debug_loc 00000000 .debug_loc
00000000 l d .debug_str 00000000 .debug_str
00000000 l df *ABS* 00000000 Loader565_Data/Release/ObjectLds/Reset_560/reset.o
f07c0000 l .BOOT_EXEC 00000000 PowerOnReset
f07c0004 l .BOOT_EXEC 00000000 LDRAlign
f07c0008 l .BOOT_EXEC 00000000 CompressBase
f07c000c l .BOOT_EXEC 00000000 CalibrationDutyReg
f07c0010 l .BOOT_EXEC 00000000 DDR_PARAM0
f07c0014 l .BOOT_EXEC 00000000 DDR_PARAM1
f07c0018 l .BOOT_EXEC 00000000 DDR_PARAM2
f07c001c l .BOOT_EXEC 00000000 DDR_PARAM3
f07c0020 l .BOOT_EXEC 00000000 DDR_PARAM4
f07c0024 l .BOOT_EXEC 00000000 LOADER_SIZE
00000000 l df *ABS* 00000000 configramLZ.c
00000000 l df *ABS* 00000000 configramFreqParam.c
00000000 l df *ABS* 00000000 config_dram1_tbl.c
00000000 l df *ABS* 00000000 config_dram1_2_tbl.c
00000000 l df *ABS* 00000000 Loader565_Data/Release/ObjectLds/Reset_560/core2_entry.o
f07c053c l .LOADER_CORE2_ENTRY_PROGRAM 00000000 wait_interrupt
f07c051c l .LOADER_CORE2_ENTRY_PROGRAM 00000000 timer_init
00000000 l df *ABS* 00000000 Loader565_Data/Release/ObjectLds/Remap_LZ565/doremapLZ565.o
f07c0600 l .LOADER_REMAP 00000000 _start
f07c0980 l .LOADER_REMAP 00000000 false_reset
f07c0620 l .LOADER_REMAP 00000000 _undefined_instruction
f07c0624 l .LOADER_REMAP 00000000 _software_interrupt
f07c0628 l .LOADER_REMAP 00000000 _prefetch_abort
f07c062c l .LOADER_REMAP 00000000 _data_abort
f07c0630 l .LOADER_REMAP 00000000 _irq
f07c0634 l .LOADER_REMAP 00000000 _fiq
f07c09c4 l .LOADER_REMAP 00000000 undefined_instruction
f07c0a08 l .LOADER_REMAP 00000000 software_interrupt
f07c0a4c l .LOADER_REMAP 00000000 prefetch_abort
f07c0a90 l .LOADER_REMAP 00000000 data_abort
f07c0ad4 l .LOADER_REMAP 00000000 irq
f07c0ad8 l .LOADER_REMAP 00000000 fiq
f07c06fc l .LOADER_REMAP 00000000 clearbss
f07c0710 l .LOADER_REMAP 00000000 wait_hvy_load
f07c0730 l .LOADER_REMAP 00000000 invTlb
f07c0768 l .LOADER_REMAP 00000000 way_loop
f07c076c l .LOADER_REMAP 00000000 set_loop
f07c07ec l .LOADER_REMAP 00000000 way_loop_L2
f07c0824 l .LOADER_REMAP 00000000 init_ttb_dram_c1
f07c0844 l .LOADER_REMAP 00000000 init_ttb_so
f07c08a8 l .LOADER_REMAP 00000000 enable_L1
f07c0904 l .LOADER_REMAP 00000000 INT_LOOP
f07c09c0 l .LOADER_REMAP 00000000 exp_halt
00000000 l df *ABS* 00000000 Loader565_Data/Release/ObjectLds/Reset_560/exp.o
f07c0b48 l .LOADER_REMAP 00000000 EXP_LOOP
00000000 l df *ABS* 00000000 configDDR.c
f07c0b50 l F .LOADER_REMAP 00000020 apply_driving_calibration
f07c0b70 l F .LOADER_REMAP 000001a0 duty_calibration.constprop.1
f07c0d10 l F .LOADER_REMAP 0000001c issue_load_mode.constprop.2
00000000 l df *ABS* 00000000 fuart.c
00000000 l df *ABS* 00000000 debug.c
f07c1e40 l F .LOADER_REMAP 00000028 debug_put_string
f07c1e3c l O .LOADER_REMAP 00000004 m_console
00000000 l df *ABS* 00000000 global.c
00000000 l df *ABS* 00000000 main.c
00000000 l df *ABS* 00000000 rtc.c
00000000 l df *ABS* 00000000 Timer.c
00000000 l df *ABS* 00000000 Cache.c
0100232c l F .text 00000014 cpu_l2_cache_wait_sync_done
00000000 l df *ABS* 00000000 prj_main.c
01000000 l F .text 00000010 prj_isFastbootKeyPressed
01000010 l F .text 00000012 prj_checkCardExist
01000024 l F .text 0000002c prj_issfSpecialKeyPressed
01000050 l F .text 000000c8 prj_isSpecialKeyPressed
01005ba8 l O .data 00000004 ota_sts.4476
00000000 l df *ABS* 00000000 gpio.c
00000000 l df *ABS* 00000000 utility.c
00000000 l df *ABS* 00000000 string.c
00000000 l df *ABS* 00000000 bl_func.c
01000518 l F .text 00000026 bl_decompress_rtos
01000540 l F .text 0000005c bl_get_partition_fdt_offset.part.1
0100059c l F .text 000000ec bl_load_rtos_from_non_nvtpack.isra.4.constprop.14
01000688 l F .text 0000006c bl_get_fdt_nvt_memory_cfg_property.constprop.16
010006f4 l F .text 0000015c bl_get_fdt_cfg
01000850 l F .text 000000c0 bl_update_loader_flag
01000910 l F .text 00000094 bl_entry_boot
010009a4 l F .text 00000048 bl_boot_teeos
010009ec l F .text 00000050 bl_get_fdt_partition_property
01000a3c l F .text 000000fc bl_get_partition
01000b38 l F .text 000001b4 bl_load_uboot_from_flash
01000e94 l F .text 00000124 bl_load_uboot_from_all_in_one
01001000 l F .text 000000a0 bl_load_fdt_from_flash.constprop.10
01005bac l O .data 00000004 nodeoffset.5197
01005bb0 l O .data 00000004 nodeoffset_nvt_memory_cfg.5120
01005bb4 l O .data 0000000e RWErrorMsg
01005bc4 l O .data 00000004 g_uiStartBlkUpdateFW
01005bc8 l O .data 0000000d UPDATE_LOADER_NAME
01005bd5 l O .data 0000000d UPDATE_FW_NAME
01005be2 l O .data 0000000d RUN_FW_NAME
01005bef l O .data 00000016 LoaderErrorMsg
01005c05 l O .data 00000012 FWErrorMsg
01005c17 l O .data 0000000d RECOVERY_FW_NAME
01005c90 l O .bss 00000001 gStorageIntType
01005c94 l O .bss 00000080 g_dram_partition
01005d14 l O .bss 00000004 g_uiVersion
01005d20 l O .bss 00000020 g_emb_uboot
01005d44 l O .bss 00000001 g_is_flash_open
01005d48 l O .bss 00000020 g_emb_teeos
01005d68 l O .bss 00000004 g_rtos_load_addr
01005d6c l O .bss 00000004 g_rtos_target_addr
01005d70 l O .bss 00000004 g_rtos_size
01005d78 l O .bss 00000020 g_emb_rtos
01005d98 l O .bss 00000004 gsfSpecialKeyCallBack
01005da0 l O .bss 00000020 g_emb_sys
01005dc0 l O .bss 00000004 gRecoveryTriggerCallBack
01005dc4 l O .bss 00000004 gSpecialKeyCallBack
01005dc8 l O .bss 00000004 gCardDetectCallBack
01005dcc l O .bss 00000004 gFastbootKeyCallBack
00000000 l df *ABS* 00000000 nvtpack.c
0100203c l F .text 00000074 nvtpack_get_uitron_offset
01005894 l O .rodata 00000010 GUID_FW2
010058a4 l O .rodata 00000010 GUID_FW
010058b4 l O .rodata 00000010 GUID_RES
00000000 l df *ABS* 00000000 fdt.c
00000000 l df *ABS* 00000000 fdt_ro.c
010026b4 l F .text 0000001c _fdt_offset_ptr
010026d0 l F .text 0000001c _fdt_mem_rsv
010026ec l F .text 00000038 _nextprop
00000000 l df *ABS* 00000000 spi.c
01002b38 l F .text 0000001c SMHostSendCommand
01002b54 l F .text 00000038 flash_close
01002b8c l F .text 0000000a flash_getBlockSize
01002b96 l F .text 00000006 flash_setReservedAreaMaxBlockNumber
01002b9c l F .text 00000010 flash_getTotalSize
01002bac l F .text 00000010 flash_installAccessCB
01002bbc l F .text 00000010 flash_installIdentifyCB
01002bcc l F .text 0000001c flash_setConfig
01002be8 l F .text 00000080 flash_setFrequency
01002c68 l F .text 0000001c SMHostGetStatus.constprop.3
01002c84 l F .text 00000044 spiflash_getStatus
01002cc8 l F .text 00000044 spiflash_waitReady
01002d0c l F .text 0000002c spi_nor_send_cmd
01002d38 l F .text 0000000c spiflash_enableWriteLatch
01002d44 l F .text 00000018 sm_card_host_setup_address_cycle.constprop.5
01002d5c l F .text 00000064 spiFlash_eraseSector
01002dc0 l F .text 00000044 spiflash_setStatus
01002e04 l F .text 00000006 flash_setReservedBadBlockNumber
01002e0c l F .text 00000358 flash_open
01003164 l F .text 000002d0 flash_readSectors
01003434 l F .text 00000238 spiFlash_write
0100366c l F .text 00000028 flash_writePartition
01003694 l F .text 00000012 flash_writeSectors
01005c24 l O .data 00000004 guiSpiClkDiv
01015dd8 l O .bss 00000004 uiSpiFlashSize
01015ddc l O .bss 00000004 gSpiProgramCallBack
01015de0 l O .bss 00000004 gSpiIdentifyCallBack
01015de4 l O .bss 00000001 bQuadConfigured
01015de8 l O .bss 00000004 uiQuadReadType
01015dec l O .bss 00000001 bSupportEWSR
01015ded l O .bss 00000001 bDualRead
01015df0 l O .bss 00000004 b_support_RDCR
01015df4 l O .bss 00000001 bQuadEnabled
00000000 l df *ABS* 00000000 SDIO1.c
010036bc l F .text 00000028 SDHostGetStatus
010036e4 l F .text 000000a8 SDHostDataCommand
0100378c l F .text 00000080 SDHostSimpleCommand
0100380c l F .text 000000c0 CardReadSector
01015df8 l O .bss 00000008 SDContext
00000000 l df *ABS* 00000000 cc.c
00000000 l df *ABS* 00000000 efuse.c
00000000 l df *ABS* 00000000 fat.c
01003bbc l F .text 00000124 fat_getclusterstatus
01003ce0 l F .text 00000138 fat_getnextcluster
01003e18 l F .text 0000002c fat_getmaxclusternumber
01003e44 l F .text 00000038 fat_getnextdir_entry
01003e7c l F .text 00000028 fat_getfirstdir_entry
01003ea4 l F .text 00000030 fat_getdir_sectornumber
01016a40 l O .bss 00020000 vFatBuf
01005c60 l O .data 00000004 uiBufAddr
01015e00 l O .bss 00000198 FileSys
01015fc0 l O .bss 00000800 vBitMapBuf
010167c0 l O .bss 00000004 ui32FATPages
010167c4 l O .bss 00000014 RootFileHandle
01016800 l O .bss 00000200 TempBuf
01016a00 l O .bss 00000004 uiBufSize
01016a04 l O .bss 00000004 dbg_count
01016a08 l O .bss 00000004 gFatAccessCallBack
00000000 l df *ABS* 00000000 stdlib.c
00000000 l df *ABS* 00000000 _udivsi3.o
010046e4 l .text 00000000 .udivsi3_skip_div0_test
00000000 l *ABS* 00000000 shift
00000000 l df *ABS* 00000000 _divsi3.o
010048f8 l .text 00000000 .divsi3_skip_div0_test
00000000 l *ABS* 00000000 shift
00000000 l df *ABS* 00000000 _dvmd_tls.o
00000000 l df *ABS* 00000000 _aeabi_uldivmod.o
00000000 l df *ABS* 00000000 libgcc2.c
00000000 l df *ABS* 00000000 libgcc2.c
00000000 l df *ABS* 00000000 boot_load.c
00000000 l df *ABS* 00000000
f07c8080 l *ABS* 00000000 _loader_data_cpu_addr
f07c2150 l *ABS* 00000000 _loader_exec_cpu_addr
f07c2150 l .LOADER_EXEC 00000000 _loader_exec_start_base
01004ce0 l F .text 00000008 __debug_err_var_veneer
01004ce8 l F .text 00000008 __rom_efuse_read_from_thumb
01004cf0 l F .text 00000008 __cpu_cleanInvalidateDCacheAll_veneer
01004cf8 l F .text 00000008 __debug_msg_var_from_arm
01004d00 l F .text 00000008 __CPUInvalidateICacheAll_veneer
01004d08 l F .text 00000008 __debug_msg_veneer
01004d10 l F .text 00000008 __rom_LZ_Uncompress_from_thumb
01004d18 l F .text 00000008 __utl_is_sram_fw_from_thumb
01004d20 l F .text 00000008 __set_usb_suspend_veneer
01004d28 l F .text 00000008 __utl_get_bootsrc_veneer
01004d30 l F .text 00000008 __debug_err_veneer
01004d38 l F .text 00000008 __UTL_getDrvTmpBufferAddress_from_thumb
01004d40 l F .text 00000008 __timer_delay_veneer
01004d48 l F .text 00000008 __fLib_PutSerialStr_veneer
01004d50 l F .text 00000008 __UTL_setDrvTmpBufferAddress_from_thumb
01004d58 l F .text 00000008 __fLib_PutSerialChar_veneer
01005ba0 l F .dram_text 00000008 __debug_msg_veneer
f07c24b8 l F .LOADER_EXEC 00000008 __bl_mainFlow_veneer
f07c24c0 l F .LOADER_EXEC 00000008 __CPUflushReadCache_veneer
f07c24c8 l F .LOADER_EXEC 00000008 __bl_read_rtos_addr_veneer
f07c24d0 l F .LOADER_EXEC 00000008 __Dec2HexStr_veneer
f07c2100 l F .LOADER_REMAP 00000008 ____popcountsi2_veneer
f07c2108 l F .LOADER_REMAP 00000008 __Dec2HexStr_veneer
f07c20ec g F .LOADER_REMAP 00000010 utl_get_chipversion
0100468c g F .text 00000018 fat_read_rootfile
f07c2068 g F .LOADER_REMAP 00000034 utl_dram_protect_enable
f07c2450 g F .LOADER_EXEC 0000001c fLib_PutSerialChar
010024b0 g F .text 0000002e fdt_offset_ptr
01000e6c g F .text 00000028 bl_chk_uboot
000000bc g *ABS* 00000000 _loader_data_size
f07c0d2c g F .LOADER_REMAP 00000044 disable_rom_wdt
f07c2308 g F .LOADER_EXEC 00000018 timer_delay
010036a8 g F .text 00000014 nor_get_storage_object
f07c1b20 g F .LOADER_REMAP 00000024 set_usb_suspend
01002008 g F .text 00000010 loader_installCardDetectCB
01000000 g .text 00000000 _loader_exec_compres_start
01002940 g F .text 00000018 fdt_getprop_namelen
01002840 g F .text 00000018 fdt_first_property_offset
f07c1fc8 g F .LOADER_REMAP 000000a0 utl_test_checksum
f07c0b50 g .LOADER_REMAP 00000000 _load_vector_exp_table_end_base
01002340 g F .text 00000054 cpu_invalidateDCacheBlock
0103c400 g *ABS* 00000000 __common_base
01002914 g F .text 0000002c fdt_get_property
010029dc g F .text 0000008e fdt_path_offset
01005dd8 g O .bss 00010000 lzma_temp_buffer
01001fd8 g F .text 00000010 loader_setVersion
f07c0944 g F .LOADER_REMAP 00000000 rom_debug_msg_err
f07c0030 g .LOADER_CONFIGRAM 00000000 _load_LOADER_CONFIGRAM_start_base
f07c0300 g O .LOADER_CONFIGRAM2 00000068 g_dma_config_setting
01001fb0 g F .text 00000014 loader_setUpdateLdrName
f07c1d48 g F .LOADER_REMAP 00000030 uart_getChar_polling
00000068 g *ABS* 00000000 _loader_dram_text_size
01003b50 g F .text 00000008 card_get_type
f07c0500 g .LOADER_CORE2_ENTRY_PROGRAM 00000000 _load_core2_entry_program_start_base
0103c400 g *ABS* 00000000 __common_limit
01036a54 g O .bss 00000004 currentPtr
f07c2320 g F .LOADER_EXEC 00000018 CPUInvalidateICacheAll
0100463c g F .text 00000020 fat_internal_close_rootfile
f07c2254 g F .LOADER_EXEC 0000005c rtc_chkS3boot_init
f07c1bf8 g O .LOADER_REMAP 0000000c uart1_obj
01003b80 g F .text 0000003c quary_secure_boot
f07c22b0 g F .LOADER_EXEC 00000020 rtc_chkS3boot_wait_init
f07c0070 g .LOADER_CONFIGRAM 00000000 _load_LOADER_CONFIGRAM_end_base
01004b34 g F .text 00000000 .hidden __aeabi_uldivmod
010046e4 g F .text 000001ec .hidden __udivsi3
f07c2480 g F .LOADER_EXEC 0000000a debug_msg
f07c1e7c g F .LOADER_REMAP 00000018 debug_err
f07c248a g F .LOADER_EXEC 0000002a debug_msg_var
01000290 g F .text 00000060 Dec2HexStr2Bytes
01002394 g F .text 00000044 cpu_cleanDCacheBlock
01002758 g F .text 00000088 fdt_subnode_offset_namelen
01004bb8 g F .text 00000128 .hidden __udivmoddi4
01000230 g F .text 00000026 gpio_getPin
010010a0 g F .text 000000f4 bl_boot_uboot
01002732 g F .text 00000026 fdt_num_mem_rsv
f07c0958 g F .LOADER_REMAP 00000000 rom_LZ_Uncompress
01002870 g F .text 00000030 fdt_get_property_by_offset
f07c1c3c g F .LOADER_REMAP 0000001c serial2_putc
01000d98 g F .text 000000d4 bl_chk_fdt
01002018 g F .text 00000010 loader_installFastbootKeyCB
01000fb8 g F .text 00000048 bl_copy_fdt_to_fdt_addr
f07c0070 g O .LOADER_CONFIGRAM 00000020 LoaderInternalInfo
f07c1f4c g F .LOADER_REMAP 00000018 UTL_setDrvTmpBufferAddress
f07c0600 g .LOADER_REMAP 00000000 _load_LOADER_REMAP_start_base
01005ba8 g .data 00000000 _load_general_var_base
f07c1e68 g F .LOADER_REMAP 00000014 debug_set_console
f07c1e94 g F .LOADER_REMAP 00000038 debug_err_var
010003d4 g F .text 0000001a strnlen
01000118 g F .text 0000000c debug_disable_msg
01002980 g F .text 0000002c fdt_getprop
f07c0b48 g .LOADER_REMAP 00000000 EXP_Handler
01036a40 g O .bss 00000014 emuCommonBuf
f07c1c74 g F .LOADER_REMAP 0000005c uart_openSystemUART
01002028 g F .text 00000014 loader_setStorageIntType
010038cc g F .text 00000264 card_open
0103c400 g .loader_heap 00000000 _image_load_reset_zi_base
01005dd4 g O .bss 00000004 TopOfStack
01004b70 g F .text 00000048 .hidden __popcountsi2
010002f0 g F .text 0000005a utl_memset
01005b40 g .dram_text 00000000 _loader_dram_text_start_base
010048f0 g F .text 00000000 .hidden __aeabi_idiv
010025b4 g F .text 00000028 _fdt_check_prop_offset
01001194 g F .text 000002b0 bl_process_all_in_one
f07c0028 g .BOOT_EXEC 00000000 __start
010042fc g F .text 000002a4 fat_internal_open_rootfile
010027e0 g F .text 0000001e fdt_subnode_offset
01001fc4 g F .text 00000014 loader_setRunFwName
01000484 g F .text 00000094 memchr
01002a6c g F .text 000000cc fdt_check_full
f07c05e8 g .LOADER_CORE2_ENTRY_PROGRAM 00000000 _load_core2_entry_program_end_base
f07c0b48 g .LOADER_REMAP 00000000 _load_LOADER_REMAP_end_base
01001464 g F .text 00000b38 bl_mainFlow
0100267e g F .text 00000036 fdt_next_subnode
f07c002c g .BOOT_EXEC 00000000 _load_BOOT_EXEC_end_base
f07c1c04 g F .LOADER_REMAP 0000001c serial_putc
f07c0368 g O .LOADER_CONFIGRAM2 00000068 g_dma_config_setting_2
01003ef8 g F .text 00000368 fat_internal_mount_partition
0100040a g F .text 00000024 strncmp
01001f9c g F .text 00000014 loader_setUpdateFwName
01005b40 g F .dram_text 0000005c load_dram_scan
010003ee g F .text 0000001c strncpy
f07c0090 g .LOADER_CONFIGRAM 00000000 _load_LOADER_CONFIGRAM_FREQ_PARAM_end_base
f07c091c g F .LOADER_REMAP 00000000 rom_debug_msg
01004260 g F .text 0000009c fat_internal_initFAT
0103c400 g .loader_heap 00000000 _loader_heap_base
f07c20d8 g F .LOADER_REMAP 00000014 utl_get_bootsrc
f07c0d70 g F .LOADER_REMAP 0000001c rom_memcpy
0100044a g F .text 00000020 memcmp
01002858 g F .text 00000018 fdt_next_property_offset
f07c24d8 g .LOADER_EXEC 00000000 _loader_exec_end_base
01004b30 w F .text 00000004 .hidden __aeabi_ldiv0
01003ed4 g F .text 00000024 fat_regfilesystem
010028a0 g F .text 00000074 fdt_get_property_namelen
01003b30 g F .text 00000020 card_close
0103c400 g .loader_heap 00000000 _image_load_reset_length
f07c22d0 g F .LOADER_EXEC 00000038 rtc_chkS3boot
f07c2380 g F .LOADER_EXEC 00000048 _cache_invalidate_data_cache_all
f07c0000 g .BOOT_EXEC 00000000 _load_BOOT_EXEC_start_base
01001fe8 g F .text 00000010 loader_installSpecialKeyCB
f07c8018 g *ABS* 00000000 _loader_dram_text_cpu_addr
f07c0368 g .LOADER_CONFIGRAM2 00000000 config_dram1_tbl_2_start_base
f07c2150 g F .LOADER_EXEC 00000104 main
f07c096c g F .LOADER_REMAP 00000000 rom_Dec2HexStr
010020d4 g F .text 00000088 nvtpack_getver
0100258c g F .text 00000028 _fdt_check_node_offset
010020b0 g F .text 00000022 nvtpack_calc_nvt_sum
f07c1c20 g F .LOADER_REMAP 0000001c serial2_getc
010046e4 g F .text 00000000 .hidden __aeabi_uidiv
f07c1df4 g F .LOADER_REMAP 00000018 uart_getBinary
0100465c g F .text 00000018 fat_initFAT
010046a4 g F .text 00000014 fat_close_rootfile
f07c1f38 g O .LOADER_REMAP 00000004 g_uiDrvTmpBuffer
010023f8 g F .text 0000003e CPUflushReadCache
f07c1d3c g F .LOADER_REMAP 0000000a serial2_init
01005ba8 g .data 00000000 _loader_data_start_base
f07c23e2 g F .LOADER_EXEC 0000004e _cache_clean_invalidate_d_cache_All
010048f0 g F .text 00000220 .hidden __divsi3
f07c0030 g O .LOADER_CONFIGRAM 00000040 ConfigRamTab
f07c0070 g .LOADER_CONFIGRAM 00000000 _load_LOADER_CONFIGRAM_FREQ_PARAM_start_base
01005c80 g .bss 00000000 _image_general_zi_zi_base
0100046a g F .text 0000001a strcmp
f07c0d8c g F .LOADER_REMAP 00000d94 config_dma
f07c1cd0 g F .LOADER_REMAP 0000000a serial_init
01001444 g F .text 00000020 bl_read_rtos_addr
f07c1ecc g F .LOADER_REMAP 0000006c debug_dump_addr
0117c400 g .loader_heap 00000000 _stack_start
010023d8 g F .text 00000020 cpu_cleanInvalidateDCache
f07c2338 g F .LOADER_EXEC 00000048 _cache_clean_d_cache_all
f07c24d8 g *ABS* 00000000 _loader_exec_compress_load_cpu_addr
f07c1bec g O .LOADER_REMAP 0000000c uart0_obj
01002460 g F .text 00000050 fdt_check_header
f07c1d98 g F .LOADER_REMAP 0000005c uart_getStr_polling
f07c246c g F .LOADER_EXEC 00000014 fLib_PutSerialStr
0100224c g F .text 000000e0 nvtpack_get_partition
010027fe g F .text 00000042 fdt_get_name
01002436 g F .text 0000002a CPUflushWriteCache
01038000 g .bss 00000000 _ttb
f07c1e0c g F .LOADER_REMAP 00000030 get_uart_object
01002650 g F .text 0000002e fdt_first_subnode
01005c64 g .data 00000000 _image_general_var_limit
f07c0908 g F .LOADER_REMAP 00000000 rom_efuse_read
f07c1cdc g F .LOADER_REMAP 00000060 uart_openSystemUART2
0100034a g F .text 00000076 utl_memcpy
0103c400 g .loader_heap 00000000 _image_load_reset_base
f07c1fa8 g F .LOADER_REMAP 00000020 utl_is_sram_fw
010025dc g F .text 00000074 fdt_next_node
010048d0 g F .text 00000020 .hidden __aeabi_uidivmod
f07c23c8 g F .LOADER_EXEC 0000001a cpu_invalidateDCacheAll
000024d8 g *ABS* 00000000 _loader_exec_compress_load_base
01000000 g .text 00000000 _internal_strg_param_start
01005c28 g O .data 00000038 spi_nor
01000cec g F .text 00000088 bl_flash_open
01003b58 g F .text 00000028 dma_get_dram_capacity
f07c209c g F .LOADER_REMAP 00000018 utl_dram_protect_disable
01004674 g F .text 00000018 fat_open_rootfile
01005c80 g O .bss 00000009 gStr
01000124 g F .text 0000010c prj_main
f07c1c58 g F .LOADER_REMAP 0000001c serial_getc
01002724 g F .text 0000000e fdt_string
f07c1f3c g F .LOADER_REMAP 00000010 bitCount
f07c2430 g F .LOADER_EXEC 0000001e cpu_cleanInvalidateDCacheAll
0103c400 g .loader_heap 00000000 _load_load_reset_base
f07c0638 g .LOADER_REMAP 00000000 start
010024e0 g F .text 000000ac fdt_next_tag
010046b8 g F .text 0000002c atoi
01004b30 w F .text 00000004 .hidden __aeabi_idiv0
010029ac g F .text 00000030 fdt_get_alias_namelen
0103c000 g .bss 00000000 _ttb_lv2
f07c1d78 g F .LOADER_REMAP 00000020 uart_chkChar
f07c1f7c g F .LOADER_REMAP 0000002c UTL_canUpdateSecKey
00000388 g *ABS* 00000000 _loader_exec_size
f07c1f64 g F .LOADER_REMAP 00000018 UTL_getDrvTmpBufferAddress
010003c0 g F .text 00000014 strlen
01005d18 g O .bss 00000004 int_strg_obj
01000258 g F .text 00000038 Dec2HexStr
f07c0930 g F .LOADER_REMAP 00000000 rom_debug_msg_var
0100042e g F .text 0000001c strchr
01005d40 g O .bss 00000004 rom_lzma_inflate
010045a0 g F .text 0000009c fat_internal_read_rootfile
01004d60 g .text 00000000 _loader_exec_compres_end
f07c20b4 g F .LOADER_REMAP 00000024 utl_dram_protect_check
01004b10 g F .text 00000020 .hidden __aeabi_idivmod
01002958 g F .text 00000028 fdt_getprop_by_offset
0103c400 g .loader_heap 00000000 _image_load_reset_zi_limit
01000d74 g F .text 00000024 bl_chk_valid_all_in_one
01005ba8 g .data 00000000 _image_general_var_base
0103c400 g *ABS* 00000000 _image_general_zi_zi_limit
01005dd0 g O .bss 00000004 BaseOfStack
f07c0b48 g .LOADER_REMAP 00000000 _load_vector_exp_table_start_base
01001ff8 g F .text 00000010 loader_installsfSpecialKeyCB
0100215c g F .text 000000f0 nvtpack_verify

View File

@ -1,172 +0,0 @@
/* Linker script for malta
*
* Version: Sourcery G++ Lite 4.3-221
* Support: https://support.codesourcery.com/GNUToolchain/
*
* Copyright (c) 2007, 2008, 2009 CodeSourcery, Inc.
*
* The authors hereby grant permission to use, copy, modify, distribute,
* and license this software and its documentation for any purpose, provided
* that existing copyright notices are retained in all copies and that this
* notice is included verbatim in any distributions. No written agreement,
* license, or royalty fee is required for any of the authorized uses.
* Modifications to this software may be copyrighted by their authors
* and need not follow the licensing terms described here, provided that
* the new terms are clearly indicated on the first page of each file where
* they apply.
* */
/* Rule:
* 1. to use .o in project layer just type the .o name with file extension. (UiFlow.o)
* 2. to use .o in library layer have to add prefix module name. (Loader565_Data/Release/ObjectLds/DscSystem/SysTask.o)
* */
OUTPUT_ARCH(arm)
ENTRY(__start)
SEARCH_DIR(.)
SECTIONS
{
.BOOT_EXEC 0xF07C0000|0x00000000:
AT (0)
{
_load_BOOT_EXEC_start_base = .;
KEEP(Loader565_Data/Release/ObjectLds/Reset_560/reset.o(.data*));
Loader565_Data/Release/ObjectLds/Reset_560/reset.o(.text*);
_load_BOOT_EXEC_end_base = .;
}
.LOADER_CONFIGRAM (0xF07C0000|0x00000000) + 0x30:
AT (0x30)
{
_load_LOADER_CONFIGRAM_start_base = .;
KEEP(Loader565_Data/Release/ObjectLds/Remap_LZ565/configramLZ.o(.data*));
_load_LOADER_CONFIGRAM_end_base = .;
_load_LOADER_CONFIGRAM_FREQ_PARAM_start_base = .;
KEEP(Loader565_Data/Release/ObjectLds/Reset_560/configramFreqParam.o(.data*));
_load_LOADER_CONFIGRAM_FREQ_PARAM_end_base = .;
}
.LOADER_CONFIGRAM2 (0xF07C0000|0x00000000) + 0x300:
AT (0x300)
{
KEEP(Loader565_Data/Release/ObjectLds/Reset_560/config_dram1_tbl.o(.rodata*));
config_dram1_tbl_2_start_base = .;
KEEP(Loader565_Data/Release/ObjectLds/Reset_560/config_dram1_2_tbl.o(.rodata*));
}
.LOADER_CORE2_ENTRY_PROGRAM (0xF07C0000|0x00000000) + 0x500:
AT (0x500)
{
_load_core2_entry_program_start_base = .;
KEEP(Loader565_Data/Release/ObjectLds/Reset_560/core2_entry.o(.text));
_load_core2_entry_program_end_base = .;
}
.LOADER_REMAP (0xF07C0000|0x00000000) + 0x600:
AT (0x600)
{
_load_LOADER_REMAP_start_base = .;
Loader565_Data/Release/ObjectLds/Remap_LZ565/doremapLZ565.o(.text*);
_load_LOADER_REMAP_end_base = .;
_load_vector_exp_table_start_base = .;
KEEP(Loader565_Data/Release/ObjectLds/Reset_560/exp.o(.text*));
_load_vector_exp_table_end_base = .;
KEEP(Loader565_Data/Release/ObjectLds/Reset_560/configDDR.o(.text*));
KEEP(Loader565_Data/Release/ObjectLds/Reset_560/configDDR.o(.rodata*));
KEEP(Loader565_Data/Release/ObjectLds/Driver/fuart.o(.text* .data* .rodata*));
KEEP(Loader565_Data/Release/ObjectLds/Debug/debug.o (.text* .data* .bss*));
KEEP(Loader565_Data/Release/ObjectLds/Common_exFAT/global.o (.text* .data* .bss* .rodata*));
. = ALIGN(4); /* This is MUST. Ensure section size is word aligned. */
}
. = ALIGN(4);
.LOADER_EXEC ADDR(.LOADER_REMAP) + SIZEOF(.LOADER_REMAP) :
AT (LOADADDR(.LOADER_REMAP) + SIZEOF(.LOADER_REMAP))
{
_loader_exec_start_base = .;
KEEP(Loader565_Data/Release/ObjectLds/Ctrl_Flow/main.o(.part1*));
KEEP(Loader565_Data/Release/ObjectLds/Driver/rtc.o(.part1*));
* (.part1)
_loader_exec_end_base = .;
}
_loader_exec_cpu_addr = LOADADDR(.LOADER_EXEC) + ADDR(.BOOT_EXEC);
_loader_exec_size = SIZEOF(.LOADER_EXEC);
. = ALIGN(4);
.text 0x1000000:
AT (LOADADDR(.LOADER_EXEC) + SIZEOF(.LOADER_EXEC))
{
_loader_exec_compres_start = .;
_internal_strg_param_start = .;
*(.text*)
_loader_exec_compres_end = .;
}
_loader_exec_compress_load_base = LOADADDR(.text);
_loader_exec_compress_load_cpu_addr = LOADADDR(.text) + ADDR(.BOOT_EXEC);
.ARM.exidx :
{
*(.ARM.exidx*)
*(.gnu.linkonce.armexidx.*)
}
. = ALIGN(4);
.rodata :
{
*(.rodata*)
. = ALIGN(8); /* This is MUST. Ensure ro size is 2 word aligned. */
}
.dram_text :
AT (LOADADDR(.rodata) + SIZEOF(.rodata))
{
_loader_dram_text_start_base = .;
* (.dram_text)
}
_loader_dram_text_cpu_addr = LOADADDR(.dram_text) + ADDR(.BOOT_EXEC);
_loader_dram_text_size = SIZEOF(.dram_text);
.data :
AT (LOADADDR(.dram_text) + SIZEOF(.dram_text))
{
_loader_data_start_base = .;
_load_general_var_base = .;
_image_general_var_base = .;
*(.data*)
_image_general_var_limit = .;
}
_loader_data_cpu_addr = LOADADDR(.data) + ADDR(.BOOT_EXEC);
_loader_data_size = SIZEOF(.data);
.dummy : { LONG (0x00000000) }
. = ALIGN(4);
.got : { *(.got) }
. = ALIGN(4);
.bss : { /* locate bss at DRAM end */
_image_general_zi_zi_base = .;
*(.bss)
. = ALIGN(0x4000);
_ttb = .;
. = . + 0x4000;
. = ALIGN(0x400);
_ttb_lv2 = .;
. = . + 0x400;
}
.common :
{
__common_base = ABSOLUTE(.);
/* collect "small" un-initialized global data (mark "C" in sym file) */
*(.scommon*)
/* collect "large" un-initialized global data (mark "B" in sym file) */
*(COMMON)
__common_limit = ABSOLUTE(.);
}
. = ALIGN(64);
_image_general_zi_zi_limit = ABSOLUTE(.);
_load_load_reset_base = .;
_image_load_reset_base = .;
_image_load_reset_length = .;
_image_load_reset_zi_base = .;
_image_load_reset_zi_limit = .;
. = ALIGN(64);
.loader_heap :
{
_loader_heap_base = .;
. += 0xA0000 + 0x20000 + 0x80000;
}
. = ALIGN(64);
_stack_start = .;
}

View File

@ -1,98 +0,0 @@
Loader565_Data/Release/ObjectLds/Reset_560/Reset_560.a:../../ARC/Lib/Release/Reset_560.a
@echo Copying ObjectLds: $(notdir $@)
@rm -rf $(dir $@)
@mkdir -p $(dir $@)
cp $< $@
chmod 777 $@
@echo Extracting: Loader565_Data/Release/ObjectLds/Reset_560/reset.o
$(AR) x $@ $(notdir Loader565_Data/Release/ObjectLds/Reset_560/reset.o)
$(AR) d $@ $(notdir Loader565_Data/Release/ObjectLds/Reset_560/reset.o)
mv $(notdir Loader565_Data/Release/ObjectLds/Reset_560/reset.o) Loader565_Data/Release/ObjectLds/Reset_560/reset.o;
@echo Extracting: Loader565_Data/Release/ObjectLds/Reset_560/configramFreqParam.o
$(AR) x $@ $(notdir Loader565_Data/Release/ObjectLds/Reset_560/configramFreqParam.o)
$(AR) d $@ $(notdir Loader565_Data/Release/ObjectLds/Reset_560/configramFreqParam.o)
mv $(notdir Loader565_Data/Release/ObjectLds/Reset_560/configramFreqParam.o) Loader565_Data/Release/ObjectLds/Reset_560/configramFreqParam.o;
@echo Extracting: Loader565_Data/Release/ObjectLds/Reset_560/config_dram1_tbl.o
$(AR) x $@ $(notdir Loader565_Data/Release/ObjectLds/Reset_560/config_dram1_tbl.o)
$(AR) d $@ $(notdir Loader565_Data/Release/ObjectLds/Reset_560/config_dram1_tbl.o)
mv $(notdir Loader565_Data/Release/ObjectLds/Reset_560/config_dram1_tbl.o) Loader565_Data/Release/ObjectLds/Reset_560/config_dram1_tbl.o;
@echo Extracting: Loader565_Data/Release/ObjectLds/Reset_560/config_dram1_2_tbl.o
$(AR) x $@ $(notdir Loader565_Data/Release/ObjectLds/Reset_560/config_dram1_2_tbl.o)
$(AR) d $@ $(notdir Loader565_Data/Release/ObjectLds/Reset_560/config_dram1_2_tbl.o)
mv $(notdir Loader565_Data/Release/ObjectLds/Reset_560/config_dram1_2_tbl.o) Loader565_Data/Release/ObjectLds/Reset_560/config_dram1_2_tbl.o;
@echo Extracting: Loader565_Data/Release/ObjectLds/Reset_560/core2_entry.o
$(AR) x $@ $(notdir Loader565_Data/Release/ObjectLds/Reset_560/core2_entry.o)
$(AR) d $@ $(notdir Loader565_Data/Release/ObjectLds/Reset_560/core2_entry.o)
mv $(notdir Loader565_Data/Release/ObjectLds/Reset_560/core2_entry.o) Loader565_Data/Release/ObjectLds/Reset_560/core2_entry.o;
@echo Extracting: Loader565_Data/Release/ObjectLds/Reset_560/exp.o
$(AR) x $@ $(notdir Loader565_Data/Release/ObjectLds/Reset_560/exp.o)
$(AR) d $@ $(notdir Loader565_Data/Release/ObjectLds/Reset_560/exp.o)
mv $(notdir Loader565_Data/Release/ObjectLds/Reset_560/exp.o) Loader565_Data/Release/ObjectLds/Reset_560/exp.o;
@echo Extracting: Loader565_Data/Release/ObjectLds/Reset_560/configDDR.o
$(AR) x $@ $(notdir Loader565_Data/Release/ObjectLds/Reset_560/configDDR.o)
$(AR) d $@ $(notdir Loader565_Data/Release/ObjectLds/Reset_560/configDDR.o)
mv $(notdir Loader565_Data/Release/ObjectLds/Reset_560/configDDR.o) Loader565_Data/Release/ObjectLds/Reset_560/configDDR.o;
Loader565_Data/Release/ObjectLds/Remap_LZ565/Remap_LZ565.a:../../ARC/Lib/Release/Remap_LZ565.a
@echo Copying ObjectLds: $(notdir $@)
@rm -rf $(dir $@)
@mkdir -p $(dir $@)
cp $< $@
chmod 777 $@
@echo Extracting: Loader565_Data/Release/ObjectLds/Remap_LZ565/configramLZ.o
$(AR) x $@ $(notdir Loader565_Data/Release/ObjectLds/Remap_LZ565/configramLZ.o)
$(AR) d $@ $(notdir Loader565_Data/Release/ObjectLds/Remap_LZ565/configramLZ.o)
mv $(notdir Loader565_Data/Release/ObjectLds/Remap_LZ565/configramLZ.o) Loader565_Data/Release/ObjectLds/Remap_LZ565/configramLZ.o;
@echo Extracting: Loader565_Data/Release/ObjectLds/Remap_LZ565/doremapLZ565.o
$(AR) x $@ $(notdir Loader565_Data/Release/ObjectLds/Remap_LZ565/doremapLZ565.o)
$(AR) d $@ $(notdir Loader565_Data/Release/ObjectLds/Remap_LZ565/doremapLZ565.o)
mv $(notdir Loader565_Data/Release/ObjectLds/Remap_LZ565/doremapLZ565.o) Loader565_Data/Release/ObjectLds/Remap_LZ565/doremapLZ565.o;
Loader565_Data/Release/ObjectLds/Driver/Driver.a:../../ARC/Lib/Release/Driver.a
@echo Copying ObjectLds: $(notdir $@)
@rm -rf $(dir $@)
@mkdir -p $(dir $@)
cp $< $@
chmod 777 $@
@echo Extracting: Loader565_Data/Release/ObjectLds/Driver/fuart.o
$(AR) x $@ $(notdir Loader565_Data/Release/ObjectLds/Driver/fuart.o)
$(AR) d $@ $(notdir Loader565_Data/Release/ObjectLds/Driver/fuart.o)
mv $(notdir Loader565_Data/Release/ObjectLds/Driver/fuart.o) Loader565_Data/Release/ObjectLds/Driver/fuart.o;
@echo Extracting: Loader565_Data/Release/ObjectLds/Driver/rtc.o
$(AR) x $@ $(notdir Loader565_Data/Release/ObjectLds/Driver/rtc.o)
$(AR) d $@ $(notdir Loader565_Data/Release/ObjectLds/Driver/rtc.o)
mv $(notdir Loader565_Data/Release/ObjectLds/Driver/rtc.o) Loader565_Data/Release/ObjectLds/Driver/rtc.o;
Loader565_Data/Release/ObjectLds/Debug/Debug.a:../../ARC/Lib/Release/Debug.a
@echo Copying ObjectLds: $(notdir $@)
@rm -rf $(dir $@)
@mkdir -p $(dir $@)
cp $< $@
chmod 777 $@
@echo Extracting: Loader565_Data/Release/ObjectLds/Debug/debug.o
$(AR) x $@ $(notdir Loader565_Data/Release/ObjectLds/Debug/debug.o)
$(AR) d $@ $(notdir Loader565_Data/Release/ObjectLds/Debug/debug.o)
mv $(notdir Loader565_Data/Release/ObjectLds/Debug/debug.o) Loader565_Data/Release/ObjectLds/Debug/debug.o;
Loader565_Data/Release/ObjectLds/Common_exFAT/Common_exFAT.a:../../ARC/Lib/Release/Common_exFAT.a
@echo Copying ObjectLds: $(notdir $@)
@rm -rf $(dir $@)
@mkdir -p $(dir $@)
cp $< $@
chmod 777 $@
@echo Extracting: Loader565_Data/Release/ObjectLds/Common_exFAT/global.o
$(AR) x $@ $(notdir Loader565_Data/Release/ObjectLds/Common_exFAT/global.o)
$(AR) d $@ $(notdir Loader565_Data/Release/ObjectLds/Common_exFAT/global.o)
mv $(notdir Loader565_Data/Release/ObjectLds/Common_exFAT/global.o) Loader565_Data/Release/ObjectLds/Common_exFAT/global.o;
Loader565_Data/Release/ObjectLds/Ctrl_Flow/Ctrl_Flow.a:../../ARC/Lib/Release/Ctrl_Flow.a
@echo Copying ObjectLds: $(notdir $@)
@rm -rf $(dir $@)
@mkdir -p $(dir $@)
cp $< $@
chmod 777 $@
@echo Extracting: Loader565_Data/Release/ObjectLds/Ctrl_Flow/main.o
$(AR) x $@ $(notdir Loader565_Data/Release/ObjectLds/Ctrl_Flow/main.o)
$(AR) d $@ $(notdir Loader565_Data/Release/ObjectLds/Ctrl_Flow/main.o)
mv $(notdir Loader565_Data/Release/ObjectLds/Ctrl_Flow/main.o) Loader565_Data/Release/ObjectLds/Ctrl_Flow/main.o;

View File

@ -1 +0,0 @@
Loader565_Data/Release/ObjectLds/Reset_560/Reset_560.a Loader565_Data/Release/ObjectLds/Remap_LZ565/Remap_LZ565.a Loader565_Data/Release/ObjectLds/Driver/Driver.a Loader565_Data/Release/ObjectLds/Debug/Debug.a Loader565_Data/Release/ObjectLds/Common_exFAT/Common_exFAT.a Loader565_Data/Release/ObjectLds/Ctrl_Flow/Ctrl_Flow.a

View File

@ -1 +0,0 @@
../../ARC/Lib/Release/Reset_560.a ../../ARC/Lib/Release/Remap_LZ565.a ../../ARC/Lib/Release/Driver.a ../../ARC/Lib/Release/Debug.a ../../ARC/Lib/Release/Common_exFAT.a ../../ARC/Lib/Release/Ctrl_Flow.a

View File

@ -1 +0,0 @@
../../ARC/Lib/Release/Ctrl_Flow.a ../../ARC/Lib/Release/nvtpack.a ../../ARC/Lib/Release/Compress.a ../../ARC/Lib/Release/STRGINT_EMMC.a ../../ARC/Lib/Release/Driver.a ../../ARC/Lib/Release/CA9.a ../../ARC/Lib/Release/fdt.a ../../ARC/Lib/Release/Debug.a ../../ARC/Lib/Release/STRGINT_NandSpi.a ../../ARC/Lib/Release/STRGINT_SpiFlash.a ../../ARC/Lib/Release/STRGEXT_Sdio1.a ../../ARC/Lib/Release/Remap_LZ565.a ../../ARC/Lib/Release/Reset_560.a ../../ARC/Lib/Release/Common_exFAT.a

View File

@ -1 +0,0 @@
Loader565_Data/Release/ObjectCode/prj_main.o Loader565_Data/Release/ObjectCode/usb_update.o Loader565_Data/Release/ObjectCode/uart_upgrade.o

View File

@ -1,172 +0,0 @@
/* Linker script for malta
*
* Version: Sourcery G++ Lite 4.3-221
* Support: https://support.codesourcery.com/GNUToolchain/
*
* Copyright (c) 2007, 2008, 2009 CodeSourcery, Inc.
*
* The authors hereby grant permission to use, copy, modify, distribute,
* and license this software and its documentation for any purpose, provided
* that existing copyright notices are retained in all copies and that this
* notice is included verbatim in any distributions. No written agreement,
* license, or royalty fee is required for any of the authorized uses.
* Modifications to this software may be copyrighted by their authors
* and need not follow the licensing terms described here, provided that
* the new terms are clearly indicated on the first page of each file where
* they apply.
* */
/* Rule:
* 1. to use .o in project layer just type the .o name with file extension. (UiFlow.o)
* 2. to use .o in library layer have to add prefix module name. (DscSystem/SysTask.o)
* */
OUTPUT_ARCH(arm)
ENTRY(__start)
SEARCH_DIR(.)
SECTIONS
{
.BOOT_EXEC 0xF07C0000|0x00000000:
AT (0)
{
_load_BOOT_EXEC_start_base = .;
KEEP(Reset_560/reset.o(.data*));
Reset_560/reset.o(.text*);
_load_BOOT_EXEC_end_base = .;
}
.LOADER_CONFIGRAM (0xF07C0000|0x00000000) + 0x30:
AT (0x30)
{
_load_LOADER_CONFIGRAM_start_base = .;
KEEP(Remap_LZ565/configramLZ.o(.data*));
_load_LOADER_CONFIGRAM_end_base = .;
_load_LOADER_CONFIGRAM_FREQ_PARAM_start_base = .;
KEEP(Reset_560/configramFreqParam.o(.data*));
_load_LOADER_CONFIGRAM_FREQ_PARAM_end_base = .;
}
.LOADER_CONFIGRAM2 (0xF07C0000|0x00000000) + 0x300:
AT (0x300)
{
KEEP(Reset_560/config_dram1_tbl.o(.rodata*));
config_dram1_tbl_2_start_base = .;
KEEP(Reset_560/config_dram1_2_tbl.o(.rodata*));
}
.LOADER_CORE2_ENTRY_PROGRAM (0xF07C0000|0x00000000) + 0x500:
AT (0x500)
{
_load_core2_entry_program_start_base = .;
KEEP(Reset_560/core2_entry.o(.text));
_load_core2_entry_program_end_base = .;
}
.LOADER_REMAP (0xF07C0000|0x00000000) + 0x600:
AT (0x600)
{
_load_LOADER_REMAP_start_base = .;
Remap_LZ565/doremapLZ565.o(.text*);
_load_LOADER_REMAP_end_base = .;
_load_vector_exp_table_start_base = .;
KEEP(Reset_560/exp.o(.text*));
_load_vector_exp_table_end_base = .;
KEEP(Reset_560/configDDR.o(.text*));
KEEP(Reset_560/configDDR.o(.rodata*));
KEEP(Driver/fuart.o(.text* .data* .rodata*));
KEEP(Debug/debug.o (.text* .data* .bss*));
KEEP(Common_exFAT/global.o (.text* .data* .bss* .rodata*));
. = ALIGN(4); /* This is MUST. Ensure section size is word aligned. */
}
. = ALIGN(4);
.LOADER_EXEC ADDR(.LOADER_REMAP) + SIZEOF(.LOADER_REMAP) :
AT (LOADADDR(.LOADER_REMAP) + SIZEOF(.LOADER_REMAP))
{
_loader_exec_start_base = .;
KEEP(Ctrl_Flow/main.o(.part1*));
KEEP(Driver/rtc.o(.part1*));
* (.part1)
_loader_exec_end_base = .;
}
_loader_exec_cpu_addr = LOADADDR(.LOADER_EXEC) + ADDR(.BOOT_EXEC);
_loader_exec_size = SIZEOF(.LOADER_EXEC);
. = ALIGN(4);
.text 0x1000000:
AT (LOADADDR(.LOADER_EXEC) + SIZEOF(.LOADER_EXEC))
{
_loader_exec_compres_start = .;
_internal_strg_param_start = .;
*(.text*)
_loader_exec_compres_end = .;
}
_loader_exec_compress_load_base = LOADADDR(.text);
_loader_exec_compress_load_cpu_addr = LOADADDR(.text) + ADDR(.BOOT_EXEC);
.ARM.exidx :
{
*(.ARM.exidx*)
*(.gnu.linkonce.armexidx.*)
}
. = ALIGN(4);
.rodata :
{
*(.rodata*)
. = ALIGN(8); /* This is MUST. Ensure ro size is 2 word aligned. */
}
.dram_text :
AT (LOADADDR(.rodata) + SIZEOF(.rodata))
{
_loader_dram_text_start_base = .;
* (.dram_text)
}
_loader_dram_text_cpu_addr = LOADADDR(.dram_text) + ADDR(.BOOT_EXEC);
_loader_dram_text_size = SIZEOF(.dram_text);
.data :
AT (LOADADDR(.dram_text) + SIZEOF(.dram_text))
{
_loader_data_start_base = .;
_load_general_var_base = .;
_image_general_var_base = .;
*(.data*)
_image_general_var_limit = .;
}
_loader_data_cpu_addr = LOADADDR(.data) + ADDR(.BOOT_EXEC);
_loader_data_size = SIZEOF(.data);
.dummy : { LONG (0x00000000) }
. = ALIGN(4);
.got : { *(.got) }
. = ALIGN(4);
.bss : { /* locate bss at DRAM end */
_image_general_zi_zi_base = .;
*(.bss)
. = ALIGN(0x4000);
_ttb = .;
. = . + 0x4000;
. = ALIGN(0x400);
_ttb_lv2 = .;
. = . + 0x400;
}
.common :
{
__common_base = ABSOLUTE(.);
/* collect "small" un-initialized global data (mark "C" in sym file) */
*(.scommon*)
/* collect "large" un-initialized global data (mark "B" in sym file) */
*(COMMON)
__common_limit = ABSOLUTE(.);
}
. = ALIGN(64);
_image_general_zi_zi_limit = ABSOLUTE(.);
_load_load_reset_base = .;
_image_load_reset_base = .;
_image_load_reset_length = .;
_image_load_reset_zi_base = .;
_image_load_reset_zi_limit = .;
. = ALIGN(64);
.loader_heap :
{
_loader_heap_base = .;
. += 0xA0000 + 0x20000 + 0x80000;
}
. = ALIGN(64);
_stack_start = .;
}

View File

@ -364,7 +364,9 @@ THREAD_RETTYPE IrCutCtrlThread(void *arg)
THREAD_ENTRY(); THREAD_ENTRY();
Delay_DelayMs(80); Delay_DelayMs(80);
DrvGOIO_Turn_Onoff_IRCUT(2); //IR CUT power off gpio_clearPin(GPIO_IRCUT_MEN1);
gpio_clearPin(GPIO_IRCUT_MEN2);
//DrvGOIO_Turn_Onoff_IRCUT(2); //IR CUT power off
//DBG_DUMP("\r\n [%s:%d] s3 \r\n",__FUNCTION__,__LINE__); //DBG_DUMP("\r\n [%s:%d] s3 \r\n",__FUNCTION__,__LINE__);
g_handle_ir_cut = 0; g_handle_ir_cut = 0;
@ -387,7 +389,9 @@ static void IrCutCtrlThreadInit(void)
if(!g_handle_ir_cut){ if(!g_handle_ir_cut){
DBG_ERR("[ERROR] IR CUT thread creat failed!\r\n"); DBG_ERR("[ERROR] IR CUT thread creat failed!\r\n");
Delay_DelayMs(80); Delay_DelayMs(80);
DrvGOIO_Turn_Onoff_IRCUT(2); gpio_clearPin(GPIO_IRCUT_MEN1);
gpio_clearPin(GPIO_IRCUT_MEN2);
//DrvGOIO_Turn_Onoff_IRCUT(2);
return ; return ;
} }
else else

View File

@ -372,7 +372,9 @@ THREAD_RETTYPE IrCutCtrlThread(void *arg)
THREAD_ENTRY(); THREAD_ENTRY();
Delay_DelayMs(80); Delay_DelayMs(80);
DrvGOIO_Turn_Onoff_IRCUT(2); //IR CUT power off //DrvGOIO_Turn_Onoff_IRCUT(2); //IR CUT power off
gpio_clearPin(GPIO_IRCUT_MEN1);
gpio_clearPin(GPIO_IRCUT_MEN2);
//DBG_DUMP("\r\n [%s:%d] s3 \r\n",__FUNCTION__,__LINE__); //DBG_DUMP("\r\n [%s:%d] s3 \r\n",__FUNCTION__,__LINE__);
g_handle_ir_cut = 0; g_handle_ir_cut = 0;
@ -395,7 +397,9 @@ static void IrCutCtrlThreadInit(void)
if(!g_handle_ir_cut){ if(!g_handle_ir_cut){
DBG_ERR("[ERROR] IR CUT thread creat failed!\r\n"); DBG_ERR("[ERROR] IR CUT thread creat failed!\r\n");
Delay_DelayMs(80); Delay_DelayMs(80);
DrvGOIO_Turn_Onoff_IRCUT(2); //DrvGOIO_Turn_Onoff_IRCUT(2);
gpio_clearPin(GPIO_IRCUT_MEN1);
gpio_clearPin(GPIO_IRCUT_MEN2);
return ; return ;
} }
else else

View File

@ -338,7 +338,7 @@ void sf_led_init(void)
static UINT8 dofirst = 1; static UINT8 dofirst = 1;
printf("[%s:%d] s\n", __FUNCTION__, __LINE__); printf("[%s:%d] s\n", __FUNCTION__, __LINE__);
UINT8 startup = sf_get_power_on_mode(); UINT8 startup = sf_get_power_on_mode();
if(((PWR_ON_SETUP != startup) && (PWR_ON_AUTO != startup) && (PWR_ON_USB != startup))) if(((PWR_ON_SETUP != startup) && (PWR_ON_USB != startup)))
return; return;
if(!dofirst) if(!dofirst)