Aim is to be a monolithic flashing tool for Tegra.
nVFlash aim is to be a monolithic flashing tool for Tegra. A few of nvflash’s commands communicate directly with the miniloader. For example, –getbct, which obtains a copy of the BCT currently programmed into flash. It expects to download NVIDIA’s “fastboot” bootloader, and then communicate with it using an extended nv3p protocol. nvflash can both write portions of the device’s flash, and/or read back parts of the device’s flash to the host machine.
When flashing a device from scratch, nvflash will read a configuration file describing the partition layout of the flash. The BCT, bootloader, and optionally other partition content will all be packed together online by nvflash, and then sent to fastboot to be written to flash. This process includes updating the BCT fields that specify the flashed bootloader location and hash, and re-signing the BCT if required. As such, cbootimage is not needed when using nvflash.