summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2019-08-09 10:49:33 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-09-05 15:01:34 +0000
commita1371bd94cf45d9e9adbd4886dd7a081b9c780e8 (patch)
treec596825fae52fd01ebe59196773e25bffe8c6e7d
parent0a42047aaa817abfa2a0a8de2d59c0f07c51b4d1 (diff)
Update AGL netboot documentation
- AGL support now nbd v3 protocol for net booting. Change-Id: If7b9cd261115de5aa9133ccf926647edf483b08a Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
-rw-r--r--meta-netboot/README11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta-netboot/README b/meta-netboot/README
index b571186ba..dc545b2f4 100644
--- a/meta-netboot/README
+++ b/meta-netboot/README
@@ -8,11 +8,20 @@ Content and usage
This layer creates a new supplementary initrd image which can be downloaded through TFTP with the kernel.
At boot time, the init script will try to mount the rootfs based on the following kernel command line parameters:
+
* nbd.server: IP address to reach the NBD server
-* nbd.port: TCP port on which server is listening (default: 10809)
* nbd.dev: nbd device to use (default: /dev/nbd0)
* nbd.debug: activate debug mode (init script is then interruptible)
+For nbd v2:
+
+* nbd.port: TCP port on which server is listening (default: 10809)
+
+For nbd v3:
+
+* nbd.namev3: The name of the image served by nbd-server.
+
+
The layer meta-netboot contains recipes for the following components:
* busybox: activate the built-in NBD client
* initramfs-netboot: contains the init script started by the kernel: basically, this script mounts the real root filesystem, then pivot_root on it and finally exec systemd.