How To Install cbootimage on Fedora 34
Introduction
In this tutorial we learn how to install cbootimage
on Fedora 34.
What is cbootimage
This package contains two programs to parse the boot config table (bct) of Tegra SoC based devices and to generate a new bct with appended bootloader (e.g. u-boot) read to be flashed to a storage device. The boot config table is used in the early boot process to setup the sdhci, DRAM memory controller and also points to the position of the bootloader. For more information, see http
We can use yum
or dnf
to install cbootimage
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install cbootimage.
Install cbootimage on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install cbootimage
using dnf
by running the following command:
sudo dnf -y install cbootimage
Install cbootimage on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install cbootimage
using yum
by running the following command:
sudo yum -y install cbootimage
How To Uninstall cbootimage on Fedora 34
To uninstall only the cbootimage
package we can use the following command:
sudo dnf remove cbootimage
cbootimage Package Contents on Fedora 34
/usr/bin/bct_dump
/usr/bin/cbootimage
/usr/lib/.build-id
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/a1f48e98fb780f9390f9c8b87406766fd150b6
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/27b345784d52fc9fc410574bd49c1c66d789aa
/usr/share/doc/cbootimage
/usr/share/doc/cbootimage/COPYING
/usr/share/man/man1/bct_dump.1.gz
/usr/share/man/man1/cbootimage.1.gz
References
Summary
In this tutorial we learn how to install cbootimage
on Fedora 34 using yum and dnf.