| /rk3399_rockchip-uboot/common/spl/ |
| H A D | spl_boot_image.c | 46 printf("%sramdisk size: %x\n", p, hdr->ramdisk_size); 100 ALIGN(hdr->ramdisk_size, hdr->page_size) + in android_size() 169 sha1_update(&ctx, (const uchar *)buf, hdr->ramdisk_size); in spl_hash_android() 170 sha1_update(&ctx, (const uchar *)&hdr->ramdisk_size, sizeof(hdr->ramdisk_size)); in spl_hash_android() 172 buf += ALIGN(hdr->ramdisk_size, hdr->page_size); in spl_hash_android() 222 hdr->ramdisk_size + sizeof(hdr->ramdisk_size) + in spl_hash_android() 236 crypto_sha_update(dev, buf, hdr->ramdisk_size); in spl_hash_android() 237 crypto_sha_update(dev, &hdr->ramdisk_size, sizeof(hdr->ramdisk_size)); in spl_hash_android() 239 buf += ALIGN(hdr->ramdisk_size, hdr->page_size); in spl_hash_android()
|
| H A D | spl_rkfw.c | 327 + ALIGN(hdr->ramdisk_size, hdr->page_size); in rkfw_load_kernel() 329 + ALIGN(hdr->ramdisk_size, hdr->page_size) in rkfw_load_kernel() 363 if (hdr->ramdisk_size) { in rkfw_load_kernel() 366 ALIGN(hdr->ramdisk_size, hdr->page_size) >> 9, in rkfw_load_kernel() 370 ALIGN(hdr->ramdisk_size, hdr->page_size) >> 9, in rkfw_load_kernel() 373 if (ret != (ALIGN(hdr->ramdisk_size, hdr->page_size) >> 9)) { in rkfw_load_kernel()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | image-android.c | 130 ALIGN(hdr->ramdisk_size, hdr->page_size); in android_image_init_resource() 281 end += ALIGN(hdr->ramdisk_size, hdr->page_size); in android_image_get_end() 293 end += ALIGN(hdr->ramdisk_size, hdr->page_size); in android_image_get_end() 320 if (!hdr->ramdisk_size) { in android_image_get_ramdisk() 333 *rd_len = hdr->ramdisk_size; in android_image_get_ramdisk() 350 end = start + (ulong)hdr->ramdisk_size; in android_image_get_ramdisk() 352 start, end, DIV_ROUND_UP(hdr->ramdisk_size, 1024)); in android_image_get_ramdisk() 479 extra += ALIGN(hdr->ramdisk_size, blksz) + blksz; in image_load() 507 length = hdr->ramdisk_size; in image_load() 509 blkcnt = DIV_ROUND_UP(hdr->ramdisk_size, blksz); in image_load() [all …]
|
| H A D | fb_mmc.c | 250 ramdisk_sectors = DIV_ROUND_UP(hdr->ramdisk_size, hdr->page_size) * in fb_mmc_update_zimage()
|
| H A D | android_bootloader.c | 703 ALIGN(hdr->ramdisk_size, hdr->page_size); in android_image_verify_resource()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | android_image.h | 80 u32 ramdisk_size; /* size in bytes */ member 156 uint32_t ramdisk_size; /* size in bytes */ member 205 uint32_t ramdisk_size; /* size in bytes for the ramdisk image */ member
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | bootrkp.c | 222 int ramdisk_size; in boot_rockchip_image() local 246 ramdisk_size = read_rockchip_image(dev_desc, boot_part, in boot_rockchip_image() 248 if (ramdisk_size < 0) in boot_rockchip_image() 249 ramdisk_size = 0; in boot_rockchip_image() 263 printf("ramdisk @ 0x%08lx (0x%08x)\n", ramdisk_addr_r, ramdisk_size); in boot_rockchip_image() 269 kernel_addr_r, ramdisk_addr_r, ramdisk_size, fdt_addr_r); in boot_rockchip_image() 293 images.initrd_end = ramdisk_addr_r + ramdisk_size; in boot_rockchip_image()
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | unpack_bootimg | 190 info.ramdisk_size = kernel_ramdisk_second_info[2] 199 info.ramdisk_size = kernel_ramdisk_second_info[1] 247 num_ramdisk_pages = get_number_of_pages(info.ramdisk_size, page_size) 250 image_info_list.append((ramdisk_offset, info.ramdisk_size, 'ramdisk')) 317 (output_ramdisk_name, ramdisk_size, ramdisk_offset, 416 ramdisk_size = unpack('I', args.boot_img.read(4))[0] 429 ramdisk_size, output_ramdisk_name)) 432 (output_ramdisk_name, ramdisk_size, ramdisk_offset,
|
| /rk3399_rockchip-uboot/configs/ |
| H A D | ls2080a_simu_defconfig | 11 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
| H A D | ls2080ardb_defconfig | 11 CONFIG_BOOTARGS="console=ttyS1,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0600 ramdisk_size=…
|
| H A D | ls2080a_emu_defconfig | 11 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
| H A D | ls2088ardb_qspi_defconfig | 13 CONFIG_BOOTARGS="console=ttyS1,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0600 ramdisk_size=…
|
| H A D | ls2081ardb_defconfig | 13 CONFIG_BOOTARGS="console=ttyS1,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0600 ramdisk_size=…
|
| H A D | ls2080aqds_defconfig | 11 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
| H A D | ls2080ardb_SECURE_BOOT_defconfig | 12 CONFIG_BOOTARGS="console=ttyS1,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0600 ramdisk_size=…
|
| H A D | ls2080ardb_nand_defconfig | 16 CONFIG_BOOTARGS="console=ttyS1,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0600 ramdisk_size=…
|
| H A D | ls2080aqds_SECURE_BOOT_defconfig | 12 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
| H A D | ls2080aqds_qspi_defconfig | 12 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
| H A D | ls2080aqds_sdcard_defconfig | 17 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
| H A D | ls2080aqds_nand_defconfig | 16 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=…
|
| /rk3399_rockchip-uboot/arch/x86/include/asm/ |
| H A D | bootparam.h | 50 __u32 ramdisk_size; member
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/ |
| H A D | setup.h | 41 unsigned long ramdisk_size; /* 8 */ member
|
| /rk3399_rockchip-uboot/arch/x86/lib/ |
| H A D | zimage.c | 229 hdr->ramdisk_size = initrd_size; in setup_zimage()
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/ |
| H A D | boot_rkimg.c | 573 ALIGN(hdr->ramdisk_size, hdr->page_size); in rockchip_ram_read_dtb_file()
|
| H A D | board.c | 1532 (u64)hdr->ramdisk_addr + hdr->ramdisk_size + in ft_verify_fdt() 1551 initrd_end = initrd_start + hdr->ramdisk_size + in ft_verify_fdt()
|