NXP i.MX MCU Manufacturing User's Guide

This manual describes the generation of bootable image for i.MX MCU devices and the process to program a bootable image into the external flash.


NXP i.MX MCU Manufacturing User's Guide - cover page
Brand
NXP
Category
microcontrollers
Document type
User Manual
Language
English
Pages
54
File format
PDF
File size
1.5 MB
Published
19 October, 2023
Updated
19 October, 2023
MD5 checksum
2D8CC68D95C5196C947202119A734951

About this manual

This document explains how to generate bootable images for i.MX MCU devices and program them into external flash memory. It covers interfacing the Boot ROM with KBOOT-based Flashloader, using tools like Elftosb, MfgTool, and cst to create, sign, and encrypt images. The guide details image formats, boot configurations, and programming procedures for various flash types including QuadSPI NOR, eMMC, and SD.

The document also describes the roles of the Boot ROM and Flashloader, including their interaction with host utilities via serial interfaces like USB, UART, I2C, and SPI. It provides technical details on boot image structures such as IVT, boot data, and DCD, along with encryption and signing methods for secure boot scenarios.

What's inside

  • Introduction
  • Overview
  • i.MX MCU bootable image
  • Generate i.MX MCU bootable image
  • Generate SB file for bootable image programming
  • Program bootable image
  • Appendix

Specifications

FlashloaderRuns in SRAM, facilitates loading boot images, authenticates and executes them
Supported Flash TypesQuadSPI NOR/Octal Flash/HyperFLASH, Serial NAND, eMMC, SD, Parallel NOR, SLC raw NAND, SPI NOR/EEPROM

Frequently asked questions

What tools are used to generate bootable images for i.MX MCU devices?

The Elftosb utility converts ELF images to signed, encrypted, bootable images. It also generates boot structures and command files for signing/encrypting using the NXP signing tool (cst).

How does the Flashloader interface with the Boot ROM?

The Flashloader runs in SRAM and is downloaded via ROM serial download interface. It prepares devices for boot, creates boot configuration, and communicates with the host using kboot commands over serial peripherals.

What is the purpose of the SB file?

The SB file is the NXP binary format for bootable images, containing sections, bootloader commands, and data to assist Kinetis Bootloader in programming the image to target memory.

Download PDF (1.5 MB)

More NXP Manuals


View all NXP manuals →