version 1.1, 2012/11/29 23:23:22 |
version 1.5.2.3, 2013/01/23 00:06:39 |
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
.\" POSSIBILITY OF SUCH DAMAGE. |
.\" POSSIBILITY OF SUCH DAMAGE. |
.\" |
.\" |
.Dd November 28, 2012 |
.Dd December 29, 2012 |
.Dt MKUBOOTIMAGE 1 |
.Dt MKUBOOTIMAGE 1 |
.Os |
.Os |
.Sh NAME |
.Sh NAME |
|
|
.Nd create U-Boot loader image |
.Nd create U-Boot loader image |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm |
.Nm |
|
.Op Fl h |
.Fl A No ( arm Ns | Ns mips Ns | Ns mips64 Ns | Ns powerpc ) |
.Fl A No ( arm Ns | Ns mips Ns | Ns mips64 Ns | Ns powerpc ) |
.Fl a Ar address |
.Fl a Ar address |
.Op Fl C No Po bz2 Ns | Ns gz Ns | Ns lzma Ns | Ns lzo Ns | Ns none Pc |
.Op Fl C No Po bz2 Ns | Ns gz Ns | Ns lzma Ns | Ns lzo Ns | Ns none Pc |
.Op Fl E Ar address |
.Op Fl E Ar address |
.Op Fl e Ar address |
.Op Fl e Ar address |
.Op Fl h |
|
.Op Fl m Ar magic |
.Op Fl m Ar magic |
.Fl n Ar image |
.Fl n Ar image |
.Op Fl O No Po freebsd Ns | Ns linux Ns | Ns netbsd Ns | Ns openbsd Pc |
.Op Fl O No Po freebsd Ns | Ns linux Ns | Ns netbsd Ns | Ns openbsd Pc |
Line 60 Defines the architecture. |
|
Line 60 Defines the architecture. |
|
This is required. |
This is required. |
.It Fl a Ar address |
.It Fl a Ar address |
Sets the image load address. |
Sets the image load address. |
This is an integer between 0 and ULONG_MAX. |
This is an integer between 0 and |
|
.Dv UINT32_MAX . |
This is required. |
This is required. |
.It Fl C No ( bz2 Ns | Ns gz Ns | Ns lzma Ns | Ns lzo Ns | Ns none Ns ) |
.It Fl C No ( bz2 Ns | Ns gz Ns | Ns lzma Ns | Ns lzo Ns | Ns none ) |
Defines the compression. |
Defines the compression. |
The default is |
The default is |
.Qq none . |
.Qq none . |
.It Fl E Ar address |
.It Fl E Ar address |
Define the entry point. |
Define the entry point. |
This is an integer between 0 and ULONG_MAX. |
This is an integer between 0 and |
|
.Dv UINT32_MAX . |
This option is the same as |
This option is the same as |
.Fl e |
.Fl e |
but it inverts the bytes to convert the 32 bit integer |
but it inverts the bytes to convert the 32 bit integer |
Line 82 image load address |
|
Line 84 image load address |
|
.Pq Fl a . |
.Pq Fl a . |
.It Fl e Ar address |
.It Fl e Ar address |
Define the entry point. |
Define the entry point. |
This is an integer between 0 and ULONG_MAX. |
This is an integer between 0 and |
|
.Dv UINT32_MAX . |
If |
If |
.Fl E |
.Fl E |
or |
or |
Line 94 image load address |
|
Line 97 image load address |
|
Display the usage and exit. |
Display the usage and exit. |
.It Fl m Ar magic |
.It Fl m Ar magic |
Set the magic. |
Set the magic. |
This is an integer between 0 and ULONG_MAX. |
This is an integer between 0 and |
|
.Dv UINT32_MAX . |
The default is |
The default is |
.Qq 0x27051956. |
.Qq 0x27051956 . |
.It Fl n Ar image |
.It Fl n Ar image |
Defines the image name. |
Defines the image name. |
This is required. |
This is required. |
Line 104 This is required. |
|
Line 108 This is required. |
|
Defines the operating system type. |
Defines the operating system type. |
The default OS name is |
The default OS name is |
.Qq netbsd . |
.Qq netbsd . |
.It Fl T No ( fs Ns | Ns kernel Ns | Ns ramdisk Ns | Ns standalone ) |
.It Fl T No ( fs Ns | Ns kernel Ns | Ns ramdisk Ns | Ns standalone Ns | Ns script ) |
Defines the image type. |
Defines the image type. |
This is required. |
This is required. |
.El |
.El |