To flash Yocto built productsImages via bootburn
These steps update the Yocto built images back to the release so that bootburn picks
them up:
- Change to the Yocto deploy
directory:
cd <top>/drive-linux_src/yocto/build/tmp/deploy/images/${MACHINE}
- Copy the linux-DTBs to the
release:
cp *.dtb <top>/drive-linux/kernel/preempt_rt/
- Copy the kernel images and modules to the
release:
cp Image <top>/drive-linux/kernel/preempt_rt/images/ cp vmlinux <top>/drive-linux/kernel/preempt_rt/images/ cp System.map <top>/drive-linux/kernel/preempt_rt/images/ tar xf modules-${MACHINE}.tgz cp -r lib/modules/<KERNEL_VER>-rt<>-tegra <top>/drive-linux/kernel/preempt_rt/modules
- Copy the initramfs to the
release:
cp tegra-initramfs-boot-*.cpio <top>/drive-linux/filesystem/initramfs.cpio
- Copy the recovery initramfs to the
release:
cp tegra-initramfs-recovery-*.cpio <top>/drive-linux/filesystem/recovery-initramfs.cpio
- 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
After following the steps above, all binaries are replaced by the Yocto built versions. Executing bootburn now automatically picks up these updated binaries. This applies to both native, as well as hypervisor flashing. For information on flashing steps, see the Flashing Customization topic in the NVIDIA DRIVE OS 6.0 Linux SDK Developer Guide.