/openbmc/linux/Documentation/translations/zh_CN/admin-guide/ |
H A D | bootconfig.rst | 152 用引导配置引导内核有两种方法:将引导配置附加到initrd镜像或直接嵌入内核中。 154 *initrd: initial RAM disk,初始内存磁盘* 156 将引导配置附加到initrd 159 由于默认情况下引导配置文件是用initrd加载的,因此它将被添加到initrd(initramfs) 166 当引导配置被加到initrd镜像时,整个文件大小会对齐到4字节。空字符( ``\0`` ) 169 Linux内核在内存中解码initrd镜像的最后部分以获取引导配置数据。由于这种“背负式” 170 的方法,只要引导加载器传递了正确的initrd文件大小,就无需更改或更新引导加载器 175 可以用它从initrd镜像中删除或追加配置文件。你可以用以下命令来构建它:: 179 要向initrd镜像添加你的引导配置文件,请按如下命令操作(旧数据会自动移除):: 192 如果你不能使用initrd,也可以通过Kconfig选项将引导配置文件嵌入内核中。在此情 [all …]
|
/openbmc/qemu/tests/avocado/ |
H A D | linux_initrd.py | 42 with tempfile.NamedTemporaryFile() as initrd: 43 initrd.seek(max_size) 44 initrd.write(b'\0') 45 initrd.flush() 46 self.vm.add_args('-kernel', kernel_path, '-initrd', initrd.name, 71 with tempfile.NamedTemporaryFile() as initrd: 72 initrd.seek(max_size) 73 initrd.write(b'\0') 74 initrd.flush() 80 '-initrd', initrd.name,
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | initrd.rst | 1 Using the initial RAM disk (initrd) 66 from /dev/initrd. Note that the data in initrd can have any structure 102 # mkdir /initrd 168 8) the initrd is now in the file "initrd". Optionally, it can now be 171 # gzip -9 initrd 176 initrd. 200 initrd = /boot/initrd.gz 236 # mkdir initrd 237 # pivot_root . initrd 265 # umount /initrd [all …]
|
H A D | efi-stub.rst | 50 The "initrd=" option 54 multiple initrd files using the "initrd=" option. This is the only EFI 58 The path to the initrd file must be an absolute path from the 66 initrd-large.img 69 initrd-small.img 70 initrd-medium.img 72 to boot with the initrd-large.img file if the current working 75 fs0:\Kernels> bzImage.efi initrd=\Kernels\initrd-large.img 99 "dtb=" is processed in the same manner as the "initrd=" option that is
|
/openbmc/linux/tools/testing/selftests/rcutorture/doc/ |
H A D | initrd.txt | 1 The rcutorture scripting tools automatically create an initrd containing 7 userspace environments, you might wish to press an existing initrd 12 zcat /initrd.img > /tmp/initrd.img.zcat 13 mkdir initrd 14 cd initrd 15 cpio -id < /tmp/initrd.img.zcat 16 # Manually verify that initrd contains needed binaries and libraries.
|
/openbmc/linux/arch/arm/boot/bootp/ |
H A D | init.S | 24 bl move @ move the initrd 30 ldmia r13, {r5-r9} @ get size and addr of initrd 33 @ r7 = initrd start 34 @ r8 = initrd end 56 mov r5, #4 @ Size of initrd tag (4 words) 76 data: .word initrd_start @ source initrd address 77 .word initrd_phys @ destination initrd address 78 .word initrd_size @ initrd size
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | efi-stub-helper.c | 527 initrd->size = 0; in efi_load_initrd_dev_path() 532 status = efi_allocate_pages(initrd->size, &initrd->base, max); in efi_load_initrd_dev_path() 537 (void *)initrd->base); in efi_load_initrd_dev_path() 539 efi_free(initrd->size, initrd->base); in efi_load_initrd_dev_path() 547 struct linux_efi_initrd *initrd, in efi_load_initrd_cmdline() argument 556 &initrd->base, &initrd->size); in efi_load_initrd_cmdline() 574 struct linux_efi_initrd initrd, *tbl; in efi_load_initrd() local 582 if (initrd.size > 0 && in efi_load_initrd() 583 efi_measure_tagged_event(initrd.base, initrd.size, in efi_load_initrd() 603 *tbl = initrd; in efi_load_initrd() [all …]
|
/openbmc/linux/arch/um/kernel/ |
H A D | initrd.c | 16 static char *initrd __initdata = NULL; 23 if (!initrd) in read_initrd() 26 area = uml_load_file(initrd, &size); in read_initrd() 37 initrd = line; in uml_initrd_setup()
|
/openbmc/openbmc/poky/scripts/lib/wic/plugins/source/ |
H A D | isoimage-isohybrid.py | 151 if not initrd: 169 initrd = files[0] 171 if not initrd or not os.path.exists(initrd): 173 initrd = "%s/initrd.cpio.gz" % cr_workdir 197 return initrd 276 initrd = source_params['initrd'] 279 cp_cmd = "cp %s/%s %s" % (deploy_dir, initrd, cr_workdir) 283 initrd = "%s/initrd" % deploy_dir 284 if not os.path.isfile(initrd): 285 initrd = "%s/initrd" % img_iso_dir [all …]
|
H A D | bootimg-efi.py | 43 if initrd: 44 initrds = initrd.split(';') 75 initrd = source_params.get('initrd') 105 if initrd: 106 initrds = initrd.split(';') 143 initrd = source_params.get('initrd') 190 if initrd: 191 initrds = initrd.split(';') 308 if not initrd: 328 initrds = initrd.split(';') [all …]
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | README | 2 To extract the kernel vmlinux, System.map, .config or initrd from the zImage binary: 7 objcopy -j .kernel:initrd -O binary zImage.initrd initrd.gz
|
H A D | Makefile | 378 initrd- := $(patsubst zImage%, zImage.initrd%, $(image-)) 379 initrd-y := $(patsubst zImage%, zImage.initrd%, \ 380 $(patsubst dtbImage%, dtbImage.initrd%, \ 381 $(patsubst simpleImage%, simpleImage.initrd%, \ 382 $(patsubst treeImage%, treeImage.initrd%, $(image-y))))) 383 initrd-y := $(filter-out $(image-y), $(initrd-y)) 384 targets += $(image-y) $(initrd-y) 390 $(addprefix $(obj)/, $(initrd-y)): $(obj)/ramdisk.image.gz 395 $(obj)/zImage.initrd.%: vmlinux $(wrapperbits) FORCE 451 $(obj)/zImage.initrd: $(addprefix $(obj)/, $(initrd-y)) [all …]
|
H A D | wrapper | 41 initrd= 108 initrd="$1" 249 isection=.kernel:initrd 296 isection=initrd 335 isection=.kernel:initrd 475 if [ -n "$initrd" ]; then 476 real_rd="$initrd" 483 if [ -z "$initrd" ]; then 504 if [ -n "$initrd" ]; then 505 addsec $tmp "$initrd" $isection
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | live-vm-common.bbclass | 62 if [ -f "$iso_dir/initrd" ] ; then 63 cp $iso_dir/initrd ${EFIIMGDIR} 78 # Install bzImage, initrd, and rootfs.img in DEST for all loaders to use. 86 # initrd is made of concatenation of multiple filesystem images 88 rm -f $dest/initrd 92 cat $fs >> $dest/initrd 94 bbfatal "$fs is invalid. initrd image creation failed." 97 chmod 0644 $dest/initrd
|
H A D | systemd-boot-cfg.bbclass | 64 initrd = localdata.getVar('INITRD') 66 if initrd: 67 entrycfg.write('initrd /initrd\n')
|
/openbmc/linux/Documentation/power/ |
H A D | swsusp-dmcrypt.rst | 13 You did read Documentation/admin-guide/initrd.rst and know how an initrd works. 14 You know how to create or how to modify an initrd. 19 an initrd that does your current crypto setup already. 25 or an usb stick prior to resume. So you need an initrd, that sets 31 always the same major/minor within the initrd as well as 43 Prepare your boot loader to use the initrd you will create or 48 initrd=/boot/initrd.gz 52 Finally you need to create or modify your initrd. Lets assume 53 you create an initrd that reads the required dm-crypt setup 57 named "swapkey". /etc/fstab of your initrd contains something [all …]
|
/openbmc/qemu/hw/core/ |
H A D | guest-loader.c | 71 } else if (s->initrd) { in loader_insert_platform_data() 85 char *file = s->kernel ? s->kernel : s->initrd; in guest_loader_realize() 89 if (s->kernel && s->initrd) { in guest_loader_realize() 92 } else if (!s->kernel && !s->initrd) { in guest_loader_realize() 118 DEFINE_PROP_STRING("initrd", GuestLoaderState, initrd),
|
/openbmc/qemu/tests/multiboot/ |
H A D | run_test.sh | 64 run_qemu modules.elf -initrd module.txt 65 run_qemu modules.elf -initrd "module.txt argument" 66 run_qemu modules.elf -initrd "module.txt argument,,with,,commas" 67 run_qemu modules.elf -initrd "module.txt,module.txt argument,module.txt"
|
H A D | modules.out | 9 === Running test case: modules.elf -initrd module.txt === 16 === Running test case: modules.elf -initrd module.txt argument === 23 === Running test case: modules.elf -initrd module.txt argument,,with,,commas === 30 === Running test case: modules.elf -initrd module.txt,module.txt argument,module.txt ===
|
/openbmc/qemu/tests/migration/ |
H A D | meson.build | 14 'initrd-stress.img', 15 output: 'initrd-stress.img', 17 command: [find_program('initrd-stress.sh'), '@OUTPUT@', '@INPUT@']
|
/openbmc/u-boot/arch/sh/lib/ |
H A D | bootm.c | 31 #define GET_INITRD_START(initrd, linux) (initrd - linux + CONFIG_SH_SDRAM_OFFSET) argument 33 #define GET_INITRD_START(initrd, linux) (initrd - linux) argument
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/plymouth/ |
H A D | plymouth_24.004.60.bb | 45 PACKAGECONFIG ??= "initrd freetype pango udev ${PLYMOUTH_THEMES} ${@bb.utils.filter('DISTRO_FEATURE… 52 PACKAGECONFIG[initrd] = ",," 78 if ! ${@bb.utils.contains('PACKAGECONFIG', 'initrd', 'true', 'false', d)}; then 86 PACKAGES =. "${@bb.utils.contains('PACKAGECONFIG', 'initrd', '${PN}-initrd ', '', d)}" 89 FILES:${PN}-initrd = "${libexecdir}/plymouth/*" 99 RDEPENDS:${PN}-initrd = "bash dracut"
|
/openbmc/linux/Documentation/translations/zh_CN/devicetree/ |
H A D | usage-model.rst | 147 时和配置数据,如内核参数字符串和initrd镜像的位置。 153 initrd-start = <0xc8000000>; 154 initrd-end = <0xc8200000>; 157 bootargs属性包含内核参数,initrd-\*属性定义initrd blob的地址和大小。注 158 意initrd-end是initrd映像后的第一个地址,所以这与结构体资源的通常语义不一
|
/openbmc/u-boot/doc/uImage.FIT/ |
H A D | command_syntax_extensions.txt | 55 kernel and a ramdisk, respectively. The kernel is booted with initrd loaded 61 | (kernel, initrd) | (kernel, initrd, fdt) | 66 Ad. 4. Similar to case 3, but the kernel is booted without initrd. Second 70 Ad. 5. Boot kernel image located at <addr1> with initrd loaded with ramdisk 76 booted with initrd loaded with ramdisk from the image at <addr2>. 80 a FDT binary blob. Kernel is booted without initrd. 97 at <addr1> with initrd loaded with ramdisk <subimg2> from the image at 102 at <addr1> with initrd loaded with ramdisk <subimg2> from the image at 111 at <addr1>, without initrd, and pass FDT blob <subimg3> from the image at 151 - boot "kernel-1" from a new uImage at 200000 with initrd "ramdisk-2" found in [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/os-release/ |
H A D | os-release.bb | 71 ln -rs ${D}${nonarch_libdir}/os-release ${D}${sysconfdir}/initrd-release 76 PACKAGES += "${PN}-initrd" 77 FILES:${PN}-initrd = "${sysconfdir}/initrd-release" 78 RDEPENDS:${PN}-initrd += "${PN}"
|