diff for duplicates of <54CB6D8F.5010804@denx.de> diff --git a/a/1.txt b/N1/1.txt index 5451bd4..0602647 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -2,12 +2,12 @@ Hello all, I just tried on the imx6dl based aristainetos board linux kernel: -Linux version 3.18.2+ (hs-E0MFdw8UecLj/ljBK/0BTg@public.gmane.org) (gcc version 4.7.2 (GCC) ) #1 SMP Mon Jan 26 08:06:33 CET 2015 +Linux version 3.18.2+ (hs at pollux.denx.de) (gcc version 4.7.2 (GCC) ) #1 SMP Mon Jan 26 08:06:33 CET 2015 and detected problems with the SPI NOR flash on it. I found this patch: commit f62caccd12c17e4cb516d43a6e4dd8a3abc1f7e0 -Author: Robin Gong <b38343-KZfg59tc24xl57MIdRCFDg@public.gmane.org> +Author: Robin Gong <b38343@freescale.com> Date: Thu Sep 11 09:18:44 2014 +0800 spi: spi-imx: add DMA support @@ -23,10 +23,10 @@ Date: Thu Sep 11 09:18:44 2014 +0800 transfer finish by DMA on i.mx6dl, so we disable dma functhion on i.mx6dl. - Signed-off-by: Frank Li <Frank.Li-KZfg59tc24xl57MIdRCFDg@public.gmane.org> - Signed-off-by: Robin Gong <b38343-KZfg59tc24xl57MIdRCFDg@public.gmane.org> - Acked-by: Marek Vasut <marex-ynQEQJNshbs@public.gmane.org> - Signed-off-by: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> + Signed-off-by: Frank Li <Frank.Li@freescale.com> + Signed-off-by: Robin Gong <b38343@freescale.com> + Acked-by: Marek Vasut <marex@denx.de> + Signed-off-by: Mark Brown <broonie@kernel.org> If I disable DMA with: @@ -93,7 +93,7 @@ aristainetos target: 3V3 design, NOR flash is on chip select #0 without DMA -[ 3.080308] of_dma_request_slave_channel: dma-names property of node '/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02014000' missing or empty +[ 3.080308] of_dma_request_slave_channel: dma-names property of node '/soc/aips-bus at 02000000/spba-bus at 02000000/ecspi at 02014000' missing or empty [ 3.091939] spi_imx 2014000.ecspi: cannot get the TX DMA channel! [ 3.096771] spi_imx 2014000.ecspi: dma setup error,use pio instead [ 3.104825] m25p80 spi3.0: found n25q128a13, expected n25q128a11 @@ -105,7 +105,7 @@ without DMA [ 3.135416] 0x0000000e0000-0x0000000f0000 : "env-red" [ 3.142286] 0x0000000f0000-0x000001000000 : "rescue-system" -root@aristainetos:~# flashcp -v /boot/rescue.itb /dev/mtd4 +root at aristainetos:~# flashcp -v /boot/rescue.itb /dev/mtd4 Erasing blocks: 149/149 (100%) Writing data: 9514k/0k (100%)) Verifying data: 9514k/0k (100%)) @@ -122,7 +122,7 @@ with DMA [ 3.123885] 0x0000000f0000-0x000001000000 : "rescue-system" [ 3.133588] spi_imx 2014000.ecspi: probed -root@aristainetos:~# flashcp -v /boot/rescue.itb /dev/mtd4 +root at aristainetos:~# flashcp -v /boot/rescue.itb /dev/mtd4 Erasing blocks: 149/149 (100%) Writing data: 290k/0k (9514%) spi_master spi3: I/O Error in DMA RX @@ -136,7 +136,7 @@ aristainetos2 target: 1V8 design, NOR flash is on chip select #1 without DMA -[ 3.750335] of_dma_request_slave_channel: dma-names property of node '/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02014000' missing or empty +[ 3.750335] of_dma_request_slave_channel: dma-names property of node '/soc/aips-bus at 02000000/spba-bus at 02000000/ecspi at 02014000' missing or empty [ 3.762025] spi_imx 2014000.ecspi: cannot get the TX DMA channel! [ 3.766833] spi_imx 2014000.ecspi: dma setup error,use pio instead [ 3.774578] m25p80 spi3.1: n25q128a11 (16384 Kbytes) @@ -149,7 +149,7 @@ without DMA [ 3.816809] spi_imx 2014000.ecspi: probed -root@aristainetos2:~# flashcp -v /boot/rescue.itb /dev/mtd4 +root at aristainetos2:~# flashcp -v /boot/rescue.itb /dev/mtd4 Erasing blocks: 152/152 (100%) Writing data: 9685k/0k (100%)) Verifying data: 9685k/0k (100%)) @@ -165,7 +165,7 @@ with DMA [ 3.779549] 0x0000000f0000-0x000001000000 : "rescue-system" [ 3.788521] spi_imx 2014000.ecspi: probed -root@aristainetos2:~# flashcp -v /boot/rescue.itb /dev/mtd4 +root at aristainetos2:~# flashcp -v /boot/rescue.itb /dev/mtd4 Erasing blocks: 152/152 (100%) Writing data: 5810k/0k (9685%) spi_master spi3: I/O Error in DMA RX @@ -177,11 +177,11 @@ The flashcp process cannot be killed, not even with kill -9. It seems like everything was written correctly (verified with u-boot), but trying to read the content with hexdump failed after multiples of 0x1000 bytes read. hexdump freezes. It is not always freezing at the same address! -root@aristainetos2:~# flash_erase /dev/mtd4 0 0 +root at aristainetos2:~# flash_erase /dev/mtd4 0 0 Erasing 64 Kibyte @ f00000 -- 100 % complete -root@aristainetos2:~# dd if=/boot/rescue.itb of=/dev/mtd4 dd also freezes very fast, hexdump shows, that only 0x20f0 bytes have been written. +root at aristainetos2:~# dd if=/boot/rescue.itb of=/dev/mtd4 dd also freezes very fast, hexdump shows, that only 0x20f0 bytes have been written. -root@aristainetos2:~# hexdump /dev/mtd4 +root at aristainetos2:~# hexdump /dev/mtd4 00020b0 530f 00e3 2cdd 5df4 0fd6 165c f005 9da8 00020c0 1088 87e0 7ee5 6387 0d33 f057 2b5c e801 00020d0 a60e fe80 ebab 204a 7e15 3e1f bd00 70fb @@ -195,7 +195,3 @@ This time hexdump completed without freezing! -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --- -To unsubscribe from this list: send the line "unsubscribe linux-spi" in -the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org -More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index e929b07..d614bbb 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,26 +1,19 @@ - "From\0Heiko Schocher <hs-ynQEQJNshbs@public.gmane.org>\0" + "From\0hs@denx.de (Heiko Schocher)\0" "Subject\0imx6dl, spi: read/write problem with SPI-NOR on imx6d\0" "Date\0Fri, 30 Jan 2015 12:39:59 +0100\0" - "To\0Frank Li <Frank.Li-KZfg59tc24xl57MIdRCFDg@public.gmane.org>" - " Robin Gong <b38343-KZfg59tc24xl57MIdRCFDg@public.gmane.org>\0" - "Cc\0Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>" - Cajus Hahn <cajus.hahn-L9/KCGF6/QDQT0dZR+AlfA@public.gmane.org> - Marek Vasut <marex-ynQEQJNshbs@public.gmane.org> - Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> - linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org <linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org> - " linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "Hello all,\n" "\n" "I just tried on the imx6dl based aristainetos board linux kernel:\n" "\n" - "Linux version 3.18.2+ (hs-E0MFdw8UecLj/ljBK/0BTg@public.gmane.org) (gcc version 4.7.2 (GCC) ) #1 SMP Mon Jan 26 08:06:33 CET 2015\n" + "Linux version 3.18.2+ (hs at pollux.denx.de) (gcc version 4.7.2 (GCC) ) #1 SMP Mon Jan 26 08:06:33 CET 2015\n" "\n" "and detected problems with the SPI NOR flash on it. I found this patch:\n" "\n" "commit f62caccd12c17e4cb516d43a6e4dd8a3abc1f7e0\n" - "Author: Robin Gong <b38343-KZfg59tc24xl57MIdRCFDg@public.gmane.org>\n" + "Author: Robin Gong <b38343@freescale.com>\n" "Date: Thu Sep 11 09:18:44 2014 +0800\n" "\n" " spi: spi-imx: add DMA support\n" @@ -36,10 +29,10 @@ " transfer finish by DMA on i.mx6dl, so we disable dma functhion on\n" " i.mx6dl.\n" "\n" - " Signed-off-by: Frank Li <Frank.Li-KZfg59tc24xl57MIdRCFDg@public.gmane.org>\n" - " Signed-off-by: Robin Gong <b38343-KZfg59tc24xl57MIdRCFDg@public.gmane.org>\n" - " Acked-by: Marek Vasut <marex-ynQEQJNshbs@public.gmane.org>\n" - " Signed-off-by: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>\n" + " Signed-off-by: Frank Li <Frank.Li@freescale.com>\n" + " Signed-off-by: Robin Gong <b38343@freescale.com>\n" + " Acked-by: Marek Vasut <marex@denx.de>\n" + " Signed-off-by: Mark Brown <broonie@kernel.org>\n" "\n" "If I disable DMA with:\n" "\n" @@ -106,7 +99,7 @@ "3V3 design, NOR flash is on chip select #0\n" "\n" "without DMA\n" - "[ 3.080308] of_dma_request_slave_channel: dma-names property of node '/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02014000' missing or empty\n" + "[ 3.080308] of_dma_request_slave_channel: dma-names property of node '/soc/aips-bus at 02000000/spba-bus at 02000000/ecspi at 02014000' missing or empty\n" "[ 3.091939] spi_imx 2014000.ecspi: cannot get the TX DMA channel!\n" "[ 3.096771] spi_imx 2014000.ecspi: dma setup error,use pio instead\n" "[ 3.104825] m25p80 spi3.0: found n25q128a13, expected n25q128a11\n" @@ -118,7 +111,7 @@ "[ 3.135416] 0x0000000e0000-0x0000000f0000 : \"env-red\"\n" "[ 3.142286] 0x0000000f0000-0x000001000000 : \"rescue-system\"\n" "\n" - "root@aristainetos:~# flashcp -v /boot/rescue.itb /dev/mtd4\n" + "root at aristainetos:~# flashcp -v /boot/rescue.itb /dev/mtd4\n" "Erasing blocks: 149/149 (100%)\n" "Writing data: 9514k/0k (100%))\n" "Verifying data: 9514k/0k (100%))\n" @@ -135,7 +128,7 @@ "[ 3.123885] 0x0000000f0000-0x000001000000 : \"rescue-system\"\n" "[ 3.133588] spi_imx 2014000.ecspi: probed\n" "\n" - "root@aristainetos:~# flashcp -v /boot/rescue.itb /dev/mtd4\n" + "root at aristainetos:~# flashcp -v /boot/rescue.itb /dev/mtd4\n" "Erasing blocks: 149/149 (100%)\n" "Writing data: 290k/0k (9514%)\n" "spi_master spi3: I/O Error in DMA RX\n" @@ -149,7 +142,7 @@ "1V8 design, NOR flash is on chip select #1\n" "\n" "without DMA\n" - "[ 3.750335] of_dma_request_slave_channel: dma-names property of node '/soc/aips-bus@02000000/spba-bus@02000000/ecspi@02014000' missing or empty\n" + "[ 3.750335] of_dma_request_slave_channel: dma-names property of node '/soc/aips-bus at 02000000/spba-bus at 02000000/ecspi at 02014000' missing or empty\n" "[ 3.762025] spi_imx 2014000.ecspi: cannot get the TX DMA channel!\n" "[ 3.766833] spi_imx 2014000.ecspi: dma setup error,use pio instead\n" "[ 3.774578] m25p80 spi3.1: n25q128a11 (16384 Kbytes)\n" @@ -162,7 +155,7 @@ "[ 3.816809] spi_imx 2014000.ecspi: probed\n" "\n" "\n" - "root@aristainetos2:~# flashcp -v /boot/rescue.itb /dev/mtd4\n" + "root at aristainetos2:~# flashcp -v /boot/rescue.itb /dev/mtd4\n" "Erasing blocks: 152/152 (100%)\n" "Writing data: 9685k/0k (100%))\n" "Verifying data: 9685k/0k (100%))\n" @@ -178,7 +171,7 @@ "[ 3.779549] 0x0000000f0000-0x000001000000 : \"rescue-system\"\n" "[ 3.788521] spi_imx 2014000.ecspi: probed\n" "\n" - "root@aristainetos2:~# flashcp -v /boot/rescue.itb /dev/mtd4\n" + "root at aristainetos2:~# flashcp -v /boot/rescue.itb /dev/mtd4\n" "Erasing blocks: 152/152 (100%)\n" "Writing data: 5810k/0k (9685%)\n" "spi_master spi3: I/O Error in DMA RX\n" @@ -190,11 +183,11 @@ "It seems like everything was written correctly (verified with u-boot), but trying to read the content with hexdump failed after multiples of 0x1000 bytes read. hexdump freezes.\n" "It is not always freezing at the same address!\n" "\n" - "root@aristainetos2:~# flash_erase /dev/mtd4 0 0\n" + "root at aristainetos2:~# flash_erase /dev/mtd4 0 0\n" "Erasing 64 Kibyte @ f00000 -- 100 % complete\n" - "root@aristainetos2:~# dd if=/boot/rescue.itb of=/dev/mtd4 dd also freezes very fast, hexdump shows, that only 0x20f0 bytes have been written.\n" + "root at aristainetos2:~# dd if=/boot/rescue.itb of=/dev/mtd4 dd also freezes very fast, hexdump shows, that only 0x20f0 bytes have been written.\n" "\n" - "root@aristainetos2:~# hexdump /dev/mtd4\n" + "root at aristainetos2:~# hexdump /dev/mtd4\n" "00020b0 530f 00e3 2cdd 5df4 0fd6 165c f005 9da8\n" "00020c0 1088 87e0 7ee5 6387 0d33 f057 2b5c e801\n" "00020d0 a60e fe80 ebab 204a 7e15 3e1f bd00 70fb\n" @@ -207,10 +200,6 @@ "\n" "-- \n" "DENX Software Engineering GmbH, Managing Director: Wolfgang Denk\n" - "HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany\n" - "--\n" - "To unsubscribe from this list: send the line \"unsubscribe linux-spi\" in\n" - "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" - More majordomo info at http://vger.kernel.org/majordomo-info.html + HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany -3bb3e14bc98316f93ef4a013d728a860352a6913923cc0cff7c98e0a756635b1 +b79bac25c19a3ccf571acfccb4d69fd1604aa678e9f2f59166537b2172176759
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.