Searched refs:dtb_size (Results 1 – 11 of 11) sorted by relevance
| /OK3568_Linux_fs/u-boot/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()
|
| /OK3568_Linux_fs/kernel/arch/mips/boot/compressed/ |
| H A D | decompress.c | 118 unsigned int image_size, dtb_size; in decompress_kernel() local 120 dtb_size = fdt_totalsize((void *)&__appended_dtb); in decompress_kernel() 127 __appended_dtb, dtb_size); in decompress_kernel()
|
| /OK3568_Linux_fs/u-boot/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'))
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | unpack_bootimg | 152 if self.dtb_size > 0: 232 info.dtb_size = unpack('I', boot_img.read(4))[0] 235 info.dtb_size = 0 268 if info.dtb_size > 0: 276 image_info_list.append((dtb_offset, info.dtb_size, 'dtb')) 356 if self.dtb_size > 0: 393 info.dtb_size = unpack('I', boot_img.read(4))[0] 402 num_boot_dtb_pages = get_number_of_pages(info.dtb_size, page_size) 455 if info.dtb_size > 0: 456 image_info_list.append((dtb_offset, info.dtb_size, 'dtb'))
|
| 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
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | image-android.c | 129 if (hdr->header_version >= 2 && hdr->dtb_size) in android_image_init_resource() 292 end += ALIGN(hdr->dtb_size, hdr->page_size); in android_image_get_end() 572 ALIGN(hdr->dtb_size, pgsz) + in image_load() 610 length = hdr->dtb_size; in image_load() 611 blkcnt = DIV_ROUND_UP(hdr->dtb_size, blksz); in image_load() 613 typesz = sizeof(hdr->dtb_size); in image_load() 757 ctx.length += hdr->dtb_size + sizeof(hdr->dtb_size); in android_image_separate() 1187 hdr->dtb_size = vendor_boot_hdr->dtb_size; in populate_boot_info() 1391 printf("%sdtb size: %x\n", p, hdr->dtb_size); in android_print_contents()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | android_image.h | 112 u32 dtb_size; /* size in bytes for DTB image */ member 192 uint32_t dtb_size; /* size in bytes for DTB image */ member
|
| /OK3568_Linux_fs/buildroot/boot/grub2/ |
| H A D | 0141-util-mkimage-Add-an-option-to-import-SBAT-metadata-i.patch | 168 - size_t prefix_size = 0, dtb_size = 0; 169 + size_t prefix_size = 0, dtb_size = 0, sbat_size = 0; 174 total_module_size += dtb_size + sizeof (struct grub_module_header);
|
| H A D | 0143-shim_lock-Only-skip-loading-shim_lock-verifier-with-.patch | 252 offset += dtb_size;
|