Searched refs:initrd (Results 1 - 25 of 100) sorted by relevance

1234

/linux-master/arch/um/kernel/
H A Dinitrd.c8 #include <linux/initrd.h>
16 static char *initrd __initdata = NULL;
23 if (!initrd)
26 area = uml_load_file(initrd, &size);
37 initrd = line;
41 __uml_setup("initrd=", uml_initrd_setup,
42 "initrd=<initrd image>\n"
43 " This is used to boot UML from an initrd image. The argument is the\n"
/linux-master/arch/parisc/
H A Ddefpalo.conf15 --commandline=0/vmlinuz HOME=/ root=/dev/ram initrd=0/ramdisk panic_timeout=60 panic=-1
/linux-master/arch/arm/boot/bootp/
H A Dinit.S7 * "Header" file for splitting kernel + initrd. Note that we pass
24 bl move @ move the initrd
27 * Setup the initrd parameters to pass to the kernel. This can only be
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 siz
[all...]
H A DMakefile22 # guess an initrd location if possible
33 PHONY += initrd
34 initrd:
47 targets := bootp init.o kernel.o initrd.o
49 # Note that bootp.lds picks up kernel.o and initrd.o
50 $(obj)/bootp: $(src)/bootp.lds $(addprefix $(obj)/,init.o kernel.o initrd.o) FORCE
53 # kernel.o and initrd.o includes a binary image using
58 $(obj)/initrd.o: initrd $(INITRD) FORCE
/linux-master/arch/powerpc/boot/
H A DzImage.ps3.lds.S18 .kernel:initrd : { *(.kernel:initrd) }
H A DzImage.coff.lds.S32 *(.kernel:initrd)
H A DzImage.lds.S72 .kernel:initrd :
75 *(.kernel:initrd)
H A Dwrapper6 # This script takes a kernel binary and optionally an initrd image
13 # -i initrd specify initrd file
41 initrd=
69 echo 'Usage: wrapper [-o output] [-p platform] [-i initrd]' >&2
108 initrd="$1"
249 isection=.kernel:initrd
296 isection=initrd
335 isection=.kernel:initrd
473 # obs600 wants a multi image with an initrd, s
[all...]
H A DMakefile277 # args (to if_changed): 1 = (this rule), 2 = platform, 3 = dts 4=dtb 5=initrd
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
[all...]
H A Dmain.c108 printf("Attached initrd image at 0x%p-0x%p\n\r",
117 /* If there's no initrd at all, we're done */
122 * If the initrd is too low it will be clobbered when the
129 printf("Allocating 0x%lx bytes for initrd ...\n\r",
135 printf("Relocating initrd 0x%lx <- 0x%p (0x%lx bytes)\n\r",
140 printf("initrd head: 0x%lx\n\r", *((unsigned long *)initrd_addr));
142 /* Tell the kernel initrd address via device tree */
143 setprop_val(chosen, "linux,initrd-start", (u32)(initrd_addr));
144 setprop_val(chosen, "linux,initrd-end", (u32)(initrd_addr+initrd_size));
229 struct addr_range vmlinux, initrd; local
[all...]
/linux-master/arch/mips/ath79/
H A Dprom.c14 #include <linux/initrd.h>
27 /* Read the initrd address from the firmware environment */
/linux-master/drivers/firmware/efi/libstub/
H A Defi-stub-helper.c222 STR_WITH_SIZE("Linux initrd")
510 * for the firmware or bootloader to expose the initrd data directly to the stub
512 * very easy to implement. It is a simple Linux initrd specific conduit between
514 * kernel) in charge of where and when to load the initrd, while leaving it up
537 * efi_load_initrd_dev_path() - load the initrd from the Linux initrd device path
538 * @initrd: pointer of struct to store the address where the initrd was loaded
539 * and the size of the loaded initrd
540 * @max: upper limit for the initrd memor
550 efi_load_initrd_dev_path(struct linux_efi_initrd *initrd, unsigned long max) argument
588 efi_load_initrd_cmdline(efi_loaded_image_t *image, struct linux_efi_initrd *initrd, unsigned long soft_limit, unsigned long hard_limit) argument
616 struct linux_efi_initrd initrd, *tbl; local
[all...]
/linux-master/arch/parisc/kernel/
H A Dkexec_file.c17 unsigned long kernel_len, char *initrd,
44 if (initrd != NULL) {
45 kbuf.buffer = initrd;
54 kexec_dprintk("Loaded initrd at 0x%lx\n", kbuf.mem);
16 elf_load(struct kimage *image, char *kernel_buf, unsigned long kernel_len, char *initrd, unsigned long initrd_len, char *cmdline, unsigned long cmdline_len) argument
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dmkinitrd.sh4 # Create an initrd directory if one does not already exist.
17 if [ -s "$D/initrd/init" ]; then
18 echo "$D/initrd/init already exists, no need to create it"
22 # Create a C-language initrd/init infinite-loop program and statically
23 # link it. This results in a very small initrd.
24 echo "Creating a statically linked C-language initrd"
26 mkdir -p initrd
27 cd initrd
88 echo "Failed to create a statically linked C-language initrd"
93 echo "Done creating a statically linked C-language initrd"
[all...]
/linux-master/arch/arm64/kernel/
H A Dmachine_kexec_file.c87 * Tries to add the initrd and DTB to the image. If it is not possible to find
94 char *initrd, unsigned long initrd_len,
140 /* load initrd */
141 if (initrd) {
142 kbuf.buffer = initrd;
157 kexec_dprintk("Loaded initrd at 0x%lx bufsz=0x%lx memsz=0x%lx\n",
91 load_other_segments(struct kimage *image, unsigned long kernel_load_addr, unsigned long kernel_size, char *initrd, unsigned long initrd_len, char *cmdline) argument
H A Dkexec_image.c38 char *initrd, unsigned long initrd_len,
101 kernel_segment->memsz, initrd,
36 image_load(struct kimage *image, char *kernel, unsigned long kernel_len, char *initrd, unsigned long initrd_len, char *cmdline, unsigned long cmdline_len) argument
/linux-master/arch/powerpc/kexec/
H A Delf_64.c28 unsigned long kernel_len, char *initrd,
91 if (initrd != NULL) {
92 kbuf.buffer = initrd;
102 kexec_dprintk("Loaded initrd at 0x%lx\n", initrd_load_addr);
27 elf64_load(struct kimage *image, char *kernel_buf, unsigned long kernel_len, char *initrd, unsigned long initrd_len, char *cmdline, unsigned long cmdline_len) argument
/linux-master/arch/powerpc/platforms/embedded6xx/
H A Dstorcenter.c16 #include <linux/initrd.h>
/linux-master/arch/loongarch/kernel/
H A Dmem.c6 #include <linux/initrd.h>
/linux-master/arch/m68k/kernel/
H A Duboot.c22 #include <linux/initrd.h>
88 pr_info("initrd at 0x%lx:0x%lx\n", initrd_start, initrd_end);
/linux-master/arch/s390/kernel/
H A Dkexec_image.c47 char *initrd, unsigned long initrd_len,
45 s390_image_load(struct kimage *image, char *kernel, unsigned long kernel_len, char *initrd, unsigned long initrd_len, char *cmdline, unsigned long cmdline_len) argument
/linux-master/arch/arm64/include/asm/
H A Dkexec.h129 char *initrd, unsigned long initrd_len,
/linux-master/arch/arm/mm/
H A Dinit.c16 #include <linux/initrd.h>
57 phys_initrd_start = __virt_to_phys(tag->u.initrd.start);
58 phys_initrd_size = tag->u.initrd.size;
66 phys_initrd_start = tag->u.initrd.start;
67 phys_initrd_size = tag->u.initrd.size;
185 /* Register the kernel text, kernel data and initrd with memblock. */
486 free_reserved_area((void *)start, (void *)end, -1, "initrd");
/linux-master/arch/csky/kernel/
H A Dsetup.c6 #include <linux/initrd.h>
/linux-master/arch/powerpc/mm/
H A Dinit_32.c25 #include <linux/initrd.h>

Completed in 214 milliseconds

1234