public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Problem with redboot load commande
@ 2006-06-02 12:14 Philippe-Antoine DAVID
  2006-06-02 12:19 ` Gary Thomas
  2006-06-02 15:14 ` David Vrabel
  0 siblings, 2 replies; 5+ messages in thread
From: Philippe-Antoine DAVID @ 2006-06-02 12:14 UTC (permalink / raw)
  To: ecos-discuss

Hello everyone,

I am encountering a strange problem while trying to load a linux kernel 
bzImage with redboot, or any other file.

I always get the following message:

I/O error: No such file

I type as following:

Redboot> load -v -r -m http -b 0x00090000 -h xxx.xxx.xxx.xxx /src/bzImage

My network connection is working, the ping to my host (working with Linux 
CentOS) is fine, the http server is activated.
I tried to change the order of the command parameters, nd also to load a 
file from a local disk; and checked thousand times my path.
I need your help, I must be missing something elementary.

Thanks in advance

Philippe

_________________________________________________________________
Windows Live Mail : découvrez et testez la version bêta ! 
http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] Problem with redboot load commande
  2006-06-02 12:14 [ECOS] Problem with redboot load commande Philippe-Antoine DAVID
@ 2006-06-02 12:19 ` Gary Thomas
  2006-06-02 12:23   ` Gary Thomas
  2006-06-02 12:24   ` Andrew Lunn
  2006-06-02 15:14 ` David Vrabel
  1 sibling, 2 replies; 5+ messages in thread
From: Gary Thomas @ 2006-06-02 12:19 UTC (permalink / raw)
  To: Philippe-Antoine DAVID; +Cc: ecos-discuss

On Fri, 2006-06-02 at 14:12 +0200, Philippe-Antoine DAVID wrote:
> Hello everyone,
> 
> I am encountering a strange problem while trying to load a linux kernel 
> bzImage with redboot, or any other file.
> 
> I always get the following message:
> 
> I/O error: No such file
> 
> I type as following:
> 
> Redboot> load -v -r -m http -b 0x00090000 -h xxx.xxx.xxx.xxx /src/bzImage
> 
> My network connection is working, the ping to my host (working with Linux 
> CentOS) is fine, the http server is activated.
> I tried to change the order of the command parameters, nd also to load a 
> file from a local disk; and checked thousand times my path.
> I need your help, I must be missing something elementary.

This very much depends on your TFTP server.  Most are restricted
to a particular directory [tree] for security reasons, so you aren't
allowed to use a whole path name.  For example, on Red Hat (Fedora)
systems, TFTP can only serve from the /tftpboot directory and that
is implied in the path name, so the RedBoot command:
  RedBoot> lo dir/file.test
would come from /tftpboot/dir/file.test

You'll need to check the documentation on your TFTP server setup
for the exact details.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] Problem with redboot load commande
  2006-06-02 12:19 ` Gary Thomas
@ 2006-06-02 12:23   ` Gary Thomas
  2006-06-02 12:24   ` Andrew Lunn
  1 sibling, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2006-06-02 12:23 UTC (permalink / raw)
  To: Philippe-Antoine DAVID; +Cc: ecos-discuss

On Fri, 2006-06-02 at 06:19 -0600, Gary Thomas wrote:
> On Fri, 2006-06-02 at 14:12 +0200, Philippe-Antoine DAVID wrote:
> > Hello everyone,
> > 
> > I am encountering a strange problem while trying to load a linux kernel 
> > bzImage with redboot, or any other file.
> > 
> > I always get the following message:
> > 
> > I/O error: No such file
> > 
> > I type as following:
> > 
> > Redboot> load -v -r -m http -b 0x00090000 -h xxx.xxx.xxx.xxx /src/bzImage
> > 
> > My network connection is working, the ping to my host (working with Linux 
> > CentOS) is fine, the http server is activated.
> > I tried to change the order of the command parameters, nd also to load a 
> > file from a local disk; and checked thousand times my path.
> > I need your help, I must be missing something elementary.
> 
> This very much depends on your TFTP server.  Most are restricted
> to a particular directory [tree] for security reasons, so you aren't
> allowed to use a whole path name.  For example, on Red Hat (Fedora)
> systems, TFTP can only serve from the /tftpboot directory and that
> is implied in the path name, so the RedBoot command:
>   RedBoot> lo dir/file.test
> would come from /tftpboot/dir/file.test
> 
> You'll need to check the documentation on your TFTP server setup
> for the exact details.

Sorry, I should read more carefully before I babble on.

Since you are using HTTP, the details will be different, but probably
still relevant as the path name will be what the HTTP server exports,
not a generic file path.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] Problem with redboot load commande
  2006-06-02 12:19 ` Gary Thomas
  2006-06-02 12:23   ` Gary Thomas
@ 2006-06-02 12:24   ` Andrew Lunn
  1 sibling, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2006-06-02 12:24 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Philippe-Antoine DAVID, ecos-discuss

