Initializing networking

Thomas Doerfler Thomas.Doerfler at embedded-brains.de
Mon Nov 2 20:21:31 UTC 2009


Hi David,

the problem on the MPC8313ERDB is, that tsec1 is routed on the
integrated switch and when we ported RTEMS to that board we were not
sure how to properly initialize it, so we chose tse2 as the "first"
interface. The same driver supports both TSECs of a mpc8349
simultaneously, so I am sure this can also be done on a MPC8313.

The only thing to be done to switch the interface is to really change
the name. The digits at the end of the name spcify the physical
interface used, so if you specify "tsec1" then the interface you are
looking for should be used.

Once again, I am not sure what additional things might be required to
use the ethernet switch that is integrated on the MPC8313ERDB board, so
maybe this unit is the reason why you did not get tsec1 to work?


wkr,

Thomas.



David Dudley wrote:
> I’m attempting to setup networking on a FreeScale mpc8313erdb, and I
> need to set it up so I can netboot and run off of tsec1 on the board.
> 
> No matter what I do, it seems that RTEMS is insisting that I use tsec2
> as the *only* network interface on the card.  Even going into the bsp.h
> file and reversing NAME and NAME2 doesn’t fix it, although I can edit
> the names, and the changes to the name text appears.
> 
> Questions:
> 
>    1. Is tsec1 supported?  If so, how do I set it up?
>    2. Does RTEMS even support multiple network interfaces?
>    3. I build a rtems_bsdnet_config structure properly, with tsec1,
>       tsec2 and lo0, but when entering into the bootpc_init routine, it
>       insists that tsec1 doesn’t exist, and only tsec2 and lo0 show up
>       on the ifnet-> list.  How/where do I initialize the ifnet-> to
>       point to my structure?
>    4. Is it supported to have a single network interface boot using
>       bootp, and another containing a static IP address?
> 
> 
> David Dudley
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users


-- 

--------------------------------------------
embedded brains GmbH
Thomas Doerfler        Obere Lagerstrasse 30
D-82178 Puchheim       Germany
email: Thomas.Doerfler at embedded-brains.de
Phone: +49-89-18908079-2
Fax:   +49-89-18908079-9
PGP:   Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list