Skip to content

Commit

Permalink
Merge pull request #628 from wu-yue-yu/main
Browse files Browse the repository at this point in the history
lpi3h: Update images
  • Loading branch information
Zepan authored Feb 27, 2024
2 parents a9c8d10 + ca578d6 commit bc7373d
Show file tree
Hide file tree
Showing 8 changed files with 83 additions and 12 deletions.
17 changes: 12 additions & 5 deletions docs/hardware/en/longan/h618/lpi3h/3_images.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,21 @@ Account: `sipeed`, Password: `licheepi`.
20240110:
- Add SD, EMMC bootable burnable image files
- Fix DNS issues
20240226:
- Add GPIO sysfs
- Allow SSH login as root user
- Add USB gadget functionality

Download:

百度网盘:[Click me](https://pan.baidu.com/s/1VGaARAq6dbicFy4VOytRuw) 提取码: cd68
Mega[Click me](https://mega.nz/folder/gt50zDoC#LgRvHVCzWTUgGohKoMtlqA)
BaiduNetdisk: [Click me](https://pan.baidu.com/s/1VGaARAq6dbicFy4VOytRuw) 提取码: cd68
Mega: [Click me](https://mega.nz/folder/gt50zDoC#LgRvHVCzWTUgGohKoMtlqA)

<!--
### Android 12

TBD
-->
20240226:
- Release of the first version of the image (without wifi/bt support)

Download:
BaiduNetdisk: [Click me](https://pan.baidu.com/s/1t-cNlIIU0P8VDmkC518W6Q) 提取码: rb4d
Mega: [Click me](https://mega.nz/folder/Z14klTRI#l4aMYdxgFzUf-SirkvdOhg)
18 changes: 16 additions & 2 deletions docs/hardware/en/longan/h618/lpi3h/4_burn_image.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Refer to the previous section[images](https://wiki.sipeed.com/hardware/en/longan
The commonly used tools for flashing images to an SD card are balenaEtcher, Rufus, etc. Here, we'll use balenaEtcher as an example. First, go to the [balenaEtcher official website](https://etcher.balena.io/#download-etcher) to download and install the software.
For Linux, you can also use the dd command to write the image directly.

## Flashing the Image to SD cards
### Flashing the Linux Image to SD cards

After preparing the image to be flashed, open balenaEtcher. First, select the image file you want to flash:

Expand All @@ -37,7 +37,7 @@ Finally, click on "Flash" and wait for the flashing process to complete. Once it

The steps for Windows and Linux are similar.

### Burning the image to EMMC
### Flashing the Linux image to EMMC

**Note that you need to use the image version 20240106 and above**
First, copy the image file to be burned to the pre-made boot TF card, and then enter the system and use the dd command to write the image file to the EMMC: ```shell
Expand All @@ -47,3 +47,17 @@ sync
When the burning is finished, unplug the SD card and you can enter the system from the EMMC.

If you want to boot with EMMC and use SD card for expansion, you need to make sure that the SD card is formatted and does not contain a boot image, otherwise it may be changed to SD card boot due to priority issues.

### Flashing the Android image to SD card

**Note: Android images cannot be flashed using balenaEtcher. Please use PhoenixCard to flash the image before it can be booted.**

First, download the PhoenixCard tool from the cloud storage. Once downloaded, open the tool and select the second option: 启动卡. Then click the 烧卡 button to burn the Android image to the TF card, and it will be ready for use.

![flash_to_sd](./../../../../zh/longan/h618/lpi3h/assets/burn_image/flash_to_sd.png)

### Flashing the Android image to EMMC

Open PhoenixCard and select the first option: 量产卡. Then click the 烧卡 button to burn the Android image to the TF card, and then insert the TF card into the board. Power on the board, and the Android image will be automatically flashed to the eMMC. After the flashing process is complete, remove the TF card, and the Android image in the eMMC will be ready for use.

![flash_to_emmc](./../../../../zh/longan/h618/lpi3h/assets/burn_image/flash_to_emmc.png)
14 changes: 14 additions & 0 deletions docs/hardware/en/longan/h618/lpi3h/7_develop_android.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Android Development
keywords: Android, Longan, H618, SBC, ARM, Kernel, SDK, Develop
update:
- date: 2024-02-26
version: v1.0
author: ztd
content:
- Release docs
---

## Android SDK

TODO
14 changes: 11 additions & 3 deletions docs/hardware/zh/longan/h618/lpi3h/3_images.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,21 @@ Sipeed 官方镜像基于 Debian 系统修改适配。
20240110:
- 添加 SD、EMMC 启动可烧录镜像文件
- 修复 DNS 问题
20240226:
- 添加 GPIO sysfs
- 允许使用 root 用户登陆 SSH
- 添加 USB gadget 功能

下载地址:
百度网盘:[点我](https://pan.baidu.com/s/1VGaARAq6dbicFy4VOytRuw) 提取码: cd68
Mega 云盘:[点我](https://mega.nz/folder/gt50zDoC#LgRvHVCzWTUgGohKoMtlqA)

<!--

### Android 12

TBD
-->
20240226:
- 发布初版镜像(无wifi/bt支持)

下载地址:
百度网盘:[点我](https://pan.baidu.com/s/1t-cNlIIU0P8VDmkC518W6Q) 提取码: rb4d
Mega 云盘:[点我](https://mega.nz/folder/Z14klTRI#l4aMYdxgFzUf-SirkvdOhg)
18 changes: 16 additions & 2 deletions docs/hardware/zh/longan/h618/lpi3h/4_burn_image.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Linux 下也可以使用 dd 命令直接写入。

## 烧录镜像

### 烧录镜像至 SD 卡
### 烧录 Linux 镜像至 SD 卡

准备好要烧录的镜像后,打开 balenaEtcher,先选择要烧录的镜像文件:

Expand All @@ -38,7 +38,7 @@ Linux 下也可以使用 dd 命令直接写入。

Windows 系统和 Linux 的步骤类似。

### 烧录镜像至 EMMC
### 烧录 Linux 镜像至 EMMC

**注意需要使用20240106及以上版本的镜像**

Expand All @@ -51,3 +51,17 @@ sync
等到烧录完成后,拔掉 SD 卡,即可从EMMC进入系统。

若要使用 EMMC 启动,并使用SD卡扩容,需要确保SD卡已格式化,其中不包含启动镜像,否则因为优先级的问题可能会变为SD卡启动。

### 烧录安卓镜像至 SD 卡

**注意,安卓镜像不能使用 balenaEtcher 进行烧录,需要使用 PhoenixCard 烧录后才能启动。**

首先下载网盘中的 PhoenixCard 工具,打开后选择第二项:启动卡。将安卓镜像烧录到 TF 卡中即可使用。

![flash_to_sd](./assets/burn_image/flash_to_sd.png)

### 烧录安卓镜像至 EMMC

打开 PhoenixCard,选择第一项:量产卡。烧录安卓镜像到 TF 卡中,然后将TF卡插入到底板,上电,此时会自动将安卓镜像烧录到 EMMC 中,等待烧录完成后拔掉 TF 卡即可使用 EMMC 的中安卓镜像。

![flash_to_emmc](./assets/burn_image/flash_to_emmc.png)
14 changes: 14 additions & 0 deletions docs/hardware/zh/longan/h618/lpi3h/7_develop_android.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Android 开发
keywords: Android, Longan, H618, SBC, ARM, Kernel, SDK, Develop
update:
- date: 2024-02-26
version: v1.0
author: ztd
content:
- Release docs
---

## Android SDK

TODO
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bc7373d

Please sign in to comment.