From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 17 Nov 2010 11:25:00 +0100 Subject: [U-Boot] [PATCH 0/3] Net Boot Controller In-Reply-To: References: Message-ID: <4CE3AD7C.6040406@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/16/2010 07:04 PM, tristan.lelong at blunderer.org wrote: > From: Tristan Lelong > > 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 =====================================================================