diff for duplicates of <87r4a4f5gr.fsf@natisbad.org> diff --git a/a/1.txt b/N1/1.txt index 0a20606..a022bcb 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -14,7 +14,7 @@ Ezequiel Garcia <ezequiel.garcia@free-electrons.com> writes: >> 2 to 4 of 31 disabled as they are already in Linus tree), I modified >> my .dts in the following way: >> ->> 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: > > Could you try using the devicetree snippet below? > -> nand@d0000 { +> nand at d0000 { > /* HACK: Use legacy compatible to handle smaller pages */ > compatible = "marvell,pxa3xx-nand"; > status = "okay"; @@ -73,7 +73,7 @@ small extension of your armada370_ecc_init(): For the record, my .dts had the following at that point: - nand@d0000 { + nand at d0000 { status = "okay"; num-cs = <1>; marvell,nand-keep-config; @@ -86,7 +86,7 @@ For the record, my .dts had the following at that point: 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) @@ -102,26 +102,26 @@ Creating 5 MTD partitions on "pxa3xx_nand-0": 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 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!!! diff --git a/a/content_digest b/N1/content_digest index 1e70ace..120b7c3 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,15 +2,9 @@ "ref\087d2lp28pd.fsf@natisbad.org\0" "ref\020131125120335.GD2408@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\0Tue, 26 Nov 2013 00:04:52 +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,\n" @@ -29,7 +23,7 @@ ">> 2 to 4 of 31 disabled as they are already in Linus tree), I modified\n" ">> my .dts in the following way:\n" ">> \n" - ">> nand@d0000 {\n" + ">> nand at d0000 {\n" ">> status = \"okay\";\n" ">> num-cs = <1>;\n" ">> marvell,nand-keep-config;\n" @@ -41,7 +35,7 @@ ">\n" "> Could you try using the devicetree snippet below?\n" ">\n" - "> nand@d0000 {\n" + "> nand at d0000 {\n" "> \t/* HACK: Use legacy compatible to handle smaller pages */\n" "> \tcompatible = \"marvell,pxa3xx-nand\";\n" "> \tstatus = \"okay\";\n" @@ -88,7 +82,7 @@ "\n" "For the record, my .dts had the following at that point:\n" "\n" - "\tnand@d0000 {\n" + "\tnand at d0000 {\n" "\t\tstatus = \"okay\";\n" "\t\tnum-cs = <1>;\n" "\t\tmarvell,nand-keep-config;\n" @@ -101,7 +95,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" @@ -117,26 +111,26 @@ "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" "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" @@ -159,4 +153,4 @@ "ps: I will not be available tomorrow but can test whatever you\n" come with the day after tomorrow. -0949143e85a079eb2af4846219258412e519a030152a6234f23b43fcabd40c38 +2045792d76ef8bc453ae41888f1c8641f1fbda1a16347cd54fc4bd002ac19b10
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.