!2 优化工程文件,清理编译产生的临时文件

Merge pull request !2 from Abiniy/aibin
This commit is contained in:
候鹏飞 2021-09-29 01:43:56 +00:00 committed by Gitee
commit ec28efa6de
194 changed files with 0 additions and 520879 deletions

View File

@ -1,196 +0,0 @@
execute ota_builder with python...
riscv32-unknown-elf-gcc -Iplatform/os/Huawei_LiteOS/kernel/include -Iconfig -DCONFIG_TEE_HUKS_SUPPORT -DCONFIG_CHIP_PKT_32K -DHI_BOARD_ASIC -DHI_ON_FLASH -E build/link/system_config.ld.S -o build/build_tmp/scripts/system_config.ld -P
nvimg_builder(["build/build_tmp/scripts/system_config.ld"], ["build/link/system_config.ld.S"])
product_name_list: ['sta']
xml h file: /home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/h_file/nv
/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/out_nv_bin/sta
app_subver_list: ['demo']
current subver_name:demo
root_dir: /home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool
mdm_xml: /home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/xml_file/mss_nvi_db.xml
HNV NAME:mss_nvi_db.xml
nv_tool: /home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/tools/nv/cdbm
app_subver_temp_dir:/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/out_nv_bin/sta/nv/Hi3861_wifiiot_app/outside_demo
make app_subver_temp_dir
mdmxml:/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/xml_file/mss_nvi_db.xml
src_xml_list: ['/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/xml_file/mss_nvi_db.xml']
combin_xml:/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/out_nv_bin/sta/nv/Hi3861_wifiiot_app/mss_nvi_db.xml
root_list [<Element 'HISTUDIO' at 0x7fa218968f90>]
hi_nv_modify_by_cfg
cfg_file: nv
cmd_line= ('/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/tools/nv/cdbm', '/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/out_nv_bin/sta/nv/Hi3861_wifiiot_app/outside_demo/nv.xml', '/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/h_file/nv', '/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/out_nv_bin/sta/nv/Hi3861_wifiiot_app/outside_demo/nv')
/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/out_nv_bin/sta/nv/Hi3861_wifiiot_app/outside_demo/nv.xml
/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/h_file/nv
/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/out_nv_bin/sta/nv/Hi3861_wifiiot_app/outside_demo/nv
===========Init HDB Start===========
*********strDataTypeDefPath:/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/h_file/nv/../nv/nv_modem_struct_def.txt
*********strDataTypeDefPath:/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/h_file/nv/../nv/nv_modem_struct_def.txt
*********strDataTypeDefPath:/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/h_file/nv/../nv/nv_factory_struct_def.txt
===========Init HDB finish===========
===========Write NV Buffer To File===========
===========Write NV Buffer Finish===========
RETURN VALUE:0
dst_hnv= /home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/out_nv_bin/sta/nv/hnv/Hi3861_wifiiot_app.hnv
Factory NV total num:10
NV_FILE_STRU :28
Factory NV total size:824
Normal NV total num:13
NV_FILE_STRU :28
Normal NV total size:766
build hnv OK:/home/openharmony/device/talkweb/niobe/sdk_liteos/tools/nvtool/out_nv_bin/sta/nv/hnv/Hi3861_wifiiot_app.hnv
ENDING
riscv32-unknown-elf-gcc -Iplatform/os/Huawei_LiteOS/kernel/include -Iconfig -DCONFIG_TEE_HUKS_SUPPORT -DCONFIG_CHIP_PKT_32K -DHI_BOARD_ASIC -DHI_ON_FLASH -DFLASH_FIRM_START=4248512 -E build/link/link.ld.S -o build/build_tmp/scripts/link.lds -P
riscv32-unknown-elf-ld -nostartfiles -nostdlib -static --gc-sections -L/home/openharmony/device/talkweb/niobe/sdk_liteos/build/scripts/../../../../../huawei/hms/hilink/ohos/l0/hi3861/lib/wifi -L/home/tools/gcc_riscv32/bin/../lib/gcc/riscv32-unknown-elf/7.3.0 -Lbuild/build_tmp/libs/app/wifiiot_app -Lbuild/build_tmp/libs/components/at -Lbuild/build_tmp/libs/platform/drivers -Lbuild/build_tmp/libs/platform/system -Lbuild/build_tmp/scripts -Lbuild/libs -Lbuild/libs/hi3861/release/no_mesh -Lbuild/scripts -Lohos/libs -Tbuild/build_tmp/scripts/link.lds -Map=output/bin/Hi3861_wifiiot_app.map -o output/bin/Hi3861_wifiiot_app.out --start-group --no-whole-archive --whole-archive -lHwKeystoreSDK -ladc -ladc_voltage -lat -lauthmanager -lblackbox -lbootstrap -lbroadcast -lc_flash -lcfg -lcjson_static -lcmsis -lcpup -ldiag -ldiscovery -ldrv -ldump_static -lflash -lgcc -lgpio -lhal_file_static -lhal_iothardware -lhal_sysparam -lhal_token_static -lhal_update_static -lhal_wifiaware -lhctest -lhelloworld -lhichainsdk -lhidumper_mini -lhievent_lite -lhilog_lite -lhiview_lite -lhota -li2c -lio -liperf -llitekernel_flash -lltoswpa -llwip -lm_flash -lmbedtls -lmodule_ActsBootstrapTest -lmodule_ActsCMSISTest -lmodule_ActsDfxFuncTest -lmodule_ActsKvStoreTest -lmodule_ActsLwipTest -lmodule_ActsParameterTest -lmodule_ActsSamgrTest -lmodule_ActsSecurityDataTest -lmodule_ActsSoftBusTest -lmodule_ActsUpdaterFuncTest -lmodule_ActsUtilsFileTest -lmodule_ActsWifiIotTest -lmodule_ActsWifiServiceTest -lnative_file -lparttab -lposix -lpwm -lres_cfg -lsamgr -lsamgr_adapter -lsamgr_source -lsdio -lsec_flash -lspiffs -lsysparam -lsystem -ltoken_static -ltrans_service -ltsensor -luart -lupg -lutils_kv_store -lwifi -lwifi_flash -lwifiaware -lwifiiot_app -lwifiservice -lwpa --end-group
riscv32-unknown-elf-objcopy -O binary output/bin/Hi3861_wifiiot_app.out build/build_tmp/cache/Hi3861_wifiiot_app.bin
baseimg_builder(["build/build_tmp/cache/Hi3861_wifiiot_app_base.bin", "build/build_tmp/cache/Hi3861_wifiiot_app_kernel.bin"], ["build/build_tmp/cache/Hi3861_wifiiot_app.bin"])
cleanup(["build/build_tmp/cache/Hi3861_wifiiot_app_base.bin", "build/build_tmp/cache/Hi3861_wifiiot_app_kernel.bin"], ["build/build_tmp/cache/Hi3861_wifiiot_app.bin"])
ota_builder(["build/build_tmp/cache/Hi3861_wifiiot_app_ota_temp.bin"], ["build/build_tmp/cache/Hi3861_wifiiot_app_base.bin", "build/build_tmp/cache/Hi3861_wifiiot_app_kernel.bin"])
********************package kernel&nv upgrade file********************
upg kernel file in: build/build_tmp/cache/Hi3861_wifiiot_app_kernel.bin
upg normal nv file in: build/build_tmp/nv/Hi3861_wifiiot_app_normal.hnv
upg file out: build/build_tmp/cache/Hi3861_wifiiot_app_ota_temp.bin
[common_head_offset=0][common_head_size=96]
[common_key_offset=96][common_key_size=288]
[common_head_sign_offset=384][common_head_sign_size=256]
[section_head_offset=640][section_head_size=64]
[upg_file_sign_offset=704][upg_file_sign_size=256]
[padding_offset=1150856][padding_size=8]
[upg fill user info]chip:b'Hi3861'
-------------build/build_tmp/cache/Hi3861_wifiiot_app_ota_temp.bin image info print start-------------
[image_id=0x3c78961e][struct_version=0x0]]
[section_offset=0x280][section_len=0x118d10]
[file_type=0xf0][file_version=0x0][encrypt_flag=0x42]
[file_len=0x118f90][key_len=0x120]
[file_attr=0x44]
[hash_alg=0x0][sign_alg=0x3f][sign_param=0x0]
[aes_key[0-1-14-15]=[0x0][0x0][0x0][0x0]]
[aes_iv [0-1-14-15]=[0x0][0x0][0x0][0x0]]
[common key][00]=[0x0]
[common key][01]=[0x0]
[common key][30]=[0x0]
[common key][31]=[0x0]
[common sign][00]=[0xaa]
[common sign][01]=[0xf9]
[common sign][30]=[0x94]
[common sign][31]=[0xcd]
[section sign][00]=[0x6]
[section sign][01]=[0xeb]
[section sign][30]=[0xd7]
[section sign][31]=[0xbe]
[image_id=0x3c78961e][struct_version=0x0]]
[hash_alg=0x0][sign_alg=0x3f][sign_param=0x0]
[section_count=0x2]
[section0_compress=0x0][section0_offset=0x3c0][section0_len=0x117bc8]
[section1_compress=0x0][section1_offset=0x117f88][section1_len=0x1000]
-------------build/build_tmp/cache/Hi3861_wifiiot_app_ota_temp.bin image info print end--------------
riscv32-unknown-elf-objdump -d output/bin/Hi3861_wifiiot_app.out > output/bin/Hi3861_wifiiot_app.asm
burn_bin_builder(["output/bin/Hi3861_wifiiot_app_burn.bin", "output/bin/Hi3861_wifiiot_app_allinone.bin"], ["build/build_tmp/cache/Hi3861_wifiiot_app_ota_temp.bin", "output/bin/Hi3861_loader_signed.bin"])
********************package hiburn file********************
hbin flash boot file in : output/bin/Hi3861_boot_signed.bin
hbin factory nv file in : build/build_tmp/nv/Hi3861_wifiiot_app_factory.hnv
hbin normal nv file in : build/build_tmp/cache/Hi3861_wifiiot_app_ota_temp.bin
hbin upg file in : build/build_tmp/nv/Hi3861_wifiiot_app_factory.hnv
hbin file out : output/bin/Hi3861_wifiiot_app_burn.bin
-------------output/bin/Hi3861_wifiiot_app_burn.bin image info print start-------------
[bin_size]=[0x125f90]
[image_id=0x3c78961e][struct_version=0x0]]
[section_offset=0x280][section_len=0x118d10]
[file_type=0xf0][file_version=0x0][encrypt_flag=0x42]
[file_len=0x118f90][key_len=0x120]
[hash_alg=0x0][sign_alg=0x3f][sign_param=0x0]
[aes_key[0,1,14,15]=[0x0][0x0][0x0][0x0]]
[aes_iv[0,1,14,15]=[0x0][0x0][0x0][0x0]]
-------------output/bin/Hi3861_wifiiot_app_burn.bin image info print end--------------
['output/bin/Hi3861_loader_signed.bin', 'output/bin/Hi3861_wifiiot_app_burn.bin']
[0, 0]
[0, 2097152]
[15360, 1204112]
[0, 1]
4022250975
boot_ota_builder(["output/bin/Hi3861_wifiiot_app_flash_boot_ota.bin"], ["output/bin/Hi3861_boot_signed.bin"])
********************package boot upgrade file********************
boot upg file in: output/bin/Hi3861_boot_signed.bin
boot upg file out: output/bin/Hi3861_wifiiot_app_flash_boot_ota.bin
[common_head_offset=0][common_head_size=96]
[common_key_offset=96][common_key_size=288]
[common_head_sign_offset=384][common_head_sign_size=256]
[section_head_offset=640][section_head_size=64]
[upg_file_sign_offset=704][upg_file_sign_size=256]
[padding_offset=0][padding_size=0]
[upg fill user info]chip:b'Hi3861'
-------------output/bin/Hi3861_wifiiot_app_flash_boot_ota.bin image info print start-------------
[image_id=0x3c78961e][struct_version=0x0]]
[section_offset=0x280][section_len=0x60a0]
[file_type=0xe1][file_version=0x0][encrypt_flag=0x42]
[file_len=0x6320][key_len=0x120]
[file_attr=0x44]
[hash_alg=0x0][sign_alg=0x3f][sign_param=0x0]
[aes_key[0-1-14-15]=[0x0][0x0][0x0][0x0]]
[aes_iv [0-1-14-15]=[0x0][0x0][0x0][0x0]]
[common key][00]=[0x0]
[common key][01]=[0x0]
[common key][30]=[0x0]
[common key][31]=[0x0]
[common sign][00]=[0xc9]
[common sign][01]=[0x21]
[common sign][30]=[0x2f]
[common sign][31]=[0x82]
[section sign][00]=[0x34]
[section sign][01]=[0x40]
[section sign][30]=[0x90]
[section sign][31]=[0x2]
[image_id=0x3c78961e][struct_version=0x0]]
[hash_alg=0x0][sign_alg=0x3f][sign_param=0x0]
[section_count=0x1]
[section0_compress=0x0][section0_offset=0x3c0][section0_len=0x5f60]
[section1_compress=0x0][section1_offset=0x0][section1_len=0x0]
-------------output/bin/Hi3861_wifiiot_app_flash_boot_ota.bin image info print end--------------
compress_ota_builder(["output/bin/Hi3861_wifiiot_app_ota.bin"], ["build/build_tmp/cache/Hi3861_wifiiot_app_ota_temp.bin"])
********************package compress upgrade file********************
compress upg file in: build/build_tmp/cache/Hi3861_wifiiot_app_ota_temp.bin
compress upg file out: output/bin/Hi3861_wifiiot_app_ota.bin
lzma compress tool : /home/openharmony/device/talkweb/niobe/sdk_liteos/build/scripts/../../tools/lzma_tool/lzma_tool
lzma src file : build/build_tmp/cache/Hi3861_wifiiot_app_ota_temp.bin
lzma out file : build/build_tmp/cache/Hi3861_wifiiot_app_ota_temp.lzma
/bin/sh: /home/openharmony/device/talkweb/niobe/sdk_liteos/build/scripts/../../tools/lzma_tool/lzma_tool: Permission denied
[upgbin-compressbin]0x118f90-0xbd000
[common_head_offset=0][common_head_size=96]
[common_key_offset=96][common_key_size=288]
[common_head_sign_offset=384][common_head_sign_size=256]
[section_head_offset=640][section_head_size=64]
[upg_file_sign_offset=704][upg_file_sign_size=256]
[padding_offset=444179][padding_size=13]
[upg fill user info]chip:b'Hi3861'
-------------output/bin/Hi3861_wifiiot_app_ota.bin image info print start-------------
[image_id=0x3c78961e][struct_version=0x0]]
[section_offset=0x280][section_len=0x6c4a0]
[file_type=0xf0][file_version=0x0][encrypt_flag=0x42]
[file_len=0x6c720][key_len=0x120]
[file_attr=0x44]
[hash_alg=0x0][sign_alg=0x3f][sign_param=0x0]
[aes_key[0-1-14-15]=[0x0][0x0][0x0][0x0]]
[aes_iv [0-1-14-15]=[0x0][0x0][0x0][0x0]]
[common key][00]=[0x0]
[common key][01]=[0x0]
[common key][30]=[0x0]
[common key][31]=[0x0]
[common sign][00]=[0x72]
[common sign][01]=[0x60]
[common sign][30]=[0xbc]
[common sign][31]=[0xa3]
[section sign][00]=[0x1a]
[section sign][01]=[0x2b]
[section sign][30]=[0x1a]
[section sign][31]=[0x90]
[image_id=0x3c78961e][struct_version=0x0]]
[hash_alg=0x0][sign_alg=0x3f][sign_param=0x0]
[section_count=0x1]
[section0_compress=0x1][section0_offset=0x3c0][section0_len=0x6c353]
[section1_compress=0x0][section1_offset=0x0][section1_len=0x0]
-------------output/bin/Hi3861_wifiiot_app_ota.bin image info print end--------------

< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >
BUILD SUCCESS
< ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >


View File

@ -1,14 +0,0 @@
Building at 2021/09/24 10:05:06
----------------------------top-----------------
lib_name: uart
lib_name: adc
lib_name: tsensor
lib_name: i2c
lib_name: pwm
lib_name: cfg
lib_name: parttab
lib_name: upg
lib_name: at
lib_name: wifiiot_app
~~~~~~~~~~~~~~~~~~~~~~~~~~~~libpath: ['-L/home/openharmony/device/talkweb/niobe/sdk_liteos/build/scripts/../../../../../huawei/hms/hilink/ohos/l0/hi3861/lib/wifi', '-L/home/tools/gcc_riscv32/bin/../lib/gcc/riscv32-unknown-elf/7.3.0', '-Lbuild/build_tmp/libs/app/wifiiot_app', '-Lbuild/build_tmp/libs/components/at', '-Lbuild/build_tmp/libs/platform/drivers', '-Lbuild/build_tmp/libs/platform/system', '-Lbuild/build_tmp/scripts', '-Lbuild/libs', '-Lbuild/libs/hi3861/release/no_mesh', '-Lbuild/scripts', '-Lohos/libs']
~~~~~~~~~~~~~~~~~~~~~~~~~~~~libs: ['--no-whole-archive', '--whole-archive', '-lHwKeystoreSDK', '-ladc', '-ladc_voltage', '-lat', '-lauthmanager', '-lblackbox', '-lbootstrap', '-lbroadcast', '-lc_flash', '-lcfg', '-lcjson_static', '-lcmsis', '-lcpup', '-ldiag', '-ldiscovery', '-ldrv', '-ldump_static', '-lflash', '-lgcc', '-lgpio', '-lhal_file_static', '-lhal_iothardware', '-lhal_sysparam', '-lhal_token_static', '-lhal_update_static', '-lhal_wifiaware', '-lhctest', '-lhelloworld', '-lhichainsdk', '-lhidumper_mini', '-lhievent_lite', '-lhilog_lite', '-lhiview_lite', '-lhota', '-li2c', '-lio', '-liperf', '-llitekernel_flash', '-lltoswpa', '-llwip', '-lm_flash', '-lmbedtls', '-lmodule_ActsBootstrapTest', '-lmodule_ActsCMSISTest', '-lmodule_ActsDfxFuncTest', '-lmodule_ActsKvStoreTest', '-lmodule_ActsLwipTest', '-lmodule_ActsParameterTest', '-lmodule_ActsSamgrTest', '-lmodule_ActsSecurityDataTest', '-lmodule_ActsSoftBusTest', '-lmodule_ActsUpdaterFuncTest', '-lmodule_ActsUtilsFileTest', '-lmodule_ActsWifiIotTest', '-lmodule_ActsWifiServiceTest', '-lnative_file', '-lparttab', '-lposix', '-lpwm', '-lres_cfg', '-lsamgr', '-lsamgr_adapter', '-lsamgr_source', '-lsdio', '-lsec_flash', '-lspiffs', '-lsysparam', '-lsystem', '-ltoken_static', '-ltrans_service', '-ltsensor', '-luart', '-lupg', '-lutils_kv_store', '-lwifi', '-lwifi_flash', '-lwifiaware', '-lwifiiot_app', '-lwifiservice', '-lwpa']

