Lines Matching defs:rootfs
78 int tagfile(const char *kernel, const char *rootfs, const char *bin, \
103 if (!kernel || !rootfs) {
104 fprintf(stderr, "imagetag can't create an image without both kernel and rootfs\n");
112 if (rootfs && !(rootfsfile = fopen(rootfs, "rb"))) {
113 fprintf(stderr, "Unable to open rootfs \"%s\"\n", rootfs);
162 /* Build the rootfs address and length */
222 /* Compute the crc32 of the kernel and padding between kernel and rootfs) */
224 /* Compute the crc32 of the kernel and padding between kernel and rootfs) */
227 * The broadcom firmware assumes the rootfs starts the image,
228 * therefore uses the rootfs start to determine where to flash
233 * needs to be rootfs + deadcode
287 /* Compute the crc32 of the kernel and padding between kernel and rootfs) */
396 char *kernel, *rootfs, *bin;
401 kernel = rootfs = bin = NULL;
413 rootfs = parsed_args.rootfs_arg;
491 return tagfile(kernel, rootfs, bin, &parsed_args, flash_start, image_offset, block_size, load_address, entry);