ADLINK
Tec
hnology
Confiden
tial.
2021-03-18
ROScube Pico BSP, version Release l4t-32.4.4-kernel-1.0.7
(continued from previous page)
$> sudo umount ./proc
$> sudo umount ./sys
$> sudo umount ./dev
$> sudo rm usr/bin/qemu-aarch64-static
# Restore dns setting.
$> sudo rm etc/resolv.conf
$> sudo mv etc/resolv.conf.saved etc/resolv.conf
# Remove caches and logging files.
$> sudo rm -rf var/lib/apt/lists/*
$> sudo rm -rf dev/*
$> sudo rm -rf var/log/*
$> sudo rm -rf var/tmp/*
$> sudo rm -rf var/cache/apt/archives/*.deb
$> sudo rm -rf tmp/*
4.2 Flash System Image to Target Machine
Once you prepared rootfs in step:
. You can use
flash.sh
tool to flash image to
target machine.
Remember to put machine into recovery mode before flashing.
# Put machine into recovery mode first.
$> sudo ./flash.sh <target name> mmcblk0p1
Model
Target Name
RQX-580
rqx_580
RQX-58G
rqx_58g
NPN-1 (Pico Nano)
rqp_nano
NPN-2 (Pico AGX NX)
rqp_nx
4.3 Prepare a Bootable Disk
Driver package provides a tool
./tools/jetson-disk-image-creator.sh
to pack rootfs into a
bootable image. This image could be put in
sd card
or
usb dongle
. Then, after a proper
extlinux.conf
setting, Linux Kernel will mount the bootable disk to it’s root filesystem.
$> sudo ./tools/jetson-disk-image-creator.sh -o <image-name>
-b <target>
<image-name>
is the output disk file, it could be any string, and
<target>
is the target name of
the model. For example:
23