制作最小Jetson系统镜像 方法二
下载BSP包
L4T Driver Package (BSP) Sample Root Filesystem
Host环境准备
Host : Ubuntu 18.04.6 VirtualBox
sudo apt update
sudo apt upgrade
sudo apt-get install --no-install-recommends qemu-user-static debootstrap binfmt-support coreutils parted gdisk e2fsprogs
sudo apt-get install libxml2-utils
创建rootfs
tar xvf jetson-210_linux_r32.6.1_aarch64.tbz2
cd Linux_for_Tegra/rootfs
sudo tar -jxvpf ../../tegra_linux_sample-root-filesystem_r32.6.1_aarch64.tbz2
sudo du -hs
4.2G .
cd ../
sudo ./apply_binaries.sh
$ sudo du -hs
4.7G
定制
sudo cp /usr/bin/qemu-aarch64-static rootfs/usr/bin
sudo chroot rootfs /bin/bash