netboot: Introduce support for nbd protocol v3

Description

The plan is to add a new cmdline argument ''nbd.v3' that could be parsed by the initrd script used for netboot.

  • if nbd.v3=1 , then script will try to use newstyle nbd protocol. It will request an image named "default-image", or another one if specified by argument "nbd.image=....."

  • otherwise, we fall back to the legacy client (implemented with busybox, no image name required) - this is the current required mode for CI.

Amongst other features, the new nbd protocol will allow to serve different images to multiple boards with only one nbd server.

Environment

None

relates to

Activity

Walt Miner 
July 9, 2019 at 5:03 PM

Close for HH RC2 and GG 7.0.3

ronan Le Martret 
June 25, 2019 at 9:33 PM

Stephane Desneux 
June 25, 2019 at 3:32 PM

: I'd say yes. , can you push a cherry-pick on guppy to see what happens ? Build should be ok on CI. Runtime would then be needed to confirm that eveything works.

Walt Miner 
June 25, 2019 at 3:12 PM

Should this be cherry picked to guppy as well?

Stephane Desneux 
May 7, 2018 at 10:23 AM

nbd-client is only in version 3.11 in openembedded (released in 2015). Maybe an upgrade to 3.17 may be necessary.

Fixed

Details

Assignee

Reporter

Labels

Contract ID

Components

Affects versions

Priority

Created May 7, 2018 at 10:18 AM
Updated September 19, 2019 at 12:06 PM
Resolved June 25, 2019 at 1:41 PM

Flag notifications