View File

@ -1,317 +0,0 @@
OUTPUT_ARCH( "riscv" )
ENTRY(_start)
STACK_SIZE = 2k;
IRQ_STACK_SIZE = 3K;
EXC_STACK_SIZE = 2K;
NMI_STACK_SIZE = 2K;
DOWNLOAD_STACK_SIZE = 4K;
DOWNLOAD_IRQ_STACK_SIZE = 2K;
MEMORY
{
BIN(rx) : ORIGIN = 4248512, LENGTH = 2M
ROM_TEXT(rx) : ORIGIN = 0x003b8000, LENGTH = (278K - 32)
ROM_DATA0(rwx) : ORIGIN = ((0x11DFFF - (32 + 2016 + 11776 + 0x40) + 1) + 11776), LENGTH = 32
ROM_DATA1(rwx) : ORIGIN = (((0x11DFFF - (32 + 2016 + 11776 + 0x40) + 1) + 11776) + 32), LENGTH = 1768
ROM_BSS(rwx) : ORIGIN = (0x11DFFF - (32 + 2016 + 11776 + 0x40) + 1), LENGTH = 11776
STACK(rw) : ORIGIN = (0x11DFFF - (32 + 2016 + 11776 + 0x40) + 1) - (STACK_SIZE + IRQ_STACK_SIZE + EXC_STACK_SIZE + NMI_STACK_SIZE), LENGTH = (STACK_SIZE + IRQ_STACK_SIZE + EXC_STACK_SIZE + NMI_STACK_SIZE)
CHECK_INFO(rw) : ORIGIN = ((((0x11DFFF - (32 + 2016 + 11776 + 0x40) + 1) + 11776) + 32) + 2016), LENGTH = 0x40
FLASH(rwx) : ORIGIN = 4248512, LENGTH = 0x00400000 + 2M - 4248512
PATCH_BSS(rwx) : ORIGIN = 0x000d8000, LENGTH = 1024
RAM(rwx) : ORIGIN = (0x000d8000 + 1024 + 0), LENGTH = (280K - (32 + 2016 + 11776 + 0x40) - 1024 - (STACK_SIZE + IRQ_STACK_SIZE + EXC_STACK_SIZE + NMI_STACK_SIZE) - 0)
EXTERN_ROM_DATA1_BSS(rwx) : ORIGIN = 0x11dec8, LENGTH = 2016 -1768
}
SECTIONS
{
.text_rom : AT ((4248512 - (278K - 32) - 32))
{
. = ALIGN(0x20);
__rom_text_begin__ = .;
__text_cache_start1_ = .;
_rom_size_download_start = .;
KEEP(SORT(*)(.text.download_entry))
. = ALIGN(0x4);
KEEP(SORT(*)(.text.trap_download_vector))
KEEP(SORT(*)(.text.download_assemble))
. = ALIGN(0x4);
_rom_size_download_end = .;
_rom_size_download = _rom_size_download_end - _rom_size_download_start;
KEEP(SORT(libwifi_base.o)(.text*))
KEEP(SORT(*)(.wifi.rom.text*))
. = ALIGN(0x20);
_rom_wifi_rom_end = .;
_rom_size_libwifi = _rom_wifi_rom_end - _rom_size_download;
KEEP(SORT(libbsp_base.o)(.text*))
_rom_bsp_rom_end = .;
_rom_size_libbsp = _rom_bsp_rom_end - _rom_wifi_rom_end;
KEEP(SORT(liblitekernel_base.o)(.text*))
_rom_kernel_rom_end = .;
_rom_size_kernel = _rom_kernel_rom_end - _rom_bsp_rom_end;
KEEP(SORT(*libgcc.a:save-restore.o)(.text*)) KEEP(SORT(*libgcc.a:_clzsi2.o)(.text*)) KEEP(SORT(*libgcc.a:_umoddi3.o)(.text*)) KEEP(SORT(*libgcc.a:_clz.o)(.text*)) KEEP(SORT(*libgcc.a:_ashldi3.o)(.text*)) KEEP(SORT(*libgcc.a:_lshrdi3.o)(.text*)) KEEP(SORT(*libgcc.a:fixdfsi.o)(.text*)) KEEP(SORT(*libgcc.a:_udivdi3.o)(.text*))
_rom_libgcc_end = .;
_rom_size_libgcc = _rom_libgcc_end - _rom_kernel_rom_end;
KEEP(SORT(libc_base.o)(.text*))
_rom_libc_rom_end = .;
_rom_size_libc = _rom_libc_rom_end - _rom_libgcc_end;
KEEP(SORT(libsec_base.o)(.text*))
_rom_sec_rom_end = .;
_rom_size_libsec = _rom_sec_rom_end - _rom_libc_rom_end;
__text_cache_end1_ = .;
KEEP(SORT(libwifi_base.o)(.rodata*))
KEEP(SORT(*)(.wifi.rom.rodata*))
. = ALIGN(0x4);
_rom_hi1131_wifi_rom_rodata_end = .;
_rom_size_rodata_wifi = _rom_hi1131_wifi_rom_rodata_end - _rom_sec_rom_end;
KEEP(SORT(libbsp_base.o)(.rodata*))
KEEP(SORT(*)(.bsp.rom.rodata))
_rom_libbsp_rom_rodata_end = .;
_rom_size_rodata_bsp = _rom_libbsp_rom_rodata_end - _rom_hi1131_wifi_rom_rodata_end;
KEEP(SORT(liblitekernel_base.o)(.rodata*))
_rom_litekenel_rom_rodata_end = .;
_rom_size_rodata_kernel = _rom_litekenel_rom_rodata_end - _rom_size_rodata_bsp;
KEEP(SORT(*libgcc.a:save-restore.o)(.rodata*)) KEEP(SORT(*libgcc.a:_clzsi2.o)(.rodata*)) KEEP(SORT(*libgcc.a:_umoddi3.o)(.rodata*)) KEEP(SORT(*libgcc.a:_clz.o)(.rodata*)) KEEP(SORT(*libgcc.a:_ashldi3.o)(.rodata*)) KEEP(SORT(*libgcc.a:_lshrdi3.o)(.rodata*)) KEEP(SORT(*libgcc.a:fixdfsi.o)(.rodata*)) KEEP(SORT(*libgcc.a:_udivdi3.o)(.rodata*))
_rom_libgcc_rodata_end = .;
_rom_size_rodata_libgcc = _rom_libgcc_rodata_end - _rom_litekenel_rom_rodata_end;
KEEP(SORT(libc_base.o)(.rodata*))
_rom_libcrom_rodata_end = .;
_rom_size_rodata_libc = _rom_libcrom_rodata_end - _rom_libgcc_rodata_end;
KEEP(SORT(libsec_base.o)(.rodata*))
_rom_libsec_rom_rodata_end = .;
_rom_size_rodata_sec = _rom_libsec_rom_rodata_end - _rom_libcrom_rodata_end;
__rom_text_end__ = .;
} > ROM_TEXT
__rom_text_size__ = __rom_text_end__ - __rom_text_begin__;
.data_rom0 : AT (((4248512 - (278K - 32) - 32) + (278K - 32)))
{
. = ALIGN(0x20);
__rom_data0_begin__ = .;
KEEP(SORT(liblitekernel_base.o) (.data.kernel.rom*))
KEEP(SORT(*)(.bsp.rom.data0))
. = ALIGN(0x4);
__rom_data0_end__ = .;
} > ROM_DATA0
__rom_data0_size__ = __rom_data0_end__ - __rom_data0_begin__;
_rom_size_total = __rom_data0_size__ + __rom_text_size__;
__rom_data0_load = 0x003b8000 + (278K - 32);
.text_non_rom : AT ((((4248512 - (278K - 32) - 32) + (278K - 32)) + 32))
{
. = ALIGN(0x20);
__text_cache_start2_ = .;
KEEP(*(.entry.text))
. = ALIGN(0x20);
SORT(*)(.init*)
SORT(*)(.rom.text.patch)
SORT(*)(EXCLUDE_FILE(*libasm_flash.o) .text*)
SORT(*)(EXCLUDE_FILE(*libasm_flash.o) .got*)
. = ALIGN(0x20);
__text_cache_end2_ = .;
SORT(*)(.rodata*)
. = ALIGN(0x20);
__text_rodata_end_ = .;
. = ALIGN(0x20);
} > FLASH
.zInit : AT (ADDR(.text_non_rom) + SIZEOF(.text_non_rom))
{
__zinitcall_bsp_start = .;
KEEP (*(.zinitcall.bsp0.init))
KEEP (*(.zinitcall.bsp1.init))
KEEP (*(.zinitcall.bsp2.init))
KEEP (*(.zinitcall.bsp3.init))
KEEP (*(.zinitcall.bsp4.init))
__zinitcall_bsp_end = .;
__zinitcall_device_start = .;
KEEP (*(.zinitcall.device0.init))
KEEP (*(.zinitcall.device1.init))
KEEP (*(.zinitcall.device2.init))
KEEP (*(.zinitcall.device3.init))
KEEP (*(.zinitcall.device4.init))
__zinitcall_device_end = .;
__zinitcall_core_start = .;
KEEP (*(.zinitcall.core0.init))
KEEP (*(.zinitcall.core1.init))
KEEP (*(.zinitcall.core2.init))
KEEP (*(.zinitcall.core3.init))
KEEP (*(.zinitcall.core4.init))
__zinitcall_core_end = .;
__zinitcall_sys_service_start = .;
KEEP (*(.zinitcall.sys.service0.init))
KEEP (*(.zinitcall.sys.service1.init))
KEEP (*(.zinitcall.sys.service2.init))
KEEP (*(.zinitcall.sys.service3.init))
KEEP (*(.zinitcall.sys.service4.init))
__zinitcall_sys_service_end = .;
__zinitcall_sys_feature_start = .;
KEEP (*(.zinitcall.sys.feature0.init))
KEEP (*(.zinitcall.sys.feature1.init))
KEEP (*(.zinitcall.sys.feature2.init))
KEEP (*(.zinitcall.sys.feature3.init))
KEEP (*(.zinitcall.sys.feature4.init))
__zinitcall_sys_feature_end = .;
__zinitcall_run_start = .;
KEEP (*(.zinitcall.run0.init))
KEEP (*(.zinitcall.run1.init))
KEEP (*(.zinitcall.run2.init))
KEEP (*(.zinitcall.run3.init))
KEEP (*(.zinitcall.run4.init))
__zinitcall_run_end = .;
__zinitcall_app_service_start = .;
KEEP (*(.zinitcall.app.service0.init))
KEEP (*(.zinitcall.app.service1.init))
KEEP (*(.zinitcall.app.service2.init))
KEEP (*(.zinitcall.app.service3.init))
KEEP (*(.zinitcall.app.service4.init))
__zinitcall_app_service_end = .;
__zinitcall_app_feature_start = .;
KEEP (*(.zinitcall.app.feature0.init))
KEEP (*(.zinitcall.app.feature1.init))
KEEP (*(.zinitcall.app.feature2.init))
KEEP (*(.zinitcall.app.feature3.init))
KEEP (*(.zinitcall.app.feature4.init))
__zinitcall_app_feature_end = .;
__zinitcall_test_start = .;
KEEP (*(.zinitcall.test0.init))
KEEP (*(.zinitcall.test1.init))
KEEP (*(.zinitcall.test2.init))
KEEP (*(.zinitcall.test3.init))
KEEP (*(.zinitcall.test4.init))
__zinitcall_test_end = .;
__zinitcall_exit_start = .;
KEEP (*(.zinitcall.exit0.init))
KEEP (*(.zinitcall.exit1.init))
KEEP (*(.zinitcall.exit2.init))
KEEP (*(.zinitcall.exit3.init))
KEEP (*(.zinitcall.exit4.init))
__zinitcall_exit_end = .;
} > FLASH
.ram_text : AT ((((((((4248512 - (278K - 32) - 32) + (278K - 32)) + 32) + SIZEOF (.text_non_rom) + (0x20) - 1) & ~ ((0x20) - 1)) + SIZEOF (.zInit) + (0x20) - 1) & ~ ((0x20) - 1)))
{
__ram_text_load = LOADADDR(.ram_text);
__ram_text_start = .;
. = ALIGN(0x20);
SORT(*)(.trap_vector.text)
SORT(*)(.kernel.ram.text)
SORT(*)(.ram.kernel)
SORT(*)(.bsp.ram.text)
SORT(libasm_flash.o)(.text*)
. = ALIGN(0x20);
__ram_text_end = .;
} > RAM
__ram_text_size = __ram_text_end - __ram_text_start;
.data : AT ((((((((((4248512 - (278K - 32) - 32) + (278K - 32)) + 32) + SIZEOF (.text_non_rom) + (0x20) - 1) & ~ ((0x20) - 1)) + SIZEOF (.zInit) + (0x20) - 1) & ~ ((0x20) - 1)) + SIZEOF (.ram_text) + (0x20) -1) & ~ ((0x20) - 1)))
{
__data_load = LOADADDR(.data);
. = ALIGN(0x20);
__data_start = .;
SORT(*)(EXCLUDE_FILE(*liblitekernel_base.o *libc_base.o *libsec_base.o *libwifi_base.o *libbsp_base.o) .data*)
SORT(*)(EXCLUDE_FILE(*.o) .wifi.rom.data*)
SORT(*)(EXCLUDE_FILE(*.o) .data.system.rom*)
SORT(*)(.rom.data.patch)
SORT(*)(.sdata*)
. = ALIGN(4);
INCLUDE system_config.ld
. = ALIGN(0x20);
__data_end = .;
} > RAM
__data_size = __data_end - __data_start;
.data_rom1 : AT ((((((((((((4248512 - (278K - 32) - 32) + (278K - 32)) + 32) + SIZEOF (.text_non_rom) + (0x20) - 1) & ~ ((0x20) - 1)) + SIZEOF (.zInit) + (0x20) - 1) & ~ ((0x20) - 1)) + SIZEOF (.ram_text) + (0x20) -1) & ~ ((0x20) - 1)) + SIZEOF(.data) + (0x20) - 1) & ~ ((0x20) - 1)))
{
__rom_data1_load = LOADADDR(.data_rom1);
. = ALIGN(0x20);
__rom_data1_begin__ = .;
KEEP(SORT(*libgcc.a:save-restore.o)(.data*)) KEEP(SORT(*libgcc.a:_clzsi2.o)(.data*)) KEEP(SORT(*libgcc.a:_umoddi3.o)(.data*)) KEEP(SORT(*libgcc.a:_clz.o)(.data*)) KEEP(SORT(*libgcc.a:_ashldi3.o)(.data*)) KEEP(SORT(*libgcc.a:_lshrdi3.o)(.data*)) KEEP(SORT(*libgcc.a:fixdfsi.o)(.data*)) KEEP(SORT(*libgcc.a:_udivdi3.o)(.data*))
KEEP(SORT(liblitekernel_base.o) (.data*))
KEEP(SORT(libbsp_base.o) (.data*))
KEEP(SORT(*)(.data.system.rom*))
KEEP(SORT(libc_base.o) (.data*))
KEEP(SORT(libsec_base.o) (.data*))
KEEP(SORT(libwifi_base.o) (.data*))
KEEP(SORT(*)(.wifi.rom.data*))
. = ALIGN(4);
__rom_data1_end__ = .;
} > ROM_DATA1
__rom_data1_size__ = __rom_data1_end__ - __rom_data1_begin__;
.patch_bss (NOLOAD) :
{
__patch_bss_start = .;
KEEP(SORT(*)(.fpb.remap))
. = ALIGN(4);
__patch_bss_end__ = .;
} > PATCH_BSS
.bss_rom (NOLOAD) :
{
. = ALIGN(0x20);
__rom_bss_begin__ = .;
__global_pointer$ = .;
KEEP(SORT(*libgcc.a:save-restore.o)(.bss*)) KEEP(SORT(*libgcc.a:_clzsi2.o)(.bss*)) KEEP(SORT(*libgcc.a:_umoddi3.o)(.bss*)) KEEP(SORT(*libgcc.a:_clz.o)(.bss*)) KEEP(SORT(*libgcc.a:_ashldi3.o)(.bss*)) KEEP(SORT(*libgcc.a:_lshrdi3.o)(.bss*)) KEEP(SORT(*libgcc.a:fixdfsi.o)(.bss*)) KEEP(SORT(*libgcc.a:_udivdi3.o)(.bss*))
KEEP(SORT(liblitekernel_base.o )(.bss*))
KEEP(SORT(libc_base.o)(.bss*))
KEEP(SORT(libsec_base.o)(.bss*))
KEEP(SORT(libbsp_base.o)(.bss*))
KEEP(SORT(libwifi_base.o) (.bss*))
KEEP(SORT(*)(.wifi.rom.bss*))
. = ALIGN(4);
__rom_bss_end__ = .;
SORT(*)(.extern.rom.bss*)
. = ALIGN(4);
__extern_rom_bss_end__ = .;
} > ROM_BSS
__rom_bss_size__ = __extern_rom_bss_end__ - __rom_bss_begin__;
.extern_rom_data1_bss (NOLOAD) :
{
. = ALIGN(0x20);
__extern_rom_data1_bss_begin__ = .;
SORT(*)(.extern.rom.data1.bss*)
. = ALIGN(4);
__extern_rom_data1_bss_end__ = .;
} > EXTERN_ROM_DATA1_BSS
__extern_rom_data1_bss_size__ = __extern_rom_data1_bss_end__ - __extern_rom_data1_bss_begin__;
__RAM_BEGIN__ = ORIGIN(RAM);
__RAM_SIZE__ = LENGTH(RAM);
__DOWNLOAD_IRQ_STACK = ORIGIN(ROM_BSS) - DOWNLOAD_STACK_SIZE;
__DOWNLOAD_STACK_END = ORIGIN(ROM_BSS);
.bss (NOLOAD) : ALIGN(0x20)
{
. = ALIGN(0x20);
__bss_begin = .;
SORT(*)(.bss*)
SORT(*)(.rom.bss.patch)
SORT(*)(.sbss*)
. = ALIGN(0x20);
__bss_end = .;
} > RAM
__bss_size__ = __bss_end - __bss_begin;
_end = .;
.heap (NOLOAD) :
{
. = ALIGN(64);
__HEAP_BEGIN__ = ABSOLUTE(.);
} > RAM
__HEAP_SIZE__ = (__RAM_BEGIN__ + __RAM_SIZE__) - __HEAP_BEGIN__;
.stack (NOLOAD) : ALIGN(0x20)
{
__SYSTEM_STACK_BEGIN__ = .;
. += STACK_SIZE;
__SYSTEM_STACK_END__ = .;
. = ALIGN(0x20);
__irq_stack_bottom = .;
. += IRQ_STACK_SIZE;
__irq_stack_top = .;
. = ALIGN(0x20);
__nmi_stack_bottom = .;
. += NMI_STACK_SIZE;
__nmi_stack_top = .;
. = ALIGN(0x20);
__exc_stack_bottom = .;
. += EXC_STACK_SIZE;
__exc_stack_top = .;
} > STACK
__SYSTEM_STACK_SIZE__ = __SYSTEM_STACK_END__ - __SYSTEM_STACK_BEGIN__;
.check_info (NOLOAD) :
{
__check_info_addr = .;
KEEP(SORT(*)(.lowpower.ram.bss*))
} > CHECK_INFO
__ram_start = 0x000d8000;
__ram_end = 0x000d8000 + 280K;
. = ALIGN(4);
end = . ;
}

