Jump to content

Jetson Nano/Development/Building the Kernel from Source: Difference between revisions

no edit summary
No edit summary
Line 148: Line 148:
====Flash device tree only====
====Flash device tree only====
This command flashes only the device tree, excluding the kernel image and filesystem. Make sure the Jetson NANO is in recovery mode.
This command flashes only the device tree, excluding the kernel image and filesystem. Make sure the Jetson NANO is in recovery mode.
<source lang="bash">
cd ${JETPACK_4_3_P3448}
# Copy device tree generated
cp $JETSON_NANO_KERNEL_SOURCE/build/arch/arm64/boot/dts/${DTB} kernel/dtb/
</source>


=====Flash production module DTB=====
=====Flash production module DTB=====
Line 156: Line 162:
=====Flash Devkit module DTB=====
=====Flash Devkit module DTB=====
<source lang="bash">
<source lang="bash">
sudo ./flash.sh -r -k DTB jetson-nano-qspi-sd mmcblk0p1
</source>
===Flash custom DTB on the Jetson Nano===
This command flashes only the device tree, excluding the kernel image and filesystem, just make sure to put the board in recovery mode.
<source lang="bash">
cd ${JETPACK_4_2_2}/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/
# Copy device tree generated
cp $JETSON_NANO_KERNEL_SOURCE/build/arch/arm64/boot/dts/tegra210-p3448-0000-p3449-0000-a02.dtb kernel/dtb/
# Flash device tree partition
sudo ./flash.sh -r -k DTB jetson-nano-qspi-sd mmcblk0p1
sudo ./flash.sh -r -k DTB jetson-nano-qspi-sd mmcblk0p1
</source>
</source>
214

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.