When installing jetson_multimedia_api after flashing

Hello,

sudo ./flash.sh jetson-nano-emmc mmcblk0p1

After flashing with the above command, jetson_multimedia_api cannot be installed as follows.


The network is good.
What am I supposed todo?

Thank you.

Hi,
You may copy nvidia-l4t-jetson-multimedia-api_32.4.3-20200625213407_arm64.deb to Nano and install it manually. The deb file can be downloaded from SDKManager.

I found this one

The date is different from what you showed.
What is different if the dates are different?
image

Thank you.

@forumuser

Woof. sudo apt update must be run at least once first to get the list of packages (this is apt’s fault for not being very clear on that error message).

Note: sudo apt update gets a lists of packages from repositories defined in /etc/apt/lists... and sudo apt install will install packages once they are obtained. Usually the system will do apt update at some point on it’s own, but this is not automatic immediately after first boot.

1 Like

Woof. 👍😊


sudo ./flash.sh jetson-nano-emmc mmcblk0p1
sudo ./nvmassflashgen.sh [] mmcblk0p1

When flashing, if I want to flash with the above command and jetson_multimedia_api installed, do I need to create a blob?

Thank you.

Bark woof bark. So cute!

If you want the mmapi dev package pre-installed on the rootfs, that’s more complicated. Using SDKM for that is the easiest way (if it does that). Alternatively, you can use a chroot script to enter the rootfs and install the package from the online apt repos as you would with a live system. You’ll need to make a slight change to the apt sources first. To do all that:

First sudo apt install qemu-user-static on your Ubuntu desktop machine.

Second, edit <SOC> out of Linux_for_Tegra/rootfs/etc/apt/sources.list.d/nvidia-l4t-apt-source.list so it looks like this for Nano:

deb https://repo.download.nvidia.com/jetson/common r32.4 main
deb https://repo.download.nvidia.com/jetson/t210 r32.4 main

Third, download and run the above linked script to enter the rootfs as shown in the linked post. From within the chroot, run apt-get update (no sudo) and then if that works, install the multimedia api samples as you usually would. Just type exit when you’re done to unmount the special filesystems. You can install other packages if you wish (even third party, or your own). sudo is not needed since you’re already root and may cause odd warnings if it is used.

I have not specifically tested it with flash.sh, or nvmassflashgen, however they should work as expected with the modified rootfs. You can check the full docs here, which is where the above thread’s instructions are derived from. The chroot technique is borrowed from Nvidia’s scripts (it’s how the debian packages are installed, which you can also do).

1 Like