.\" $NetBSD: elftosb.8,v 1.4 2018/09/14 07:07:41 skrll Exp $ .\" .\" Copyright (c) 2012 The NetBSD Foundation, Inc. .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" .Dd November 3, 2012 .Dt ELFTOSB 8 .Os .Sh NAME .Nm elftosb .Nd generate secure boot images for Freescale processors .Sh SYNOPSIS .Nm .Oo Fl ?, Fl Fl help Oc .Oo Fl C, Fl Fl component Ar version Oc .Oo Fl c, Fl Fl command Ar file Oc .Oo Fl D, Fl Fl define Ar const Oc .Oo Fl d, Fl Fl debug Oc .Oo Fl f, Fl Fl chip-family Ar family Oc .Oo Fl k, Fl Fl key Ar file Oc .Oo Fl O, Fl Fl option Ar option Oc .Oo Fl o, Fl Fl output Ar file Oc .Oo Fl P, Fl Fl product Ar version Oc .Oo Fl p, Fl Fl search-path Ar path Oc .Oo Fl q, Fl Fl quiet Oc .Oo Fl V, Fl Fl verbose Oc .Oo Fl v, Fl Fl version Oc .Oo Fl z, Fl Fl zero-key Oc .Ar files... .Sh DESCRIPTION The .Nm program is used to create a digitaly signed secure boot (sb) file. This sb file can be booted by the first stage boot loader found in Freescale i.MX23 and i.MX28 application processors. One or several ELF files and optionally a key are taken as input and processed under the control of a command file to generate the sb file. .Sh SEE ALSO .Xr sbkeygen 8 , .Xr sbtool 8 .br Freescale Application Note AN4555 .Sh COPYRIGHT Copyright (c) 2004-2010 Freescale Semiconductor, Inc. .Sh BUGS The .Nm program and its command file syntax are poorly documented.