On Fri, Jun 02, 2006 at 06:19:19AM -0600, Gary Thomas wrote:
> On Fri, 2006-06-02 at 14:12 +0200, Philippe-Antoine DAVID wrote:
> > Hello everyone,
> > 
> > I am encountering a strange problem while trying to load a linux kernel 
> > bzImage with redboot, or any other file.
> > 
> > I always get the following message:
> > 
> > I/O error: No such file
> > 
> > I type as following:
> > 
> > Redboot> load -v -r -m http -b 0x00090000 -h xxx.xxx.xxx.xxx /src/bzImage
> > 
> > My network connection is working, the ping to my host (working with Linux 
> > CentOS) is fine, the http server is activated.
> > I tried to change the order of the command parameters, nd also to load a 
> > file from a local disk; and checked thousand times my path.
> > I need your help, I must be missing something elementary.
> 
> This very much depends on your TFTP server.  Most are restricted
> to a particular directory [tree] for security reasons, so you aren't
> allowed to use a whole path name.  For example, on Red Hat (Fedora)
> systems, TFTP can only serve from the /tftpboot directory and that
> is implied in the path name, so the RedBoot command:
>   RedBoot> lo dir/file.test
> would come from /tftpboot/dir/file.test
> 
> You'll need to check the documentation on your TFTP server setup
> for the exact details.

Hi Gary

-m http

So there is no tftp server involved.

Philippe. Look at the logs of your web server. Is there any error?
Any such error might give you a clue as to what is wrong with the
path.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] Problem with redboot load commande
  2006-06-02 12:14 [ECOS] Problem with redboot load commande Philippe-Antoine DAVID
  2006-06-02 12:19 ` Gary Thomas
@ 2006-06-02 15:14 ` David Vrabel
  1 sibling, 0 replies; 5+ messages in thread
From: David Vrabel @ 2006-06-02 15:14 UTC (permalink / raw)
  To: Philippe-Antoine DAVID; +Cc: ecos-discuss

Philippe-Antoine DAVID wrote:
> Hello everyone,
> 
> I am encountering a strange problem while trying to load a linux kernel
> bzImage with redboot, or any other file.
> 
> I always get the following message:
> 
> I/O error: No such file
> 
> I type as following:
> 
> Redboot> load -v -r -m http -b 0x00090000 -h xxx.xxx.xxx.xxx /src/bzImage

Does http://xxx.xxx.xxx.xxx/src/bzImage work in a regular webbrowser?
If not, then the problem is with your path and/or webserver set up.

David Vrabel
-- 
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web: http://www.arcom.com/

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2006-06-02 15:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-02 12:14 [ECOS] Problem with redboot load commande Philippe-Antoine DAVID
2006-06-02 12:19 ` Gary Thomas
2006-06-02 12:23   ` Gary Thomas
2006-06-02 12:24   ` Andrew Lunn
2006-06-02 15:14 ` David Vrabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).