/openbmc/u-boot/common/ |
H A D | bootm.c | 74 memset((void *)&images, 0, sizeof(images)); in bootm_start() 94 &images, &images.os.image_start, &images.os.image_len); in bootm_find_os() 145 images.os.end = fit_get_end(images.fit_hdr_os); in bootm_find_os() 163 images.ep = images.os.load; in bootm_find_os() 190 images.fit_noffset_os, &images.ep); in bootm_find_os() 216 images.os.load = images.os.image_start; in bootm_find_os() 217 images.ep += images.os.image_start; in bootm_find_os() 248 &images.rd_start, &images.rd_end); in bootm_find_images() 257 &images.ft_addr, &images.ft_len); in bootm_find_images() 630 rd_len = images->rd_end - images->rd_start; in bootm_measure() [all …]
|
H A D | bootm_os.c | 18 bootm_headers_t *images) in do_bootm_standalone() argument 54 bootm_headers_t *images) in do_bootm_netbsd() argument 70 hdr = images->legacy_hdr_os; in do_bootm_netbsd() 148 bootm_headers_t *images) in do_bootm_rtems() argument 181 bootm_headers_t *images) in do_bootm_ose() argument 214 bootm_headers_t *images) in do_bootm_plan9() argument 304 boot_prep_vxworks(images); in do_bootvx_fdt() 315 boot_jump_vxworks(images); in do_bootvx_fdt() 333 do_bootvx_fdt(images); in do_bootm_vxworks() 438 bootm_headers_t *images) in do_bootm_tee() argument [all …]
|
H A D | image-fdt.c | 292 if (select || genimg_has_config(images)) { in boot_get_fdt() 301 if (images->fit_uname_rd) in boot_get_fdt() 302 default_addr = (ulong)images->fit_hdr_rd; in boot_get_fdt() 303 else if (images->fit_uname_os) in boot_get_fdt() 304 default_addr = (ulong)images->fit_hdr_os; in boot_get_fdt() 400 fdt_noffset = boot_get_fdt_fit(images, in boot_get_fdt() 409 images->fit_uname_fdt = fit_uname_fdt; in boot_get_fdt() 410 images->fit_noffset_fdt = fdt_noffset; in boot_get_fdt() 432 } else if (images->legacy_hdr_valid && in boot_get_fdt() 442 (ulong)images->legacy_hdr_os); in boot_get_fdt() [all …]
|
H A D | image.c | 903 if (images->fit_uname_cfg) in genimg_has_config() 982 if (images->fit_uname_os) in boot_get_ramdisk() 1035 images->verify); in boot_get_ramdisk() 1095 (ulong)images->legacy_hdr_os); in boot_get_ramdisk() 1239 if (!genimg_has_config(images)) { in boot_get_fpga() 1266 &(images->fit_uname_cfg), in boot_get_fpga() 1349 if (!genimg_has_config(images)) { in boot_get_loadable() 1376 &(images->fit_uname_cfg), arch, in boot_get_loadable() 1489 ulong of_size = images->ft_len; in image_setup_linux() 1491 struct lmb *lmb = &images->lmb; in image_setup_linux() [all …]
|
H A D | boot_fit.c | 17 int images, node, fdt_len, fdt_node, fdt_offset; in fdt_offset() local 24 images = fdt_path_offset(fit, FIT_IMAGES_PATH); in fdt_offset() 25 if (images < 0) { in fdt_offset() 26 debug("%s: Cannot find /images node: %d\n", __func__, images); in fdt_offset() 37 fdt_node = fdt_subnode_offset(fit, images, fdt_name); in fdt_offset()
|
/openbmc/u-boot/arch/powerpc/lib/ |
H A D | bootm.c | 102 bd_t *kbd = images->kbd; in boot_jump_linux() 169 flush_cache((unsigned long)images->ft_addr, images->ft_len); in boot_prep_linux() 198 bd_t **kbd = &images->kbd; in boot_bd_t_linux() 237 boot_cmdline_linux(images); in do_bootm_linux() 242 boot_bd_t_linux(images); in do_bootm_linux() 247 boot_prep_linux(images); in do_bootm_linux() 251 boot_prep_linux(images); in do_bootm_linux() 255 boot_jump_linux(images); in do_bootm_linux() 293 if (!images->ft_addr) in boot_prep_vxworks() 314 flush_cache((unsigned long)images->ft_addr, images->ft_len); in boot_prep_vxworks() [all …]
|
/openbmc/u-boot/arch/mips/lib/ |
H A D | bootm.c | 128 rd_size = images->initrd_end - images->initrd_start; in linux_cmdline_append() 186 rd_size = images->initrd_end - images->initrd_start; in linux_env_legacy() 220 ulong rd_len = images->rd_end - images->rd_start; in boot_reloc_ramdisk() 231 return boot_ramdisk_high(&images->lmb, images->rd_start, in boot_reloc_ramdisk() 232 rd_len, &images->initrd_start, &images->initrd_end); in boot_reloc_ramdisk() 247 boot_fdt_add_mem_rsv_regions(&images->lmb, images->ft_addr); in boot_reloc_fdt() 248 return boot_relocate_fdt(&images->lmb, &images->ft_addr, in boot_reloc_fdt() 249 &images->ft_len); in boot_reloc_fdt() 267 return image_setup_libfdt(images, images->ft_addr, images->ft_len, in boot_setup_fdt() 268 &images->lmb); in boot_setup_fdt() [all …]
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | bootm.c | 78 if (images->ft_len) { in boot_prep_linux() 86 if (images->legacy_hdr_valid) { in boot_prep_linux() 87 hdr = images->legacy_hdr_os; in boot_prep_linux() 104 images->fit_noffset_os, in boot_prep_linux() 125 images->ep = (ulong)base_ptr; in boot_prep_linux() 126 } else if (images->ep) { in boot_prep_linux() 135 0, images->rd_start, in boot_prep_linux() 136 images->rd_end - images->rd_start); in boot_prep_linux() 201 images->ep, images->os.load); in boot_jump_linux() 203 return boot_linux_kernel(images->ep, images->os.load, in boot_jump_linux() [all …]
|
/openbmc/u-boot/arch/arm/lib/ |
H A D | bootm.c | 258 if (images->initrd_start && images->initrd_end) { in boot_prep_linux() 261 } else if (images->rd_start && images->rd_end) { in boot_prep_linux() 263 images->rd_end); in boot_prep_linux() 311 (u64)images.ep, in switch_to_el1() 315 images.ep, in switch_to_el1() 354 (u64)images->ep, in boot_jump_linux() 358 images->ep, in boot_jump_linux() 420 boot_prep_linux(images); in do_bootm_linux() 429 boot_prep_linux(images); in do_bootm_linux() 440 if (images->ft_addr) { in boot_prep_vxworks() [all …]
|
/openbmc/u-boot/arch/riscv/lib/ |
H A D | bootm.c | 66 if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) { in boot_prep_linux() 69 if (image_setup_linux(images)) { in boot_prep_linux() 85 kernel = (void (*)(ulong, void *))images->ep; in boot_jump_linux() 95 if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) in boot_jump_linux() 96 kernel(gd->arch.boot_hart, images->ft_addr); in boot_jump_linux() 101 bootm_headers_t *images) in do_bootm_linux() argument 108 boot_prep_linux(images); in do_bootm_linux() 113 boot_jump_linux(images, flag); in do_bootm_linux() 117 boot_prep_linux(images); in do_bootm_linux() 118 boot_jump_linux(images, flag); in do_bootm_linux() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | bootz.c | 25 char * const argv[], bootm_headers_t *images) in bootz_start() argument 31 images, 1); in bootz_start() 35 images->ep = load_addr; in bootz_start() 39 images->ep = simple_strtoul(argv[0], NULL, 16); in bootz_start() 41 images->ep); in bootz_start() 44 ret = bootz_setup(images->ep, &zi_start, &zi_end); in bootz_start() 48 lmb_reserve(&images->lmb, images->ep, zi_end - zi_start); in bootz_start() 67 if (bootz_start(cmdtp, flag, argc, argv, &images)) in do_bootz() 76 images.os.os = IH_OS_LINUX; in do_bootz() 84 &images, 1); in do_bootz()
|
H A D | booti.c | 20 char * const argv[], bootm_headers_t *images) in booti_start() argument 28 images, 1); in booti_start() 50 images->ep = relocated_addr; in booti_start() 51 lmb_reserve(&images->lmb, images->ep, le32_to_cpu(image_size)); in booti_start() 70 if (booti_start(cmdtp, flag, argc, argv, &images)) in do_booti() 79 images.os.os = IH_OS_LINUX; in do_booti() 80 images.os.arch = IH_ARCH_ARM64; in do_booti() 88 &images, 1); in do_booti()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 281 | 32 images = { 'drive0': drive0_img } variable in TestDirtyBitmapIOThread 35 for name in self.images: 42 for name in self.images: 55 for name in self.images: 75 for name in self.images: 102 for name in self.images: 140 for name in self.images: 156 for name in self.images: 197 for name in self.images: 205 for name in self.images: [all …]
|
/openbmc/u-boot/arch/arc/lib/ |
H A D | bootm.c | 48 __weak int board_prep_linux(bootm_headers_t *images) { return 0; } in board_prep_linux() argument 51 static int boot_prep_linux(bootm_headers_t *images) in boot_prep_linux() argument 55 ret = image_setup_linux(images); in boot_prep_linux() 59 return board_prep_linux(images); in boot_prep_linux() 73 static void boot_jump_linux(bootm_headers_t *images, int flag) in boot_jump_linux() argument 79 kernel_entry = images->ep; in boot_jump_linux() 89 if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) { in boot_jump_linux() 91 r2 = (unsigned int)images->ft_addr; in boot_jump_linux() 103 int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images) in do_bootm_linux() argument 110 return boot_prep_linux(images); in do_bootm_linux() [all …]
|
/openbmc/u-boot/arch/microblaze/lib/ |
H A D | bootm.c | 18 bootm_headers_t *images) in do_bootm_linux() argument 39 if (images->ft_len) in do_bootm_linux() 40 of_flat_tree = images->ft_addr; in do_bootm_linux() 43 thekernel = (void (*)(char *, ulong, ulong))images->ep; in do_bootm_linux() 46 ret = boot_get_ramdisk(argc, argv, images, IH_ARCH_MICROBLAZE, in do_bootm_linux() 57 if (images->rd_start && images->rd_end && of_flat_tree) { in do_bootm_linux() 58 ret = fdt_initrd(of_flat_tree, images->rd_start, in do_bootm_linux() 59 images->rd_end); in do_bootm_linux()
|
/openbmc/u-boot/arch/sh/lib/ |
H A D | bootm.c | 52 int do_bootm_linux(int flag, int argc, char * const argv[], bootm_headers_t *images) in do_bootm_linux() argument 55 void (*kernel) (void) = (void (*)(void))images->ep; in do_bootm_linux() 58 = (unsigned char *)image_get_load(images->legacy_hdr_os); in do_bootm_linux() 62 unsigned long size = images->ep - (unsigned long)param; in do_bootm_linux() 81 if (images->rd_start || images->rd_end) { in do_bootm_linux() 100 GET_INITRD_START(images->rd_start, CONFIG_SYS_SDRAM_BASE)); in do_bootm_linux() 102 images->rd_end - images->rd_start); in do_bootm_linux()
|
/openbmc/u-boot/tools/binman/ |
H A D | control.py | 21 images = OrderedDict() variable 34 images = OrderedDict() 37 images[node.name] = Image(node.name, node) 39 images['image'] = Image('image', binman_node) 40 return images 77 global images 128 images = _ReadImageDesc(node) 134 del images[name] 139 state.Prepare(images, dtb) 148 for image in images.values(): [all …]
|
/openbmc/u-boot/arch/m68k/lib/ |
H A D | bootm.c | 50 int do_bootm_linux(int flag, int argc, char * const argv[], bootm_headers_t *images) in do_bootm_linux() argument 55 struct lmb *lmb = &images->lmb; in do_bootm_linux() 74 ret = image_setup_linux(images); in do_bootm_linux() 78 kernel = (void (*)(bd_t *, ulong, ulong, ulong, ulong))images->ep; in do_bootm_linux() 94 (*kernel)(kbd, images->initrd_start, images->initrd_end, in do_bootm_linux() 95 images->cmdline_start, images->cmdline_end); in do_bootm_linux()
|
/openbmc/u-boot/common/spl/ |
H A D | spl_fit.c | 39 static int spl_fit_get_image_name(const void *fit, int images, in spl_fit_get_image_name() argument 106 node = fdt_subnode_offset(fit, images, str); in spl_fit_get_image_node() 278 void *fit, int images, ulong base_offset) in spl_fit_append_fdt() argument 319 ret = spl_fit_get_image_name(fit, images, "loadables", in spl_fit_record_loadable() 361 int images, ret; in spl_load_simple_fit() local 408 images = fdt_path_offset(fit, FIT_IMAGES_PATH); in spl_load_simple_fit() 409 if (images < 0) { in spl_load_simple_fit() 415 node = spl_fit_get_image_node(fit, images, "fpga", 0); in spl_load_simple_fit() 492 images, base_offset); in spl_load_simple_fit() 525 fit, images, base_offset); in spl_load_simple_fit() [all …]
|
/openbmc/u-boot/arch/nios2/lib/ |
H A D | bootm.c | 11 int do_bootm_linux(int flag, int argc, char * const argv[], bootm_headers_t *images) in do_bootm_linux() argument 13 void (*kernel)(int, int, int, char *) = (void *)images->ep; in do_bootm_linux() 15 ulong initrd_start = images->rd_start; in do_bootm_linux() 16 ulong initrd_end = images->rd_end; in do_bootm_linux() 20 if (images->ft_len) in do_bootm_linux() 21 of_flat_tree = images->ft_addr; in do_bootm_linux()
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/images/ |
H A D | firmware-image-juno.bb | 18 file://images-r0.txt \ 19 file://images-r1.txt \ 20 file://images-r2.txt \ 49 # Juno images list file 50 cp -f ${WORKDIR}/images-r0.txt ${D}/${UNPACK_DIR}/SITE1/HBI0262B/images.txt 51 cp -f ${WORKDIR}/images-r1.txt ${D}/${UNPACK_DIR}/SITE1/HBI0262C/images.txt 52 cp -f ${WORKDIR}/images-r2.txt ${D}/${UNPACK_DIR}/SITE1/HBI0262D/images.txt
|
/openbmc/openbmc/meta-raspberrypi/.github/actions/docker-clean-dangling/ |
H A D | action.yml | 5 name: "Cleanup dangling docker images" 10 - name: Cleanup dangling images 13 echo -n "Cleanup dangling images... " 14 … if ! docker rmi $(docker images --filter "dangling=true" -q --no-trunc) > /dev/null 2>&1; then 15 echo "no dangling images found."
|
/openbmc/u-boot/arch/nds32/lib/ |
H A D | bootm.c | 37 int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images) in do_bootm_linux() argument 57 theKernel = (void (*)(int, int, uint))images->ep; in do_bootm_linux() 70 if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) { in do_bootm_linux() 73 if (image_setup_linux(images)) { in do_bootm_linux() 98 if (images->rd_start && images->rd_end) in do_bootm_linux() 99 setup_initrd_tag(bd, images->rd_start, images->rd_end); in do_bootm_linux() 115 if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) in do_bootm_linux() 116 theKernel(0, machid, (unsigned long)images->ft_addr); in do_bootm_linux()
|
/openbmc/u-boot/arch/xtensa/lib/ |
H A D | bootm.c | 134 int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images) in do_bootm_linux() argument 145 if (images->rd_start) { in do_bootm_linux() 146 initrd_start = images->rd_start; in do_bootm_linux() 147 initrd_end = images->rd_end; in do_bootm_linux() 164 if (images->ft_addr) in do_bootm_linux() 165 params = setup_fdt_tag(params, images->ft_addr); in do_bootm_linux() 175 (ulong)images->ep); in do_bootm_linux() 189 : : "a" (params_start), "a" (images->ep) in do_bootm_linux()
|
/openbmc/u-boot/include/ |
H A D | bootm.h | 35 bootm_headers_t *images); 48 bootm_headers_t *images, boot_os_fn *boot_fn); 64 int bootm_measure(struct bootm_headers *images); 67 int states, bootm_headers_t *images, int boot_progress);
|