Searched refs:dtb_size (Results 1 – 6 of 6) sorted by relevance
| /rk3399_rockchip-uboot/common/spl/ |
| H A D | spl_boot_image.c | 69 printf("%sdtb size: %x\n", p, hdr->dtb_size); 105 len += ALIGN(hdr->dtb_size, hdr->page_size); in android_size() 183 sha1_update(&ctx, (const uchar *)buf, hdr->dtb_size); in spl_hash_android() 184 sha1_update(&ctx, (const uchar *)&hdr->dtb_size, sizeof(hdr->dtb_size)); in spl_hash_android() 227 ctx.length += hdr->dtb_size + sizeof(hdr->dtb_size); in spl_hash_android() 250 crypto_sha_update(dev, buf, hdr->dtb_size); in spl_hash_android() 251 crypto_sha_update(dev, &hdr->dtb_size, sizeof(hdr->dtb_size)); in spl_hash_android()
|
| H A D | spl_rkfw.c | 450 ALIGN(hdr->dtb_size, hdr->page_size) >> 9, in rkfw_load_kernel() 452 if (ret != (ALIGN(hdr->dtb_size, hdr->page_size) >> 9)) { in rkfw_load_kernel()
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | repack-bootimg | 127 dtb_size=$(grep -a "^dtb size: " $log | sed "s/^dtb size: //") 128 dtb_size=${dtb_size:-0} 129 if [ $dtb_size -gt 0 -a -e "$dtb" ]; then
|
| H A D | unpack_bootimg | 146 if self.dtb_size > 0: 226 info.dtb_size = unpack('I', args.boot_img.read(4))[0] 229 info.dtb_size = 0 262 if info.dtb_size > 0: 270 image_info_list.append((dtb_offset, info.dtb_size, 'dtb')) 386 info.dtb_size = unpack('I', args.boot_img.read(4))[0] 395 num_boot_dtb_pages = get_number_of_pages(info.dtb_size, page_size) 448 image_info_list.append((dtb_offset, info.dtb_size, 'dtb'))
|
| /rk3399_rockchip-uboot/include/ |
| H A D | android_image.h | 114 u32 dtb_size; /* size in bytes for DTB image */ member 194 uint32_t dtb_size; /* size in bytes for DTB image */ member
|
| /rk3399_rockchip-uboot/common/ |
| H A D | image-android.c | 124 if (hdr->header_version >= 2 && hdr->dtb_size) in android_image_init_resource() 287 end += ALIGN(hdr->dtb_size, hdr->page_size); in android_image_get_end() 566 ALIGN(hdr->dtb_size, pgsz) + in image_load() 604 length = hdr->dtb_size; in image_load() 605 blkcnt = DIV_ROUND_UP(hdr->dtb_size, blksz); in image_load() 607 typesz = sizeof(hdr->dtb_size); in image_load() 732 sha1_ctx.length += hdr->dtb_size + sizeof(hdr->dtb_size); in android_image_separate() 1188 hdr->dtb_size = vendor_boot_hdr->dtb_size; in populate_boot_info() 1392 printf("%sdtb size: %x\n", p, hdr->dtb_size); in android_print_contents()
|