diff for duplicates of <3183913.k5l4Mi4shS@avalon> diff --git a/a/1.txt b/N1/1.txt index 76ba16b..ffef9b5 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -63,7 +63,7 @@ Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > - > -/* > - * usage: vrl4 < zImage > out -> - * dd if=out of=/dev/sdx bsQ2 seek=1 # Write the image to sector 1 +> - * dd if=out of=/dev/sdx bs=512 seek=1 # Write the image to sector 1 > - * > - * Reads a zImage from stdin and writes a vrl4 image to stdout. > - * In practice this means writing a padded vrl4 header to stdout followed @@ -141,7 +141,7 @@ Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > - if (!l) > - break; > - if (l < 0) { -> - if (errno = EAGAIN || errno = EWOULDBLOCK) +> - if (errno == EAGAIN || errno == EWOULDBLOCK) > - continue; > - perror("read"); > - return -1; @@ -160,7 +160,7 @@ Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > - while (offset < count) { > - l = write(fd, buf + offset, count - offset); > - if (l < 0) { -> - if (errno = EAGAIN || errno = EWOULDBLOCK) +> - if (errno == EAGAIN || errno == EWOULDBLOCK) > - continue; > - perror("write"); > - return -1; @@ -213,7 +213,7 @@ Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > - prog_len = do_read(0, boot_program, sizeof(boot_program)); > - if (prog_len < 0) > - return 1; -> - if (prog_len = 0) +> - if (prog_len == 0) > - break; > - if (do_write(1, boot_program, prog_len) < 0) > - return 1; @@ -250,7 +250,7 @@ Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > -vrl4 format. A utility vrl4 is supplied to accomplish this. > - > -e.g. -> - vrl4 < zImage | dd of=/dev/sdX bsQ2 seek=1 +> - vrl4 < zImage | dd of=/dev/sdX bs=512 seek=1 > - > -A dual-voltage MMC 4.0 card was used for testing. > --- 0001/Documentation/arm/SH-Mobile/zboot-rom-sdhi.txt @@ -285,11 +285,11 @@ Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > -accomplish this. > - > -e.g. -> - vrl4 < zImage | dd of=/dev/sdX bsQ2 count\x17 +> - vrl4 < zImage | dd of=/dev/sdX bs=512 count=17 > - > -A full copy of _the same_ zImage should be written to physical partition #1 > -(boot) of the eSD at sector 0. This should _not_ be in vrl4 format. - -> - vrl4 < zImage | dd of=/dev/sdX bsQ2 +> - vrl4 < zImage | dd of=/dev/sdX bs=512 > - > -Note: The commands above assume that the physical partition has been > -switched. No such facility currently exists in the Linux Kernel. diff --git a/a/content_digest b/N1/content_digest index 1a438f9..c1de9bd 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\020150126061747.6848.9708.sendpatchset@little-apple\0" "ref\020150126061951.6848.91753.sendpatchset@little-apple\0" - "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" - "Subject\0Re: [PATCH 12/14 v2] Documentation: Remove ZBOOT MMC/SDHI utility and docs\0" - "Date\0Mon, 26 Jan 2015 09:01:28 +0000\0" + "From\0laurent.pinchart@ideasonboard.com (Laurent Pinchart)\0" + "Subject\0[PATCH 12/14 v2] Documentation: Remove ZBOOT MMC/SDHI utility and docs\0" + "Date\0Mon, 26 Jan 2015 11:01:28 +0200\0" "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" @@ -71,7 +71,7 @@ "> -\n" "> -/*\n" "> - * usage: vrl4 < zImage > out\n" - "> - *\t dd if=out of=/dev/sdx bsQ2 seek=1 # Write the image to sector 1\n" + "> - *\t dd if=out of=/dev/sdx bs=512 seek=1 # Write the image to sector 1\n" "> - *\n" "> - * Reads a zImage from stdin and writes a vrl4 image to stdout.\n" "> - * In practice this means writing a padded vrl4 header to stdout followed\n" @@ -149,7 +149,7 @@ "> -\t\tif (!l)\n" "> -\t\t\tbreak;\n" "> -\t\tif (l < 0) {\n" - "> -\t\t\tif (errno = EAGAIN || errno = EWOULDBLOCK)\n" + "> -\t\t\tif (errno == EAGAIN || errno == EWOULDBLOCK)\n" "> -\t\t\t\tcontinue;\n" "> -\t\t\tperror(\"read\");\n" "> -\t\t\treturn -1;\n" @@ -168,7 +168,7 @@ "> -\twhile (offset < count) {\n" "> -\t\tl = write(fd, buf + offset, count - offset);\n" "> -\t\tif (l < 0) {\n" - "> -\t\t\tif (errno = EAGAIN || errno = EWOULDBLOCK)\n" + "> -\t\t\tif (errno == EAGAIN || errno == EWOULDBLOCK)\n" "> -\t\t\t\tcontinue;\n" "> -\t\t\tperror(\"write\");\n" "> -\t\t\treturn -1;\n" @@ -221,7 +221,7 @@ "> -\t\tprog_len = do_read(0, boot_program, sizeof(boot_program));\n" "> -\t\tif (prog_len < 0)\n" "> -\t\t\treturn 1;\n" - "> -\t\tif (prog_len = 0)\n" + "> -\t\tif (prog_len == 0)\n" "> -\t\t\tbreak;\n" "> -\t\tif (do_write(1, boot_program, prog_len) < 0)\n" "> -\t\t\treturn 1;\n" @@ -258,7 +258,7 @@ "> -vrl4 format. A utility vrl4 is supplied to accomplish this.\n" "> -\n" "> -e.g.\n" - "> -\tvrl4 < zImage | dd of=/dev/sdX bsQ2 seek=1\n" + "> -\tvrl4 < zImage | dd of=/dev/sdX bs=512 seek=1\n" "> -\n" "> -A dual-voltage MMC 4.0 card was used for testing.\n" "> --- 0001/Documentation/arm/SH-Mobile/zboot-rom-sdhi.txt\n" @@ -293,11 +293,11 @@ "> -accomplish this.\n" "> -\n" "> -e.g.\n" - "> -\tvrl4 < zImage | dd of=/dev/sdX bsQ2 count\027\n" + "> -\tvrl4 < zImage | dd of=/dev/sdX bs=512 count=17\n" "> -\n" "> -A full copy of _the same_ zImage should be written to physical partition #1\n" "> -(boot) of the eSD at sector 0. This should _not_ be in vrl4 format. -\n" - "> -\tvrl4 < zImage | dd of=/dev/sdX bsQ2\n" + "> -\tvrl4 < zImage | dd of=/dev/sdX bs=512\n" "> -\n" "> -Note: The commands above assume that the physical partition has been\n" "> -switched. No such facility currently exists in the Linux Kernel.\n" @@ -311,4 +311,4 @@ "\n" Laurent Pinchart -eb3295e66e3b73e09c5f43e5d2ab94a0cd61845840fc37dce8defc35aab26bd1 +ab23dc5cf9a60799b1325bcadb4c753f99dc7b75ba956bc81462d3fe2839dd3b
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.