This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: defining MAC in fconfig of redboot


If it doesn't work, you will have to program it yourself.
You have to use the define CYGPKG_DEVS_ETH_ARM_AT91_REDBOOT_HOLDS_ESA in the network driver of your board to call redboot fconfig defines to enable the MAC address (=ESA).
If you use an Atmel AT91 processor with EMAC inside, then this is the driver:
ecos/packages/devs/eth/arm/at91/current/src/if_at91.c
There you find an example.

Success,
Jürgen

> -----Original Message-----
> From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-
> owner@ecos.sourceware.org] On Behalf Of Bob Brusa
> Sent: dinsdag 26 oktober 2010 17:18
> To: ecos-discuss
> Subject: [ECOS]defining MAC in fconfig of redboot
> 
> Hi
> I have built a redboot that includes net support. In the comments
> written
> into the ecc-file, I find hints that it is possible to define the
> ESA/MAC
> of the board as part of the fconf environment. I then enabled the cor.
> parameter CYGPKG_DEVS_ETH_ARM_AT91_REDBOOT_HOLDS_ESA, but when running
> this redboot and typing help, it gives no hint how such a mac-defining
> command should look like. Nevertheless it "finds" a mac, although not
> the
> one which is specified as default in CYGPKG_DEVS_ETH_ARM_AT91_MACADDR.
> 
> I have the redboot users guide dated 2009, but it seems to be outdated
> when I compare it with my redboot and it does not mention anything
> about
> setting mac in its description of the configuration commands. Does
> somebody know more about this issue?
> Regards bob.
> 
> --
> Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]