* [U-Boot] NetConsole & TFTP
@ 2012-03-23 10:22 Thomas Pohl
2012-03-23 19:46 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Pohl @ 2012-03-23 10:22 UTC (permalink / raw)
To: u-boot
Hi all,
I am trying to use the NetConsole to configure the U-Boot and to send
command to it. Everything works fine, but I also need to transfer files
via TFTP. It looks like that is a problem and I hope the members of this
mailing list can give me some answers and maybe solutions.
Is it possible to use NetConsole and TFTP parallel at one Ethernet
interface? My fist thoughts were that this could be possible, because TFTP
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
Ethernet and no serial interface.
By the way, I tried the functionality with a second Ethernet interface and
it also does not work. I see only less character at the NetConsole and it
seems that the communication is going wrong and after a short time the
communication is dead.
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?
Thank you for helping.
Regards,
Thomas
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)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] NetConsole & TFTP
2012-03-23 10:22 [U-Boot] NetConsole & TFTP Thomas Pohl
@ 2012-03-23 19:46 ` Wolfgang Denk
2012-03-26 10:24 ` [U-Boot] Antwort: " Thomas Pohl
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2012-03-23 19:46 UTC (permalink / raw)
To: u-boot
Dear Thomas,
In message <OF0B4B1E6C.B54B0C2D-ONC12579CA.0038E059-C12579CA.0038F311@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Antwort: Re: NetConsole & TFTP
2012-03-23 19:46 ` Wolfgang Denk
@ 2012-03-26 10:24 ` Thomas Pohl
2012-07-23 22:30 ` Joe Hershberger
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Pohl @ 2012-03-26 10:24 UTC (permalink / raw)
To: u-boot
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@denx.de>
An: Thomas Pohl <Thomas.Pohl@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@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)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Antwort: Re: NetConsole & TFTP
2012-03-26 10:24 ` [U-Boot] Antwort: " Thomas Pohl
@ 2012-07-23 22:30 ` Joe Hershberger
0 siblings, 0 replies; 4+ messages in thread
From: Joe Hershberger @ 2012-07-23 22:30 UTC (permalink / raw)
To: u-boot
Hi Thomas,
On Mon, Mar 26, 2012 at 5:24 AM, Thomas Pohl <Thomas.Pohl@sick.de> wrote:
> 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.
Please share your results with us. What was the problem and how did you fix it?
Thanks,
-Joe
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-07-23 22:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-23 10:22 [U-Boot] NetConsole & TFTP Thomas Pohl
2012-03-23 19:46 ` Wolfgang Denk
2012-03-26 10:24 ` [U-Boot] Antwort: " Thomas Pohl
2012-07-23 22:30 ` Joe Hershberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox