Skip to content

Net Boot Controller

Stefano Babic u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/3] Net Boot Controller
Quoted 9 lines · tristan.lelong at blunderer.org

From: Tristan Lelong <[email protected]>

This patch allow to interrupt u-boot autoboot from remote PC and auto-reconfigure a netconsole redirected to this remote PC

Tristan Lelong (3):
Add support for Net Boot Controller (NBC) packet Add sendnbc tool to broadcast NBC magic packet Add the NBC + netconsole corresponding documentation

Hi Tristan,

Quoted 6 lines
 common/main.c         |    5 +
 doc/README.netconsole |   66 +++++++++++++++
 include/net.h         |    6 +-
 net/Makefile          |    2 +
 net/nbc.c             |  143 ++++++++++++++++++++++++++++++++
 net/nbc.h             |   39 +++++++++
Quoted 8 lines
 net/net.c             |   17 ++++
 tools/Makefile        |    6 ++
 tools/sendnbc.c       |  219 +++++++++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 502 insertions(+), 1 deletions(-)
 create mode 100644 doc/README.netconsole
 create mode 100644 net/nbc.c
 create mode 100644 net/nbc.h
 create mode 100644 tools/sendnbc.c

Is NBC a standard ? Could you provide a link describing this protocol ?

I am quite confuse, this seems a way to replace DHCP in a simplest form to set up the ip address using some sort of knocking-port. As additional feature, the

Why cannot we reach the same result using the "Vendor Specific Information" (or another option field) of DHCP answer ? You can set there some infos that the target could understand.

It seems to me that the first packet is always sent to the broadcast address. What happens if we have two boards on the network, both waiting in autoboot ? Do they obtain the same ip address ?

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================