mirror of
https://github.com/ivabus/website
synced 2024-11-22 08:25:12 +03:00
Add tests section
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
0da3ef456b
commit
9bf056b86e
4 changed files with 3066 additions and 10 deletions
|
@ -2,28 +2,28 @@
|
||||||
layout: post
|
layout: post
|
||||||
summary: "Up to 1.8 GHz without throttling"
|
summary: "Up to 1.8 GHz without throttling"
|
||||||
title: "Overclocking StarFive VisionFive 2"
|
title: "Overclocking StarFive VisionFive 2"
|
||||||
toc: false
|
toc: true
|
||||||
---
|
---
|
||||||
|
|
||||||
# TL;DR
|
# TL;DR
|
||||||
|
|
||||||
Apply a [patch](/posts_media/2023-10-21-overclocking-starfive-vf2/overclock_vf2.patch) to JH7110_VisionFive2_upstream branch of [starfive-tech/linux](https://github.com/starfive-tech/linux). `make -j4; make modules_install; make install; make dtbs_install`. Edit /boot/uEnv.txt `fdtfile` with a proper devicetree path. Profit!
|
Apply a [patch](/posts_media/2023-10-21-overclocking-starfive-vf2/overclock_vf2.patch) to JH7110_VisionFive2_upstream branch of [starfive-tech/linux](https://github.com/starfive-tech/linux). `make -j4; make modules_install; make install; make dtbs_install`. Edit /boot/uEnv.txt `fdtfile` with a proper devicetree path. Profit!
|
||||||
|
|
||||||
# Introduction
|
## Introduction
|
||||||
|
|
||||||
The SiFive U74 frequency in StarFive JH7110 is 1.5 GHz by default, but it can work much better, because even under load the temperature never exceeds 50ºC, so overclocking is worth it. The JH110 can be overclocked to 1.8 GHz, which will be done in this article.
|
The SiFive U74 frequency in StarFive JH7110 is 1.5 GHz by default, but it can work much better, because even under load the temperature never exceeds 50ºC, so overclocking is worth it. The JH110 can be overclocked to 1.8 GHz, which will be done in this article.
|
||||||
|
|
||||||
Warning: You are responsible for the safety of your board.
|
Warning: You are responsible for the safety of your board.
|
||||||
|
|
||||||
# Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- Tree of [starfive-tech/linux](https://github.com/starfive-tech/linux)
|
- Tree of [starfive-tech/linux](https://github.com/starfive-tech/linux)
|
||||||
- [Patch](/posts_media/2023-10-21-overclocking-starfive-vf2/overclock_vf2.patch)
|
- [Patch](/posts_media/2023-10-21-overclocking-starfive-vf2/overclock_vf2.patch)
|
||||||
- Some kind of cooling (just a fan, or with a heat sink)
|
- Some kind of cooling (just a fan, or with a heat sink)
|
||||||
|
|
||||||
# Steps
|
## Steps
|
||||||
|
|
||||||
## Apply a patch
|
### Apply a patch
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cd linux
|
cd linux
|
||||||
|
@ -31,14 +31,14 @@ git checkout JH7110_VisionFive2_upstream
|
||||||
git apply /path/to/patch/overclock_vf2.patch
|
git apply /path/to/patch/overclock_vf2.patch
|
||||||
```
|
```
|
||||||
|
|
||||||
## Compile the kernel
|
### Compile the kernel
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
make starfive_visionfive2_defconfig
|
make starfive_visionfive2_defconfig
|
||||||
make -j4
|
make -j4
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install new kernel
|
### Install new kernel
|
||||||
|
|
||||||
Run as root
|
Run as root
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ make install
|
||||||
make dtbs_install
|
make dtbs_install
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configure bootloader
|
### Configure bootloader
|
||||||
|
|
||||||
Your bootloader should be configured to use `starfive/jh7110-starfive-visionfive-2-v1.3b.dtb` devicetree file.
|
Your bootloader should be configured to use `starfive/jh7110-starfive-visionfive-2-v1.3b.dtb` devicetree file.
|
||||||
|
|
||||||
|
@ -69,6 +69,16 @@ fdtfile=KERNEL_VERSION/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
|
||||||
bootcmd=run load_distro_uenv;run bootcmd_distro
|
bootcmd=run load_distro_uenv;run bootcmd_distro
|
||||||
```
|
```
|
||||||
|
|
||||||
## Reboot and have fun
|
### Reboot and have fun
|
||||||
|
|
||||||
After you successfully overclocked your VF2, you can ask yourself a question - "can it do better?". [No, it can't](http://forum.rvspace.org/t/how-do-you-overclock-the-vf2/2920/5).
|
After you successfully overclocked your VF2, you can ask yourself a question - "can it do better?". [No, it can't](http://forum.rvspace.org/t/how-do-you-overclock-the-vf2/2920/5).
|
||||||
|
|
||||||
|
## Tests
|
||||||
|
|
||||||
|
All tests were performed out at an ambient temperature of 21ºC.
|
||||||
|
|
||||||
|
### Stress
|
||||||
|
|
||||||
|
25-minute `stress -c 8` run. [Raw data (without heatsink) (timestamp, temp * 1000)](/posts_media/2023-10-21-overclocking-starfive-vf2/vf2_stress_data), [raw data (with heatsink)](/posts_media/2023-10-21-overclocking-starfive-vf2/vf2_stress_data_heatsink).
|
||||||
|
|
||||||
|
![Stress test graph](/posts_media/2023-10-21-overclocking-starfive-vf2/vf2_stress.jpeg)
|
||||||
|
|
BIN
posts_media/2023-10-21-overclocking-starfive-vf2/vf2_stress.jpeg
Normal file
BIN
posts_media/2023-10-21-overclocking-starfive-vf2/vf2_stress.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 274 KiB |
1523
posts_media/2023-10-21-overclocking-starfive-vf2/vf2_stress_data
Normal file
1523
posts_media/2023-10-21-overclocking-starfive-vf2/vf2_stress_data
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue