Re: [U-Boot] Very slow fatload on bcm2835

2015-06-18 Thread Marek Vasut
On Wednesday, June 17, 2015 at 03:44:41 PM, Jeroen Hofstee wrote: > Hello Marek, > > -while (get_timer(bcm_host->last_write) < bcm_host->twoticks_delay) > +while (timer_get_us() < bcm_host->last_write + > bcm_host->twoticks_delay) > ; > > Can this counter / the right side of the

Re: [U-Boot] Very slow fatload on bcm2835

2015-06-17 Thread Stephen Warren
On 06/17/2015 04:43 AM, Marek Vasut wrote: > On Tuesday, June 16, 2015 at 11:19:11 AM, Michal Marek wrote: >> On 2015-06-16 06:01, Stephen Warren wrote: >>> On 06/11/2015 12:35 PM, Jakub Kicinski wrote: Hello! > > Hi/Ahoj :) > I'm using latest git source of U-Boot on Raspberry Pi Comput

Re: [U-Boot] Very slow fatload on bcm2835

2015-06-17 Thread Jeroen Hofstee
Hello Marek, -while (get_timer(bcm_host->last_write) < bcm_host->twoticks_delay) +while (timer_get_us() < bcm_host->last_write + bcm_host->twoticks_delay) ; Can this counter / the right side of the comparison not overflow? Regards, Jeroen ___

Re: [U-Boot] Very slow fatload on bcm2835

2015-06-17 Thread Marek Vasut
On Tuesday, June 16, 2015 at 11:19:11 AM, Michal Marek wrote: > On 2015-06-16 06:01, Stephen Warren wrote: > > On 06/11/2015 12:35 PM, Jakub Kicinski wrote: > >> Hello! Hi/Ahoj :) > >> I'm using latest git source of U-Boot on Raspberry Pi Compute Module > >> and performance of fatload is quite ba

Re: [U-Boot] Very slow fatload on bcm2835

2015-06-16 Thread Michal Marek
On 2015-06-16 06:01, Stephen Warren wrote: > On 06/11/2015 12:35 PM, Jakub Kicinski wrote: >> Hello! >> >> I'm using latest git source of U-Boot on Raspberry Pi Compute Module >> and performance of fatload is quite bad. Does anyone have any clue >> about what can be wrong? Is it the lack of cach

Re: [U-Boot] Very slow fatload on bcm2835

2015-06-15 Thread Stephen Warren
On 06/11/2015 12:35 PM, Jakub Kicinski wrote: > Hello! > > I'm using latest git source of U-Boot on Raspberry Pi Compute Module > and performance of fatload is quite bad. Does anyone have any clue > about what can be wrong? Is it the lack of cache? > > Sample boot log: ... > reading zImage

[U-Boot] Very slow fatload on bcm2835

2015-06-11 Thread Jakub Kicinski
Hello! I'm using latest git source of U-Boot on Raspberry Pi Compute Module and performance of fatload is quite bad. Does anyone have any clue about what can be wrong? Is it the lack of cache? Sample boot log: U-Boot 2015.07-rc2-dirty (Jun 11 2015 - 17:03:17 +0200)