All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20150121045447.7648.23274.sendpatchset@little-apple>

diff --git a/a/1.txt b/N1/1.txt
index a655445..8c7ac86 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -44,7 +44,7 @@ Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
 -
 -/*
 - * 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
@@ -122,7 +122,7 @@ Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
 -		if (!l)
 -			break;
 -		if (l < 0) {
--			if (errno = EAGAIN || errno = EWOULDBLOCK)
+-			if (errno == EAGAIN || errno == EWOULDBLOCK)
 -				continue;
 -			perror("read");
 -			return -1;
@@ -141,7 +141,7 @@ Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
 -	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;
@@ -194,7 +194,7 @@ Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
 -		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;
@@ -231,7 +231,7 @@ Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
 -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
@@ -266,12 +266,12 @@ Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
 -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.
+-(boot) of the eSD@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 643f85a..af8339c 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020150121045256.7648.7451.sendpatchset@little-apple\0"
- "From\0Magnus Damm <magnus.damm@gmail.com>\0"
+ "From\0magnus.damm@gmail.com (Magnus Damm)\0"
  "Subject\0[PATCH 11/13] Documentation: Remove ZBOOT MMC/SDHI utility and docs\0"
- "Date\0Wed, 21 Jan 2015 04:54:47 +0000\0"
+ "Date\0Wed, 21 Jan 2015 13:54:47 +0900\0"
  "To\0linux-arm-kernel@lists.infradead.org\0"
  "\00:1\0"
  "b\0"
@@ -51,7 +51,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"
@@ -129,7 +129,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"
@@ -148,7 +148,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"
@@ -201,7 +201,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"
@@ -238,7 +238,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"
@@ -273,12 +273,12 @@
  "-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"
+ "-(boot) of the eSD@sector 0. This should _not_ be in vrl4 format.\n"
  "-\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"
@@ -287,4 +287,4 @@
  "-writing they are not the same as partitions that are typically configured\n"
  -using fdisk and visible through /proc/partitions
 
-29fd2f933161d6570dbf0ae7ef08f5b6b5efe958103b8e152d0c2d029a385a6c
+a4f594420f1d7cfb8436218705259a7ec24d71d26ebb62caf57ed9289491731c

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.