All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Uboot booting RTOS
@ 2009-04-06 10:14 rahanesh at tataelxsi.co.in
  2009-04-06 20:26 ` Scott Wood
  0 siblings, 1 reply; 6+ messages in thread
From: rahanesh at tataelxsi.co.in @ 2009-04-06 10:14 UTC (permalink / raw)
  To: u-boot

Hi All,
 
I am trying to boot a RTOS from uboot. I have the uboot flashed in NAND
Flash.
 
When i power on the board(OMAP3530 based from Mistral) uboot prompt comes
up. Now how do i boot an RTOS which is also residing in NAND Flash at
different offset.?
 
Can i acheive this without changing the source code of current Uboot. ? ie
Can i acheive this by setting certain environment variables?
 
The format of  RTOS which i am trying to port is not similar to Linux. It is
Just an executable(OS and application compiled and built together to form an
executable).
 
I am newbie to uboot. Please help me on this
 
Thanks,
Rahanesh
 

The information contained in this electronic message and any attachments to this message are intended for the exclusive 
use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended
 recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy
 all copies of this message and any attachments contained in it.

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

* [U-Boot] Uboot booting RTOS
  2009-04-06 10:14 [U-Boot] Uboot booting RTOS rahanesh at tataelxsi.co.in
@ 2009-04-06 20:26 ` Scott Wood
  2009-04-07  6:01   ` rahanesh at tataelxsi.co.in
  0 siblings, 1 reply; 6+ messages in thread
From: Scott Wood @ 2009-04-06 20:26 UTC (permalink / raw)
  To: u-boot

On Mon, Apr 06, 2009 at 03:44:43PM +0530, rahanesh at tataelxsi.co.in wrote:
> When i power on the board(OMAP3530 based from Mistral) uboot prompt comes
> up. Now how do i boot an RTOS which is also residing in NAND Flash at
> different offset.?
>  
> Can i acheive this without changing the source code of current Uboot. ? 

Yes.  Use "nand read" to copy the image into RAM, then jump to it using
whatever mechanism is appropriate for your image.

-Scott

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

* [U-Boot] Uboot booting RTOS
  2009-04-06 20:26 ` Scott Wood
@ 2009-04-07  6:01   ` rahanesh at tataelxsi.co.in
  2009-04-07  9:40     ` Wolfgang Denk
  2009-04-07 11:17     ` Nishanth Menon
  0 siblings, 2 replies; 6+ messages in thread
From: rahanesh at tataelxsi.co.in @ 2009-04-07  6:01 UTC (permalink / raw)
  To: u-boot

Hi,

For the time being can I load RTOS using any elf loader through serial port.
Does U boot have any elf loader. 

How can I load a RTOS image(elf format) to memory through Serial cable from
uboot terminal?

Thanks
Rahanesh

-----Original Message-----
From: Scott Wood [mailto:scottwood at freescale.com] 
Sent: Tuesday, April 07, 2009 1:56 AM
To: rahanesh at tataelxsi.co.in
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] Uboot booting RTOS

On Mon, Apr 06, 2009 at 03:44:43PM +0530, rahanesh at tataelxsi.co.in wrote:
> When i power on the board(OMAP3530 based from Mistral) uboot prompt 
> comes up. Now how do i boot an RTOS which is also residing in NAND 
> Flash at different offset.?
>  
> Can i acheive this without changing the source code of current Uboot. ? 

Yes.  Use "nand read" to copy the image into RAM, then jump to it using
whatever mechanism is appropriate for your image.

-Scott


The information contained in this electronic message and any attachments to this message are intended for the exclusive 
use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended
 recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy
 all copies of this message and any attachments contained in it.

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

* [U-Boot] Uboot booting RTOS
  2009-04-07  6:01   ` rahanesh at tataelxsi.co.in
@ 2009-04-07  9:40     ` Wolfgang Denk
  2009-04-07 11:17     ` Nishanth Menon
  1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2009-04-07  9:40 UTC (permalink / raw)
  To: u-boot

Dear rahanesh at tataelxsi.co.in,

In message <VSNLCHNFE001xYH7x0J000798c0@VSNLCHNFE001.VSNLXCHANGE.COM> you wrote:
> 
> For the time being can I load RTOS using any elf loader through serial port.
> Does U boot have any elf loader. 
> 
> How can I load a RTOS image(elf format) to memory through Serial cable from
> uboot terminal?

The best approach for you requires two steps. The first step is
reading the Manual.

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
"Go to Heaven for the climate, Hell for the company."    - Mark Twain

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

* [U-Boot] Uboot booting RTOS
  2009-04-07  6:01   ` rahanesh at tataelxsi.co.in
  2009-04-07  9:40     ` Wolfgang Denk
@ 2009-04-07 11:17     ` Nishanth Menon
  2009-04-07 11:50       ` rahanesh at tataelxsi.co.in
  1 sibling, 1 reply; 6+ messages in thread
From: Nishanth Menon @ 2009-04-07 11:17 UTC (permalink / raw)
  To: u-boot

rahanesh at tataelxsi.co.in said the following on 04/07/2009 01:01 AM:
> Hi,
>
> For the time being can I load RTOS using any elf loader through serial port.
> Does U boot have any elf loader. 
>
> How can I load a RTOS image(elf format) to memory through Serial cable from
> uboot terminal?
>   
Could you please try running the command "help" at uboot prompt and read
through what it says? here is one way: you would need a elf to binary
convertion then once you get a binary image use "loadb" command to
download that image to sdram, then use the "go" command to give control
to that image..

Regards,
Nishanth Menon

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

* [U-Boot] Uboot booting RTOS
  2009-04-07 11:17     ` Nishanth Menon
@ 2009-04-07 11:50       ` rahanesh at tataelxsi.co.in
  0 siblings, 0 replies; 6+ messages in thread
From: rahanesh at tataelxsi.co.in @ 2009-04-07 11:50 UTC (permalink / raw)
  To: u-boot


Hi,

I found a srec loader when I ran help command. 
Using objcopy it is possible to convert an elf format to srec file format.
After that srec loading , a Go command should be enough. I will try this and
inform you guyz

Thanks
Rahanesh
 

-----Original Message-----
From: Nishanth Menon [mailto:menon.nishanth at gmail.com] 
Sent: Tuesday, April 07, 2009 4:47 PM
To: rahanesh at tataelxsi.co.in
Cc: 'Scott Wood'; u-boot at lists.denx.de
Subject: Re: [U-Boot] Uboot booting RTOS

rahanesh at tataelxsi.co.in said the following on 04/07/2009 01:01 AM:
> Hi,
>
> For the time being can I load RTOS using any elf loader through serial
port.
> Does U boot have any elf loader. 
>
> How can I load a RTOS image(elf format) to memory through Serial cable 
> from uboot terminal?
>   
Could you please try running the command "help" at uboot prompt and read
through what it says? here is one way: you would need a elf to binary
convertion then once you get a binary image use "loadb" command to download
that image to sdram, then use the "go" command to give control to that
image..

Regards,
Nishanth Menon


The information contained in this electronic message and any attachments to this message are intended for the exclusive 
use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended
 recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy
 all copies of this message and any attachments contained in it.

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

end of thread, other threads:[~2009-04-07 11:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-06 10:14 [U-Boot] Uboot booting RTOS rahanesh at tataelxsi.co.in
2009-04-06 20:26 ` Scott Wood
2009-04-07  6:01   ` rahanesh at tataelxsi.co.in
2009-04-07  9:40     ` Wolfgang Denk
2009-04-07 11:17     ` Nishanth Menon
2009-04-07 11:50       ` rahanesh at tataelxsi.co.in

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.