mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* how to boot from external RAM
@ 2012-01-11 16:22 G Rajender
  2012-01-12  9:31 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: G Rajender @ 2012-01-11 16:22 UTC (permalink / raw)
  To: barebox


[-- Attachment #1.1: Type: text/plain, Size: 382 bytes --]

Hi All,

How to boot barebox from External SDRAM??
Im using iMX35 based board.


Raj



Larsen & Toubro Limited

www.larsentoubro.com

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

[-- Attachment #1.2: Type: text/html, Size: 775 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: how to boot from external RAM
  2012-01-11 16:22 how to boot from external RAM G Rajender
@ 2012-01-12  9:31 ` Sascha Hauer
  2012-01-12 16:43   ` G Rajender
  0 siblings, 1 reply; 4+ messages in thread
From: Sascha Hauer @ 2012-01-12  9:31 UTC (permalink / raw)
  To: G Rajender; +Cc: barebox

On Wed, Jan 11, 2012 at 04:22:22PM +0000, G Rajender wrote:
> Hi All,
> 
> How to boot barebox from External SDRAM??
> Im using iMX35 based board.

How do you get the image into the SDRAM? With a debugger?

However, barebox can start from SDRAM in which case it just skips
the SDRAM initialization and depending on the board some more lowlevel
init steps. Just copy the image somewhere into SDRAM and jump into
it.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* RE: how to boot from external RAM
  2012-01-12  9:31 ` Sascha Hauer
@ 2012-01-12 16:43   ` G Rajender
  2012-01-13  8:32     ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: G Rajender @ 2012-01-12 16:43 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

Hi,

I am using  Lauterbauk ARM In Circuit Debugger.
I have done SDRAM initializations in .cmm (batch file) of debugger and configured SDRAM address in make menuconfig.
I am able to download the image in to SDRAM mapped address but unable boot from it.
any suggestions on this. Thanks.

Raj

________________________________________
From: Sascha Hauer [s.hauer@pengutronix.de]
Sent: Thursday, January 12, 2012 3:01 PM
To: G Rajender
Cc: barebox@lists.infradead.org
Subject: Re: how to boot from external RAM

On Wed, Jan 11, 2012 at 04:22:22PM +0000, G Rajender wrote:
> Hi All,
>
> How to boot barebox from External SDRAM??
> Im using iMX35 based board.

How do you get the image into the SDRAM? With a debugger?

However, barebox can start from SDRAM in which case it just skips
the SDRAM initialization and depending on the board some more lowlevel
init steps. Just copy the image somewhere into SDRAM and jump into
it.

Sascha

--
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


Larsen & Toubro Limited

www.larsentoubro.com

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: how to boot from external RAM
  2012-01-12 16:43   ` G Rajender
@ 2012-01-13  8:32     ` Sascha Hauer
  0 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2012-01-13  8:32 UTC (permalink / raw)
  To: G Rajender; +Cc: barebox

On Thu, Jan 12, 2012 at 04:43:04PM +0000, G Rajender wrote:
> Hi,
> 
> I am using  Lauterbauk ARM In Circuit Debugger.
> I have done SDRAM initializations in .cmm (batch file) of debugger and configured SDRAM address in make menuconfig.
> I am able to download the image in to SDRAM mapped address but unable boot from it.
> any suggestions on this. Thanks.

Well, you have a debugger. You could have a look what the code actually
does. To make your life a bit easier you can load the image to
CONFIG_TEXT_BASE which means that barebox does not have to relocate
itself and that the addresses in barebox.S match your hardware addresses
from the beginning on.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2012-01-13  8:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-11 16:22 how to boot from external RAM G Rajender
2012-01-12  9:31 ` Sascha Hauer
2012-01-12 16:43   ` G Rajender
2012-01-13  8:32     ` Sascha Hauer

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