From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] i.MX28: Add function to adjust memory parameters
Date: Thu, 31 May 2012 20:45:24 +0200 [thread overview]
Message-ID: <201205312045.24308.marex@denx.de> (raw)
In-Reply-To: <CAOMZO5Bf_z6DTGxHStO3kUUXQdUj==JRaVjLzanRVDqKRWSfKQ@mail.gmail.com>
Dear Fabio Estevam,
> Hi Marek,
>
> On Wed, May 30, 2012 at 2:43 AM, Marek Vasut <marex@denx.de> wrote:
> > This function can be overridden at run-time and allows implementors
> > of new boards based on the i.MX28 chip to fine-tune the memory params.
> > It is possible to write into the dram_vals array because when the SPL
> > runs, it is located SRAM. Therefore the location is writable. There is
> > no possibility of these data to be read-only.
>
> This still does not fix the mx28evk booting issue on u-boot-imx tree.
>
> Have you tried to boot m28evk with the following commit reverted?
It's broken, that's why the following patch was applied ;-)
Call this or similar in your spl_boot.c to adjust the DRAM configuration.
Actually I think even the following value should fix your problem:
void mx28_adjust_memory_params(uint32_t *dram_vals)
{
dram_vals[0x74 >> 2] = 0x0f02010a;
}
>
> commit 19a2066b578f826c7bcb2b96a90434382e8ec8f3
> Author: Marek Vasut <marex@denx.de>
> Date: Thu May 3 05:47:19 2012 +0000
>
> M28: Scan only first 512 MB of DRAM to avoid memory wraparound
Best regards,
Marek Vasut
next prev parent reply other threads:[~2012-05-31 18:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-30 5:43 [U-Boot] [PATCH] i.MX28: Add function to adjust memory parameters Marek Vasut
2012-05-31 18:04 ` Fabio Estevam
2012-05-31 18:45 ` Marek Vasut [this message]
2012-06-18 14:17 ` Fabio Estevam
2012-06-18 14:23 ` Marek Vasut
2012-06-18 15:16 ` Stefano Babic
2012-06-18 15:36 ` Marek Vasut
2012-06-18 15:43 ` Marek Vasut
2012-06-18 16:32 ` Stefano Babic
2012-06-18 17:10 ` Marek Vasut
2012-06-19 7:29 ` Stefano Babic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201205312045.24308.marex@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox