Skip to content

Commit 7038a4c

Browse files
authored
Merge pull request #1977 from tangzz-radxa/docs/airbox-q900-download-tabs-20260807
docs(airbox-q900): add per-platform download tabs with QDL compile steps for Ubuntu 26.04
2 parents 79b86e9 + a5c7f92 commit 7038a4c

2 files changed

Lines changed: 112 additions & 0 deletions

File tree

  • docs/fogwise/airbox-q900/getting-started/install-system
  • i18n/en/docusaurus-plugin-content-docs/current/fogwise/airbox-q900/getting-started/install-system

docs/fogwise/airbox-q900/getting-started/install-system/onboard-ufs.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,62 @@ Bus 001 Device 012: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)
121121

122122
进入 [资源汇总下载](../../download.md) 页面下载启动固件和系统镜像文件。
123123

124+
<Tabs queryString="download-platform">
125+
126+
<TabItem value="Windows">
127+
128+
进入 [资源汇总下载](../../download.md) 页面下载启动固件和系统镜像文件和 QDL 工具。
129+
130+
</TabItem>
131+
132+
<TabItem value="Ubuntu 22.04 / 24.04">
133+
134+
进入 [资源汇总下载](../../download.md) 页面下载启动固件和系统镜像文件和 QDL 工具。
135+
136+
</TabItem>
137+
138+
<TabItem value="Ubuntu 26.04">
139+
140+
Ubuntu 26.04 需要自行编译 QDL 工具,编译步骤参考 [QDL 官方文档](https://github.com/linux-msm/qdl/blob/master/README.md)
141+
142+
1. 安装编译依赖
143+
144+
<NewCodeBlock tip="Ubuntu$" type="host">
145+
146+
```bash
147+
sudo apt install libxml2-dev libusb-1.0-0-dev libzip-dev meson ninja-build help2man
148+
```
149+
150+
</NewCodeBlock>
151+
152+
2. 下载 QDL 源码
153+
154+
<NewCodeBlock tip="Ubuntu$" type="host">
155+
156+
```bash
157+
git clone https://github.com/linux-msm/qdl.git
158+
cd qdl
159+
```
160+
161+
</NewCodeBlock>
162+
163+
3. 编译 QDL
164+
165+
<NewCodeBlock tip="Ubuntu$" type="host">
166+
167+
```bash
168+
meson setup build
169+
meson compile -C build
170+
```
171+
172+
</NewCodeBlock>
173+
174+
编译完成后,`build/qdl` 即为 QDL 可执行文件。
175+
176+
</TabItem>
177+
178+
</Tabs>
179+
124180
### 设置环境变量
125181

126182
设置环境变量,可以简化后续的烧录操作,简化命令。

i18n/en/docusaurus-plugin-content-docs/current/fogwise/airbox-q900/getting-started/install-system/onboard-ufs.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,62 @@ This section describes how to install the system onto the onboard UFS of the Fog
122122

123123
Go to the [Resource Downloads](../../download.md) page to download the boot firmware and system image files.
124124

125+
<Tabs queryString="download-platform">
126+
127+
<TabItem value="Windows">
128+
129+
Go to the [Resource Downloads](../../download.md) page to download the boot firmware, system image files, and the QDL tool.
130+
131+
</TabItem>
132+
133+
<TabItem value="Ubuntu 22.04 / 24.04">
134+
135+
Go to the [Resource Downloads](../../download.md) page to download the boot firmware, system image files, and the QDL tool.
136+
137+
</TabItem>
138+
139+
<TabItem value="Ubuntu 26.04">
140+
141+
For Ubuntu 26.04, you need to compile the QDL tool from source. For compilation steps, refer to the [official QDL documentation](https://github.com/linux-msm/qdl/blob/master/README.md).
142+
143+
1. Install build dependencies
144+
145+
<NewCodeBlock tip="Ubuntu$" type="host">
146+
147+
```bash
148+
sudo apt install libxml2-dev libusb-1.0-0-dev libzip-dev meson ninja-build help2man
149+
```
150+
151+
</NewCodeBlock>
152+
153+
2. Download the QDL source code
154+
155+
<NewCodeBlock tip="Ubuntu$" type="host">
156+
157+
```bash
158+
git clone https://github.com/linux-msm/qdl.git
159+
cd qdl
160+
```
161+
162+
</NewCodeBlock>
163+
164+
3. Compile QDL
165+
166+
<NewCodeBlock tip="Ubuntu$" type="host">
167+
168+
```bash
169+
meson setup build
170+
meson compile -C build
171+
```
172+
173+
</NewCodeBlock>
174+
175+
After compilation, `build/qdl` is the QDL executable.
176+
177+
</TabItem>
178+
179+
</Tabs>
180+
125181
### Set Environment Variables
126182

127183
Setting environment variables can simplify subsequent flashing operations and commands.

0 commit comments

Comments
 (0)