summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-11-08 19:30:38 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-11-11 08:53:43 +0100
commitdf756884a3d9a6c033c961dbad7d13fca691dedb (patch)
treec0365e3bfc1257884c8c6c5974aa5459bbbbfa26
parent7c1091bd5895204b109c5a79996aa9367692a78a (diff)
downloadbarebox-df756884a3d9a6c033c961dbad7d13fca691dedb.tar.gz
scripts/setupmbr: fix documentation
The documentation says setupmbr should be used with the image named 'barebox', but it should instead be done with the 'barebox.bin' image. Attempting to use setupmbr on the ELF barebox image simply fails: $ ./scripts/setupmbr/setupmbr -s 32 -m ./barebox -d disk.img No MBR signature found barebox image seems not valid: Bad MBR signature Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--scripts/setupmbr/setupmbr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/setupmbr/setupmbr.c b/scripts/setupmbr/setupmbr.c
index 918fbe38b7..0060c2e932 100644
--- a/scripts/setupmbr/setupmbr.c
+++ b/scripts/setupmbr/setupmbr.c
@@ -666,10 +666,10 @@ and populating the root filesystem for example) to make it useful.
In the next step, @a barebox gets installed to this boot media:
@verbatim
-[jb@host]~> scripts/setupmbr/setupmbr -s 32 -m ./barebox -d /dev/sda
+[jb@host]~> scripts/setupmbr/setupmbr -s 32 -m ./barebox.bin -d /dev/sda
@endverbatim
-This command writes the @a barebox image file './barebox' onto the device
+This command writes the @a barebox image file './barebox.bin' onto the device
@p /dev/sda.
The @p -s option will keep the persistant storage sectors free and untouched