[U-Boot] [PATCH 0/3] Net Boot Controller

Stefano Babic sbabic at denx.de
Wed Nov 17 11:25:00 CET 2010


On 11/16/2010 07:04 PM, tristan.lelong at blunderer.org wrote:
> From: Tristan Lelong <tristan.lelong at blunderer.org>
> 
> 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,

>  common/main.c         |    5 +
>  doc/README.netconsole |   66 +++++++++++++++
>  include/net.h         |    6 +-
>  net/Makefile          |    2 +
>  net/nbc.c             |  143 ++++++++++++++++++++++++++++++++
>  net/nbc.h             |   39 +++++++++
>  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

-- 
=====================================================================
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
=====================================================================


More information about the U-Boot mailing list