Home | History | Annotate | Download | only in dtc

Lines Matching refs:blob

37 	"apply a number of overlays to a base blob\n"
49 "Input base DT blob",
50 "Output DT blob",
61 char *blob = NULL;
66 blob = utilfdt_read_len(input_filename, &blob_len);
67 if (!blob) {
68 fprintf(stderr, "\nFailed to read base blob %s\n",
74 /* allocate blob pointer array */
90 /* grow the blob to worst case */
91 blob_len = fdt_totalsize(blob) + total_len;
92 blob = xrealloc(blob, blob_len);
93 fdt_open_into(blob, blob, blob_len);
97 ret = fdt_overlay_apply(blob, ovblob[i]);
105 fdt_pack(blob);
106 ret = utilfdt_write(output_filename, blob);
108 fprintf(stderr, "\nFailed to write output blob %s\n",
118 free(blob);