diff for duplicates of <87d2lbrpvy.fsf@natisbad.org> diff --git a/a/1.txt b/N1/1.txt index 501dd5d..ea31ce1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,6 +1,6 @@ Hi Ezequiel, -arno@natisbad.org (Arnaud Ebalard) writes: +arno at natisbad.org (Arnaud Ebalard) writes: > Could you try and dump the block to another flash. As I don't think I can > attach a binary blob to this email, can you drop the following in a @@ -27,7 +27,7 @@ arno@natisbad.org (Arnaud Ebalard) writes: I reused the block above to test on the kernel w/ your debug patch applied: -root@thin:~# python +root at thin:~# python Python 2.7.6 (default, Nov 19 2013, 18:53:23) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. @@ -49,12 +49,12 @@ l = ["55 42 49 23 01 00 00 00 00 00 00 00 00 00 00 02", ... "ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff", ... "ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff"*0x1f7f] >>> ->>> open("/tmp/block.raw", "w").write("".join(l).replace(' ', '').decode("hex")) root@thin:~# +>>> open("/tmp/block.raw", "w").write("".join(l).replace(' ', '').decode("hex")) root at thin:~# -root@thin:/sys/kernel/debug/dynamic_debug# flash_erase /dev/mtd4 0 1 +root at thin:/sys/kernel/debug/dynamic_debug# flash_erase /dev/mtd4 0 1 Erasing 128 Kibyte @ 0 -- 100 % complete -root@thin:/sys/kernel/debug/dynamic_debug# nandwrite /dev/mtd4 /tmp/block.raw +root at thin:/sys/kernel/debug/dynamic_debug# nandwrite /dev/mtd4 /tmp/block.raw Writing data to block 0 at offset 0x0 [ 784.543390] pxa3xx-nand d00d0000.nand: Ready time out!!! libmtd: error!: cannot write 2048 bytes to mtd4 (eraseblock 0, offset 2048) @@ -177,15 +177,15 @@ And here is what I get in kernel logs: So let's now do the same with a fully random block: -root@thin:/# dd if=/dev/urandom of=/tmp/block.random bs=131072 count=1 +root at thin:/# dd if=/dev/urandom of=/tmp/block.random bs=131072 count=1 1+0 records in 1+0 records out 131072 bytes (131 kB) copied, 0.0406636 s, 3.2 MB/s -root@thin:~# flash_erase /dev/mtd4 0 1 +root at thin:~# flash_erase /dev/mtd4 0 1 Erasing 128 Kibyte @ 0 -- 100 % complete -root@thin:~# nandwrite /dev/mtd4 /tmp/block.random +root at thin:~# nandwrite /dev/mtd4 /tmp/block.random Writing data to block 0 at offset 0x0 In the log, I get the following: diff --git a/a/content_digest b/N1/content_digest index 693a70f..6e4051b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -11,21 +11,14 @@ "ref\020131204142009.GB2486@localhost\0" "ref\087haaogx6j.fsf@natisbad.org\0" "From\0arno@natisbad.org (Arnaud Ebalard)\0" - "Subject\0Re: [PATCH v5 00/14] Armada 370/XP NAND support\0" + "Subject\0[PATCH v5 00/14] Armada 370/XP NAND support\0" "Date\0Thu, 05 Dec 2013 21:42:25 +0100\0" - "To\0Ezequiel Garcia <ezequiel.garcia@free-electrons.com>\0" - "Cc\0Lior Amsalem <alior@marvell.com>" - Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - Jason Cooper <jason@lakedaemon.net> - linux-mtd@lists.infradead.org - Gregory Clement <gregory.clement@free-electrons.com> - Brian Norris <computersforpeace@gmail.com> - " linux-arm-kernel@lists.infradead.org\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "Hi Ezequiel,\n" "\n" - "arno@natisbad.org (Arnaud Ebalard) writes:\n" + "arno at natisbad.org (Arnaud Ebalard) writes:\n" "\n" "> Could you try and dump the block to another flash. As I don't think I can\n" "> attach a binary blob to this email, can you drop the following in a\n" @@ -52,7 +45,7 @@ "I reused the block above to test on the kernel w/ your debug patch\n" "applied:\n" "\n" - "root@thin:~# python\n" + "root at thin:~# python\n" "Python 2.7.6 (default, Nov 19 2013, 18:53:23) \n" "[GCC 4.8.2] on linux2\n" "Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n" @@ -74,12 +67,12 @@ "... \"ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff\",\n" "... \"ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff\"*0x1f7f]\n" ">>>\n" - ">>> open(\"/tmp/block.raw\", \"w\").write(\"\".join(l).replace(' ', '').decode(\"hex\")) root@thin:~#\n" + ">>> open(\"/tmp/block.raw\", \"w\").write(\"\".join(l).replace(' ', '').decode(\"hex\")) root at thin:~#\n" "\n" - "root@thin:/sys/kernel/debug/dynamic_debug# flash_erase /dev/mtd4 0 1\n" + "root at thin:/sys/kernel/debug/dynamic_debug# flash_erase /dev/mtd4 0 1\n" "Erasing 128 Kibyte @ 0 -- 100 % complete \n" "\n" - "root@thin:/sys/kernel/debug/dynamic_debug# nandwrite /dev/mtd4 /tmp/block.raw \n" + "root at thin:/sys/kernel/debug/dynamic_debug# nandwrite /dev/mtd4 /tmp/block.raw \n" "Writing data to block 0 at offset 0x0\n" "[ 784.543390] pxa3xx-nand d00d0000.nand: Ready time out!!!\n" "libmtd: error!: cannot write 2048 bytes to mtd4 (eraseblock 0, offset 2048)\n" @@ -202,15 +195,15 @@ "\n" "So let's now do the same with a fully random block:\n" "\n" - "root@thin:/# dd if=/dev/urandom of=/tmp/block.random bs=131072 count=1\n" + "root at thin:/# dd if=/dev/urandom of=/tmp/block.random bs=131072 count=1\n" "1+0 records in\n" "1+0 records out\n" "131072 bytes (131 kB) copied, 0.0406636 s, 3.2 MB/s\n" "\n" - "root@thin:~# flash_erase /dev/mtd4 0 1\n" + "root at thin:~# flash_erase /dev/mtd4 0 1\n" "Erasing 128 Kibyte @ 0 -- 100 % complete \n" "\n" - "root@thin:~# nandwrite /dev/mtd4 /tmp/block.random \n" + "root at thin:~# nandwrite /dev/mtd4 /tmp/block.random \n" "Writing data to block 0 at offset 0x0\n" "\n" "In the log, I get the following:\n" @@ -322,4 +315,4 @@ "\n" a+ -0b4f8fb15ebb94bb133417f3fb0dc97d61588ed0f6bb147e7136f23ea65f6aa7 +9d5b58b64c3dc53736642eb38e219e7f299941a43953ce275ea2cfc19d85120c
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.