Skip to content

Commit

Permalink
Merge pull request #166 from mrodriguez3313/main
Browse files Browse the repository at this point in the history
rk1 advanced firmware upgrade
  • Loading branch information
ehsan6sha authored Jul 28, 2024
2 parents 143f42c + c60b748 commit 602aa6f
Show file tree
Hide file tree
Showing 10 changed files with 71 additions and 14 deletions.
83 changes: 70 additions & 13 deletions docs/functionyard/hardware/fxblox-hardware-rk1-reimage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,92 @@
title: Re-imaging RK1
id: fxblox-hardware-rk1-reimage
---
import ReactPlayer from 'react-player';

# Advanced Firmware Update Process

If for any reason the RK1 fulatower gets stuck in a blue/white light without going through the whole boot process, or it is not connected to the Wi-Fi or propagating the FxBlox hotspot, you need to perform a full re-image. This process requires you to first open the tower, which involves unscrewing parts of it. The process of opening the tower is shown in the video below:
:::info This process is only available Windows
:::

<center>
<ReactPlayer controls url="https://youtu.be/feBov6U_kJs&t=246s" />
</center>
If for any reason the RK1 fulatower gets stuck in a blue/white light without going through the whole boot process, or it is not connected to the Wi-Fi or propagating the FxBlox hotspot, you need to perform a full re-image.

## Steps for Re-imaging
## Written Guide for Re-Imaging

1. **Unplug the tower from power**

Ensure the tower is not connected to any power source before proceeding.

2. **Opening the tower**

Follow the instructions in the video linked above to open the tower safely.
Follow the instructions here to remove the single board computer (SBC) from the case.

<center>
<ReactPlayer controls url="https://youtu.be/feBov6U_kJs&t=246s" />
</center>

3. **Download Blox drivers**

You can download the drivers [from our github](../../../rk1-installs/DriverAssitant_v5.1.1.zip).

Now, find it in your Downloads, right-click it, and extract all.

4. **Install Drivers**

After its been extracted, run the executable to install.

5. **Download RKDevTool app**

Various antivirus might flag the rk1 flash tool as malware, but its safe to download. You can get the program [from our github](../../../rk1-installs/RKDevTool_Release_v2.96.rar).

6. **Unzip and install RKDevTool**

We recommend using [winrar](https://www.win-rar.com/download.html?&L=0) to unzip the RKDevTool. Regular Windows extract will not work.

After you've extracted it, you can install the program with all of its default settings.

7. **Download and unzip latest full image**

Find `minimal_fullimage_minimal.zip` in the [latest release](https://github.com/functionland/rk1-image/releases/latest) under the Assets section on GitHub.

Now, find it in your Downloads, right-click it, and extract all. You will need this in step 11.

8. **Download the rk3588 spl loader**

Finally, download the spl loader [from our github](../../../rk1-installs/rk3588_spl_loader_v1.08.111.bin) as well. You will need this in step 11.

9. **Short pins to enter BOOT mode**

To get the RK1 into BOOT mode, you need to "short the pins". Specifically you need to short the pins labeled BOOT. This means to create a connection between one pin and the another. This can be done with anything conductive. Or if you have male-male jumper cable that would the best way to short the pins.

<img src="/img/fxyard-network/bootpins.JPG" style={{ width:400 }} />

The red box shows where the pins marked BOOT are located.
<br/>
<img src="/img/fxyard-network/bootpins2.jpg" style={{ width:400 }} />

So to not take apart the whole board, the jumper cable can be inserted through the bottom of the board.
10. **Connect Blox to computer**

Connect a usb-c cable to the middle port and the other end to your computer. ONLY the middle port is used for loading the firmware onto the Blox.

11. **Power on Blox and run RKDevTool**

With the Blox connected to your computer and the installer ready. Connect a power cable to the blox, and now you should hear your windows device recognize the blox.

3. **Download and install Blox drivers**
12. **How To Run RKDevTool**

4. **Download, unzip, and install RKDevTool app**
1. Verify the Name col, is set to blank and EMMC.
2. Click on the elipse's cell in row 1 to select the spl loader. Now, click on the second row's elipse cell to choose the full image.
3. Check the _Write by Address_ box.
4. Verify it says Found One MASKROM Device at the bottom of the page.
5. Click *Run* and wait about 10 minutes for it to complete.

5. **Download and unzip latest full image from GitHub**
<img src="/img/fxyard-network/rkdev_ss.png"/>

Find `minimal_fullimage_minimal.zip` in the [latest release](https://github.com/functionland/rk1-image/releases/latest) under the Assets section on GitHub.
13. **Finishing steps**

Now, find it in your Downloads, right-click it, and extract all.
After you get a message saying the downloading is complete. You can unplug the jumper cable, pc cable, and now unplug and replug in the power. Now wait 10-20 minutes to get a flashing cyan lights. Be patient on the first boot, post-update! The FxBlox automatically reboots a couple times and will go through a series of lights. This full process should take about 20 minutes to fully process the update and show the FxBlox WiFi.

6. **Download the rk3588 spl loader**
14. **Put Blox back together**

7.
After you've verified that the Blox can get to the flashing cyan light state, you can unplug the Blox, put it back together, and plug it back in.
Binary file added rk1-installs/DriverAssitant_v5.1.1.zip
Binary file not shown.
Binary file added rk1-installs/RKDevTool_Release_v2.96.rar
Binary file not shown.
Binary file added rk1-installs/rk3588_spl_loader_v1.08.111.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const sidebars = {
'functionyard/hardware/fxblox-hardware-rpi',
'functionyard/hardware/fxblox-hardware-rk1',
'functionyard/hardware/fxblox-hardware-rpi-reimage',
// 'functionyard/hardware/fxblox-hardware-rk1-reimage'
'functionyard/hardware/fxblox-hardware-rk1-reimage',
]
},
'functionyard/add-storage',
Expand Down
Binary file added static/img/fxyard-network/IMG_0014.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/fxyard-network/IMG_1148.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/fxyard-network/bootpins.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/fxyard-network/bootpins2.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/fxyard-network/rkdev_ss.png
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 602aa6f

Please sign in to comment.