cbootimage1
Tegra bct compiler
Usage
cbootimage [options]
configfile
[inputimage]
outputimage
Overview
This program is used to create images suitable to place into the boot flash of a device using a Tegra SoC. There are two primary modes of operation of cbootimage:
- 1
-
Compile a textual representation of a BCT into a binary image.
- 2
-
Generate an entire boot image from a previously compiled BCT and a bootloader binary.
Platforms supported
•
|
|
|---|---|
•
|
|
•
|
|
•
|
|
•
|
|
•
|
|
Commands
-
-gbct -
Generate the new bct file from the given config file.
-
-h, --help, -? -
Print help text and exit.
Options
-
-d, --debug -
Output debugging information.
-
-oodm_data -
Specify the odm_data value (in hex).
-
-t, --tegra NN -
Select target device. Must be one of: 20, 30, 114, 124, 132, 210.
-
-s, --ssoc tegraNN -
Select target device. Must be one of: tegra20, tegra30, tegra114, tegra124, tegra32, tegra210.
-
-u --update -
Copy input image data and update bct configs into new image file
Examples
To generate a bct file from a text description obtained either through bct_dump(1) or cbootimage-configs:
$ cbootimage -gbct -t124 PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.bct.cfg PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.bct New BCT file PM375_Hynix_2GB_H5TC4G63AFR_RDA_924MHz.bct has been successfully generated!
To generate a boot image file including the newly generated bct:
cbootimage -t124 jetson-tk1-emmc.img.cfg jetson-tk1-emmc.img Image file jetson-tk1-emmc.img has been successfully generated!
Return value
If any error occurs a non zero exit status is returned.
Releases
6 releases since Debian 8 (Jessie); the text changed 2 times.
--ssoc since Debian 9 (Stretch);
-oodm_data since Debian 9 (Stretch).
--soc until Debian 8 (Jessie).