[U-Boot] Antwort: Re: NetConsole & TFTP

Thomas Pohl Thomas.Pohl at sick.de
Mon Mar 26 12:24:39 CEST 2012


Dear Wolfgang,

>Hm... you are not running mainline code, right?  Because we always
>have a single network interface active at any time.

I am using mainline code (u-boot v2011.12) with 
P2020RDB-PC_SPIFLASH_config. Unfortunately it does not work as I thought, 
but fortunately we may have a solution (patch) to solve the problem.

Best regards,

Thomas Pohl




Von:    Wolfgang Denk <wd at denx.de>
An:     Thomas Pohl <Thomas.Pohl at sick.de>
Kopie:  u-boot at lists.denx.de
Datum:  23.03.2012 20:47
Betreff:        Re: [U-Boot] NetConsole & TFTP
Gesendet von:   u-boot-bounces at lists.denx.de



Dear Thomas,

In message 
<OF0B4B1E6C.B54B0C2D-ONC12579CA.0038E059-C12579CA.0038F311 at sick.de> you 
wrote:
>
> Is it possible to use NetConsole and TFTP parallel at one Ethernet 
> interface? My fist thoughts were that this could be possible, because 
TFTP

Yes, this is supposed to work.  We've even seen running TFTP and
Netconsole over Ethernet over USB...

> and NetConsole use different ports. But out of the box the behavior is 
> different. In my tests TFTP tries to use another Ethernet interface 
> (eTSEC1) as the NetConsole (eTSEC0), but the final Hardware has only one 


Hm... you are not running mainline code, right?  Because we always
have a single network interface active at any time.

> Therefore I need a possibility to communicate with a target (via 
> NetConsole) and transfer the flash images (via TFTP). Has anybody 
> experiences with this? Is this possible with U-Boot? Maybe I am doing 
> something wrong?

I recommend you undo any modifications made to the network stack,
and/or try plain mainline code instead.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Premature optimization is the root of all evil.         -- D.E. Knuth
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

 
 
SICK AG - Sitz: Waldkirch i. Br. - Handelsregister: Freiburg i. Br. HRB 
280355 
Vorstand: Dr. Robert Bauer (Vorsitzender)  -  Reinhard Bösl  -  Markus 
Paschmann  -  Markus Vatter 
Aufsichtsrat: Gisela Sick (Ehrenvorsitzende) - Klaus M. Bukenberger 
(Vorsitzender) 


More information about the U-Boot mailing list