All of lore.kernel.org
 help / color / mirror / Atom feed
From: Madhavi Manchala <madhavi.linux@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Is it possible to load the uboot.bin file to RAM area instead FLASH?
Date: Mon, 14 Feb 2011 16:13:15 +0530	[thread overview]
Message-ID: <AANLkTimjnUuUuCha24JSNcpkB=gOKT-+qN9Br1Dpf3Bd@mail.gmail.com> (raw)
In-Reply-To: <20110214084605.BDB6C231@gemini.denx.de>

On Mon, Feb 14, 2011 at 2:16 PM, Wolfgang Denk <wd@denx.de> wrote:
> Dear Madhavi Manchala,
>
> In message <AANLkTinWxhP6Xve6ZEKg0wcmthRXVACcG33KT93exxaS@mail.gmail.com> you wrote:
>>
>> Actually, I want to load the "u-boot" file into SDRAM area and run
>> from the SD RAM only instead of FLASH area. Here, the RAM address
>> starts from 0x00000000 in our board. I tried to modify some of the
>> macros like PHYS_SDRAM_1 and its size. However, there is no luck. Even
>> I did not see any messages on the hyper terminal.
> ...
>> Any ideas / hints would be greatly help me and appreciated.
>
> Well, if should read the related FAQ entry (see
> http://www.denx.de/wiki/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM).
> Then you should ask yourself why this is the number 1 FAQ entry, and
> then you should probably read it again.
>
> One of the key phrases is this one:
>
> ? ? ? ?This requires a lot of experience with U-Boot, and the fact
> ? ? ? ?that you had to ask if this can be done means that you are not
> ? ? ? ?in a position to do this.
>
> It is obvious that you are still learning, so the "requires a lot of
> experience" part does not apply. You have access to a JTAG debugger,
> and it appears it is actually working on your hardware.
>
> Why are you then making your own life more difficult than needed? Why
> are you attempting to do things that are not needed nor useful at all?
> Instead, focus on how the actual system is booting, and get this
> working, step after step.

Dear Wolfgang Denk,

Thanks for the link and information.

I have a J-Link JTAG and J-LinkGDBServer software tool for debugging
the code which are purchased from segger.com. The board consists of
Samsung S3C2510A MCU, Flash memory, SD RAM and UARTS. Here, my work is
to load the OS image (like OpenWRT) on to the board. For this, I
chosen that I want load the u-boot first and then from the u-boot
prompt load the OS image. That is the reason, I want to load the
u-boot first.

Anyhow, I will look into the FAQ and README documentation first, then
I will post the questions.

Sorry If I asked simple questions.

Thanks and Regards,
Madhavi M.

> Do NOT mess with the memory set up manually. Do NOT modify the U-Boot
> code to do things you don't understand yet, because this will also
> prevent U-Boot from working under normal conditions.
>
>
> Do not ignore the FAQ. ?If some answers are not what you are looking
> for then ask yourself if you are asking the right questions. ?Keep in
> mind that most of these FAQ have been written by people who have a lot
> of experience with U-Boot.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, ? ? MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Human beings were created by water to transport it uphill.
>

  reply	other threads:[~2011-02-14 10:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-11 15:19 [U-Boot] Is it possible to load the uboot.bin file to RAM area instead FLASH? Madhavi Manchala
2011-02-11 15:29 ` Lei Wen
2011-02-11 16:57   ` Wolfgang Denk
2011-02-13 13:30     ` Madhavi Manchala
2011-02-13 13:41       ` Lei Wen
2011-02-13 14:22         ` Madhavi Manchala
2011-02-13 14:37           ` Albert ARIBAUD
2011-02-13 16:37           ` Srinath Iyengar
2011-02-14  7:04             ` Madhavi Manchala
2011-02-14  8:46               ` Wolfgang Denk
2011-02-14 10:43                 ` Madhavi Manchala [this message]
2011-02-14 13:53                   ` Wolfgang Denk

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='AANLkTimjnUuUuCha24JSNcpkB=gOKT-+qN9Br1Dpf3Bd@mail.gmail.com' \
    --to=madhavi.linux@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.