Copying Yocto Built Products to the Release

By default, bootburn does not pick up Yocto built, such as quickboot, kernel, and so on, for flashing due to known limitations. These steps update the Yocto built images back to the release so that bootburn picks it up:

  1. Change to the Yocto deploy directory:
    cd <top>/drive-linux_src/yocto/build/tmp/deploy/images/${MACHINE}
  2. Copy quickboot and quickboot-DTBs to the release:
    cp -ar qb/* <top>/drive-foundation/firmware/bin/<machine>
  3. Copy linux and linux-DTBs to the release:
    cp *.dtb <top>/drive-linux/kernel/preempt_rt/
  4. Copy kernel image to the release:
    cp *Image* <top>/drive-linux/kernel/preempt_rt/images/
  5. Copy initramfs to the release:
    cp tegra-initramfs-boot-*.cpio <top>/drive-linux/filesystem/initramfs.cpio
  6. Copy the recovery initramfs to the release:
    cp tegra-initramfs-recovery-*.cpio <top>/drive-linux/filesystem/recovery-initramfs.cpio
  7. Place the drive-os-av rootFS image at the location specified by the bootburn configurations:
    cd <top>/drive-linux/filesystem/targetfs-images
    cp tegra-drive-os-av-image-${MACHINE}.img <top>/drive-linux/filesystem/targetfs-images
    ln -sf <top>/drive-linux/filesystem/targetfs-images/tegra-drive-os-av-image${MACHINE}.img <top>/drive-linux/filesystem/targetfs.img