[U-Boot] [PATCH v2] mx28evk: Scan only first 128MB of DRAM to avoid memory wraparound

Fabio Estevam festevam at gmail.com
Sat May 12 23:41:03 CEST 2012


Hi Wolfgang,

On Sat, May 12, 2012 at 6:24 PM, Wolfgang Denk <wd at denx.de> wrote:

> I think this is the wrong approach.  We should let get_ram_size() do
> it's job.  Or can you explain why it isn't working for you?

I haven't done a deeper investigation yet, but with current u-boot-imx
I cannot get mx28evk to boot.

If I revert this commit:
commit acc4959fc1b3e61beb372f686595eb2f90240c92
Author: Marek Vasut <marex at denx.de>
Date:   Thu May 3 05:47:18 2012 +0000

    Revert "i.MX28: Enable additional DRAM address bits"

,then it boots fine.

I followed then the same approach of commit:

commit 19a2066b578f826c7bcb2b96a90434382e8ec8f3
Author: Marek Vasut <marex at denx.de>
Date:   Thu May 3 05:47:19 2012 +0000

    M28: Scan only first 512 MB of DRAM to avoid memory wraparound

,that fixed the boot.

Also, on the other i.MX boards we put the total size of RAM in the
config files, and I did the same here with this patch.

If anyone has better suggestion on how to better handle this, please let know.

Regards,

Fabio Estevam


More information about the U-Boot mailing list