Patchwork Add serprog to man page

login
register
about
Submitter Carl-Daniel Hailfinger
Date 2009-08-18 16:51:41
Message ID <4A8ADC1D.4060101@gmx.net>
Download mbox | patch
Permalink /patch/137/
State Accepted
Commit r689
Headers show

Comments

Carl-Daniel Hailfinger - 2009-08-18 16:51:41
Add serprog documentation to the manpage.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Uwe Hermann - 2009-08-18 23:44:36
On Tue, Aug 18, 2009 at 06:51:41PM +0200, Carl-Daniel Hailfinger wrote:
> Add serprog documentation to the manpage.
> 
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>

Acked-by: Uwe Hermann <uwe@hermann-uwe.de>


Uwe.
Carl-Daniel Hailfinger - 2009-08-18 23:51:49
On 19.08.2009 01:44, Uwe Hermann wrote:
> On Tue, Aug 18, 2009 at 06:51:41PM +0200, Carl-Daniel Hailfinger wrote:
>   
>> Add serprog documentation to the manpage.
>>
>> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
>>     
>
> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
>   

Thanks, r689.

Regards,
Carl-Daniel

Patch

Index: flashrom-serprog_manpage/flashrom.8
===================================================================
--- flashrom-serprog_manpage/flashrom.8	(Revision 686)
+++ flashrom-serprog_manpage/flashrom.8	(Arbeitskopie)
@@ -150,6 +150,8 @@ 
 .sp
 .BR "* ft2232spi" " (for flash ROMs attached to a FT2232H/FT4232H based USB SPI programmer)"
 .sp
+.BR "* serprog" " (for flash ROMs attached to Urja's AVR programmer)"
+.sp
 The dummy programmer has an optional parameter specifying the bus types it
 should support. For that you have to use the
 .B "flashrom -p dummy=type"
@@ -182,16 +184,16 @@ 
 .BR nic3com ,
 .BR satasii .
 .sp
-The it87spi has an optional parameter which will set the I/O base port of the
-IT87* SPI controller interface to the port specified in the parameter.
-For that you have to use the
+The it87spi programmer has an optional parameter which will set the I/O base
+port of the IT87* SPI controller interface to the port specified in the
+parameter. For that you have to use the
 .B "flashrom -p it87spi=port=portnum"
 syntax where
 .B portnum
 is an I/O port number which must be a multiple of 8.
 .sp
-The ft2232spi has an optional parameter specifying the controller type and
-interface/port it should support. For that you have to use the
+The ft2232spi programmer has an optional parameter specifying the controller
+type and interface/port it should support. For that you have to use the
 .B "flashrom -p ft2232spi=model,port=interface"
 syntax where
 .B model
@@ -206,6 +208,19 @@ 
 .B 4232H
 and the default interface is
 .BR B .
+.sp
+The serprog programmer has an optional parameter specifying either a serial
+device/baud combination or an IP/port combination for communication with the
+programmer. For serial, you have to use the
+.B "flashrom -p serprog=/dev/device:baud"
+syntax and for IP, you have to use
+.B "flashrom -p serprog=ip:port"
+instead. More information about serprog is available in serprog-protocol.txt in
+the source distribution.
+.sp
+Support for some programmers can be disabled at compile time.
+.B "flashrom -h"
+lists all supported programmers.
 .TP
 .B "\-h, \-\-help"
 Show a help text and exit.