Home
last modified time | relevance | path

Searched refs:addr_write (Results 1 - 11 of 11) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/upg/
H A Dboot_upg_kernel.c23 hi_u32 boot_upg_lzma_detect(hi_u32 addr_write, hi_u32 *uncompress_size, const hi_upg_section_head *section_head) in boot_upg_lzma_detect() argument
29 hi_u32 ret = hi_flash_read(addr_write + section_head->section0_offset, 13, lzma_head); /* 13 Bytes:head length */ in boot_upg_lzma_detect()
53 hi_u32 boot_upg_lzma_verify(hi_u32 addr_write, hi_u32 *uncompress_size, const hi_upg_section_head *section_head, in boot_upg_lzma_verify() argument
56 hi_u32 ret = boot_upg_lzma_detect(addr_write, uncompress_size, section_head); in boot_upg_lzma_verify()
58 boot_msg2("detect1 writeaddr-uncompress_size:", addr_write, *uncompress_size); in boot_upg_lzma_verify()
66 ret = boot_upg_check_before_decompress(addr_write, section_head, file_head); in boot_upg_lzma_verify()
74 hi_u32 boot_upg_kernel_process(hi_u32 addr_start, hi_u32 addr_write) in boot_upg_kernel_process() argument
78 hi_u32 ret = hi_flash_read(addr_write + sizeof(hi_upg_head), sizeof(hi_upg_section_head), (hi_u8 *)(&section_head)); in boot_upg_kernel_process()
92 ret = boot_decrypt_upg_file(addr_write, &section_head); in boot_upg_kernel_process()
99 ret = boot_upg_lzma_verify(addr_write, in boot_upg_kernel_process()
[all...]
H A Dboot_start.c57 g_upg_kernel_verify_addr = cfg->addr_write; in change_area()
94 if (g_upg_kernel_verify_addr == cfg->addr_write) { in check_area_changed_decrypt()
126 if ((ret == HI_ERR_SUCCESS) && (g_upg_kernel_verify_addr == cfg->addr_write)) { in boot_head()
127 ret = boot_upg_kernel_process(cfg->addr_start, cfg->addr_write); in boot_head()
160 g_upg_kernel_verify_addr = cfg->addr_write; in boot_upg_init_verify_addr()
H A Dboot_upg_kernel.h21 hi_u32 boot_upg_kernel_process(hi_u32 addr_start, hi_u32 addr_write);
H A Dboot_upg_start_up.h38 uintptr_t addr_write; /* write kernel upgrade file address */ member
H A Dboot_upg_tool.h27 hi_u32 boot_upg_check_before_decompress(hi_u32 addr_write, const hi_upg_section_head *seciton_head,
H A Dboot_upg_tool.c280 hi_u32 boot_upg_check_before_decompress(hi_u32 addr_write, const hi_upg_section_head *section_head, in boot_upg_check_before_decompress() argument
287 hi_flash_read(addr_write + section_head->section0_offset, 13, lzma_head); /* read 13B */ in boot_upg_check_before_decompress()
288 g_compress_src_addr = addr_write + section_head->section0_offset; in boot_upg_check_before_decompress()
/device/soc/hisilicon/hi3861v100/sdk_liteos/config/nv/
H A Dhi_ft_nv.h38 uintptr_t addr_write; /* write kernel upgrade file address */ member
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/secure/
H A Dload_crypto.h68 uintptr_t addr_write; /* write kernel upgrade file address */ member
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/secure/
H A Dcrypto.h104 hi_u32 boot_decrypt_upg_file(hi_u32 addr_write, const hi_upg_section_head *section_head);
H A Dcrypto.c526 addr_start = cfg->addr_write; in crypto_load_flash_raw()
922 uintptr_t addr_write = start - sizeof (hi_upg_file_head); in decrypt_para_init() local
928 ret = hi_flash_read(addr_write, sizeof(hi_upg_common_head), (hi_u8 *)upg_head); in decrypt_para_init()
1133 hi_u32 boot_decrypt_upg_file(hi_u32 addr_write, const hi_upg_section_head *section_head) in boot_decrypt_upg_file() argument
1136 hi_u32 start_offset = addr_write + section_head->section0_offset; in boot_decrypt_upg_file()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
H A Dupg_common.c496 ret = hi_flash_erase(cfg.addr_write, UPG_FLASH_BLOCK_SIZE); in upg_stop()
497 upg_print("[upg stop]erase ret-addr:0x%x-0x%x.\r\n", ret, cfg.addr_write); in upg_stop()
513 cfg.addr_write = 0; in upg_stop()
742 cfg.addr_write = ctx->file_addr; in upg_start()
1492 cfg.addr_write = ctx->file_addr; in hi_upg_transmit_finish()
1495 cfg.addr_write = ctx->file_addr; in hi_upg_transmit_finish()
1509 cfg.addr_start, cfg.file_type, cfg.addr_write, ret); in hi_upg_transmit_finish()
1621 cfg.addr_start, cfg.file_type, cfg.addr_write, ret); in hi_upg_transmit_finish_save_cache()
1682 cfg.addr_write = ctx->file_addr; in hi_upg_finish_with_cache()
1685 cfg.addr_write in hi_upg_finish_with_cache()
[all...]

Completed in 7 milliseconds