diff for duplicates of <20131126124003.GA2344@localhost> diff --git a/a/1.txt b/N1/1.txt index 56efa0e..59161f1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -4,7 +4,7 @@ On Tue, Nov 26, 2013 at 12:04:52AM +0100, Arnaud Ebalard wrote: > > And \o/ i.e. here is what I get: > -> root@mood:~# dmesg +> root at mood:~# dmesg > ... > pxa3xx-nand d00d0000.nand: This platform can't do DMA on this device > NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix H27U1G8F2BTR-BC) @@ -20,17 +20,17 @@ On Tue, Nov 26, 2013 at 12:04:52AM +0100, Arnaud Ebalard wrote: > 0x000001800000-0x000008000000 : "jffs2" > ... > -> root@mood:~# ls /dev/mtd +> root at mood:~# ls /dev/mtd > mtd0 mtd1ro mtd3 mtd4ro mtdblock2 > mtd0ro mtd2 mtd3ro mtdblock0 mtdblock3 > mtd1 mtd2ro mtd4 mtdblock1 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.98731 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-00048-gbe408c, Linux/ARM, OS Kernel Image (Not compressed), 3740317 bytes, Tue Nov 5 22:24:01 2013, Load Address: 0x00008000, Entry Point: 0x00008000, Header CRC: 0xD84586E1, Data CRC: 0xC4357CED Good! @@ -38,11 +38,11 @@ Good! > > But then /o\ i.e. write does not seem to work out of the box ;-) > -> 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:~# nand +> root at mood:~# nand > nanddump nandtest nandwrite -> root@mood:~# nandwrite -p /dev/mtd2 /tmp/uImage +> root at mood:~# nandwrite -p /dev/mtd2 /tmp/uImage > Writing data to block 0 at offset 0x0 > [ 1456.154142] pxa3xx-nand d00d0000.nand: Wait time out!!! > [ 1456.354143] pxa3xx-nand d00d0000.nand: Wait time out!!! @@ -74,7 +74,7 @@ from l2-mtd.git), plus a couple more patches to support 2048 pages. 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; @@ -85,6 +85,6 @@ nand@d0000 { Thanks a lot! -- -Ezequiel García, Free Electrons +Ezequiel Garc?a, Free Electrons Embedded Linux, Kernel and Android Engineering http://free-electrons.com diff --git a/a/content_digest b/N1/content_digest index af3cc21..ed3cfcf 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,16 +2,10 @@ "ref\087d2lp28pd.fsf@natisbad.org\0" "ref\020131125120335.GD2408@localhost\0" "ref\087r4a4f5gr.fsf@natisbad.org\0" - "From\0Ezequiel Garcia <ezequiel.garcia@free-electrons.com>\0" - "Subject\0Re: [PATCH v5 00/14] Armada 370/XP NAND support\0" + "From\0ezequiel.garcia@free-electrons.com (Ezequiel Garcia)\0" + "Subject\0[PATCH v5 00/14] Armada 370/XP NAND support\0" "Date\0Tue, 26 Nov 2013 09:40:04 -0300\0" - "To\0Arnaud Ebalard <arno@natisbad.org>\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" "Arnaud,\n" @@ -20,7 +14,7 @@ "> \n" "> And \\o/ i.e. here is what I get:\n" "> \n" - "> root@mood:~# dmesg\n" + "> root at mood:~# dmesg\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" @@ -36,17 +30,17 @@ "> 0x000001800000-0x000008000000 : \"jffs2\"\n" "> ...\n" "> \n" - "> root@mood:~# ls /dev/mtd\n" + "> root at mood:~# ls /dev/mtd\n" "> mtd0 mtd1ro mtd3 mtd4ro mtdblock2 \n" "> mtd0ro mtd2 mtd3ro mtdblock0 mtdblock3 \n" "> mtd1 mtd2ro mtd4 mtdblock1 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.98731 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-00048-gbe408c, Linux/ARM, OS Kernel Image (Not compressed), 3740317 bytes, Tue Nov 5 22:24:01 2013, Load Address: 0x00008000, Entry Point: 0x00008000, Header CRC: 0xD84586E1, Data CRC: 0xC4357CED\n" "\n" "Good!\n" @@ -54,11 +48,11 @@ "> \n" "> But then /o\\ i.e. write does not seem to work out of the box ;-)\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" - "> root@mood:~# nand\n" + "> root at mood:~# nand\n" "> nanddump nandtest nandwrite \n" - "> root@mood:~# nandwrite -p /dev/mtd2 /tmp/uImage\n" + "> root at mood:~# nandwrite -p /dev/mtd2 /tmp/uImage\n" "> Writing data to block 0 at offset 0x0\n" "> [ 1456.154142] pxa3xx-nand d00d0000.nand: Wait time out!!!\n" "> [ 1456.354143] pxa3xx-nand d00d0000.nand: Wait time out!!!\n" @@ -90,7 +84,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" @@ -101,8 +95,8 @@ "\n" "Thanks a lot!\n" "-- \n" - "Ezequiel Garc\303\255a, Free Electrons\n" + "Ezequiel Garc?a, Free Electrons\n" "Embedded Linux, Kernel and Android Engineering\n" http://free-electrons.com -a7c5d4c50e314f63b67966b73b31f96f1093a4d708eb82f815eb946adf423bfc +5470a39a34099a64d2894ee0370751a434b91c6d4450498af9eb05797614365b
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.