/openbmc/linux/arch/x86/kernel/ |
H A D | machine_kexec_32.c | 43 static void machine_kexec_free_page_tables(struct kimage *image) in machine_kexec_free_page_tables() argument 45 free_pages((unsigned long)image->arch.pgd, PGD_ALLOCATION_ORDER); in machine_kexec_free_page_tables() 46 image->arch.pgd = NULL; in machine_kexec_free_page_tables() 48 free_page((unsigned long)image->arch.pmd0); in machine_kexec_free_page_tables() 49 image->arch.pmd0 = NULL; in machine_kexec_free_page_tables() 50 free_page((unsigned long)image->arch.pmd1); in machine_kexec_free_page_tables() 51 image->arch.pmd1 = NULL; in machine_kexec_free_page_tables() 53 free_page((unsigned long)image->arch.pte0); in machine_kexec_free_page_tables() 54 image->arch.pte0 = NULL; in machine_kexec_free_page_tables() 55 free_page((unsigned long)image->arch.pte1); in machine_kexec_free_page_tables() [all …]
|
H A D | machine_kexec_64.c | 140 static void free_transition_pgtable(struct kimage *image) in free_transition_pgtable() argument 142 free_page((unsigned long)image->arch.p4d); in free_transition_pgtable() 143 image->arch.p4d = NULL; in free_transition_pgtable() 144 free_page((unsigned long)image->arch.pud); in free_transition_pgtable() 145 image->arch.pud = NULL; in free_transition_pgtable() 146 free_page((unsigned long)image->arch.pmd); in free_transition_pgtable() 147 image->arch.pmd = NULL; in free_transition_pgtable() 148 free_page((unsigned long)image->arch.pte); in free_transition_pgtable() 149 image->arch.pte = NULL; in free_transition_pgtable() 152 static int init_transition_pgtable(struct kimage *image, pgd_t *pgd, in init_transition_pgtable() argument [all …]
|
/openbmc/linux/kernel/ |
H A D | kexec_file.c | 41 static int kexec_calculate_store_digests(struct kimage *image); 51 int kexec_image_probe_default(struct kimage *image, void *buf, in kexec_image_probe_default() argument 60 image->fops = *fops; in kexec_image_probe_default() 68 static void *kexec_image_load_default(struct kimage *image) in kexec_image_load_default() argument 70 if (!image->fops || !image->fops->load) in kexec_image_load_default() 73 return image->fops->load(image, image->kernel_buf, in kexec_image_load_default() 74 image->kernel_buf_len, image->initrd_buf, in kexec_image_load_default() 75 image->initrd_buf_len, image->cmdline_buf, in kexec_image_load_default() 76 image->cmdline_buf_len); in kexec_image_load_default() 79 int kexec_image_post_load_cleanup_default(struct kimage *image) in kexec_image_post_load_cleanup_default() argument [all …]
|
H A D | kexec_core.c | 143 static struct page *kimage_alloc_page(struct kimage *image, 147 int sanity_check_segment_list(struct kimage *image) in sanity_check_segment_list() argument 150 unsigned long nr_segments = image->nr_segments; in sanity_check_segment_list() 170 mstart = image->segment[i].mem; in sanity_check_segment_list() 171 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list() 189 mstart = image->segment[i].mem; in sanity_check_segment_list() 190 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list() 194 pstart = image->segment[j].mem; in sanity_check_segment_list() 195 pend = pstart + image->segment[j].memsz; in sanity_check_segment_list() 208 if (image->segment[i].bufsz > image->segment[i].memsz) in sanity_check_segment_list() [all …]
|
H A D | kexec.c | 28 struct kimage *image; in kimage_alloc_init() local 39 image = do_kimage_alloc_init(); in kimage_alloc_init() 40 if (!image) in kimage_alloc_init() 43 image->start = entry; in kimage_alloc_init() 44 image->nr_segments = nr_segments; in kimage_alloc_init() 45 memcpy(image->segment, segments, nr_segments * sizeof(*segments)); in kimage_alloc_init() 49 image->control_page = crashk_res.start; in kimage_alloc_init() 50 image->type = KEXEC_TYPE_CRASH; in kimage_alloc_init() 53 ret = sanity_check_segment_list(image); in kimage_alloc_init() 63 image->control_code_page = kimage_alloc_control_pages(image, in kimage_alloc_init() [all …]
|
/openbmc/openbmc/poky/documentation/ref-manual/ |
H A D | images.rst | 10 image you want. 14 Building an image without GNU General Public License Version 3 17 is only tested for core-image-minimal image. Furthermore, if you would like to 18 build an image and verify that it does not include GPLv3 and similarly licensed 19 components, you must make the following changes in the image recipe 20 file before using the BitBake command to build the image: 27 INCOMPATIBLE_LICENSE:pn-your-image-name = "GPL-3.0* LGPL-3.0*" 31 that contain image recipe files:: 37 - ``build-appliance-image``: An example virtual machine that contains 39 as the build system itself. You can boot and run the image using [all …]
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | machine_kexec.c | 25 kexec_image_info(const struct kimage *image) in kexec_image_info() argument 30 pr_debug("\ttype: %d\n", image->type); in kexec_image_info() 31 pr_debug("\tstart: %lx\n", image->start); in kexec_image_info() 32 pr_debug("\thead: %lx\n", image->head); in kexec_image_info() 33 pr_debug("\tnr_segments: %lu\n", image->nr_segments); in kexec_image_info() 35 for (i = 0; i < image->nr_segments; i++) { in kexec_image_info() 37 image->segment[i].mem, in kexec_image_info() 38 image->segment[i].mem + image->segment[i].memsz); in kexec_image_info() 40 (unsigned long) image->segment[i].memsz, in kexec_image_info() 41 (unsigned long) image->segment[i].memsz / PAGE_SIZE); in kexec_image_info() [all …]
|
/openbmc/openbmc-test-automation/docs/ |
H A D | code_update.md | 11 For BMC code update, download the system type \*.ubi.mdt.tar image from 20 …$ robot -v OPENBMC_HOST:x.x.x.x -v IMAGE_FILE_PATH:<image path>/obmc-phosphor-image-witherspoon.ub… 25 …$ robot -v OPENBMC_HOST:x.x.x.x -v IMAGE_FILE_PATH:<image path>/obmc-phosphor-image-witherspoon.ub… 28 For host code update, download the system type \*.pnor.squashfs.tar image from 37 …$ robot -v OPENBMC_HOST:x.x.x.x -v IMAGE_FILE_PATH:<image path>/witherspoon.pnor.squashfs.tar --in… 42 …$ robot -v OPENBMC_HOST:x.x.x.x -v IMAGE_FILE_PATH:<image path>/witherspoon.pnor.squashfs.tar --in… 53 For BMC code update, download the system type \*.ubi.mdt.tar image from 60 …$ robot -v OPENBMC_HOST:x.x.x.x -v IMAGE_FILE_PATH:<image path>/obmc-phosphor-image-witherspoon.ub… 63 For host code update, download the system type \*.pnor.squashfs.tar image from 70 …$ robot -v OPENBMC_HOST:x.x.x.x -v IMAGE_FILE_PATH:<image path>/witherspoon.pnor.squashfs.tar --in… [all …]
|
/openbmc/linux/drivers/staging/vme_user/ |
H A D | vme_user.c | 101 static struct image_desc image[VME_DEVS]; variable 124 if (count > image[minor].size_buf) in resource_to_user() 125 count = image[minor].size_buf; in resource_to_user() 127 copied = vme_master_read(image[minor].resource, image[minor].kern_buf, in resource_to_user() 132 if (copy_to_user(buf, image[minor].kern_buf, (unsigned long)copied)) in resource_to_user() 141 if (count > image[minor].size_buf) in resource_from_user() 142 count = image[minor].size_buf; in resource_from_user() 144 if (copy_from_user(image[minor].kern_buf, buf, (unsigned long)count)) in resource_from_user() 147 return vme_master_write(image[minor].resource, image[minor].kern_buf, in resource_from_user() 156 image_ptr = image[minor].kern_buf + *ppos; in buffer_to_user() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | image.c | 30 nvbios_imagen(struct nvkm_bios *bios, struct nvbios_image *image) in nvbios_imagen() argument 39 switch ((data = nvbios_rd16(bios, image->base + 0x00))) { in nvbios_imagen() 46 image->base, data); in nvbios_imagen() 50 if (!(data = nvbios_pcirTp(bios, image->base, &ver, &hdr, &pcir))) in nvbios_imagen() 52 image->size = pcir.image_size; in nvbios_imagen() 53 image->type = pcir.image_type; in nvbios_imagen() 54 image->last = pcir.last; in nvbios_imagen() 56 if (image->type != 0x70) { in nvbios_imagen() 57 if (!(data = nvbios_npdeTp(bios, image->base, &npde))) in nvbios_imagen() 59 image->size = npde.image_size; in nvbios_imagen() [all …]
|
/openbmc/linux/arch/x86/entry/vdso/ |
H A D | vma.c | 47 int __init init_vdso_image(const struct vdso_image *image) in init_vdso_image() argument 50 BUG_ON(image->size % PAGE_SIZE != 0); in init_vdso_image() 52 apply_alternatives((struct alt_instr *)(image->data + image->alt), in init_vdso_image() 53 (struct alt_instr *)(image->data + image->alt + in init_vdso_image() 54 image->alt_len)); in init_vdso_image() 65 const struct vdso_image *image = vma->vm_mm->context.vdso_image; in vdso_fault() local 67 if (!image || (vmf->pgoff << PAGE_SHIFT) >= image->size) in vdso_fault() 70 vmf->page = virt_to_page(image->data + (vmf->pgoff << PAGE_SHIFT)); in vdso_fault() 75 static void vdso_fix_landing(const struct vdso_image *image, in vdso_fix_landing() argument 79 if (in_ia32_syscall() && image == &vdso_image_32) { in vdso_fix_landing() [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | machine_kexec_file.c | 84 static int kexec_file_update_purgatory(struct kimage *image, in kexec_file_update_purgatory() argument 90 if (image->type == KEXEC_TYPE_CRASH) { in kexec_file_update_purgatory() 98 ret = kexec_purgatory_get_set_symbol(image, "kernel_entry", &entry, in kexec_file_update_purgatory() 103 ret = kexec_purgatory_get_set_symbol(image, "kernel_type", &type, in kexec_file_update_purgatory() 108 if (image->type == KEXEC_TYPE_CRASH) { in kexec_file_update_purgatory() 111 ret = kexec_purgatory_get_set_symbol(image, "crash_start", in kexec_file_update_purgatory() 119 ret = kexec_purgatory_get_set_symbol(image, "crash_size", in kexec_file_update_purgatory() 127 static int kexec_file_add_purgatory(struct kimage *image, in kexec_file_add_purgatory() argument 133 buf.image = image; in kexec_file_add_purgatory() 137 if (image->type == KEXEC_TYPE_CRASH) in kexec_file_add_purgatory() [all …]
|
H A D | machine_kexec.c | 47 struct kimage *image = data; in __do_machine_kdump() local 51 purgatory = (purgatory_t)image->start; in __do_machine_kdump() 77 static noinline void __machine_kdump(void *image) in __machine_kdump() argument 113 store_status(__do_machine_kdump, image); in __machine_kdump() 121 static bool kdump_csum_valid(struct kimage *image) in kdump_csum_valid() argument 124 purgatory_t purgatory = (purgatory_t)image->start; in kdump_csum_valid() 189 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 193 if (image->type == KEXEC_TYPE_CRASH) in machine_kexec_prepare() 197 if (image->type != KEXEC_TYPE_DEFAULT) in machine_kexec_prepare() 201 reboot_code_buffer = page_to_virt(image->control_code_page); in machine_kexec_prepare() [all …]
|
/openbmc/u-boot/tools/easylogo/ |
H A D | easylogo.c | 149 int image_load_tga (image_t * image, char *filename) in image_load_tga() argument 170 image->width = header.ImageWidth; in image_load_tga() 171 image->height = header.ImageHeight; in image_load_tga() 175 image->yuyv = 0; in image_load_tga() 176 image->palette_size = 0; in image_load_tga() 177 image->palette = NULL; in image_load_tga() 185 image->bpp = header.ImagePixelSize; in image_load_tga() 186 image->pixel_size = ((image->bpp - 1) / 8) + 1; in image_load_tga() 187 image->pixels = image->width * image->height; in image_load_tga() 188 image->size = image->pixels * image->pixel_size; in image_load_tga() [all …]
|
/openbmc/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_image.c | 35 struct qxl_drm_image *image, in qxl_allocate_chunk() argument 51 list_add_tail(&chunk->head, &image->chunk_list); in qxl_allocate_chunk() 61 struct qxl_drm_image *image; in qxl_image_alloc_objects() local 64 image = kmalloc(sizeof(struct qxl_drm_image), GFP_KERNEL); in qxl_image_alloc_objects() 65 if (!image) in qxl_image_alloc_objects() 68 INIT_LIST_HEAD(&image->chunk_list); in qxl_image_alloc_objects() 70 ret = qxl_alloc_bo_reserved(qdev, release, sizeof(struct qxl_image), &image->bo); in qxl_image_alloc_objects() 72 kfree(image); in qxl_image_alloc_objects() 76 ret = qxl_allocate_chunk(qdev, release, image, sizeof(struct qxl_data_chunk) + stride * height); in qxl_image_alloc_objects() 78 qxl_bo_unref(&image->bo); in qxl_image_alloc_objects() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 159.out | 3 == Creating image == 5 No errors were found on the image. 9 == Converting the image with dd with a block size of 5 == 10 No errors were found on the image. 15 == Creating image == 17 No errors were found on the image. 21 == Converting the image with dd with a block size of 512 == 22 No errors were found on the image. 27 == Creating image == 29 No errors were found on the image. [all …]
|
H A D | 146 | 55 $QEMU_IMG map --output=json --image-opts \ 63 $QEMU_IMG map --output=json --image-opts \ 71 $QEMU_IMG map --output=json --image-opts \ 82 $QEMU_IMG map --output=json --image-opts \ 90 $QEMU_IMG map --output=json --image-opts \ 98 $QEMU_IMG map --output=json --image-opts \ 109 $QEMU_IMG map --output=json --image-opts \ 117 $QEMU_IMG map --output=json --image-opts \ 125 $QEMU_IMG map --output=json --image-opts \ 140 echo === Read created image, default opts ==== [all …]
|
H A D | 178.out.qcow2 | 9 qemu-img: --image-opts, -f, and -l require a filename argument. 10 qemu-img: --image-opts, -f, and -l require a filename argument. 11 qemu-img: --image-opts, -f, and -l require a filename argument. 16 qemu-img: Invalid image size specified. Must be between 0 and 9223372036854775807. 33 qemu-img: The image size is too large (try using a larger cluster size) 35 == Empty qcow2 input image (human) == 42 converted image file size in bytes: 196608 44 == qcow2 input image with data (human) == 60 converted image file size in bytes: 524288 62 == qcow2 input image with internal snapshot (human) == [all …]
|
H A D | 284.out | 8 == checking image refcounts == 9 No errors were found on the image. 15 == rechecking image refcounts == 16 No errors were found on the image. 22 == rechecking image refcounts == 23 No errors were found on the image. 27 == checking image refcounts == 28 No errors were found on the image. 34 == rechecking image refcounts == 35 No errors were found on the image. [all …]
|
/openbmc/u-boot/tools/binman/ |
H A D | control.py | 15 from image import Image 130 if options.image: 132 for name, image in images.iteritems(): 133 if name not in options.image: 148 for image in images.values(): 149 image.ExpandEntries() 151 image.AddMissingProperties() 152 image.ProcessFdt(dtb) 159 for image in images.values(): 164 image.GetEntryContents() [all …]
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | bitblit.c | 80 struct fb_image *image, u8 *buf, u8 *dst) in bit_putcs_aligned() argument 97 image->height); in bit_putcs_aligned() 100 image->height); in bit_putcs_aligned() 105 info->fbops->fb_imageblit(info, image); in bit_putcs_aligned() 112 struct fb_image *image, u8 *buf, in bit_putcs_unaligned() argument 131 image->height, shift_high, in bit_putcs_unaligned() 139 info->fbops->fb_imageblit(info, image); in bit_putcs_unaligned() 147 struct fb_image image; in bit_putcs() local 157 image.fg_color = fg; in bit_putcs() 158 image.bg_color = bg; in bit_putcs() [all …]
|
H A D | fbcon_ud.c | 88 struct fb_image *image, u8 *buf, u8 *dst) in ud_putcs_aligned() argument 105 image->height); in ud_putcs_aligned() 108 image->height); in ud_putcs_aligned() 113 info->fbops->fb_imageblit(info, image); in ud_putcs_aligned() 120 struct fb_image *image, u8 *buf, in ud_putcs_unaligned() argument 139 image->height, shift_high, in ud_putcs_unaligned() 147 info->fbops->fb_imageblit(info, image); in ud_putcs_unaligned() 155 struct fb_image image; in ud_putcs() local 171 image.fg_color = fg; in ud_putcs() 172 image.bg_color = bg; in ud_putcs() [all …]
|
/openbmc/linux/arch/sh/kernel/ |
H A D | machine_kexec.c | 41 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument 46 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument 50 static void kexec_info(struct kimage *image) in kexec_info() argument 54 for (i = 0; i < image->nr_segments; i++) { in kexec_info() 57 (unsigned int)image->segment[i].mem, in kexec_info() 58 (unsigned int)image->segment[i].mem + in kexec_info() 59 image->segment[i].memsz, in kexec_info() 60 (unsigned int)image->segment[i].memsz); in kexec_info() 62 printk(" start : 0x%08x\n\n", (unsigned int)image->start); in kexec_info() 69 void machine_kexec(struct kimage *image) in machine_kexec() argument [all …]
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | machine_kexec_file.c | 30 int arch_kimage_file_post_load_cleanup(struct kimage *image) in arch_kimage_file_post_load_cleanup() argument 32 kvfree(image->arch.dtb); in arch_kimage_file_post_load_cleanup() 33 image->arch.dtb = NULL; in arch_kimage_file_post_load_cleanup() 35 vfree(image->elf_headers); in arch_kimage_file_post_load_cleanup() 36 image->elf_headers = NULL; in arch_kimage_file_post_load_cleanup() 37 image->elf_headers_sz = 0; in arch_kimage_file_post_load_cleanup() 39 return kexec_image_post_load_cleanup_default(image); in arch_kimage_file_post_load_cleanup() 89 int load_other_segments(struct kimage *image, in load_other_segments() argument 98 orig_segments = image->nr_segments; in load_other_segments() 101 kbuf.image = image; in load_other_segments() [all …]
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | Makefile | 283 image-$(CONFIG_PPC_PSERIES) += zImage.pseries 284 image-$(CONFIG_PPC_POWERNV) += zImage.pseries 285 image-$(CONFIG_PPC_MAPLE) += zImage.maple 286 image-$(CONFIG_PPC_IBM_CELL_BLADE) += zImage.pseries 287 image-$(CONFIG_PPC_PS3) += dtbImage.ps3 288 image-$(CONFIG_PPC_CHRP) += zImage.chrp 289 image-$(CONFIG_PPC_EFIKA) += zImage.chrp 290 image-$(CONFIG_PPC_PMAC) += zImage.pmac 291 image-$(CONFIG_PPC_HOLLY) += dtbImage.holly 292 image-$(CONFIG_DEFAULT_UIMAGE) += uImage [all …]
|