mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* barebox + picotcp-1.7.0
@ 2024-03-03 18:58 Antony Pavlov
  2024-03-04 14:47 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Antony Pavlov @ 2024-03-03 18:58 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum, Dan Shelton, Sascha Hauer

Hi all!

In the message [1] Sascha proposed to have the barebox network stack
and picotcp in parallel.

This approach is used in the branch 20240303.picotcp-1.7.0 from
https://github.com/frantony/barebox/ repo [2]:

* all incoming packets go through the barebox network stack and only if
  they are not processed by it, they are forwarded to the picotcp network
  stack (all incoming ARP packets always go to the picotcp network stack).

* risc-v virtual qemu machine with user networking (slirp network stack)
  is used for demonstration; one needs only qemu risc-v emulator
  for demonstration;

* these barebox commands are introduced for picotcp stack capabilities
  demonstration:

  * dhclient --- setup picotcp network interface using the DHCP protocol;
  * ifconfig --- print/setup picotcp network interface information;
  * route --- print picotcp routing table;
  * picoping --- send ICMP ECHO_REQUEST to network hosts, receive replies;
  * picohost --- perform DNS lookup (google DNS server is used);
  * app_wget --- download file using the HTTP protocol.

* tcpdump code is incorporated into barebox for network stack debugging.
  tcpdump supports parsing most of the protocols supported by barebox
  (DHCP, ARP, ICMP, DNS, TFTP and TCP).

Please comment!

  [1] http://lists.infradead.org/pipermail/barebox/2024-February/045937.html
  [2] https://github.com/frantony/barebox/tree/20240303.picotcp-1.7.0

-- 
Best regards,
  Antony Pavlov



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-10 20:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-03 18:58 barebox + picotcp-1.7.0 Antony Pavlov
2024-03-04 14:47 ` Sascha Hauer
2024-03-10 20:19   ` Antony Pavlov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox