Line 59: |
Line 59: |
| | | |
| refer to [https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit#write Official document] | | refer to [https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit#write Official document] |
− | ====Setting Up the Host PC Environment==== | + | |
| + | ==== BSP package introduction ==== |
| + | |
| + | =====Path===== |
| + | [https://github.com/veyeimaging/nvidia_jetson_veye_bsp/tree/master/kernel_image https://github.com/veyeimaging/nvidia_jetson_veye_bsp] |
| + | =====bsp package includes:===== |
| + | |
| + | *prebuild linux kernel:Image |
| + | *prebuild dtb for different boards |
| + | *driver source code |
| + | *dts source code |
| + | *i2c toolkits |
| + | |
| + | ==== Upgrade Jetson Nano and Xavier NX without HOSTPC ==== |
| + | |
| + | ===== Check the current L4T version ===== |
| + | First check the current L4T version and try to replace it with the same version. |
| + | |
| + | <code>cat /etc/nv_tegra_release</code> |
| + | |
| + | If it shows: |
| + | |
| + | <code># R32 (release), REVISION: 4.3......</code> |
| + | |
| + | It means L4t Verion is 32.4.3 |
| + | |
| + | ===== Download the bsp package to the Jetson board ===== |
| + | On Jetson Nano or Xavier NX: |
| + | |
| + | <code>git clone <nowiki>https://github.com/veyeimaging/nvidia_jetson_veye_bsp.git</nowiki></code> |
| + | |
| + | ===== Upgrade Image ===== |
| + | First, under the bsp package directory, find the corresponding version of the Image package, decompress it, and execute: |
| + | |
| + | <code>sudo cp <path to your Image dir>/Image /boot/Image -f</code> |
| + | |
| + | ===== Upgrade dtb ===== |
| + | Under the bsp package directory, find the dtb file corresponding to your camera module model and L4T version number. |
| + | |
| + | <code>sudo cp <path to your dtb dir>/<DTB file name> /boot/ -f</code> |
| + | |
| + | Then, edit the ''/ boot/extlinux/extlinux.conf'' file and add the following exercise dtb to take effect under section ''LABEL primary''. |
| + | |
| + | <code>FDT /boot/<DTB file name></code> |
| + | |
| + | ==== Upgrade Jetson Board using Host PC ==== |
| + | |
| + | =====Setting Up the Host PC Environment===== |
| | | |
| *Cross-compiling Toolchain | | *Cross-compiling Toolchain |
Line 158: |
Line 205: |
| | | |
| <code>sudo ./flash.sh jetson-xavier-nx-devkit mmcblk0p1</code> | | <code>sudo ./flash.sh jetson-xavier-nx-devkit mmcblk0p1</code> |
− | ====Download out bsp package for Jetson==== | + | =====Download out bsp package for Jetson===== |
| <code>cd $L4T_DIR</code> | | <code>cd $L4T_DIR</code> |
| | | |
Line 164: |
Line 211: |
| | | |
| <code>export RELEASE_PACK_DIR=$L4T_DIR/nvidia_jetson_veye_bsp</code> | | <code>export RELEASE_PACK_DIR=$L4T_DIR/nvidia_jetson_veye_bsp</code> |
− | =====bsp package includes:===== | + | =====Using prebuild Image and DTB===== |
− | | |
− | *prebuild linux kernel:Image
| |
− | *prebuild dtb for different boards
| |
− | *driver source code
| |
− | *dts source code
| |
− | *i2c toolkits
| |
− | | |
− | ====Using prebuild Image and DTB==== | |
| prebuilt Image on github:https://github.com/veyeimaging/nvidia_jetson_veye_bsp/tree/master/kernel_image | | prebuilt Image on github:https://github.com/veyeimaging/nvidia_jetson_veye_bsp/tree/master/kernel_image |
| | | |