This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Problem with redboot load commande
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