#
# Download L4T Jetson Driver Package
#
#
wget https://developer.nvidia.com/embedded/l4t/r32_release_v5.1/r32_release_v5.1/t210/jetson-210_linux_r32.5.1_aarch64.tbz2
#
# Download L4T Sample Root File System:
#
wget https://developer.nvidia.com/embedded/l4t/r32_release_v5.1/r32_release_v5.1/t210/tegra_linux_sample-root-filesystem_r32.5.1_aarch64.tbz2
#
# Install QEMU for host
#
sudo apt-get install qemu-user-static
#
# Unpack L4T R32.5.1
#
bzip2 -dc Jetson-210_Linux_R32.5.1_aarch64.tbz2 | tar xvf -
#
# Unpack simple root filesystem
#
cd Linux_for_Tegra/rootfs/
sudo tar xpf ../../Tegra_Linux_Sample-Root-Filesystem_R32.5.1_aarch64.tbz2
#
# Apply binary
#
cd ../
sudo ./apply_binaries.sh
#
# Correct apt source (t210 for jetson nano)
#
cd rootfs/
sudo vi etc/apt/sources.list.d/nvidia-l4t-apt-source.list
-deb https://repo.download.nvidia.com/jetson/<SOC> r32.5 main
+deb https://repo.download.nvidia.com/jetson/t210 r32.5 main
#
# Chang root to install custom package / software
#
cd ../../
git clone https://github.com/mdegans/enter_chroot.git
sudo cp enter_chroot/enter_chroot.sh /usr/bin/
sudo enter_chroot.sh Linux_for_Tegra/rootfs/
cd /
rm -rf README.txt
apt update
@@@ Install every thing else @@@
apt install cuda-core-10.2
...
...
exit
#
# Build custom SD image (-r 300 for jetson nano H/W B01)
#
cd Linux_for_Tegra/
sudo tools/jetson-disk-image-creator.sh -o sd-blob-b01.img -b jetson-nano -r 300
#
# Reference
#
沒有留言:
張貼留言