Skip to content

Commit

Permalink
fix: broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwang2050 committed Sep 25, 2024
1 parent bb08556 commit 57940f3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
30 changes: 15 additions & 15 deletions docs/nio/nio12l/ubuntu/ubuntu-user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ sidebar_position: 5

## 默认用户名和密码

<pre>
```
username : ubuntu
password : ubuntu
</pre>
```

## 访问设备

Expand All @@ -22,10 +22,10 @@ password : ubuntu
SSH 服务默认是使能的。
可以在路由器管理界面查看设备的 IP;或者是通过电脑主机的 [angryip](https://angryip.org/) 来找到设备的 IP。

<pre>
```
$ ping ip-of-device
$ ssh ubuntu@ip-of-device
</pre>
```

第一次登陆,会强制让用户修改密码。请按照提示操作。

Expand All @@ -35,25 +35,25 @@ $ ssh ubuntu@ip-of-device

## 添加源并安装视频硬件包

<pre>
```
$ sudo apt-add-repository ppa:mediatek-genio/genio-public
$ sudo apt update
$ sudo apt install mediatek-vpud-genio1200
$ sudo apt install gstreamer1.0-plugins-base
$ sudo apt install gstreamer1.0-plugins-good
$ sudo apt install gstreamer1.0-plugins-bad
$ sudo rm ~/.cache/gstreamer-1.0/registry.aarch64.bin
</pre>
```

## 更新内核

下载最新的 kernel 包,并安装

<pre>
```
$ wget https://dl.radxa.com/nio12l/images/ubuntu/radxa-nio-12l-kernel-5.15.0-1029.33-packages.tar.gz
$ tar zxvf radxa-nio-12l-kernel-5.15.0-1029.33-packages.tar.gz
$ sudo dpkg -i radxa-nio-12l-kernel-5.15.0-1029.33-packages/*.deb
</pre>
```

安装完内核后,需要重启才生效。

Expand All @@ -69,19 +69,19 @@ $ sudo dpkg -i radxa-nio-12l-kernel-5.15.0-1029.33-packages/*.deb
修改文件 `u-boot-initial-env`
找到 `list_dtbo=` 行,追加写入 `radxa-nio-12l-radxa-display-8hd.dtbo` 字符串。如:

<pre>
```
list_dtbo= gpu-mali.dtbo video.dtbo ddr-8g.dtbo radxa-nio-12l-radxa-display-8hd.dtbo
</pre>
```

### 步骤三:执行命令 `genio-flash board-assets`

<pre>
```
$ genio-flash board-assets
</pre>
```

### 步骤四:板子进入下载模式

参照[NIO 12L 进入烧录模式](/en/nio/nio12l/installation/install-ubuntu-image-on-linux-pc#enter-download-mode)
参照[NIO 12L 进入烧录模式](/nio/nio12l/installation/install-ubuntu-image-on-linux-pc#enter-download-mode)

这样主机将会把新的 `u-boot-initial-env` 更新到设备中。

Expand All @@ -91,6 +91,6 @@ $ genio-flash board-assets

安装 qtcreator。

<pre>
```
$ sudo apt update && sudo apt install -y qtcreator
</pre>
```
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ sidebar_position: 5

## Default user name and password

<pre>
```
username : ubuntu
password : ubuntu
</pre>
```

## Access the device

Expand All @@ -22,10 +22,10 @@ You can view the Desktop on the monitor.
ssh service is enabled by default.
You can find the IP from the router management windows or [angryip](https://angryip.org/).

<pre>
```
$ ping ip-of-device
$ ssh ubuntu@ip-of-device
</pre>
```

The first login will force the user to change their password. Please follow the prompts.

Expand All @@ -35,25 +35,25 @@ Please refer to [NIO 12L serial port usage](/nio/nio12l/low-level-dev/serial).

## Add APT source and install video hardware packages

<pre>
```
$ sudo apt-add-repository ppa:mediatek-genio/genio-public
$ sudo apt update
$ sudo apt install mediatek-vpud-genio1200
$ sudo apt install gstreamer1.0-plugins-base
$ sudo apt install gstreamer1.0-plugins-good
$ sudo apt install gstreamer1.0-plugins-bad
$ sudo rm ~/.cache/gstreamer-1.0/registry.aarch64.bin
</pre>
```

## Update kernel

Download the latest kernel packages and install them.

<pre>
```
$ wget https://dl.radxa.com/nio12l/images/ubuntu/radxa-nio-12l-kernel-5.15.0-1029.33-packages.tar.gz
$ tar zxvf radxa-nio-12l-kernel-5.15.0-1029.33-packages.tar.gz
$ sudo dpkg -i radxa-nio-12l-kernel-5.15.0-1029.33-packages/*.deb
</pre>
```

After installing the kernel, a restart is required for it to take effect.

Expand All @@ -69,15 +69,15 @@ Navigate to the top level of directory including ubuntu system files.
Modify file `u-boot-initial-env`.
Find the line `list_dtbo=` and write `radxa-nio-12l-radxa-display-8hd.dtbo` at the end of the line. Like this:

<pre>
```
list_dtbo= gpu-mali.dtbo video.dtbo ddr-8g.dtbo radxa-nio-12l-radxa-display-8hd.dtbo
</pre>
```

### Step three: Execute the command `genio-flash board-assets`

<pre>
```
$ genio-flash board-assets
</pre>
```

### Step four: Boot the device to download mode

Expand All @@ -91,6 +91,6 @@ Power cycle the device and you will see the Desktop on the 8HD touchscreen.

Install qtcreator.

<pre>
```
$ sudo apt update && sudo apt install -y qtcreator
</pre>
```

0 comments on commit 57940f3

Please sign in to comment.