[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-07-15 Thread Olliver Schinagl
Stefan, On 15-07-16 10:57, Olliver Schinagl wrote: On 15-07-16 10:39, stefan.mavrod...@gmail.com wrote: Hi Olliver, Why are you using nRST signal? What I mean is this pin is inactive on this eMMC chip. To use the signal byte 162 of ECSD registers should be written. Then that sounds like a

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-07-15 Thread Olliver Schinagl
On 15-07-16 10:39, stefan.mavrod...@gmail.com wrote: Hi Olliver, Why are you using nRST signal? What I mean is this pin is inactive on this eMMC chip. To use the signal byte 162 of ECSD registers should be written. Then that sounds like a bug in the mmc layer I would say (or a missing

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-07-15 Thread stefan . mavrodiev
Hi Olliver, Why are you using nRST signal? What I mean is this pin is inactive on this eMMC chip. To use the signal byte 162 of ECSD registers should be written. On my board, this "reset" signal causes eMMC not to work. Best regards, Stefan Mavrodiev -- You received this message because you

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-11 Thread Olliver Schinagl
Christo, On 11-05-16 01:21, Christo Radev wrote: |Hi to All, | I have extend performance tests with measurement of eMMC, SD/MMC and SATA SSD R/W speed with kernel 4.6-rc7. The results and comments are posted on:

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-10 Thread Christo Radev
Hi to All, I have extend performance tests with measurement of eMMC, SD/MMC and SATA SSD R/W speed with kernel 4.6-rc7. The results and comments are posted on: http://forum.armbian.com/index.php/topic/853-armbian-customization/page-4#entry8908 Best regards Chris -- You received this message

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-10 Thread Christo Radev
Hi Olliver, Unfortunately, I have a problem to see and use quoted text so I delete it. I saw broken-hpi option but currently I use mainly kernel 4.5.3 so not sure if it is available there. About 8-bit staff in my patch it is there by error. I really use 4-bit bus without additional pins

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-10 Thread Olliver Schinagl
Hey Christo, On 10-05-16 21:17, Christo Radev wrote: Hi Olliver, On Tuesday, May 10, 2016 at 9:46:45 PM UTC+3, Olliver Schinagl wrote: Hey Christo, On 10-05-16 19:25, Christo Radev wrote: Hi Olliver, I try to build Armbian with kernel 4.5.0-rc6 by adding the patch as

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-10 Thread Christo Radev
Hi Olliver, On Tuesday, May 10, 2016 at 9:46:45 PM UTC+3, Olliver Schinagl wrote: > > Hey Christo, > > On 10-05-16 19:25, Christo Radev wrote: > > Hi Olliver, > > I try to build Armbian with kernel 4.5.0-rc6 by adding the patch as > discussed here >

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-10 Thread Olliver Schinagl
Hey Christo, On 10-05-16 19:25, Christo Radev wrote: Hi Olliver, I try to build Armbian with kernel 4.5.0-rc6 by adding the patch as discussed here . In addition I have to add following as well: | diff --git

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-10 Thread Christo Radev
Hi Olliver, I try to build Armbian with kernel 4.5.0-rc6 by adding the patch as discussed here . In addition I have to add following as well: diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-09 Thread Christo Radev
Hi to All, On Wednesday, May 4, 2016 at 10:40:37 PM UTC+3, Christo Radev wrote: > > Hi Oliver, > > I start performance tests for eMMC, SD/MMC, USB, SATA SSD devices and will > post the result when ready. > > Some results from the performance tests done by me can be found on the following post:

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-09 Thread Christo Radev
Hi Olliver, Sorry for the delay but I was on a place without Internet access. Is there something wrong with the logs? On Thursday, May 5, 2016 at 11:43:49 AM UTC+3, Olliver Schinagl wrote: > > Hey Christo, > > On 04-05-16 21:40, Christo Radev wrote: > > Hi Oliver, > > I start performance tests

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-05 Thread Olliver Schinagl
Hey Christo, On 04-05-16 21:40, Christo Radev wrote: Hi Oliver, I start performance tests for eMMC, SD/MMC, USB, SATA SSD devices and will post the result when ready. As a beginning I can say that eMMC is accessed via 4-bit bus without matter of the patch used. There you are the content of

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Christo Radev
Hi Oliver, I start performance tests for eMMC, SD/MMC, USB, SATA SSD devices and will post the result when ready. As a beginning I can say that eMMC is accessed via 4-bit bus without matter of the patch used. There you are the content of /sys/kernel/debug/mmcX/ios (where X is number of eMMC

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Christo Radev
Hi Oliver, I have just tested your patch and the access to eMMC is working. There you are complete patch I have applied against kernel 4.5.2: index d5c796c..1f5339d 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts @@ -188,6 +188,15

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Christo Radev
Thanks Oliver, I find it and will be back with the test results. Best regards Chris On Wednesday, May 4, 2016 at 6:09:44 PM UTC+3, Olliver Schinagl wrote: > > Christo, > > On 04-05-16 16:31, Christo Radev wrote: > > Tanks Oliver, > > It could be the problem to get 8-bit access working. > >

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Olliver Schinagl
Christo, On 04-05-16 16:31, Christo Radev wrote: Tanks Oliver, It could be the problem to get 8-bit access working. Unfortunately, I do not see where to make this changes because original dts files

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Christo Radev
Tanks Oliver, It could be the problem to get 8-bit access working. Unfortunately, I do not see where to make this changes because original dts files

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Olliver Schinagl
Hey Christo, On 04-05-16 15:32, Christo Radev wrote: Hi Oliver, I do: that http://forum.armbian.com/index.php/topic/853-armbian-customization/page-2#entry7359 The syntax error seen there was fixed and the result is:

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Christo Radev
Hi Oliver, I do: that http://forum.armbian.com/index.php/topic/853-armbian-customization/page-2#entry7359 The syntax error seen there was fixed and the result is: http://forum.armbian.com/index.php/topic/853-armbian-customization/page-2#entry7361 The same tests was done on legacy kernel

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Olliver Schinagl
Hey Christo, On 04-05-16 15:07, Christo Radev wrote: Hi Olliver, I have already test it a few weeks ago and definitely can say that 8-bit bus did not work on A20-Olinuxino-Lime2-eMMC with mainline kernel. See may post here

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Christo Radev
Hi Olliver, I have already test it a few weeks ago and definitely can say that 8-bit bus did not work on A20-Olinuxino-Lime2-eMMC with mainline kernel. See may post here . Best regards Chris On Wednesday,

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Olliver Schinagl
Hey Radoslav, On 04-05-16 14:30, Radoslav Kolev wrote: 2016-05-03 10:25 GMT+03:00 Chen-Yu Tsai : On Tue, May 3, 2016 at 3:21 PM, Olliver Schinagl wrote: + bus-width = <4>; Only 4 bits? We normally see eMMC with 8 bits. 4 bits are some kind of

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Radoslav Kolev
2016-05-03 10:25 GMT+03:00 Chen-Yu Tsai : > On Tue, May 3, 2016 at 3:21 PM, Olliver Schinagl wrote: + bus-width = <4>; >>> >>> Only 4 bits? We normally see eMMC with 8 bits. 4 bits are some kind of >>> embedded SD card. >> >> On A20 as well? Our

Re: [linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Christo Radev
Exactly, the site is finally updated. On Wednesday, May 4, 2016 at 8:13:05 AM UTC+3, Priit Laes wrote: > > On Tue, 2016-05-03 at 17:52 +0200, Olliver Schinagl wrote: > > Hey all, > > > > On 03-05-16 17:02, christ...@gmail.com wrote: > > > On Tuesday, May 3, 2016 at 4:14:41 PM UTC+3, Maxime

Re: [linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-03 Thread Priit Laes
On Tue, 2016-05-03 at 17:52 +0200, Olliver Schinagl wrote: > Hey all, > > On 03-05-16 17:02, christo.ra...@gmail.com wrote: > > On Tuesday, May 3, 2016 at 4:14:41 PM UTC+3, Maxime Ripard wrote: > > > Hi, > > > > > > On Tue, May 03, 2016 at 4:12:06 PM UTC+3, Christo Radev wrote: > > > > Hi to

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-03 Thread Olliver Schinagl
Hey all, On 03-05-16 17:02, christo.ra...@gmail.com wrote: On Tuesday, May 3, 2016 at 4:14:41 PM UTC+3, Maxime Ripard wrote: Hi, On Tue, May 03, 2016 at 4:12:06 PM UTC+3, Christo Radev wrote: Hi to All, I have already solved and tested this issue on Armbian build. Find patches for both

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-03 Thread christo . radev
On Tuesday, May 3, 2016 at 4:14:41 PM UTC+3, Maxime Ripard wrote: > Hi, > > On Tue, May 03, 2016 at 4:12:06 PM UTC+3, Christo Radev wrote: > > Hi to All, > > > > I have already solved and tested this issue on Armbian build. Find > > patches for both legacy (3.4.111) and mainline (4.5.2) kernels

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-03 Thread christo . radev
Hi to All, I have already solved and tested this issue on Armbian build. Find patches for both legacy (3.4.111) and mainline (4.5.2) kernels on: http://forum.armbian.com/index.php/topic/853-armbian-customization/page-2#entry7494 There it is also described how to do eMMC bootable and much more.

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-03 Thread Maxime Ripard
Hi, On Tue, May 03, 2016 at 12:12:06AM -0700, christo.ra...@gmail.com wrote: > Hi to All, > > I have already solved and tested this issue on Armbian build. Find > patches for both legacy (3.4.111) and mainline (4.5.2) kernels on: >

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-03 Thread Chen-Yu Tsai
On Tue, May 3, 2016 at 3:21 PM, Olliver Schinagl wrote: > Hey Chen, ChenYu :) > > > On 03-05-16 05:33, Chen-Yu Tsai wrote: >> >> Hi, >> >> On Thu, Apr 28, 2016 at 3:19 PM, Olliver Schinagl >> wrote: >>> >>> There are 3 kinds of OLinuXino Lime2 boards.

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-03 Thread Olliver Schinagl
Hey Chen, On 03-05-16 05:33, Chen-Yu Tsai wrote: Hi, On Thu, Apr 28, 2016 at 3:19 PM, Olliver Schinagl wrote: There are 3 kinds of OLinuXino Lime2 boards. One without any on board storage, one with NAND storage and one with eMMC storage. This patch adds the eMMC variant

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-02 Thread Chen-Yu Tsai
Hi, On Thu, Apr 28, 2016 at 3:19 PM, Olliver Schinagl wrote: > There are 3 kinds of OLinuXino Lime2 boards. > One without any on board storage, one with NAND storage and one with > eMMC storage. This patch adds the eMMC variant of boards. > > eMMC storage is different from a

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-02 Thread Maxime Ripard
Hi, On Thu, Apr 28, 2016 at 09:19:58AM +0200, Olliver Schinagl wrote: > There are 3 kinds of OLinuXino Lime2 boards. > One without any on board storage, one with NAND storage and one with > eMMC storage. This patch adds the eMMC variant of boards. > > eMMC storage is different from a regular SD