Searched refs:datafile (Results 1 - 13 of 13) sorted by last modified time

/u-boot/tools/
H A Dfit_image.c58 if (params->datafile || params->reset_timestamp) {
105 size = imagetool_get_filesize(params, params->datafile);
262 * We always include the main image (params->datafile). If there are device
294 ret = fdt_property_file(params, fdt, FIT_DATA_PROP, params->datafile);
355 * selects the main image (params->datafile) and its corresponding device
741 * datafile - .its file
776 } else if (params->datafile) {
777 /* dtc -I dts -O dtb -p 500 -o tmpfile datafile */
779 MKIMAGE_DTC, params->dtc, tmpfile, params->datafile);
H A Dimximage.c975 char *datafile = params->datafile; local
1035 if (stat(datafile, &sbuf) < 0) {
1037 params->cmdname, datafile, strerror(errno));
H A Dimx8mimage.c244 static void copy_file(int ifd, const char *datafile, int pad, int offset, argument
257 dfd = open(datafile, O_RDONLY | O_BINARY);
260 datafile, strerror(errno));
266 datafile, strerror(errno));
273 datafile, strerror(errno));
H A Dmkimage.c101 " -d ==> use image data from 'datafile'\n"
205 char *datafile = NULL; local
255 params.datafile = optarg;
274 datafile = optarg;
275 if (!strcmp(datafile, "auto"))
277 else if (!strcmp(datafile, "auto-conf"))
394 /* For auto-FIT, datafile has to be provided with -d */
396 params.datafile = datafile;
397 else if (!params.datafile)
826 copy_file(int ifd, const char *datafile, int pad) argument
[all...]
H A Drenesas_spkgimage.c130 if (!params->datafile) {
232 if (stat(params->datafile, &s)) {
234 params->datafile, strerror(errno));
H A Dsocfpgaimage.c405 if (params->datafile &&
406 stat(params->datafile, &sbuf) == 0 &&
H A Dpblimage.c200 if (params->datafile) {
201 fp_uboot = fopen(params->datafile, "r");
203 printf("Error: %s open failed\n", params->datafile);
277 if (params->datafile) {
278 fp_uboot = fopen(params->datafile, "r");
280 printf("Error: %s open failed\n", params->datafile);
H A Drkcommon.c208 spl_params.init_file = params->datafile;
H A Dkwbimage.c1922 } else if (stat(params->datafile, &s)) {
1924 params->datafile, strerror(errno));
2179 } else if (stat(params->datafile, &s)) {
2181 params->datafile, strerror(errno));
2276 * This function should return aligned size of the datafile.
2277 * When skipcpy is set (datafile is skipped) then return value of this
H A Dimagetool.h75 char *datafile; member in struct:image_tool_params
H A Dimx8image.c305 static void copy_file_aligned(int ifd, const char *datafile, int offset, argument
322 dfd = open(datafile, O_RDONLY | O_BINARY);
325 datafile, strerror(errno));
331 datafile, strerror(errno));
341 datafile, strerror(errno));
370 static void copy_file (int ifd, const char *datafile, int pad, int offset) argument
382 dfd = open(datafile, O_RDONLY | O_BINARY);
385 datafile, strerror(errno));
391 datafile, strerror(errno));
401 datafile, strerro
[all...]
H A Daisimage.c181 char *datafile = params->datafile; local
184 dfd = open(datafile, O_RDONLY|O_BINARY);
187 params->cmdname, datafile, strerror(errno));
193 params->cmdname, datafile, strerror(errno));
199 * the size of the datafile, that the ais_image_generate()
200 * will copy into the header. Copying the datafile
201 * is not left to the main program, because after the datafile
224 char *datafile = params->datafile; local
[all...]
H A Dzynqmpbif.c843 bif = read_full_file(mparams->datafile, NULL);

Completed in 77 milliseconds