Add mynewt option for generating new format images
Signed-off-by: Fabio Utzig <utzig@apache.org>
diff --git a/README-mynewt.rst b/README-mynewt.rst
index f042037..6340c05 100644
--- a/README-mynewt.rst
+++ b/README-mynewt.rst
@@ -31,3 +31,9 @@
To configure **mcuboot** check all the options available in
``boot/mynewt/mcuboot_config/syscfg.yml``.
+
+Also, **mcuboot** uses a different image header struct as well as slightly
+different TLV structure, so images created by **newt** have to be generated
+in this new format. That is done by passing the extra parameter **-2** as in:
+
+``newt create-image <target> <version> <pubkey> -2``