public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] U-Boot to load VxWorks
@ 2008-11-17 12:34 raul.moreno at telvent.com
  0 siblings, 0 replies; 2+ messages in thread
From: raul.moreno at telvent.com @ 2008-11-17 12:34 UTC (permalink / raw)
  To: u-boot


Hello people,

I am used to using U-boot in order to boot Linux, but now I also need to
boot VxWorks.

Till now I copied the Linux kernel in Flash and when I wanted to update it,
I had two options: doing it from U-Boot (tftp the image and using the cp
command) or from Linux (using the dd command or flashcp). The kernel is
always in the same flash location, a determined address. So I have to
reserve enough memory in case the updating is bigger.

With VxWorks, I works as follows: the bootloader mounts a filesystem in
flash where I can transfer through ftp the operating system, VxWorks. I
mean, I can see the operating system as a file. In Linux I don't have it,
but the operating system image is saved in flash from an address. I am not
sure if people who use VxWorks works like me or there are other options to
boot. The good with my option is that you can update the operating system
just changing the file with ftp.

The thing is I would like to use the same U-Boot to boot both systems:
Linux and VxWorks. So I should have to have a similar way to boot.  The
only difference will be the boot command: bootvx for VxWorks and bootm for
Linux.

Could you explain me what the common way to use U-Boot with VxWorks is?

I doubt a lot what is the best option:
- Tring  to mount a filesystem with U-Boot that VxWorks also understands.
- Making like with Linux. I mean, copying the VxWorks from an determined
address. Then the VxWorks won't be seen as a file.
- Others not thought yet....

Is there documentation about VxWorks with U-Boot?

I would thank you your help!

Best regards,

Ra?l Moreno

***********Internet Email Confidentiality Footer*************
This email and any files transmitted with it are confidential and intended
solely for the use of the organization or individual to whom they are
addressed.  It is expressly forbidden to retransmit or copy email and/or
this  attached files without our permission .  If you are not the
addressee indicated in this message (or responsible for delivery of the
message to such person), you may not copy or deliver this message
to anyone. In such case, you should destroy this message and kindly
notify the sender by reply email. Please advise immediately if you or
your employer does not consent to Internet email for messages of this
kind.  Opinions, conclusions and other information in this message that
do not relate to the official business of my firm shall be understood as
neither given nor endorsed by it.

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

* [U-Boot] U-Boot to load VxWorks
       [not found] <20081117210415.RQKY26768.viefep23-int.chello.at@ng.localnet>
@ 2008-11-18 12:09 ` raul.moreno at telvent.com
  0 siblings, 0 replies; 2+ messages in thread
From: raul.moreno at telvent.com @ 2008-11-18 12:09 UTC (permalink / raw)
  To: u-boot


Thank you for your answer, Niklaus!

I have been looking at your mention files and boards.
I will also use TFTP to download the VxWorks image and then the bootvx
command like you do. However, just the first time. Later, the VxWorks must
be saved in flash and after reseting , the board must boot automatically.
Just in case we want to update VxWorks, we will use the TFTP again.

My VxWorks image is just an elf binary format image. Could I boot this
image with bootvx directly or do I have to use mkimage to convert this
image to a understandable image for U-Boot? I mean, what kind of VxWorks
image must I have?
I am also not sure what parameters I have to add in the bootargs
environment variable.

Regards,

Ra?l Moreno



Niklaus Giger <niklaus.giger@member.fsf.org>
Niklaus Giger
17/11/2008 22:04
                                                                                                                       
 Para:   raul.moreno at telvent.com                                                                                       
                                                                                                                       
 cc:                                                                                                                   
                                                                                                                       
 Asunto: Re: U-Boot to load VxWorks                                                                                    
                                                                                                                       





Ola Ra??l

Look at the include/configs/hcu4.h and include/configs/netstal-common.h how
I handle booting vxWorks from a TFTP server.

I use a TFTP-server wherefrom I download the vxWorks image. As far as I
know vxWorks and u-boot don't have any common flash file system.

Also U-boot only supports downloading via TFTP (UDP) and not via FTP
(TCP/IP based).

Saludos

Niklaus

raul.moreno at telvent.com wrote:
>
> Hello people,
>
> I am used to using U-boot in order to boot Linux, but now I also need to
> boot VxWorks.
>
> Till now I copied the Linux kernel in Flash and when I wanted to update
> it, I had two options: doing it from U-Boot (tftp the image and using the
> cp command) or from Linux (using the dd command or flashcp). The kernel
is
> always in the same flash location, a determined address. So I have to
> reserve enough memory in case the updating is bigger.
>
> With VxWorks, I works as follows: the bootloader mounts a filesystem in
> flash where I can transfer through ftp the operating system, VxWorks. I
> mean, I can see the operating system as a file. In Linux I don't have it,
> but the operating system image is saved in flash from an address. I am
not
> sure if people who use VxWorks works like me or there are other options
to
> boot. The good with my option is that you can update the operating system
> just changing the file with ftp.
>
> The thing is I would like to use the same U-Boot to boot both systems:
> Linux and VxWorks. So I should have to have a similar way to boot.  The
> only difference will be the boot command: bootvx for VxWorks and bootm
for
> Linux.
>
> Could you explain me what the common way to use U-Boot with VxWorks is?
>
> I doubt a lot what is the best option:
> - Tring  to mount a filesystem with U-Boot that VxWorks also understands.
> - Making like with Linux. I mean, copying the VxWorks from an determined
> address. Then the VxWorks won't be seen as a file.
> - Others not thought yet....
>
> Is there documentation about VxWorks with U-Boot?
>
> I would thank you your help!
>
> Best regards,
>
> Ra??l Moreno

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

end of thread, other threads:[~2008-11-18 12:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-17 12:34 [U-Boot] U-Boot to load VxWorks raul.moreno at telvent.com
     [not found] <20081117210415.RQKY26768.viefep23-int.chello.at@ng.localnet>
2008-11-18 12:09 ` raul.moreno at telvent.com

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