/openbmc/linux/arch/x86/kernel/ |
H A D | setup.c | 246 u64 ramdisk_size = boot_params.hdr.ramdisk_size; in get_ramdisk_size() local 248 ramdisk_size |= (u64)boot_params.ext_ramdisk_size << 32; in get_ramdisk_size() 250 if (ramdisk_size == 0) in get_ramdisk_size() 251 ramdisk_size = phys_initrd_size; in get_ramdisk_size() 253 return ramdisk_size; in get_ramdisk_size() 260 u64 ramdisk_size = get_ramdisk_size(); in relocate_initrd() local 261 u64 area_size = PAGE_ALIGN(ramdisk_size); in relocate_initrd() 268 ramdisk_size); in relocate_initrd() 271 initrd_end = initrd_start + ramdisk_size; in relocate_initrd() 273 relocated_ramdisk, relocated_ramdisk + ramdisk_size - 1); in relocate_initrd() [all …]
|
/openbmc/u-boot/common/ |
H A D | image-android.c | 118 end += ALIGN(hdr->ramdisk_size, hdr->page_size); in android_image_get_end() 132 if (!hdr->ramdisk_size) { in android_image_get_ramdisk() 138 hdr->ramdisk_addr, DIV_ROUND_UP(hdr->ramdisk_size, 1024)); in android_image_get_ramdisk() 144 *rd_len = hdr->ramdisk_size; in android_image_get_ramdisk() 159 *second_data += ALIGN(hdr->ramdisk_size, hdr->page_size); in android_image_get_second() 188 printf("%sramdisk size: %x\n", p, hdr->ramdisk_size); in android_print_contents()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
H A D | 0009-mkbootimg-Add-dt-parameter-to-specify-DT-image.patch | 38 ** m = (ramdisk_size + page_size - 1) / page_size 90 SHA_update(&ctx, &hdr.ramdisk_size, sizeof(hdr.ramdisk_size));
|
/openbmc/linux/arch/arm/kernel/ |
H A D | atags_compat.c | 44 unsigned long ramdisk_size; /* 8 */ member 111 params->u1.s.ramdisk_size = 0; in build_tag_list() 130 tag->u.ramdisk.size = params->u1.s.ramdisk_size; in build_tag_list()
|
/openbmc/linux/Documentation/admin-guide/blockdev/ |
H A D | ramdisk.rst | 45 ramdisk_size=N 60 See ramdisk_size. 78 ramdisk_size=M 82 append = "ramdisk_start=N ramdisk_size=M"
|
/openbmc/u-boot/include/ |
H A D | android_image.h | 28 u32 ramdisk_size; /* size in bytes */ member
|
/openbmc/u-boot/configs/ |
H A D | ls2080a_emu_defconfig | 13 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
H A D | lx2160aqds_tfa_defconfig | 15 CONFIG_BOOTARGS="console=ttyAMA0,115200 root=/dev/ram0 earlycon=pl011,mmio32,0x21c0000 ramdisk_size…
|
H A D | ls2080a_simu_defconfig | 13 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
H A D | lx2160ardb_tfa_defconfig | 16 CONFIG_BOOTARGS="console=ttyAMA0,115200 root=/dev/ram0 earlycon=pl011,mmio32,0x21c0000 ramdisk_size…
|
H A D | ls1088aqds_defconfig | 13 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
H A D | lx2160ardb_tfa_SECURE_BOOT_defconfig | 16 CONFIG_BOOTARGS="console=ttyAMA0,115200 root=/dev/ram0 earlycon=pl011,mmio32,0x21c0000 ramdisk_size…
|
H A D | ls1088aqds_qspi_defconfig | 15 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
H A D | ls2081ardb_defconfig | 15 CONFIG_BOOTARGS="console=ttyS1,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0600 ramdisk_size=…
|
H A D | lx2160aqds_tfa_SECURE_BOOT_defconfig | 15 CONFIG_BOOTARGS="console=ttyAMA0,115200 root=/dev/ram0 earlycon=pl011,mmio32,0x21c0000 ramdisk_size…
|
H A D | ls2088ardb_qspi_defconfig | 15 CONFIG_BOOTARGS="console=ttyS1,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0600 ramdisk_size=…
|
H A D | ls2080aqds_qspi_defconfig | 14 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
H A D | ls2080ardb_defconfig | 13 CONFIG_BOOTARGS="console=ttyS1,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0600 ramdisk_size=…
|
H A D | ls2080aqds_sdcard_defconfig | 20 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
H A D | ls2080aqds_defconfig | 13 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
H A D | ls2080ardb_nand_defconfig | 18 CONFIG_BOOTARGS="console=ttyS1,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0600 ramdisk_size=…
|
H A D | ls2080aqds_SECURE_BOOT_defconfig | 14 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
H A D | ls2080ardb_SECURE_BOOT_defconfig | 14 CONFIG_BOOTARGS="console=ttyS1,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0600 ramdisk_size=…
|
H A D | ls1088aqds_qspi_SECURE_BOOT_defconfig | 16 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
H A D | ls1088ardb_qspi_defconfig | 15 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|