cbootimage(1)
π cbootimage β the tegra BCT compiler, bestie edition π
okay so real talk, this is cbootimage(1), and it lives in the NVIDIA Tegra Firmware Signing Tool manual. it's a little compiler that turns your cute little text files into bootable images. no cap, it's iconic. β¨
πΈ SYNOPSIS πΈ
cbootimage [ options ] configfile [ inputimage ] outputimage
π¦ DESCRIPTION π¦
so what does this do?? it makes images that you can drop straight into the boot flash of a device running a Tegra SoC. that's the whole vibe. π
there are two primary modes of operation, and honestly, you need to know both:
- Compile a textual representation of a BCT into a binary image.
- Generate an entire boot image from a previously compiled BCT and a bootloader binary.
β Platforms supported β
like, it supports a LOT of platforms, she's versatile:
- Tegra20
- Tegra30
- Tegra114
- Tegra124
- Tegra132
- Tegra210
π COMMANDS π
-gbctβ Generate the new bct file from the given config file.-h,--help,-?β Print help text and exit. (the "i'm lost" button, we've all been there π«Ά)
β¨ OPTIONS β¨
okay here's the menu, pick your fighter:
-d,--debugβ Output debugging information. it's giving detective energy π-oodm_dataβ Specify theodm_datavalue (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 throughbct_dump(1)orcbootimage-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!
like, look at her go. she ate that. π₯
π RETURN VALUE π
If any error occurs a non zero exit status is returned.
so basically: zero = we slayed, non-zero = something went wrong, go check your config bestie π
π SEE ALSO π
and that's the whole page, mwah π this was cbootimage-1.8, dated 6 October 2015, from the NVIDIA Tegra Firmware Signing Tool manual. go forth and compile, queen πβ¨
π¦ where this page comes from
- debian bookworm: cbootimage 1.8-1 Β· GPL-2.0-only
- debian trixie: cbootimage 1.8-1 Β· GPL-2.0-only
- fedora 43: cbootimage 1.8-18.fc43 Β· GPL-2.0-only
- fedora 44: cbootimage 1.8-20.fc44 Β· GPL-2.0-only
- ubuntu jammy: cbootimage 1.8-1 Β· GPL-2.0-only
- ubuntu noble: cbootimage 1.8-1 Β· GPL-2.0-only
- ubuntu resolute: cbootimage 1.8+git20190919.80c499e-0.1 Β· GPL-2.0-only
- ubuntu stonking: cbootimage 1.8+git20190919.80c499e-0.1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms