mikaey
-
Posts
11 -
Joined
-
Last visited
Reputation Activity
-
mikaey got a reaction from guidol in Frequency throttling on OPi PC2?
Ok, I think I got it! Had to learn a little bit about device trees in the process. BUT...here's what I did (and BTW -- I did this all directly on the PC2):
Step 1: Grab a copy of the Linux source:
$ sudo apt install linux-source-4.19.20-next-sunxi64 This will dump the Linux source tarballs (and a config file) into /usr/src.
Step 2: Unzip the tarball, and copy in the config file:
$ cd /usr/src $ sudo mkdir linux $ sudo chown `whoami`:`whoami` linux $ cd linux $ tar xvf ../linux-source-4.19.20-sunxi64.tar.xz $ xzcat ../linux-sunxi64-next_4.19.20_5.75_config.xz >.config Step 3: Download the attached patch and apply it:
$ patch -p1 <OrangePiPC2.patch Step 4: Build the new DTB:
$ make dtbs You should find your new DTB under arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dtb.
Step 5: Copy the new DTB into your DTBs folder:
$ sudo cp arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dtb /boot/dtb/allwinner Step 6: Reboot!
$ sudo reboot The PC2 will now throttle automatically when temps start getting too high!
OrangePiPC2.patch
-
mikaey got a reaction from houldsg in Frequency throttling on OPi PC2?
Ok, I think I got it! Had to learn a little bit about device trees in the process. BUT...here's what I did (and BTW -- I did this all directly on the PC2):
Step 1: Grab a copy of the Linux source:
$ sudo apt install linux-source-4.19.20-next-sunxi64 This will dump the Linux source tarballs (and a config file) into /usr/src.
Step 2: Unzip the tarball, and copy in the config file:
$ cd /usr/src $ sudo mkdir linux $ sudo chown `whoami`:`whoami` linux $ cd linux $ tar xvf ../linux-source-4.19.20-sunxi64.tar.xz $ xzcat ../linux-sunxi64-next_4.19.20_5.75_config.xz >.config Step 3: Download the attached patch and apply it:
$ patch -p1 <OrangePiPC2.patch Step 4: Build the new DTB:
$ make dtbs You should find your new DTB under arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dtb.
Step 5: Copy the new DTB into your DTBs folder:
$ sudo cp arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dtb /boot/dtb/allwinner Step 6: Reboot!
$ sudo reboot The PC2 will now throttle automatically when temps start getting too high!
OrangePiPC2.patch
-
mikaey got a reaction from Slackstick in Frequency throttling on OPi PC2?
Ok, I think I got it! Had to learn a little bit about device trees in the process. BUT...here's what I did (and BTW -- I did this all directly on the PC2):
Step 1: Grab a copy of the Linux source:
$ sudo apt install linux-source-4.19.20-next-sunxi64 This will dump the Linux source tarballs (and a config file) into /usr/src.
Step 2: Unzip the tarball, and copy in the config file:
$ cd /usr/src $ sudo mkdir linux $ sudo chown `whoami`:`whoami` linux $ cd linux $ tar xvf ../linux-source-4.19.20-sunxi64.tar.xz $ xzcat ../linux-sunxi64-next_4.19.20_5.75_config.xz >.config Step 3: Download the attached patch and apply it:
$ patch -p1 <OrangePiPC2.patch Step 4: Build the new DTB:
$ make dtbs You should find your new DTB under arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dtb.
Step 5: Copy the new DTB into your DTBs folder:
$ sudo cp arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dtb /boot/dtb/allwinner Step 6: Reboot!
$ sudo reboot The PC2 will now throttle automatically when temps start getting too high!
OrangePiPC2.patch
-
mikaey got a reaction from bschwehn in Frequency throttling on OPi PC2?
Ok, I think I got it! Had to learn a little bit about device trees in the process. BUT...here's what I did (and BTW -- I did this all directly on the PC2):
Step 1: Grab a copy of the Linux source:
$ sudo apt install linux-source-4.19.20-next-sunxi64 This will dump the Linux source tarballs (and a config file) into /usr/src.
Step 2: Unzip the tarball, and copy in the config file:
$ cd /usr/src $ sudo mkdir linux $ sudo chown `whoami`:`whoami` linux $ cd linux $ tar xvf ../linux-source-4.19.20-sunxi64.tar.xz $ xzcat ../linux-sunxi64-next_4.19.20_5.75_config.xz >.config Step 3: Download the attached patch and apply it:
$ patch -p1 <OrangePiPC2.patch Step 4: Build the new DTB:
$ make dtbs You should find your new DTB under arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dtb.
Step 5: Copy the new DTB into your DTBs folder:
$ sudo cp arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dtb /boot/dtb/allwinner Step 6: Reboot!
$ sudo reboot The PC2 will now throttle automatically when temps start getting too high!
OrangePiPC2.patch