Re: [U-Boot] [PATCH] mmc: bcm2835_sdhci: Restore original delay behavior
On Fri, 19 Jun 2015 23:39:41 +0200, Marek Vasut wrote: Patch 33fe2fb8df01647f97a7bce96a1c7781a7f6d253 titled mmc: bcm283x: Remove get_timer_us() from mmc driver incorrectly replaced ad-hoc get_timer_us() function with a plain get_timer(). The get_timer() operates in mSec units instead of uSec though, which caused very slow operation of the driver. Restore the original behavior of the driver, but avoid get_timer_us() and use timer_get_us() instead. The later is part of the standard API. Signed-off-by: Marek Vasut ma...@denx.de Cc: Jakub Kiciński moorr...@wp.pl Cc: Stephen Warren swar...@wwwdotorg.org Tested-by: Jakub Kicinski kubak...@wp.pl ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 3/4] ARM: mmc: bcm283x: Remove get_timer_us() from mmc driver
On Thu, 18 Jun 2015 14:35:27 +0200, Marek Vasut wrote: On Wednesday, June 17, 2015 at 06:13:03 PM, Jakub Kiciński wrote: On Wed, 17 Jun 2015 12:44:15 +0200, Marek Vasut wrote: On Tuesday, June 16, 2015 at 05:44:06 AM, Stephen Warren wrote: On 05/04/2015 02:54 PM, Marek Vasut wrote: The get_timer_us() function is something which is no longer existing in case we use generic timer framework, so replace it with get_timer(). Marek, This patch causes saveenv to got from almost no time to nearly 50s on my RPi model A+. Can you take a look at that please? Can you try the attached diff ? ;-/ I think I mistakenly used get_timer(), which returns msecs instead of timer_get_us() which reports usecs, sorry. I can confirm this solves the regression. That's not a regression, that was a bug ;-) Ach OK, I thought Stephen said that MMC used to be fast before the offending patch ;) Anyway I don't really know what's the difference and wikipedia says regression is a bug too so we may both be right :P ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 3/4] ARM: mmc: bcm283x: Remove get_timer_us() from mmc driver
On Wed, 17 Jun 2015 12:44:15 +0200, Marek Vasut wrote: On Tuesday, June 16, 2015 at 05:44:06 AM, Stephen Warren wrote: On 05/04/2015 02:54 PM, Marek Vasut wrote: The get_timer_us() function is something which is no longer existing in case we use generic timer framework, so replace it with get_timer(). Marek, This patch causes saveenv to got from almost no time to nearly 50s on my RPi model A+. Can you take a look at that please? Can you try the attached diff ? ;-/ I think I mistakenly used get_timer(), which returns msecs instead of timer_get_us() which reports usecs, sorry. I can confirm this solves the regression. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] dtoverlay for mx6 ARM
On Fri, 12 Jun 2015 00:14:17 +0200, Johann Obermayr wrote: Am 11.06.2015 um 22:13 schrieb Jakub Kiciński: On Thu, 11 Jun 2015 21:49:57 +0200, Johann Obermayr wrote: Hello, Hi there, for raspberyy pi there are some features available. dtoverlay, dtparam, ... we have a Freescale mx6 CPU. How we can add/enable this features ? I'm new to U-Boot but on RPi the features are provided by their proprietary firmware/bootloader. AFAIK U-Boot doesn't support DT overlays. Thank you for this information. Is there a way to change a loaded devicetree configuration ? Because we have many boards with small differents. but less memory on disk. at this time one DTB file need ~150kb. we have 1MB free, but we have 20 different boards and every month 1 or 2 new boards. Ugh, nothing comes to my mind, but as I said, I'm a newbie. Maybe someone else can chime in. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] dtoverlay for mx6 ARM
On Thu, 11 Jun 2015 21:49:57 +0200, Johann Obermayr wrote: Hello, Hi there, for raspberyy pi there are some features available. dtoverlay, dtparam, ... we have a Freescale mx6 CPU. How we can add/enable this features ? I'm new to U-Boot but on RPi the features are provided by their proprietary firmware/bootloader. AFAIK U-Boot doesn't support DT overlays. Kuba ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot