diff for duplicates of <87zjopd240.fsf@natisbad.org> diff --git a/a/1.txt b/N1/1.txt index 8f2c344..ecafaf0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -15,7 +15,7 @@ Ezequiel Garcia <ezequiel.garcia@free-electrons.com> writes: > Using this branch you should be able to have detect the device > and test read/write without any issues. You previous DT node should work: > -> nand@d0000 { +> nand at d0000 { > status = "okay"; > num-cs = <1>; > marvell,nand-keep-config; @@ -26,7 +26,7 @@ Ezequiel Garcia <ezequiel.garcia@free-electrons.com> writes: I first did simple raw read and write of a kernel image, which worked fine: -root@mood:~# dmesg | grep -A 10 -B 10 nand +root at mood:~# dmesg | grep -A 10 -B 10 nand ... pxa3xx-nand d00d0000.nand: This platform can't do DMA on this device NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix H27U1G8F2BTR-BC) @@ -42,23 +42,23 @@ Creating 5 MTD partitions on "pxa3xx_nand-0": 0x000001800000-0x000008000000 : "jffs2" ... -root@mood:~# ls /dev/mtd* +root at mood:~# ls /dev/mtd* /dev/mtd0 /dev/mtd1ro /dev/mtd3 /dev/mtd4ro /dev/mtdblock2 /dev/mtd0ro /dev/mtd2 /dev/mtd3ro /dev/mtdblock0 /dev/mtdblock3 /dev/mtd1 /dev/mtd2ro /dev/mtd4 /dev/mtdblock1 /dev/mtdblock4 -root@mood:~# dd if=/dev/mtd2ro of=/tmp/foo +root at mood:~# dd if=/dev/mtd2ro of=/tmp/foo 12288+0 records in 12288+0 records out 6291456 bytes (6.3 MB) copied, 1.98142 s, 3.2 MB/s -root@mood:~# file /tmp/foo +root at mood:~# file /tmp/foo /tmp/foo: u-boot legacy uImage, Linux-3.12.0.rn102-10710-gb4789b, Linux/ARM, OS Kernel Image (Not compressed), 4268974 bytes, Mon Nov 25 23:34:01 2013, Load Address: 0x00008000, Entry Point: 0x00008000, Header CRC: 0xB390DB2D, Data CRC: 0x985233AE -root@mood:~# flash_erase /dev/mtd2 0 0 +root at mood:~# flash_erase /dev/mtd2 0 0 Erasing 128 Kibyte @ 5e0000 -- 100 % complete -root@mood:~# nandwrite -p /dev/mtd2 /tmp/test-rn102 +root at mood:~# nandwrite -p /dev/mtd2 /tmp/test-rn102 Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 @@ -93,12 +93,12 @@ Writing data to block 30 at offset 0x3c0000 Writing data to block 31 at offset 0x3e0000 Writing data to block 32 at offset 0x400000 -root@mood:~# dd if=/dev/mtd2 of=/tmp/foo bs=`wc -c /tmp/test-rn102 | cut -d' ' -f1` count=1 +root at mood:~# dd if=/dev/mtd2 of=/tmp/foo bs=`wc -c /tmp/test-rn102 | cut -d' ' -f1` count=1 1+0 records in 1+0 records out 4274950 bytes (4.3 MB) copied, 0.345413 s, 12.4 MB/s -root@mood:~# sha256sum /tmp/foo /tmp/test-rn102 +root at mood:~# sha256sum /tmp/foo /tmp/test-rn102 4a923e8ccf0358d9cc70fd82c339eff344986faf3ba37e396b5e635ab8c8d928 /tmp/foo 4a923e8ccf0358d9cc70fd82c339eff344986faf3ba37e396b5e635ab8c8d928 /tmp/test-rn102 @@ -155,7 +155,7 @@ on my RN102 from previous tests so I decided and try to flash on it a recovery jffs2 dump I had: -root@mood:~# nandwrite -p /dev/mtd4 /tmp/mtd4ro +root at mood:~# nandwrite -p /dev/mtd4 /tmp/mtd4ro jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x034e0028: 0x55da instead jffs2: Further such events for this erase block will not be printed diff --git a/a/content_digest b/N1/content_digest index be737a4..991fce4 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,15 +4,9 @@ "ref\087r4a4f5gr.fsf@natisbad.org\0" "ref\020131126124003.GA2344@localhost\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\0Wed, 27 Nov 2013 21:24:47 +0100\0" - "To\0Ezequiel Garcia <ezequiel.garcia@free-electrons.com>\0" - "Cc\0Lior Amsalem <alior@marvell.com>" - Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - 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" @@ -32,7 +26,7 @@ "> Using this branch you should be able to have detect the device\n" "> and test read/write without any issues. You previous DT node should work:\n" ">\n" - "> nand@d0000 {\n" + "> nand at d0000 {\n" "> \tstatus = \"okay\";\n" "> \tnum-cs = <1>;\n" "> \tmarvell,nand-keep-config;\n" @@ -43,7 +37,7 @@ "I first did simple raw read and write of a kernel image, which worked\n" "fine:\n" "\n" - "root@mood:~# dmesg | grep -A 10 -B 10 nand\n" + "root at mood:~# dmesg | grep -A 10 -B 10 nand\n" "...\n" "pxa3xx-nand d00d0000.nand: This platform can't do DMA on this device\n" "NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix H27U1G8F2BTR-BC)\n" @@ -59,23 +53,23 @@ "0x000001800000-0x000008000000 : \"jffs2\"\n" "...\n" "\n" - "root@mood:~# ls /dev/mtd*\n" + "root at mood:~# ls /dev/mtd*\n" "/dev/mtd0 /dev/mtd1ro /dev/mtd3 /dev/mtd4ro /dev/mtdblock2\n" "/dev/mtd0ro /dev/mtd2 /dev/mtd3ro /dev/mtdblock0 /dev/mtdblock3\n" "/dev/mtd1 /dev/mtd2ro /dev/mtd4 /dev/mtdblock1 /dev/mtdblock4\n" "\n" - "root@mood:~# dd if=/dev/mtd2ro of=/tmp/foo\n" + "root at mood:~# dd if=/dev/mtd2ro of=/tmp/foo\n" "12288+0 records in\n" "12288+0 records out\n" "6291456 bytes (6.3 MB) copied, 1.98142 s, 3.2 MB/s\n" "\n" - "root@mood:~# file /tmp/foo \n" + "root at mood:~# file /tmp/foo \n" "/tmp/foo: u-boot legacy uImage, Linux-3.12.0.rn102-10710-gb4789b, Linux/ARM, OS Kernel Image (Not compressed), 4268974 bytes, Mon Nov 25 23:34:01 2013, Load Address: 0x00008000, Entry Point: 0x00008000, Header CRC: 0xB390DB2D, Data CRC: 0x985233AE\n" "\n" - "root@mood:~# flash_erase /dev/mtd2 0 0 \n" + "root at mood:~# flash_erase /dev/mtd2 0 0 \n" "Erasing 128 Kibyte @ 5e0000 -- 100 % complete \n" "\n" - "root@mood:~# nandwrite -p /dev/mtd2 /tmp/test-rn102 \n" + "root at mood:~# nandwrite -p /dev/mtd2 /tmp/test-rn102 \n" "Writing data to block 0 at offset 0x0\n" "Writing data to block 1 at offset 0x20000\n" "Writing data to block 2 at offset 0x40000\n" @@ -110,12 +104,12 @@ "Writing data to block 31 at offset 0x3e0000\n" "Writing data to block 32 at offset 0x400000\n" "\n" - "root@mood:~# dd if=/dev/mtd2 of=/tmp/foo bs=`wc -c /tmp/test-rn102 | cut -d' ' -f1` count=1\n" + "root at mood:~# dd if=/dev/mtd2 of=/tmp/foo bs=`wc -c /tmp/test-rn102 | cut -d' ' -f1` count=1\n" "1+0 records in\n" "1+0 records out\n" "4274950 bytes (4.3 MB) copied, 0.345413 s, 12.4 MB/s\n" "\n" - "root@mood:~# sha256sum /tmp/foo /tmp/test-rn102 \n" + "root at mood:~# sha256sum /tmp/foo /tmp/test-rn102 \n" "4a923e8ccf0358d9cc70fd82c339eff344986faf3ba37e396b5e635ab8c8d928 /tmp/foo\n" "4a923e8ccf0358d9cc70fd82c339eff344986faf3ba37e396b5e635ab8c8d928 /tmp/test-rn102\n" "\n" @@ -172,7 +166,7 @@ "it a recovery jffs2 dump I had:\n" "\n" "\n" - "root@mood:~# nandwrite -p /dev/mtd4 /tmp/mtd4ro \n" + "root at mood:~# nandwrite -p /dev/mtd4 /tmp/mtd4ro \n" "\n" "jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x034e0028: 0x55da instead\n" "jffs2: Further such events for this erase block will not be printed\n" @@ -415,4 +409,4 @@ "\n" a+ -9e7058079afc2e6f88d2fea18d12db5169310f3032c426f8e0c6fc1e932fbd59 +e5a1580ae4204fac2facba005fe1659b7ad5f12bd5ffdb1cf23a032d2639dd3a
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.