Skip to content

Commit

Permalink
Fix broken list with wrong orderer list marker
Browse files Browse the repository at this point in the history
  • Loading branch information
kagura114 authored and RevySR committed Dec 28, 2024
1 parent 2a637b7 commit 3c1b29b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 24 deletions.
14 changes: 7 additions & 7 deletions docs/Installation/licheepi4a.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,30 +102,30 @@ unzstd root-lpi4a-20240720_171951.ext4.zst

### Flashing the Image to eMMC (Without Serial Connection)

1. Hold down the BOOT button on the board and connect it to the computer via USB. The board will enter flashing mode.
Hold down the BOOT button on the board and connect it to the computer via USB. The board will enter flashing mode.

### Flashing the Image to eMMC (With Serial Connection)

1. Open `minicom` in a terminal to access the serial console:
Open `minicom` in a terminal to access the serial console:

```bash
sudo minicom
```

2. Connect the USB end to the computer, and connect the Type-C interface on the board to the computer with a USB-Type-C cable.
Connect the USB end to the computer, and connect the Type-C interface on the board to the computer with a USB-Type-C cable.

Connect the serial port like following image. In the red circle(count from left to right, the second pin on the first row) is GND, in the yellow circle(fifth pin on the first row) is TX and in the green circle(fifth pin on the second row) is RX. You have to connect TX to RX, RX to TX and GND to GND when connecting to your host device.

![](./image%20for%20flash/lpi4a6.png)


3. In the serial console, press any key to interrupt the boot process. Then, enter the following command:
In the serial console, press any key to interrupt the boot process. Then, enter the following command:

```bash
fastboot usb 0
```

4. In a new terminal window, navigate to the folder where the image files are stored, and execute the following flash commands:
In a new terminal window, navigate to the folder where the image files are stored, and execute the following flash commands:
#### Enter u-boot fastboot
If running `lsusb` doesn't give a `ID 1234:8888 Brain Actuated Technologies USB download gadget` output, excecute following commant to enter u-boot fastboot
```bash
Expand All @@ -144,12 +144,12 @@ If running `lsusb` doesn't give a `ID 1234:8888 Brain Actuated Technologies USB
fastboot flash root root-lpi4a-20240720_171951.ext4
```

5. Monitor the flashing progress in the serial console.
Monitor the flashing progress in the serial console.

In serial you can see the image size and the being flashing partition in `cmd_parameter: boot, imagesize: 92886476` (In this guide we are flashing the boot image which has a size of 92886476 Bytes)
![](./image%20for%20flash/lpi4a7.png)

6. After flashing is complete, disconnect the USB-Type-C cable, connect the power cable, and boot into the system.
After flashing is complete, disconnect the USB-Type-C cable, connect the power cable, and boot into the system.

#### Some possible problems
If you can see download device in `lsusb`, but`fastboot` stuck at `< waiting for any device >`you can try run `fastboot` with root privilege.
Expand Down
22 changes: 5 additions & 17 deletions docs/Installation/milkv-pioneer.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,20 @@ After flashing, use `sync` to ensure data is fully written to the SD card.

Flashing to the SPI Flash requires installing utilities and loading the `mtd` module.

1. Install necessary packages:
Install necessary packages:

```bash
sudo apt install mtd-utils
sudo modprobe mtdblock
```

2. Download the firmware file:
Download the firmware file:

```bash
wget https://mirror.iscas.ac.cn/revyos/extra/images/sg2042/20240819/firmware_single_sg2042-v6.6-lts-v0p7.bin
```

3. Navigate to the directory where `firmware_single_sg2042-v6.6-lts-v0p7.bin` was downloaded and run:
Navigate to the directory where `firmware_single_sg2042-v6.6-lts-v0p7.bin` was downloaded and run:

```bash
sudo flashcp -v firmware_single_sg2042-v6.6-lts-v0p7.bin /dev/mtd1
Expand All @@ -98,23 +98,11 @@ Flashing to SPI Flash is now complete.

### Using Command Line

1. Decompress the `revyos-pioneer-20240819-154656.img.zst` file:

```bash
unzstd revyos-pioneer-20240819-154656.img.zst
```

This produces the `revyos-pioneer-20240819-154656.img` file.
1. Decompress the `revyos-pioneer-20240819-154656.img.zst` file using `unzstd revyos-pioneer-20240819-154656.img.zst`. This produces the `revyos-pioneer-20240819-154656.img` file.

2. Insert the NVMe SSD into the reader and connect it to your computer, then confirm the device path.

3. In the directory containing `revyos-pioneer-20240819-154656.img`, flash the image to the NVMe SSD:

```bash
sudo dd if=revyos-pioneer-20240819-154656.img of=/dev/nvme0n1 bs=4M status=progress
```

Replace `of=/dev/nvme0n1` with the correct device path if different.
3. In the directory containing `revyos-pioneer-20240819-154656.img`, flash the image to the NVMe SSD with dd command: `sudo dd if=revyos-pioneer-20240819-154656.img of=/dev/nvme0n1 bs=4M status=progress`. Replace `of=/dev/nvme0n1` with the correct device path if different.

4. After flashing, use `sync` to ensure the data is fully written to the NVMe SSD.

Expand Down

0 comments on commit 3c1b29b

Please sign in to comment.