Skip to contentSkip to conversation

Add man pages

PATCH Superseded Allen Martin 2 participants 4 messages Oct 7, 2015 – Oct 8, 2015 3 messages not in the archive Tegra architecture support

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add man pages

Add man pages for cbootimge(1) and bct_dump(1)

---
 src/Makefile.am     | 17 +++++++++++
 src/bct_dump.1.in   | 56 ++++++++++++++++++++++++++++++++++
 src/cbootimage.1.in | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 160 insertions(+)
 create mode 100644 src/bct_dump.1.in
 create mode 100644 src/cbootimage.1.in
src/Makefile.am +17 -0
index 64c4ea52b8e2..285f9dbd629c 100644
@@ -84,3 +84,20 @@ bct_dump_SOURCES = \
 	t132/nvboot_sdram_param_t132.h \
 	t210/nvboot_bct_t210.h \
 	t210/nvboot_sdram_param_t210.h
+
+man_MANS = cbootimage.1 bct_dump.1
+
+EXTRA_DIST = cbootimage.1.in bct_dump.1.in
+DISTCLEANFILES = cbootimage.1 cbootimage.man bct_dump.1 bct_dump.man
+
+cbootimage.1: $(srcdir)/cbootimage.1.in
+	sed 's|VERSION|$(VERSION)|g' $< >$@
+
+cbootimage.man: $(srcdir)/cbootimage.1
+	nroff -man $< >$@
+
+bct_dump.1: $(srcdir)/bct_dump.1.in
+	sed 's|VERSION|$(VERSION)|g' $< >$@
+
+bct_dump.man: $(srcdir)/bct_dump.1
+	nroff -man $< >$@
src/bct_dump.1.in new file +56 -0

56 lines not on this page · raw message

src/cbootimage.1.in new file +87 -0

87 lines not on this page · raw message

Signature · 1 line
1.9.1
#2 lore raw
In reply to a message not in the archive
Quoted 1 line · Allen Martin

Add man pages for cbootimge(1) and bct_dump(1)

A few minor nits below. If the fixes I suggest look good, I can fix them up when applying this.

src/bct_dump.1.in line 53

Quoted 4 lines
src/bct_dump.1.in +2 -0
 
+.SH SEE ALSO
+.BR tegrarcm (1), cbootimage(1)

Remove the space before the first (1)?

Quoted 1 line

+To disassmble the BCT file for a Tegra124 Jetson-TK1:

disassemble

Quoted 2 lines

+.SH AUTHOR
+Anton Staaf <[email protected]>

I don't recall; is the man page author tag supposed to reflect the author of the tool or the author of the man page?

src/cbootimage.1.in line 53

Quoted 4 lines
src/cbootimage.1.in +2 -0
 
+.B \-o\fIodm_data\fP
+Specify the odm_data(in hex).

odm_data value (in hex). ?

src/cbootimage.1.in line 87

Quoted 5 lines

+.SH SEE ALSO
+.BR tegrarcm (1), bct_dump(1)

src/cbootimage.1.in +3 -0
+
+.SH AUTHOR
+Peer Chen <[email protected]>

Same questions here as above.

#4 lore raw
In reply to a message not in the archive
Quoted 8 lines · Stephen Warren
Quoted 3 lines · Allen Martin

Add man pages for cbootimge(1) and bct_dump(1)
+.SH AUTHOR
+Anton Staaf <[email protected]>

I don't recall; is the man page author tag supposed to reflect the author of the tool or the author of the man page?

Good question, from "man 7 man-pages":

AUTHORS lists authors of the documentation or program.
Use of an AUTHORS section is strongly discouraged...

Sounds like I should just remove it

#6 lore raw
In reply to a message not in the archive
Quoted 10 lines · Allen Martin
Quoted 8 lines · Stephen Warren
Quoted 3 lines · Allen Martin

Add man pages for cbootimge(1) and bct_dump(1)
+.SH AUTHOR
+Anton Staaf <[email protected]>

I don't recall; is the man page author tag supposed to reflect the author of the tool or the author of the man page?

Quoted 6 lines

Good question, from "man 7 man-pages":

AUTHORS lists authors of the documentation or program.
Use of an AUTHORS section is strongly discouraged...

Sounds like I should just remove it

OK, that sounds fine to me. Since you said "I", are you sending a V2?