logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cbootimage - tegra BCT compiler

Commands

-gbct  Generate the new bct file from the given config file.

       -h,--help,-?
              Print help text and exit.

Description

       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.

   PlatformssupportedTegra20Tegra30Tegra114Tegra124Tegra132Tegra210

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!

Name

       cbootimage - tegra BCT compiler

Options

-d,--debug
              Output debugging information.

       -oodm_data
              Specify the odm_data value (in hex).

       -t,--tegraNN
              Select target device.  Must be one of: 20, 30, 114, 124, 132, 210.

       -s,--ssoctegraNN
              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

Return Value

       If any error occurs a non zero exit status is returned.

See Also

tegrarcm(1),bct_dump(1)

cbootimage-1.8                                   6 October 2015                                    cbootimage(1)

Synopsis

cbootimage [ options ] configfile [ inputimage ] outputimage

See Also