View File

@ -1,2 +0,0 @@
. = ALIGN(8); __block_sysmemused_start = .; __sysmemused_start = .; KEEP(*(.sysmemused)); __sysmemused_end = .; . += (__sysmemused_end - __sysmemused_start)*(((32 + 1)) - 1); __block_sysmemused_end = .;
. = ALIGN(8); __block_errno_start = .; __errno_start = .; KEEP(*(.errno)); __errno_end = .; . += (__errno_end - __errno_start)*(((32 + 1)) - 1); __block_errno_end = .;

View File

@ -1,75 +0,0 @@
# Generated by HiSilicon menuconfig tool
#
# Target Chip
#
CONFIG_TARGET_CHIP_HI3861=y
# end of Target Chip
#
# Security Settings
#
CONFIG_TARGET_SIG_RSA_V15=y
# CONFIG_TARGET_SIG_RSA_PSS is not set
# CONFIG_TARGET_SIG_ECC is not set
# CONFIG_TARGET_SIG_SHA256 is not set
CONFIG_BOOT_ENCRYPT=y
CONFIG_TARGET_BOOT_VER=0
CONFIG_TARGET_KERNEL_VER=0
CONFIG_TEE_HUKS_SUPPORT=y
# CONFIG_TEE_HUKS_DEMO_SUPPORT is not set
# CONFIG_FLASH_ENCRYPT_SUPPORT is not set
# end of Security Settings
#
# Factory Test Settings
#
# CONFIG_FACTORY_TEST_SUPPORT is not set
# end of Factory Test Settings
#
# BSP Settings
#
CONFIG_I2C_SUPPORT=y
# CONFIG_I2S_SUPPORT is not set
# CONFIG_SPI_SUPPORT is not set
# CONFIG_DMA_SUPPORT is not set
# CONFIG_SDIO_SUPPORT is not set
# CONFIG_SPI_DMA_SUPPORT is not set
# CONFIG_UART_DMA_SUPPORT is not set
# CONFIG_PWM_SUPPORT is not set
# CONFIG_PWM_HOLD_AFTER_REBOOT is not set
CONFIG_AT_SUPPORT=y
CONFIG_FILE_SYSTEM_SUPPORT=y
CONFIG_UART0_SUPPORT=y
CONFIG_UART1_SUPPORT=y
# CONFIG_UART2_SUPPORT is not set
# end of BSP Settings
#
# Lwip Settings
#
# CONFIG_NETIF_HOSTNAME is not set
# CONFIG_DHCP_VENDOR_CLASS_IDENTIFIER is not set
# CONFIG_LWIP_LOWPOWER is not set
# end of Lwip Settings
#
# WiFi Settings
#
CONFIG_CE_SUPPORT=y
# CONFIG_FCC_SUPPORT is not set
# CONFIG_MAX_POWER_SUPPORT is not set
# end of WiFi Settings
#
# OTA Settings
#
CONFIG_COMPRESSION_OTA_SUPPORT=y
# CONFIG_DUAL_PARTITION_OTA_SUPPORT is not set
# end of OTA Settings
#
# Link Settings
#
# CONFIG_HILINK is not set
# end of Link Settings

Some files were not shown because too many files have changed in this diff Show More