# \[EPC-R7200\]About building an environment on the host

**URL:** <https://forum.aim-linux.advantech.com/t/epc-r7200-about-building-an-environment-on-the-host/394>\
**Category:** Software\
**Created:** [February 2, 2023, 5:13am UTC](https://forum.aim-linux.advantech.com/t/epc-r7200-about-building-an-environment-on-the-host/394 "2023-02-02T05:13:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![saitoh-sh](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@saitoh-sh](https://forum.aim-linux.advantech.com/u/saitoh-sh)\
**Post date:** [February 2, 2023, 5:13am UTC](https://forum.aim-linux.advantech.com/t/epc-r7200-about-building-an-environment-on-the-host/394/1 "2023-02-02T05:13:59Z")

</div>

Hello.  
Currently my EPC-R7200 (XavierNX 8GB) references the Linux Flash eMMC Method to write DIV0003 and is ready to use the Ubuntu 18.04 GUI.  
I am struggling to build an environment while referring to the page below.  
I would like to eventually install Jetpack 4.6.1 and use a library like Pytorch.  
[http://ess-wiki.advantech.com.tw/view/Linux\_BSP\_User\_Guide\_for\_jetson\_series#Reference](http://ess-wiki.advantech.com.tw/view/Linux_BSP_User_Guide_for_jetson_series#Reference)  
Docker command:

> docker pull advrisc/u18.04-imx8lbv1

The response to this command is shown below, so I assume you are able to pull the image.

> Using default tag: latest  
> latest: Pulling from advrisc/u18.04-imx8lbv1  
> Digest: sha256:4f0e4f76a9e6cbfa8b53df9102db4b41e4376fec01d9c6654f53c8523ab5132d  
> Status: Image is up to date for advrisc/u18.04-imx8lbv1:latest  
> [docker.io/advrisc/u18.04-imx8lbv1:latest](http://docker.io/advrisc/u18.04-imx8lbv1:latest)

I got a warning when I ran the container.

> ubuntu@linux:~$ sudo docker run -it --name jetson\_linux\_risc -v /home/bsp/myLinux:/home/adv/BSP:rw --privileged advrisc/u18.04-imx8lbv1:latest /bin/bash  
> WARNING: The requested image’s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested  
> exec /bin/bash: too many levels of symbolic links

[sudo apt-get install qemu-user-static] has also been run.  
I also went ahead and tried it but it did not work.(Remove “https” from the actual reply)

> ubuntu@linux:~/BSP/jetson\_linux\_risc$ sudo repo init -u ://AIM-Linux@dev.azure.com/AIM-Linux/EPC-R7200/\_git/manifests -m 3271.xml  
> fatal: Cannot get ://gerrit.googlesource.com/git-repo/clone.bundle  
> fatal: error [Errno 101] Network is unreachable

Sorry for the basic question.  
Any tips would be appreciated.

---

<div class="post-metadata">

**Author:** ![Jems\_Cheng](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@Jems\_Cheng](https://forum.aim-linux.advantech.com/u/Jems_Cheng)\
**Post date:** [February 3, 2023, 2:50am UTC](https://forum.aim-linux.advantech.com/t/epc-r7200-about-building-an-environment-on-the-host/394/2 "2023-02-03T02:50:29Z")

</div>

Hello,

The Jetson OS image DIV0003 we provided already uses jetpack 4.6.1.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/aim_linux/original/1X/dbd386a8055181ee8f2ace15e8a70fffa3e498b0.png)

Check the image with cat /etc/nv\_tegra\_release and return R32.7.1. Compare with the Jetpack Archive version and the version released with Jetpack 4.6.1.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/aim_linux/original/1X/b435cb8bd603897c9ddf9c24900086bf2cfb52c9.jpeg)

You can reference the link below to install Jetson Software with SDK Manager:  
[https://docs.nvidia.com/sdk-manager/install-with-sdkm-jetson/index.html](https://docs.nvidia.com/sdk-manager/install-with-sdkm-jetson/index.html)

The OS image we have provided R32.7.1(DIV0003). It seems you have flashed to eMMC so please uncheck the Jetson OS when installing the SDK component.

Or can reference the Advantech wiki to install the SDK component.  
[Ubuntu L4T User Guide - ESS-WIKI (advantech.com.tw)](http://ess-wiki.advantech.com.tw/view/Ubuntu_L4T_User_Guide)

After the SDK component has been installed, you can reference the link below to install Pytorch:

> **[Installing PyTorch for Jetson Platform :: NVIDIA Deep Learning Frameworks...](https://docs.nvidia.com/deeplearning/frameworks/install-pytorch-jetson-platform/index.html)**
>
> This guide provides instructions for installing PyTorch for Jetson Platform.

---

<div class="post-metadata">

**Author:** ![\_Yusuke\_Kuwabara](https://avatars.discourse-cdn.com/v4/letter/_/b19c9b/32.png) [@\_Yusuke\_Kuwabara](https://forum.aim-linux.advantech.com/u/_Yusuke_Kuwabara)\
**Post date:** [February 7, 2023, 4:47am UTC](https://forum.aim-linux.advantech.com/t/epc-r7200-about-building-an-environment-on-the-host/394/3 "2023-02-07T04:47:18Z")

</div>

Tell me about your host PC and OS?  
Dell? HP? NEC? Fujitsu?  
Ubuntu? 18.04?

---

<div class="post-metadata">

**Author:** ![saitoh-sh](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@saitoh-sh](https://forum.aim-linux.advantech.com/u/saitoh-sh)\
**Post date:** [February 7, 2023, 6:40am UTC](https://forum.aim-linux.advantech.com/t/epc-r7200-about-building-an-environment-on-the-host/394/4 "2023-02-07T06:40:05Z")

</div>

The host machine is an MSI GF63-10UC-696JP.  
The OS is Ubuntu 18.04.6LTS.

---

<div class="post-metadata">

**Author:** ![saitoh-sh](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@saitoh-sh](https://forum.aim-linux.advantech.com/u/saitoh-sh)\
**Post date:** [February 7, 2023, 6:49am UTC](https://forum.aim-linux.advantech.com/t/epc-r7200-about-building-an-environment-on-the-host/394/5 "2023-02-07T06:49:23Z")

</div>

I can confirm that cat /etc/nv\_tegra\_release currently returns R32.7.1.  
There was a problem with the apt not coming through in the SDK manager, which is being resolved.

---

<div class="post-metadata">

**Author:** ![saitoh-sh](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@saitoh-sh](https://forum.aim-linux.advantech.com/u/saitoh-sh)\
**Post date:** [February 9, 2023, 5:49pm UTC](https://forum.aim-linux.advantech.com/t/epc-r7200-about-building-an-environment-on-the-host/394/6 "2023-02-09T17:49:26Z")

</div>

Unable to connect to Jetson module using SDK Manager.  
I have confirmed that it is detected on the host PC side with lsusb and with the SDK manager.  
I could not use the default IP 192.168.50.1 on USB.  
On Ethernet I get the following message  
Cannot connect to the device via SSH. Check the user name and password, and make sure that the SSH service is running on the device.

I can boot the module normally and log in to the module from the host PC using the ssh command.

---

<div class="post-metadata">

**Author:** ![Jems\_Cheng](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@Jems\_Cheng](https://forum.aim-linux.advantech.com/u/Jems_Cheng)\
**Post date:** [February 13, 2023, 8:43am UTC](https://forum.aim-linux.advantech.com/t/epc-r7200-about-building-an-environment-on-the-host/394/7 "2023-02-13T08:43:47Z")

</div>

Hello,

The default IP is “192.168.55.1”  
Could you check the USB device connect to the host by command “lsusb” and check there is a 0955:7020 Nvidia Corp(Xavier NX) and you can pin “192.168.55.1” successfully

 ![image](https://us1.discourse-cdn.com/flex016/uploads/aim_linux/original/1X/1ca9e51dd081e6a278fc8e000da0db181cd8353d.png)

And use ssh to login to the Xavier NX “192.168.55.1”  
ssh [ubuntu@192.168.55.1](mailto:ubuntu@192.168.55.1)  
PW: ubuntu

 ![image](https://us1.discourse-cdn.com/flex016/uploads/aim_linux/original/1X/4780b33288f58f4e88ad375651da0c590a258256.png)

Install SDK component by sdkmanager

 ![image](https://us1.discourse-cdn.com/flex016/uploads/aim_linux/original/1X/d1da260e5b5976c4817008ee9f969d586aba82a5.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/aim_linux/original/1X/84c9b7ac130c8a81be346074d66c14049cd04632.jpeg)

---

<div class="post-metadata">

**Author:** ![saitoh-sh](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@saitoh-sh](https://forum.aim-linux.advantech.com/u/saitoh-sh)\
**Post date:** [February 21, 2023, 5:51am UTC](https://forum.aim-linux.advantech.com/t/epc-r7200-about-building-an-environment-on-the-host/394/8 "2023-02-21T05:51:46Z")

</div>

Sorry it took me so long to try it.  
I have pinged the system but it is NG.

> ~$ lsusb  
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub  
> Bus 001 Device 004: ID 0955:7e19 NVidia Corp.  
> Bus 001 Device 003: ID 8087:0026 Intel Corp.  
> Bus 001 Device 002: ID 5986:211b Acer, Inc  
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  
> ~$ ping 192.168.55.1  
> PING 192.168.55.1 (192.168.55.1) 56(84) bytes of data.  
> ^C  
> — 192.168.55.1 ping statistics —  
> 11 packets transmitted, 0 received, 100% packet loss, time 10247ms

The EPC-7200 is connected to the host in recovery mode with a USB cable.  
I also tried the ping option -r, but it did not reach the network.  
The network could not be reached by ping in either a proxy or non-proxy environment.

---

<div class="post-metadata">

**Author:** ![Jems\_Cheng](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@Jems\_Cheng](https://forum.aim-linux.advantech.com/u/Jems_Cheng)\
**Post date:** [March 2, 2023, 8:39am UTC](https://forum.aim-linux.advantech.com/t/epc-r7200-about-building-an-environment-on-the-host/394/9 "2023-03-02T08:39:23Z")

</div>

Hello,

Recovery mode is used for flashing OS image so you cannot ping the target devices successfully in recovery mode. It can only be used to flash OS image to the target in recovery mode. After the OS image has been flashed to the target, then you can use the Micro USB port (l4tbr0 IP Addr: 192.168.55.1) to install Jetson SDK components. Check the IP Addr in the target ubuntu OS. The IP Addr is 192.168.55.1 in “l4tbr0”

 ![image](https://us1.discourse-cdn.com/flex016/uploads/aim_linux/original/1X/fd05c0c413981fcbb53e6097ecf85cec7deaf544.png)

So,

1. Please make sure that your target device (Xavier NX) has flashed the OS image.
2. Power on the Xavier NX system and connect the micro-USB cable to your Ubuntu host system (Type A)
3. Now it can ping 192.168.55.1. The default USB IP address is 192.168.55.1.  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/aim_linux/original/1X/7f9c5e9292fe7d91ec70d0df970260fbeaa8e02d.png)
