Home
last modified time | relevance | path

Searched refs:load_addr (Results 1 – 25 of 53) sorted by relevance

123

/u-boot/tools/
A Dgpimage-common.c35 uint32_t gph_load_addr = gph->load_addr; in gph_verify_header()
48 uint32_t gph_size = gph->size, gph_load_addr = gph->load_addr; in gph_print_header()
66 void gph_set_header(struct gp_header *gph, uint32_t size, uint32_t load_addr, in gph_set_header() argument
70 gph->load_addr = load_addr; in gph_set_header()
72 to_be32(&gph->size, &gph->load_addr); in gph_set_header()
A Dgpheader.h27 uint32_t load_addr; member
33 int valid_gph_load_addr(uint32_t load_addr);
36 void gph_set_header(struct gp_header *gph, uint32_t size, uint32_t load_addr,
A Dimx8mimage.c324 uint32_t fit_size, load_addr; in generate_ivt_for_fit() local
359 load_addr = (ep - (fit_size + CSF_SIZE) - 512 - align_len) & in generate_ivt_for_fit()
363 load_addr, 0, 0, 0, in generate_ivt_for_fit()
364 (load_addr + fit_size), in generate_ivt_for_fit()
365 (load_addr + fit_size + 0x20), in generate_ivt_for_fit()
374 *fit_load_addr = load_addr; in generate_ivt_for_fit()
/u-boot/cmd/
A Dqfw.c17 static int qemu_fwcfg_setup_kernel(void *load_addr, void *initrd_addr) in qemu_fwcfg_setup_kernel() argument
30 data_addr = load_addr; in qemu_fwcfg_setup_kernel()
63 printf("loading kernel to address %p size %x", load_addr, in qemu_fwcfg_setup_kernel()
123 void *load_addr; in qemu_fwcfg_do_load() local
127 load_addr = env ? in qemu_fwcfg_do_load()
145 load_addr = (void *)simple_strtoul(argv[0], NULL, 16); in qemu_fwcfg_do_load()
148 load_addr = (void *)simple_strtoul(argv[0], NULL, 16); in qemu_fwcfg_do_load()
151 if (!load_addr || !initrd_addr) { in qemu_fwcfg_do_load()
156 return qemu_fwcfg_setup_kernel(load_addr, initrd_addr); in qemu_fwcfg_do_load()
A Darmflash.c281 ulong load_addr; in do_afs() local
283 load_addr = simple_strtoul(argv[3], NULL, 16); in do_afs()
284 ret = load_image(argv[2], load_addr); in do_afs()
/u-boot/arch/arm/lib/
A Dsemihosting.c150 static int smh_load_file(const char * const name, ulong load_addr, in smh_load_file() argument
167 ret = smh_read(fd, (void *)load_addr, len); in smh_load_file()
171 *end_addr = load_addr + len - 1; in smh_load_file()
174 load_addr, in smh_load_file()
189 ulong load_addr; in do_smhload() local
194 load_addr = simple_strtoul(argv[2], NULL, 16); in do_smhload()
195 if (!load_addr) in do_smhload()
198 ret = smh_load_file(argv[1], load_addr, &end_addr); in do_smhload()
/u-boot/arch/arm/mach-keystone/
A Dcmd_mon.c18 u32 addr, dpsc_base = 0x1E80000, freq, load_addr, size; in do_mon_install() local
37 load_addr = image_get_load(header); in do_mon_install()
39 memcpy((void *)load_addr, (void *)(addr + sizeof(struct image_header)), in do_mon_install()
45 rcode = mon_install(load_addr, dpsc_base, freq, ecrypt_bm_addr); in do_mon_install()
47 load_addr, freq, rcode); in do_mon_install()
/u-boot/common/spl/
A Dspl_legacy.c36 spl_image->load_addr = image_get_load(header); in spl_parse_legacy_header()
42 spl_image->load_addr = image_get_load(header) - in spl_parse_legacy_header()
59 spl_image->name, spl_image->load_addr, spl_image->size); in spl_parse_legacy_header()
100 (void *)(unsigned long)spl_image->load_addr); in spl_load_legacy_img()
107 dataptr, spl_image->load_addr); in spl_load_legacy_img()
116 ret = lzmaBuffToBuffDecompress((void *)spl_image->load_addr, in spl_load_legacy_img()
A Dspl_fit.c238 ulong load_addr, load_ptr; in spl_load_fit_image() local
261 if (fit_image_get_load(fit, node, &load_addr)) in spl_load_fit_image()
262 load_addr = image_info->load_addr; in spl_load_fit_image()
276 load_ptr = (load_addr + align_len) & ~align_len; in spl_load_fit_image()
321 memcpy((void *)load_addr, src, length); in spl_load_fit_image()
327 image_info->load_addr = load_addr; in spl_load_fit_image()
362 image_info.load_addr = spl_image->load_addr + spl_image->size; in spl_fit_append_fdt()
386 spl_image->fdt_addr = (void *)image_info.load_addr; in spl_fit_append_fdt()
416 image_info.load_addr = (ulong)tmpbuffer; in spl_fit_append_fdt()
429 (void *)image_info.load_addr); in spl_fit_append_fdt()
[all …]
A Dspl_ubi.c51 volumes[0].load_addr = (void *)CONFIG_SYS_LOAD_ADDR; in spl_ubi_load_image()
53 volumes[1].load_addr = (void *)CONFIG_SYS_SPL_ARGS_ADDR; in spl_ubi_load_image()
57 header = (struct image_header *)volumes[0].load_addr; in spl_ubi_load_image()
74 volumes[0].load_addr = (void *)header; in spl_ubi_load_image()
A Dspl_xip.c20 spl_image->load_addr = CONFIG_SYS_LOAD_ADDR; in spl_xip()
23 spl_image->load_addr); in spl_xip()
A Dspl_onenand.c34 spl_image->size, (void *)spl_image->load_addr); in spl_onenand_load_image()
A Dspl_spi.c45 spl_image->size, (void *)spl_image->load_addr); in spi_load_image_os()
164 (void *)spl_image->load_addr); in spl_spi_load_image()
A Dspl_nand.c91 (void *)(ulong)spl_image->load_addr); in spl_nand_load_element()
144 (void *)spl_image->load_addr); in spl_nand_load_image()
A Dspl.c188 spl_image->load_addr = u_boot_pos; in spl_set_header_raw_uboot()
191 spl_image->load_addr = CONFIG_SYS_TEXT_BASE; in spl_set_header_raw_uboot()
223 spl_image->load_addr = fw_data; in spl_load_fit_image()
228 spl_image->name, spl_image->load_addr, spl_image->size); in spl_load_fit_image()
309 spl_image->load_addr = CONFIG_SYS_LOAD_ADDR; in spl_parse_image_header()
314 spl_image->load_addr, spl_image->size); in spl_parse_image_header()
A Dspl_ymodem.c146 addr = spl_image->load_addr; in spl_ymodem_load_image()
169 if (gunzip((void *)(spl_image->load_addr + sizeof(*ih)), in spl_ymodem_load_image()
/u-boot/arch/x86/cpu/apollolake/
A Dspl.c39 spl_image->load_addr = spl_image->entry_point; in rom_load_image()
61 spl_image->load_addr); in rom_load_image()
63 memcpy((void *)spl_image->load_addr, (void *)spl_pos, spl_size); in rom_load_image()
122 spl_image->load_addr = spl_image->entry_point; in spl_fast_spi_load_image()
128 (void *)spl_image->load_addr); in spl_fast_spi_load_image()
/u-boot/board/synopsys/axs10x/
A Dheaderize-axs.py129 load_addr = 0x81000000
130 crc_store_adr = load_addr - 0x8
134 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr)
158 "fatload mmc 0:1 " + hex(load_addr) + " " + headerised_filename + " && " + \
162 … "sf write " + hex(load_addr) + " " + hex(spi_flash_offset) + " " + hex(load_size) + " && " + \
/u-boot/board/synopsys/hsdk/
A Dheaderize-hsdk.py111 load_addr = 0x81000000
112 crc_store_adr = load_addr - 0x8
116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr)
130 "fatload mmc 0:1 " + hex(load_addr) + " " + headerised_filename + " && " + \
135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \
/u-boot/arch/x86/lib/
A Dspl.c212 spl_image->load_addr = CONFIG_SYS_TEXT_BASE; in spl_board_load_image()
225 memcpy((char *)spl_image->load_addr, (char *)0xfff00000, in spl_board_load_image()
229 debug("Loading to %lx\n", spl_image->load_addr); in spl_board_load_image()
A Dtpl.c98 spl_image->load_addr = CONFIG_SPL_TEXT_BASE; in spl_board_load_image()
102 debug("Loading to %lx\n", spl_image->load_addr); in spl_board_load_image()
/u-boot/test/
A Dcompression.c470 const ulong load_addr = 0x1000; in run_bootm_test() local
478 err = image_decomp(comp_type, load_addr, image_start, in run_bootm_test()
479 IH_TYPE_KERNEL, map_sysmem(load_addr, 0), in run_bootm_test()
483 err = image_decomp(comp_type, load_addr, image_start, in run_bootm_test()
484 IH_TYPE_KERNEL, map_sysmem(load_addr, 0), in run_bootm_test()
494 err = image_decomp(comp_type, load_addr, image_start, in run_bootm_test()
495 IH_TYPE_KERNEL, map_sysmem(load_addr, 0), in run_bootm_test()
/u-boot/doc/board/emulation/
A Dqemu-mips.rst154 setenv load_kernel_hda 'ide res; diskboot ${load_addr} 0:2'
155 setenv load_kernel_ext2 'ide res; ext2load ide 0:2 ${load_addr} /boot/uImage'
156 setenv load_kernel_tftp 'tftp ${load_addr} /qemu_mips/uImage'
157 setenv boot_ext2_ext2 'run load_rd_ext2; run load_kernel_ext2; run addmisc; bootm ${load_addr}'
159 setenv boot_ext2_hda 'run load_rd_ext2; run load_kernel_hda; run addmisc; bootm ${load_addr}'
160 setenv boot_ext2_tftp 'run load_rd_ext2; run load_kernel_tftp; run addmisc; bootm ${load_addr}'
161 setenv boot_tftp_hda 'run load_rd_tftp; run load_kernel_hda; run addmisc; bootm ${load_addr}'
162 setenv boot_tftp_ext2 'run load_rd_tftp; run load_kernel_ext2; run addmisc; bootm ${load_addr}'
164 setenv boot_tftp_tftp 'run load_rd_tftp; run load_kernel_tftp; run addmisc; bootm ${load_addr}'
/u-boot/arch/mips/lib/
A Dspl.c18 flush_cache((unsigned long)spl_image->load_addr, spl_image->size); in jump_to_image_no_args()
/u-boot/include/
A Dubispl.h83 void *load_addr; member

Completed in 40 milliseconds

123