public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Run U-boot from Flash!
@ 2011-06-24 13:53 manojatl
  2011-06-24 14:20 ` Stefano Babic
  2011-06-24 14:20 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: manojatl @ 2011-06-24 13:53 UTC (permalink / raw)
  To: u-boot


Hi,

We are in the process of porting linux to our custom board. We are using
u-boot-1.1.6 as bootloader. We are able to successfully port u-boot in RAM
to our custom board. But we want to run the u-boot from flash. We understand
that u-boot is capable of relocating the code from flash to ram. But we
didn't find any idea for changing the address of '_start', which is always
loaded with TEXT_BASE address. 
Expecting a postive response. 

Thanks 
Manu
 


-- 
View this message in context: http://old.nabble.com/Run-U-boot-from-Flash%21-tp31920053p31920053.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Run U-boot from Flash!
  2011-06-24 13:53 [U-Boot] Run U-boot from Flash! manojatl
@ 2011-06-24 14:20 ` Stefano Babic
  2011-06-24 14:20 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2011-06-24 14:20 UTC (permalink / raw)
  To: u-boot

On 06/24/2011 03:53 PM, manojatl wrote:
> 
> Hi,
> 

Hi,

> We are in the process of porting linux to our custom board. We are using
> u-boot-1.1.6 as bootloader.

Before you waste your time: make a pleasure to yourself and update to
the last U-Boot code, better from GIT repository (git.denx.de). Your
version is so old that it is quite difficult to find someone remembering
details about it.

> We are able to successfully port u-boot in RAM
> to our custom board. But we want to run the u-boot from flash. We understand
> that u-boot is capable of relocating the code from flash to ram.

You have not indicated which architecture you have (ARM,PPC, ...), and
from which board you are basing your porting.

> Expecting a postive response. 

Start using last code and check again if you have relevant issues.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Run U-boot from Flash!
  2011-06-24 13:53 [U-Boot] Run U-boot from Flash! manojatl
  2011-06-24 14:20 ` Stefano Babic
@ 2011-06-24 14:20 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2011-06-24 14:20 UTC (permalink / raw)
  To: u-boot

Dear manojatl,

In message <31920053.post@talk.nabble.com> you wrote:
> 
> We are in the process of porting linux to our custom board. We are using
> u-boot-1.1.6 as bootloader. We are able to successfully port u-boot in RAM

First, U-Boot 1.1.6 is more than 5 years old and only of interest to
paleontologists - like a dinosaur.  I tmakes absolutely no sense
putting any efforts n such old code.  Please do yourself (and us) a
favour and use current code (i. e. v2011-06-rc3 or later).

> to our custom board. But we want to run the u-boot from flash. We understand
> that u-boot is capable of relocating the code from flash to ram. But we
> didn't find any idea for changing the address of '_start', which is always
> loaded with TEXT_BASE address. 

Then just change the setting of TEXT_BASE as needed.

Note that it would have been helpful if you had mentioned which
architecture / CPU / board you are talking about.

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
If you're out of tree, you don't exist.
     - David Woodhouse in <1304620350.2398.29.camel@i7.infradead.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-24 14:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-24 13:53 [U-Boot] Run U-boot from Flash! manojatl
2011-06-24 14:20 ` Stefano Babic
2011-06-24 14:20 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox