Jetson/Filesystem Emulation/Emulating Jetson Filesystem with QEMU and CHROOT

From eLinux.org
< Jetson‎ | Filesystem Emulation
Revision as of 08:15, 23 March 2021 by Mike nv (talk | contribs) (Created page with " == Setting up the Target Device == From the [https://developer.nvidia.com/embedded/linux-tegra-archive L4T Archive], download the desired L4T Driver Package and correspond...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Setting up the Target Device

From the L4T Archive, download the desired L4T Driver Package and corresponding sample filesystem.

Flash the target device following the instructions described here.. After flashing, the device will reboot. Please configure the device at first boot and log into the OS.

Installing the Dependencies

The dependencies to be installed are specific to the task to be performed on the emulated filesystem. For the sake of exemplification, the Jetson Multimedia API samples will be compiled, therefore the dependencies are set for this purpose.

For more details, please see the documentation for the Multimedia API Sample Applications.

On the target, issue the following commands:

    $ sudo apt update
    $ apt list --upgradable
    $ sudo apt upgrade
    $ sudo apt install nvidia-jetpack 

Clone Your Device's Image

After installing the JetPack, shut down the device and set it into recovery mode.

Now, on the host PC, issue the following commands to clone your device's image.

    $ cd <path_to_L4T>  
    $ sudo ./flash.sh -r -k APP -G <name_of_the_img> <target> mmcblk0p1