[U-Boot] Establishing connection via Ethernet

Hi all, Is it feasible to send u-boot commands via Ethernet instead of UART? I know that there is no such support right now. But can it be added? Moreover how am I supposed to transmit UDP or TCP packets from u-boot?
-- -PIYUSH

Hi Piyush,
Piyush Shah wrote:
Hi all, Is it feasible to send u-boot commands via Ethernet instead of UART? I know that there is no such support right now. But can it be added? Moreover how am I supposed to transmit UDP or TCP packets from u-boot?
Look into netconsole for control over Ethernet. I haven't used it personally, but it's supported in U-boot.
What kind of UDP or TCP packets do you want to send? Many of the common UDP-based protocols have some support (NFS, TFTP and some others), but keep in mind that U-boot is not a multitasking environment and so there is no concept of 'servers'. Apart from netconsole, all network communications must start from the target.
regards, Ben

Hi Ben
On Thu, Jan 29, 2009 at 2:03 PM, Ben Warren biggerbadderben@gmail.com wrote:
Hi Piyush,
Piyush Shah wrote:
Hi all, Is it feasible to send u-boot commands via Ethernet instead of UART? I know that there is no such support right now. But can it be added? Moreover how am I supposed to transmit UDP or TCP packets from u-boot?
Look into netconsole for control over Ethernet. I haven't used it personally, but it's supported in U-boot.
This is what I wanted Thanks a lot
What kind of UDP or TCP packets do you want to send? Many of the common UDP-based protocols have some support (NFS, TFTP and some others), but keep in mind that U-boot is not a multitasking environment and so there is no concept of 'servers'. Apart from netconsole, all network communications must start from the target.
regards, Ben

Dear Piyush Shah,
In message ad27f3010901290022l2957affex8256b7f34b1190e6@mail.gmail.com you wrote:
Is it feasible to send u-boot commands via Ethernet instead of UART?
yes it it.
I know that there is no such support right now. But can it be added?
You are wrong. The support is right there, and has been there for a long, long time.
Moreover how am I supposed to transmit UDP or TCP packets from u-boot?
UDP only. There is no TCP capable stack in U-Boot.
Best regards,
Wolfgang Denk
participants (3)
-
Ben Warren
-
Piyush Shah
-
Wolfgang Denk