mki

Prepend a U-Boot image header to an image

Syntax:

mki [-A architecture] [-a addr] [-T kernel|script] blob image-name

Runs on:

Linux, Mac, Microsoft Windows

Options:

-A architecture
The architecture; arm or arm64. The default is arm.
-a addr
The physical address where the image exists in RAM.
-T kernel|script
Specify whether the image is an OS image or a U-Boot script. The default is kernel.
blob
The image to use as an input (typically an IFS).
image-name
The output image that contains a U-Boot image header.

Description:

This utility allows U-Boot to boot an image via the bootm command. For more information, see https://www.denx.de/wiki/U-Boot/.

Examples:

Prepend a U-Boot image header to an IFS for the NXP S32V EVB Board (aarch64):

mki -a 0xC3080000 -A arm64 ifs-s32v-evb.raw ifs-s32v-evb.ui

Wrap a U-Boot script to become a U-Boot application:

mki -T script boot.script boot.scr