[U-Boot] Very slow mtest on i.MX6UL over dual-die DDR3 (two chip selects)
Fabio Estevam
festevam at gmail.com
Tue May 16 22:34:45 UTC 2017
Hi Hector,
On Tue, May 16, 2017 at 1:15 PM, Palacios, Hector
<Hector.Palacios at digi.com> wrote:
> Greetings,
>
> I'm adding support to a 1GiB DDR3 chip that internally has two dies. I have configured the i.MX6UL memory controller for using two chip selects and assigned 512MiB to each. Although the RAM seems to work fine I'm experiencing extremely slow performance compared to a similar 1GiB chip with only one die (one chip select).
>
> Testing one mtest loop over the first 496MiB takes:
> - 5s on the single die chip
> - 1m 16s on the dual die chip
>
> I have run different memory benchmark tools in Linux like https://github.com/bingmann/pmbw.git and both memories perform similarly, but for some reason I see this weird behavior in U-Boot (v2015.04) with 'mtest'.
> The CONFIG_SYS_MEMTEST_START and CONFIG_SYS_MEMTEST_END are defined within secure limits and 'mtest' is not failing... it's just very slow.
>
> Am I missing something obvious?
It is hard to tell without seeing your code.
What about adding your mx6ul board support upstream?
More information about the U-Boot
mailing list