[U-Boot] Uboot booting RTOS

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.

On Mon, Apr 06, 2009 at 03:44:43PM +0530, rahanesh@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

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@freescale.com] Sent: Tuesday, April 07, 2009 1:56 AM To: rahanesh@tataelxsi.co.in Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Uboot booting RTOS
On Mon, Apr 06, 2009 at 03:44:43PM +0530, rahanesh@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.

Dear rahanesh@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

rahanesh@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

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@gmail.com] Sent: Tuesday, April 07, 2009 4:47 PM To: rahanesh@tataelxsi.co.in Cc: 'Scott Wood'; u-boot@lists.denx.de Subject: Re: [U-Boot] Uboot booting RTOS
rahanesh@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.
participants (4)
-
Nishanth Menon
-
rahanesh@tataelxsi.co.in
-
Scott Wood
-
Wolfgang Denk