"-b image" Handshake; then upload file image over TTY. Note that for the encapsulated boot code to be executed, image must be of type "UART boot" (0x69). Boot images of different types, such as backup images of vendor firmware downloaded from flash memory (type 0x8B), will not work (or not as expected). See -p for a workaround. This mode writes handshake status and upload progress indication to stdout.
"-p" In combination with -b, patches the header in image prior to upload, to "UART boot" type. This option attempts on-the-fly conversion of some none-UART image types, such as images which were originally formatted to be stored in flash memory. Conversion is performed in memory. The contents of image will not be altered.
"-t" Run a terminal program, connecting standard input and output to TTY. If used in combination with -b, terminal mode is entered immediately following a successful image upload. If standard I/O streams connect to a console, this mode will terminate after receiving 'ctrl-\\' followed by 'c' from console input.
"-B baudrate" Adjust the baud rate on TTY. Default rate is 115200.
mkimage(1)
Luka Perkov <luka@openwrt.org>
David Purdy <david.c.purdy@gmail.com>