Skip to contentSkip to conversation

adding tcp

U-Boot-Users mastupristi 3 participants 5 messages Nov 3, 2004 – Nov 9, 2004

lore
Share & tools
lore
#0 lore raw

We use u-boot 0.4.0 and we need to add tcp protocol. Is it possible?

thanks

Signature · 1 line
Mastupristi?
#1 lore raw
Quoted 2 lines · In message <[email protected]> you wrote:

We use u-boot 0.4.0 and we need to add tcp protocol. Is it possible?

Yes, and it's trivial. It's a two-step procedure. In the first step you will start standard U-Boot, and in the second step you will boot an operating system (Linux recommended).

In other words: don't. U-Boot is a boot loader, and you don't need nor want a full TCP stack here.

BTW: I strongly recommend to update - version 0.4.0 is _very_ old.

Best regards,

Wolfgang Denk

Signature · 3 lines
See us @ Embedded/Electronica Munich, Nov 09 - 12, Hall A.6 Booth 513
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I used to be indecisive, now I'm not sure.
#2 lore raw
Quoted 6 lines · Wolfgang Denk
Quoted 2 lines

We use u-boot 0.4.0 and we need to add tcp protocol. Is it possible?

Yes, and it's trivial. It's a two-step procedure. In the first step you will start standard U-Boot, and in the second step you will boot an operating system (Linux recommended).

No. We need to embed tcp in u-boot.

Quoted 2 lines

In other words: don't. U-Boot is a boot loader, and you don't need nor want a full TCP stack here.

unfortunately we need to provide some features (involving tcp) before linux was boot.
Is it so difficult to embed tcp in u-boot?

Quoted 1 line

BTW: I strongly recommend to update - version 0.4.0 is _very_ old.

We were asked to use 0.4.0. Obviously I prefer to use a more recent version but unfortunately we can't.

thanks

Signature · 1 line
Mastupristi?
#3 lore raw

Dear Mastupristi?

Quoted 5 lines · in message <[email protected]> you wrote:
Quoted 4 lines

Yes, and it's trivial. It's a two-step procedure. In the first step you will start standard U-Boot, and in the second step you will boot an operating system (Linux recommended).

No. We need to embed tcp in u-boot.

No, you don't. Forget it. A full-blown TCP/IP stack requires much more services than avialable in U-Boot. Please repeat after me:
U-Boot is just a boot loader, it is NOT an operating system.

Quoted 2 lines

unfortunately we need to provide some features (involving tcp) before linux was boot.

Then boot a minimized Linux kernel first. Or, if this is not allowed by your Powers That Be, then boot a NetBSD image for this task ;-)

Quoted 1 line

Is it so difficult to embed tcp in u-boot?

Short answer: yes.

Quoted 3 lines
Quoted 1 line

BTW: I strongly recommend to update - version 0.4.0 is _very_ old.

We were asked to use 0.4.0. Obviously I prefer to use a more recent version but unfortunately we can't.

Then do yourself a favour and reject this job. All your work would be wasted. It makes NO, absolutely NO sense to base current work (especially work that is intended to add major extensions) on old code that has been obsoleted more than a year ago.

Best regards,

Wolfgang Denk

Signature · 5 lines
See us @ Embedded/Electronica Munich, Nov 09 - 12, Hall A.6 Booth 513
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Voodoo Programming: Things programmers do that  they  know  shouldn't
work  but they try anyway, and which sometimes actually work, such as
recompiling everything.                             - Karl Lehenbauer
#4 lore raw
In reply to mastupristi

Instead of TCP, might netconsole be a suitable substitute? U-Boot has it.

Quoted 4 lines · mastupristi

We use u-boot 0.4.0 and we need to add tcp protocol. Is it possible?

thanks