Skip to contentSkip to conversation

doc: "os" is also mandatory for "ramdisk" FIT image components

PATCH New Guilherme Maciel Ferreira 2 participants 4 messages Jan 15, 2015 – Feb 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 doc: "os" is also mandatory for "ramdisk" FIT image components

According to fit_image_print(), the "os" property from "image" node is required also when "type=ramdisk".

---
 doc/uImage.FIT/source_file_format.txt |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
doc/uImage.FIT/source_file_format.txt +4 -4
index b47ce73..e62b679 100644
@@ -166,10 +166,10 @@ the '/images' node should have the following layout:
     should be set to "none".
 
   Conditionally mandatory property:
-  - os : OS name, mandatory for type="kernel", valid OS names are: "openbsd",
-    "netbsd", "freebsd", "4_4bsd", "linux", "svr4", "esix", "solaris", "irix",
-    "sco", "dell", "ncr", "lynxos", "vxworks", "psos", "qnx", "u_boot",
-    "rtems", "unity", "integrity".
+  - os : OS name, mandatory for types "kernel" and "ramdisk". Valid OS names
+    are: "openbsd", "netbsd", "freebsd", "4_4bsd", "linux", "svr4", "esix",
+    "solaris", "irix", "sco", "dell", "ncr", "lynxos", "vxworks", "psos", "qnx",
+    "u_boot", "rtems", "unity", "integrity".
   - arch : Architecture name, mandatory for types: "standalone", "kernel",
     "firmware", "ramdisk" and "fdt". Valid architecture names are: "alpha",
     "arm", "i386", "ia64", "mips", "mips64", "ppc", "s390", "sh", "sparc",
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/2 doc: fix misspellings

---
 doc/uImage.FIT/source_file_format.txt |    2 +-
 doc/uImage.FIT/verified-boot.txt      |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
doc/uImage.FIT/source_file_format.txt +1 -1
index e62b679..427ea49 100644
@@ -159,7 +159,7 @@ the '/images' node should have the following layout:
   - description : Textual description of the component sub-image
   - type : Name of component sub-image type, supported types are:
     "standalone", "kernel", "ramdisk", "firmware", "script", "filesystem",
-    "flat_dt" and others (see uimage_type in common/images.c).
+    "flat_dt" and others (see uimage_type in common/image.c).
   - data : Path to the external file which contains this node's binary data.
   - compression : Compression used by included data. Supported compressions
     are "gzip" and "bzip2". If no compression is used compression property
doc/uImage.FIT/verified-boot.txt +2 -2
index 3c83fbc..e639e7a 100644
@@ -64,7 +64,7 @@ software from updatable memory.
 
 It is critical that the public key be secure and cannot be tampered with.
 It can be stored in read-only memory, or perhaps protected by other on-chip
-crypto provided by some modern SOCs. If the public key can ben changed, then
+crypto provided by some modern SOCs. If the public key can be changed, then
 the verification is worthless.
 
 
@@ -87,7 +87,7 @@ affect the whole change.
 
 Flattened Image Tree (FIT)
 --------------------------
-The FIT format is alreay widely used in U-Boot. It is a flattened device
+The FIT format is already widely used in U-Boot. It is a flattened device
 tree (FDT) in a particular format, with images contained within. FITs
 include hashes to verify images, so it is relatively straightforward to
 add signatures as well.
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 2/2 doc: fix misspellings

Quoted 1 line · Guilherme Maciel Ferreira

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150202/91d307b8/attachment.sig>
#3 lore raw

PATCH 1/2 doc: "os" is also mandatory for "ramdisk" FIT image components

In reply to Guilherme Maciel Ferreira
Quoted 4 lines · Guilherme Maciel Ferreira

According to fit_image_print(), the "os" property from "image" node is required also when "type=ramdisk".

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150202/5807cbcc/attachment.sig>