Skip to content

Added Radxa ROCK 4D Tutorial #809

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,22 @@ sidebar_custom_props:
},
],
},
{
products_name: "ROCK 4D",
products_photo_url: "/home/product-pictures/rock4d.webp",
products_link: "/rock4/rock4d",
docs:
[
{
docs_link: "/rock4/rock4d",
docs_photo_type: "Overview",
docs_name_en: "Overview",
docs_name_zh: "ROCK 4D 概览",
docs_info_en: "Overview of the ROCK 4D",
docs_info_zh: "ROCK 4D 概览",
},
],
},
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/common/dev/_rkdeveloptoolV2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ rkdeveloptool 不支持选择 Maskrom 设备,也无法选择待写入的存储
>
{`

1. 解压镜像文件(镜像文件请到 "文件下载" 部分下载, 此处 以 #model#_debian_bullseye-test_#desktop#_#release_num#.img.xz 为例)
1. 解压镜像文件(镜像文件请到 "文件下载" 部分下载, 此处 以 #model#_debian_bullseye-test_#desktop#_#release_num#.img.xz 为例)
xz -d #model#\_debian_bullseye-test_#desktop#\_#release_num#.img.xz
2. 烧录 Loader (Loader文件请到本文 "文件下载" 部分下载)
sudo rkdeveloptool db #loader#
Expand Down
2 changes: 1 addition & 1 deletion docs/common/radxa-os/_mali-gpu.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ blacklist panfrost
#blacklist midgard_kbase
```

## 关闭 Zink 支持
## 关闭 Zinc 支持

```bash
echo "LIBGL_KOPPER_DISABLE=true" | sudo tee -a /etc/environment
Expand Down
19 changes: 18 additions & 1 deletion docs/e/e54c/getting-started/install-os/boot_from_nvme.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ rsetup
为防止 SPI Flash 中存放的 bootloader 在平时使用被误写入,默认 SPI Flash 设备是关闭的。通过以下方式使能 SPI Flash 设备。

选择 `Overlays` → `Manage Overlays` :

<div style={{textAlign: 'center'}}>
<img src="/img/e/e54c/rsetup-04.webp" style={{width: '100%', maxWidth: '1200px'}} />
</div>
Expand Down Expand Up @@ -92,6 +93,7 @@ rsetup
重启系统后,再次打开系统配置工具 `rsetup`。

选择 `System` → `Bootloader Management` → `Update SPI Bootloader` :

<div style={{textAlign: 'center'}}>
<img src="/img/e/e54c/rsetup-10.webp" style={{width: '100%', maxWidth: '1200px'}} />
</div>
Expand Down Expand Up @@ -194,7 +196,9 @@ sudo xzcat ~/radxa-e54c_bookworm_cli_b2.output.img.xz | sudo dd of=/dev/nvme0n1

<NewCodeBlock tip="radxa@radxa-e54c$" type="host">
```

sudo fdisk -l /dev/nvme0n1

```
</NewCodeBlock>

Expand All @@ -221,8 +225,10 @@ sudo fdisk -l /dev/nvme0n1

<NewCodeBlock tip="radxa@radxa-e54c$" type="host">
```

lsblk
df -h

```
</NewCodeBlock>

Expand Down Expand Up @@ -255,7 +261,9 @@ df -h

<NewCodeBlock tip="radxa@radxa-e54c$" type="host">
```

sudo apt update && sudo apt upgrade

```
</NewCodeBlock>

Expand All @@ -273,30 +281,39 @@ sudo apt update && sudo apt upgrade

<NewCodeBlock tip="radxa@radxa-e54c$" type="host">
```

sudo dd if=/dev/nvme0n1 of=/dev/null bs=1M count=1024 iflag=direct

```
</NewCodeBlock>

- 检查NVMe温度

<NewCodeBlock tip="radxa@radxa-e54c$" type="host">
```

# 安装 nvme-cli

sudo apt install nvme-cli

# 检查温度

sudo nvme smart-log /dev/nvme0n1 | grep "temperature"

```
</NewCodeBlock>

- 查看NVMe设备的详细信息和健康状态

<NewCodeBlock tip="radxa@radxa-e54c$" type="host">
```

sudo nvme list

```
</NewCodeBlock>

<div style={{textAlign: 'center'}}>
<img src="/img/e/e54c/rsetup-17.webp" style={{width: '100%', maxWidth: '1200px'}} />
</div>
</div>
```
164 changes: 87 additions & 77 deletions docs/orion/o6/bios/install-bios.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ description: ""
<NewCodeBlock tip="Host-Computer" type="host">

```
BuildOptions
BurnImage.efi
cix_flash_all.bin
cix_flash_ota.bin
FlashUpdate.efi
setup.nsh
Shell.efi
BuildOptions
BurnImage.efi
cix_flash_all.bin
cix_flash_ota.bin
FlashUpdate.efi
setup.nsh
Shell.efi
VariableInfo.efi
```

Expand Down Expand Up @@ -133,23 +133,28 @@ Please make sure the power stays on during the operation.

Enter 'q' to quit, any other key to continue:

************************************************************************
---

Updating BIOS...
************************************************************************

---

========================================================================
Copyright 2024 Cix Technology Group Co., Ltd. All Rights Reserved.
FlashUpdate Utility v1.04.
Build Date:Jan 16 2025
Copyright 2024 Cix Technology Group Co., Ltd. All Rights Reserved.
FlashUpdate Utility v1.04.
Build Date:Jan 16 2025
========================================================================
Old Version:0.2.2-1
New Version:0.2.2-1
[00.15] Processing...
Flash update success.

************************************************************************
---

BIOS Update completed!
************************************************************************

---

System will now power off.
You MUST fully remove all connected power source before connecting them.
Failure to do so may prevent some components to use the updated code.
Expand Down Expand Up @@ -183,9 +188,11 @@ Reset with BIOS Update (24 bytes)

<NewCodeBlock tip="O6-Serial-Console" type="host">
```

Tianocore/EDK2 firmware version 0.2.2-1
Press ESCAPE for boot options
.....

```
</NewCodeBlock>

Expand All @@ -194,28 +201,21 @@ Press ESCAPE for boot options
<NewCodeBlock tip="O6-Serial-Console" type="host">
```

Radxa Orion O6
CIX P1 CD8180 1.80 GHz
0.2.2-1 65536 MB RAM



Select Language <English> This is the option
one adjusts to change
> Device Manager the language for the
> Boot Manager current system
> Boot Maintenance Manager
Radxa Orion O6
CIX P1 CD8180 1.80 GHz
0.2.2-1 65536 MB RAM

Continue
Reset
Select Language <English> This is the option
one adjusts to change

> Device Manager the language for the
> Boot Manager current system
> Boot Maintenance Manager

Continue
Reset





^v=Move Highlight <Enter>=Select Entry
^v=Move Highlight <Enter>=Select Entry

```
</NewCodeBlock>
Expand All @@ -228,29 +228,27 @@ Press ESCAPE for boot options

<NewCodeBlock tip="O6-Serial-Console" type="host">
```

/------------------------------------------------------------------------------\
| Boot Manager |
| Boot Manager |
\------------------------------------------------------------------------------/

Device Path :
Boot Manager Menu Fv(9A15AA37-D555-4A4E-
B541-86391FF68164)/FvF
debian ile(7C04A583-9E3E-4F1C
UEFI aigo U330 90003C33924E4D12 -AD65-E05268D0B4D1)
UEFI KINGBANK KP230 K19010J001612
UEFI Shell

Use the <^> and <v> keys to choose a boot option,
the <Enter> key to select a boot option, and the
<Esc> key to exit the Boot Manager Menu.



Boot Manager Menu Fv(9A15AA37-D555-4A4E-
B541-86391FF68164)/FvF
debian ile(7C04A583-9E3E-4F1C
UEFI aigo U330 90003C33924E4D12 -AD65-E05268D0B4D1)
UEFI KINGBANK KP230 K19010J001612
UEFI Shell

Use the <^> and <v> keys to choose a boot option,
the <Enter> key to select a boot option, and the
<Esc> key to exit the Boot Manager Menu.

/------------------------------------------------------------------------------\
| |
| ^v=Move Highlight <Enter>=Select Entry Esc=Exit |
| |
| ^v=Move Highlight <Enter>=Select Entry Esc=Exit |
\------------------------------------------------------------------------------/

```
Expand All @@ -260,33 +258,35 @@ Press ESCAPE for boot options

<NewCodeBlock tip="O6-Serial-Console" type="host">
```

UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
Mapping table
FS0: Alias(s):HD0b:;BLK1:
PciRoot(0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-0
FS0: Alias(s):HD0b:;BLK1:
PciRoot(0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-0
1)/HD(1,GPT,80810833-48A5-4976-A296-0209E1012834,0x800,0x100000)
FS1: Alias(s):HD1b0c:;BLK6:
VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,00801D090000000000)/USB(0x1
FS1: Alias(s):HD1b0c:;BLK6:
VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,00801D090000000000)/USB(0x1
,0x0)/HD(2,GPT,3A7E1703-AD97-4EE2-A0E0-BDC978C453D0,0x8800,0x3A8F000)
BLK0: Alias(s):
PciRoot(0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-0
1)
BLK2: Alias(s):
PciRoot(0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-0
1)/HD(2,GPT,02EC7511-B73F-4F06-ABBF-ACEF796021D2,0x100800,0xEB93000)
BLK3: Alias(s):
PciRoot(0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-0
1)/HD(3,GPT,19A46BB8-BDB9-4A8B-A2A8-03CE65C39A29,0xEC93800,0x1E8800)
BLK4: Alias(s):
VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,00801D090000000000)/USB(0x1
,0x0)
BLK5: Alias(s):
VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,00801D090000000000)/USB(0x1
,0x0)/HD(1,GPT,EE706585-639D-48CE-B236-4C372373E325,0x800,0x8000)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell>
BLK0: Alias(s):
PciRoot(0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-0

1. BLK2: Alias(s):
PciRoot(0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-0
1)/HD(2,GPT,02EC7511-B73F-4F06-ABBF-ACEF796021D2,0x100800,0xEB93000)
BLK3: Alias(s):
PciRoot(0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-0
1)/HD(3,GPT,19A46BB8-BDB9-4A8B-A2A8-03CE65C39A29,0xEC93800,0x1E8800)
BLK4: Alias(s):
VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,00801D090000000000)/USB(0x1
,0x0)
BLK5: Alias(s):
VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,00801D090000000000)/USB(0x1
,0x0)/HD(1,GPT,EE706585-639D-48CE-B236-4C372373E325,0x800,0x8000)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell>

```
</NewCodeBlock>

Expand All @@ -296,33 +296,42 @@ Shell>

<NewCodeBlock tip="O6-Serial-Console" type="host">
```

FS1:\> setup.nsh
************************************************************************

---

Radxa BIOS Update Utility
************************************************************************

---

You are about to update the BIOS.
Please make sure the power stays on during the operation.

Enter 'q' to quit, any other key to continue:

************************************************************************
---

Updating BIOS...
************************************************************************

---

========================================================================
Copyright 2024 Cix Technology Group Co., Ltd. All Rights Reserved.
FlashUpdate Utility v1.04.
Build Date:Jan 16 2025
Copyright 2024 Cix Technology Group Co., Ltd. All Rights Reserved.
FlashUpdate Utility v1.04.
Build Date:Jan 16 2025
========================================================================
Old Version:0.2.2-1
New Version:0.2.2-1
[00.15] Processing...
Flash update success.

************************************************************************
---

BIOS Update completed!
************************************************************************

---

System will now power off.
You MUST fully remove all connected power source before connecting them.
Failure to do so may prevent some components to use the updated code.
Expand All @@ -341,3 +350,4 @@ Reset with BIOS Update (24 bytes)
### 方法三:离线更新 BIOS

对于需要从损坏的BIOS中恢复或偏好直接硬件访问的高级用户,可以使用 Serial Flash 编程器(如CH341A)将BIOS固件(cix_flash_all.bin)直接刷写到SPI NOR Flash芯片中。此方法完全绕过操作系统,即使在设备无法启动的情况下也能工作。有关详细的步骤说明和硬件要求,请参阅社区成员Meco提供的全面[论坛指南](https://forum.radxa.com/t/guide-flash-bios-with-ch341a-macos-linux/26742),其中涵盖了在macOS和Linux平台上的操作过程。
```
Loading
Loading