Hi to all,
to enable boot_linux to use a different network card other than the
default (eth0) you should
call it with the option -d ethx like this:
boot_linux -F -d eth1
To see the possible options for boot_linux invoke it with the -h flag
This is the result of the command boot_linux -h
[EMAIL PROTECTED] 2_4LXorig]$ boot_linux -h
AXIS boot_linux, $Revision: 1.16 $ $Date: 2004/11/01 16:32:27 $
Copyright (C) 2001-2002 Axis Communications AB
DESCRIPTION:
This program is used to boot (and flash) a linux image to a box.
It tries to extract the required ETRAX 100 settings from the image file.
SYNTAX:
boot_linux [options]
OPTIONS:
-b <bootfile> : The boot image to use.
-d <device> : The network interface to use, default is eth0.
-f : Save the image in the flash memory starting at
address 0x10000.
-F : Save the image in the flash memory starting at
address 0.
-h : Print this help text.
-i <image> : The path and name of the image to use, default
is fimage.
-o <offset> : The offset in the flash where the flashing
starts.
-O <offset> : The offset in the image file where the flashing
starts from.
-p : Print the resulting etrax100boot command instead
of executing it.
-s <size> : How much to flash (default is the size of the
flash minus the offset specified using -o or
-f).
-S <size> : The size of the flash.
All sizes and offsets above can be specified as decimal numbers, or as
hexadecimal numbers by prefixing them with 0x. It is also possible to use
the suffixes k and M to specify kilo (1024) or mega (1048576).
Best regards,
Roberto Asquini
Edwin van den Oetelaar ha scritto:
>
> blogic79 wrote:
> > if you use a router, the fox and pc are not in the same broadcast
> > doamin, so i can never work, if you have sdk in a vmware, it would
> > also fail sometimes, as the vmnet driver is not fully bridgeable with
> > some other net drivers
> >
> > --- In [email protected] <mailto:foxboard%40yahoogroups.com>,
> Daniel Boone <[EMAIL PROTECTED]> wrote:
> >
> >>It seems te be solved. Running the network flashing from a native linux
> >>system worked.
> >>
> >>I was having the following configuration:
> >>
> >>fox--- router ---PC(linux)
> >> |
> >> ---Wireless--pc(Windows-vmware(phrozen))
> I will not TOP POST so ...
>
> another remark about this :
> I run my development system with two networks and two network cards (2
> class C domains).
> One of these is in the subnet of the fox board, the other my other stuff.
> However if the FIRST card (eth0) is not the fox-board-subnet
> (192.168.0.xxx) then
> flashing will not work.
> In other words the fox board must be connected to FIRST network card.
> It appears that flashing will use the first network card disregarding
> the routing tables and IP numbers.
>
> Just info.
> Greetings,
> Edwin
>
>
--
Roberto Asquini
Acme Systems srl
[EMAIL PROTECTED]
http://www.acmesystems.it