Kinetis Elftosb User's Guide
Kinetis%20Elftosb%20User's%20Guide
Kinetis%20Elftosb%20User's%20Guide
User Manual: Pdf
Open the PDF directly: View PDF .
Page Count: 43
Freescale Semiconductor
User's Guide
Document Number: KBLELFTOSBUG
Rev. 1, 04/2016
Kinetis Elftosb User's Guide
Contents
1 Overview
The elftosb tool creates a binary output file that contains the
user's application image along with a series of bootloader
commands. The output file is known as a "Secure Binary" or
SB file for short. These files typically have a .sb extension.
The tool uses an input command file to control the sequence of
bootloader commands present in the output file. This
command file is called a "boot descriptor file" or BD file for
short.
The Elftosb tool is command line driven and can be separately
built to run on Windows® OS, Linux® OS, and Apple Mac®
OS. The Kinetis bootloader package contains the executable
for all the three targets.
This document describes the usage of elftosb in terms of its
command line parameters, input command file (.bd) structure,
and contents of the output .sb file. The below block diagram
describes the operation of elftosb at a high level, working on
the inputs passed on command line such as image file, BD file,
Key file, etc., and processing contents of the BD file to
generate the output SB file.
© 2016 Freescale Semiconductor, Inc.
1
Overview....................................................................1
2
Command line interface................... ......................... 2
3
Command file.............................. ............................. 4
4
elftosb key file format....................... ...................... 23
5
Appendix A: Command file grammar..................... 23
6
Appendix B: SB boot image file format.. ............... 26
7
Revision history.......................... ............................ 42
Command line interface
Figure 1. Elftosb diagram
2 Command line interface
The elftosb has the set of command line options listed in the following table. Not all options are listed here, but only those
that directly interface with the things described in this document are described. Note that a space is required between both the
short or long form option and any value. Any arguments listed after the options are the positional source files utilized by the
extern() syntax (see Section 3.1.1.3, "Sources").
The command line usage for the elftosb tool is:
elftosb [-?|--help] [-v|--version] [-f|--chip-family ]
[-c|--command ] [-o|--output ]
[-P|--product ] [-C|--component ]
[-k|--key ] [-z|--zero-key] [-D|--define ]
[-O|--option
Source Exif Data:
File Type : PDF
File Type Extension : pdf
MIME Type : application/pdf
PDF Version : 1.6
Linearized : Yes
Author : NXP Semiconductors
Create Date : 2016:04:17 23:43:30-06:00
Fsl Dita Plugin Version : 20160105
Fsl Ssds Version : 4.7.1
Keywords : KBLELFTOSB
Modify Date : 2016:04:21 11:39:07-05:00
XMP Toolkit : Adobe XMP Core 5.2-c001 63.139439, 2010/09/27-13:37:26
Format : application/pdf
Creator : NXP Semiconductors
Title : Kinetis Elftosb User's Guide
Description : The elftosb tool creates a binary output file that contains the user's application image along with a series of bootloader commands. The output file is known as a "Secure Binary" or SB file for short.
Subject : KBLELFTOSB
Creator Tool : AH XSL Formatter V6.1 MR2 for Linux64 : 6.1.6.12685 (2013/09/18 10:39JST)
Metadata Date : 2016:04:21 11:39:07-05:00
Producer : Antenna House PDF Output Library 6.1.425 (Linux64); modified using iText® 5.1.3 ©2000-2011 1T3XT BVBA
Trapped : False
Document ID : uuid:2273d1e3-eabc-4e92-a3e1-ddf93002c64f
Instance ID : uuid:47efcfa6-d8aa-4bc4-801f-c62f1843c553
Page Mode : UseOutlines
Page Count : 43
EXIF Metadata provided by EXIF.tools