/openbmc/u-boot/common/ |
H A D | bootm.c | 44 bootm_headers_t images; /* pointers to os/initrd/fdt images */ variable 47 char * const argv[], bootm_headers_t *images, 55 static void boot_start_lmb(bootm_headers_t *images) in boot_start_lmb() argument 63 lmb_init_and_reserve_range(&images->lmb, (phys_addr_t)mem_start, in boot_start_lmb() 68 static inline void boot_start_lmb(bootm_headers_t *images) { } in boot_start_lmb() argument 74 memset((void *)&images, 0, sizeof(images)); in bootm_start() 75 images.verify = env_get_yesno("verify"); in bootm_start() 77 boot_start_lmb(&images); in bootm_start() 80 images.state = BOOTM_STATE_START; in bootm_start() 94 &images, &images.os.image_start, &images.os.image_len); in bootm_find_os() [all …]
|
H A D | bootm_os.c | 18 bootm_headers_t *images) in do_bootm_standalone() argument 26 env_set_hex("filesize", images->os.image_len); in do_bootm_standalone() 29 appl = (int (*)(int, char * const []))images->ep; in do_bootm_standalone() 54 bootm_headers_t *images) in do_bootm_netbsd() argument 65 if (!images->legacy_hdr_valid) { in do_bootm_netbsd() 70 hdr = images->legacy_hdr_os; in do_bootm_netbsd() 84 if (image_check_type(&images->legacy_hdr_os_copy, IH_TYPE_MULTI)) { in do_bootm_netbsd() 104 loader = (void (*)(bd_t *, image_header_t *, char *, char *))images->ep; in do_bootm_netbsd() 126 bootm_headers_t *images) in do_bootm_lynxkdi() argument 128 image_header_t *hdr = &images->legacy_hdr_os_copy; in do_bootm_lynxkdi() [all …]
|
H A D | image-fdt.c | 264 bootm_headers_t *images, char **of_flat_tree, ulong *of_size) in boot_get_fdt() argument 276 const char *fit_uname_config = images->fit_uname_cfg; in boot_get_fdt() 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() 328 fdt_addr = map_to_sysmem(images->fit_hdr_os); in boot_get_fdt() 329 fdt_noffset = fit_get_node_from_config(images, in boot_get_fdt() 400 fdt_noffset = boot_get_fdt_fit(images, in boot_get_fdt() [all …]
|
H A D | image.c | 900 int genimg_has_config(bootm_headers_t *images) in genimg_has_config() argument 903 if (images->fit_uname_cfg) in genimg_has_config() 931 int boot_get_ramdisk(int argc, char * const argv[], bootm_headers_t *images, in boot_get_ramdisk() argument 944 const char *fit_uname_config = images->fit_uname_cfg; in boot_get_ramdisk() 958 buf = map_sysmem(images->os.start, 0); in boot_get_ramdisk() 973 } else if (select || genimg_has_config(images)) { in boot_get_ramdisk() 982 if (images->fit_uname_os) in boot_get_ramdisk() 983 default_addr = (ulong)images->fit_hdr_os; in boot_get_ramdisk() 1011 rd_addr = map_to_sysmem(images->fit_hdr_os); in boot_get_ramdisk() 1012 rd_noffset = fit_get_node_from_config(images, in boot_get_ramdisk() [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 | 42 static void boot_jump_linux(bootm_headers_t *images) in boot_jump_linux() argument 47 char *of_flat_tree = images->ft_addr; in boot_jump_linux() 51 ulong, ulong, ulong))images->ep; in boot_jump_linux() 98 ulong cmd_start = images->cmdline_start; in boot_jump_linux() 99 ulong cmd_end = images->cmdline_end; in boot_jump_linux() 100 ulong initrd_start = images->initrd_start; in boot_jump_linux() 101 ulong initrd_end = images->initrd_end; in boot_jump_linux() 102 bd_t *kbd = images->kbd; in boot_jump_linux() 161 static void boot_prep_linux(bootm_headers_t *images) in boot_prep_linux() argument 169 flush_cache((unsigned long)images->ft_addr, images->ft_len); in boot_prep_linux() [all …]
|
/openbmc/u-boot/arch/mips/lib/ |
H A D | bootm.c | 76 static void linux_cmdline_legacy(bootm_headers_t *images) in linux_cmdline_legacy() argument 116 static void linux_cmdline_append(bootm_headers_t *images) in linux_cmdline_append() argument 127 rd_start = images->initrd_start; in linux_cmdline_append() 128 rd_size = images->initrd_end - images->initrd_start; in linux_cmdline_append() 169 static void linux_env_legacy(bootm_headers_t *images) in linux_env_legacy() argument 185 rd_start = UNCACHED_SDRAM(images->initrd_start); in linux_env_legacy() 186 rd_size = images->initrd_end - images->initrd_start; in linux_env_legacy() 218 static int boot_reloc_ramdisk(bootm_headers_t *images) in boot_reloc_ramdisk() argument 220 ulong rd_len = images->rd_end - images->rd_start; in boot_reloc_ramdisk() 226 if (images->state & BOOTM_STATE_RAMDISK) { in boot_reloc_ramdisk() [all …]
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | bootm.c | 68 static int boot_prep_linux(bootm_headers_t *images) in boot_prep_linux() argument 78 if (images->ft_len) { in boot_prep_linux() 80 if (image_setup_linux(images)) { in boot_prep_linux() 86 if (images->legacy_hdr_valid) { in boot_prep_linux() 87 hdr = images->legacy_hdr_os; in boot_prep_linux() 102 } else if (images->fit_uname_os && is_zimage) { in boot_prep_linux() 103 ret = fit_image_get_data(images->fit_hdr_os, in boot_prep_linux() 104 images->fit_noffset_os, in boot_prep_linux() 123 images->os.load = load_address; in boot_prep_linux() 125 images->ep = (ulong)base_ptr; in boot_prep_linux() [all …]
|
/openbmc/u-boot/arch/arm/lib/ |
H A D | bootm.c | 227 static void boot_prep_linux(bootm_headers_t *images) in boot_prep_linux() argument 231 if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) { in boot_prep_linux() 234 if (image_setup_linux(images)) { in boot_prep_linux() 258 if (images->initrd_start && images->initrd_end) { in boot_prep_linux() 259 setup_initrd_tag(gd->bd, images->initrd_start, in boot_prep_linux() 260 images->initrd_end); in boot_prep_linux() 261 } else if (images->rd_start && images->rd_end) { in boot_prep_linux() 262 setup_initrd_tag(gd->bd, images->rd_start, in boot_prep_linux() 263 images->rd_end); in boot_prep_linux() 308 (images.os.arch == IH_ARCH_ARM)) in switch_to_el1() [all …]
|
/openbmc/u-boot/arch/riscv/lib/ |
H A D | bootm.c | 64 static void boot_prep_linux(bootm_headers_t *images) in boot_prep_linux() argument 66 if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) { in boot_prep_linux() 69 if (image_setup_linux(images)) { in boot_prep_linux() 80 static void boot_jump_linux(bootm_headers_t *images, int flag) in boot_jump_linux() argument 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() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 281 | 32 images = { 'drive0': drive0_img } variable in TestDirtyBitmapIOThread 35 for name in self.images: 37 self.images[name], str(image_len)) 42 for name in self.images: 44 % (self.images[name], name)) 55 for name in self.images: 56 os.remove(self.images[name]) 72 images = { 'drive0': drive0_img, 'mirror': mirror_img } variable in TestNBDMirrorIOThread 75 for name in self.images: 77 self.images[name], str(image_len)) [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/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/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) 132 for name, image in images.iteritems(): 134 del images[name] 139 state.Prepare(images, dtb) [all …]
|
/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/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 93 static int spl_fit_get_image_node(const void *fit, int images, in spl_fit_get_image_node() argument 100 err = spl_fit_get_image_name(fit, images, type, index, &str); in spl_fit_get_image_node() 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 284 node = spl_fit_get_image_node(fit, images, FIT_FDT_PROP, 0); in spl_fit_append_fdt() 311 static int spl_fit_record_loadable(const void *fit, int images, int index, in spl_fit_record_loadable() argument 319 ret = spl_fit_get_image_name(fit, images, "loadables", in spl_fit_record_loadable() 324 node = spl_fit_get_image_node(fit, images, "loadables", index); in spl_fit_record_loadable() 361 int images, ret; in spl_load_simple_fit() local [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 \ 50 # Juno images list file 51 cp -f ${UNPACKDIR}/images-r0.txt ${D}/${FIRMWARE_DIR}/SITE1/HBI0262B/images.txt 52 cp -f ${UNPACKDIR}/images-r1.txt ${D}/${FIRMWARE_DIR}/SITE1/HBI0262C/images.txt 53 cp -f ${UNPACKDIR}/images-r2.txt ${D}/${FIRMWARE_DIR}/SITE1/HBI0262D/images.txt
|
/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/openbmc/poky/meta/files/common-licenses/ |
H A D | JPL-image | 3 Unless otherwise noted, images and video on JPL public web sites (public sites ending with a jpl.na… 7 …images, and does not represent others who may claim to be authors or owners of copyright of any of… 8 2. to use a credit line in connection with images. Unless otherwise noted in the caption informatio… 13 …ignia), the NASA logotype (the red "worm" logo) and the NASA seal. These images may not be used by… 19 * JPL/Caltech contractors and vendors who wish to use JPL images in advertising or public relation … 21 …images and video available for journalistic, educational and personal uses, but restrictions are p…
|
/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);
|