/linux/Documentation/admin-guide/ |
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 …]
|
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
|
A D | bootconfig.rst | 162 to the end of the initrd (initramfs) image file with padding, size, 165 [initrd][bootconfig][padding][size(le32)][checksum(le32)][#BOOTCONFIG\n] 169 When the boot configuration is added to the initrd image, the total 174 The Linux kernel decodes the last part of the initrd image in memory to 178 loader passes the correct initrd file size. If by any chance, the boot 183 to/from initrd image. You can build it by the following command:: 187 To add your boot config file to initrd image, run bootconfig as below 190 # tools/bootconfig/bootconfig -a your-config /boot/initrd.img-X.Y.Z 194 # tools/bootconfig/bootconfig -d /boot/initrd.img-X.Y.Z 197 kernel to look for the bootconfig at the end of the initrd file. [all …]
|
/linux/tools/testing/selftests/rcutorture/doc/ |
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.
|
A D | rcu-test-image.txt | 1 Normally, a minimal initrd is created automatically by the rcutorture 5 $ size tools/testing/selftests/rcutorture/initrd/init 7 328 0 8 336 150 tools/testing/selftests/rcutorture/initrd/init 15 tools/testing/selftests/rcutorture/initrd 17 For example, your tools/testing/selftests/rcutorture/initrd/init might
|
/linux/arch/arm/boot/bootp/ |
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
|
/linux/arch/um/kernel/ |
A D | initrd.c | 14 static char *initrd __initdata = NULL; 23 if (initrd == NULL) in read_initrd() 26 err = os_file_size(initrd, &size); in read_initrd() 35 printk(KERN_ERR "\"%s\" is a zero-size initrd\n", initrd); in read_initrd() 43 if (load_initrd(initrd, area, size) == -1) in read_initrd() 53 initrd = line; in uml_initrd_setup()
|
/linux/Documentation/power/ |
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 …]
|
/linux/arch/powerpc/boot/ |
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
|
A D | wrapper | 41 initrd= 108 initrd="$1" 232 isection=.kernel:initrd 279 isection=initrd 318 isection=.kernel:initrd 458 if [ -n "$initrd" ]; then 459 real_rd="$initrd" 466 if [ -z "$initrd" ]; then 487 if [ -n "$initrd" ]; then 488 addsec $tmp "$initrd" $isection
|
A D | main.c | 229 struct addr_range vmlinux, initrd; in start() local 255 initrd = prep_initrd(vmlinux, chosen, in start() 279 kentry((unsigned long)initrd.addr, initrd.size, in start()
|
A D | zImage.ps3.lds.S | 18 .kernel:initrd : { *(.kernel:initrd) }
|
A D | zImage.lds.S | 75 .kernel:initrd : 78 *(.kernel:initrd)
|
/linux/Documentation/x86/ |
A D | microcode.rst | 24 The microcode is stored in an initrd file. During boot, it is read from 27 The format of the combined initrd image is microcode in (uncompressed) 28 cpio format followed by the (possibly compressed) initrd image. The 29 loader parses the combined initrd image during boot. 39 scans the microcode file in the initrd. If microcode matching the 47 Here's a crude example how to prepare an initrd with microcode (this is 49 initrd, so you don't really have to do it yourself. It is documented 56 echo "You need to supply an initrd file" 63 TMPDIR=/tmp/initrd
|
/linux/Documentation/devicetree/bindings/ |
A D | chosen.txt | 124 linux,initrd-start and linux,initrd-end 127 These properties hold the physical start and end address of an initrd that's 128 loaded by the bootloader. Note that linux,initrd-start is inclusive, but 129 linux,initrd-end is exclusive. 134 linux,initrd-start = <0x82000000>; 135 linux,initrd-end = <0x82800000>;
|
/linux/arch/arm/boot/ |
A D | Makefile | 93 $(obj)/bootp/bootp: $(obj)/zImage initrd FORCE 99 PHONY += initrd 100 initrd: target
|
/linux/arch/parisc/kernel/ |
A D | kexec_file.c | 17 unsigned long kernel_len, char *initrd, in elf_load() argument 44 if (initrd != NULL) { in elf_load() 45 kbuf.buffer = initrd; in elf_load()
|
/linux/Documentation/arm/ |
A D | uefi.rst | 68 linux,initrd-start 64-bit Physical start address of an initrd 70 linux,initrd-end 64-bit Physical end address of an initrd
|
/linux/arch/powerpc/kexec/ |
A D | elf_64.c | 28 unsigned long kernel_len, char *initrd, in elf64_load() argument 91 if (initrd != NULL) { in elf64_load() 92 kbuf.buffer = initrd; in elf64_load()
|
/linux/arch/arm64/kernel/ |
A D | machine_kexec_file.c | 84 char *initrd, unsigned long initrd_len, in load_other_segments() argument 127 if (initrd) { in load_other_segments() 128 kbuf.buffer = initrd; in load_other_segments()
|
/linux/tools/testing/selftests/rcutorture/bin/ |
A D | mkinitrd.sh | 27 mkdir -p initrd 28 cd initrd
|
/linux/Documentation/admin-guide/acpi/ |
A D | ssdt-overlays.rst | 70 Loading ACPI SSDTs from initrd 73 This option allows loading of user defined SSDTs from initrd and it is useful 76 It works in a similar way with initrd based ACPI tables override/upgrade: SSDT 77 AML code must be placed in the first, uncompressed, initrd under the 93 # Create the uncompressed cpio archive and concatenate the original initrd 96 cat /boot/initrd >>/boot/instrumented_initrd
|
A D | initrd_table_override.rst | 4 Upgrading ACPI tables via initrd 15 When building initrd with kernel in a single image, option 88 # concatenates the original initrd on top: 90 cat /boot/initrd >>/boot/instrumented_initrd
|
/linux/arch/arm/boot/dts/ |
A D | kirkwood-iconnect.dts | 19 linux,initrd-start = <0x4500040>; 20 linux,initrd-end = <0x4800000>; 164 label = "initrd";
|
/linux/arch/arm/mm/ |
A D | init.c | 57 phys_initrd_start = __virt_to_phys(tag->u.initrd.start); in parse_tag_initrd() 58 phys_initrd_size = tag->u.initrd.size; in parse_tag_initrd() 66 phys_initrd_start = tag->u.initrd.start; in parse_tag_initrd2() 67 phys_initrd_size = tag->u.initrd.size; in parse_tag_initrd2()
|