Jump to content

bschwehn

Members
  • Posts

    5
  • Joined

  • Last visited

Reputation Activity

  1. Like
    bschwehn reacted to Igor in Armbian for OrangePi PC2, AllWinner H5   
    https://github.com/armbian/build/commit/8f4ab52b6ea806a69eec3f4ad7adbaeb5cd0f1b4
    It should be fixed now. Thanks for help.
  2. Like
    bschwehn reacted to mikaey 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
  3. Like
    bschwehn got a reaction from Slackstick in Armbian for OrangePi PC2, AllWinner H5   
    FWIW, these messages seem to go away when building the dev branch without patch /patch/kernel/sunxi-dev/ths-29-sun4i-gpadc-iio-add-h5-thermal-zone.patch
     
    Not sure if this patch is compatible with the changes already done in the megous branch (like this patch)
     
    Still, throttling is done only down to 1104 MHz (not an issue for me personally, for me this throttle is enough for mine to not go above 81C @100% CPU usage for 10 minutes).
     
    Edit: Looks like I have it working now. I have basically added the patch ths-29-sun4i-gpadc-iio-add-h5-thermal-zone.patch directly to linux-mainline/orange-pi-5.0/arch/arm/boot/dts/sunxi-h3-h5.dtsi (instead of
    /arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi)

     
     
     
    Not sure why that should make a difference, but throttling now seems to take the trips I have configured (though it seems to use a different cooling map:
     
    ramp up:
     
     
    after insulating the board to get the temperature up:
     
     
    removing insulation lets temp drop again, and freq rise:
     
     
  4. Like
    bschwehn got a reaction from houldsg in Armbian for OrangePi PC2, AllWinner H5   
    FWIW, these messages seem to go away when building the dev branch without patch /patch/kernel/sunxi-dev/ths-29-sun4i-gpadc-iio-add-h5-thermal-zone.patch
     
    Not sure if this patch is compatible with the changes already done in the megous branch (like this patch)
     
    Still, throttling is done only down to 1104 MHz (not an issue for me personally, for me this throttle is enough for mine to not go above 81C @100% CPU usage for 10 minutes).
     
    Edit: Looks like I have it working now. I have basically added the patch ths-29-sun4i-gpadc-iio-add-h5-thermal-zone.patch directly to linux-mainline/orange-pi-5.0/arch/arm/boot/dts/sunxi-h3-h5.dtsi (instead of
    /arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi)

     
     
     
    Not sure why that should make a difference, but throttling now seems to take the trips I have configured (though it seems to use a different cooling map:
     
    ramp up:
     
     
    after insulating the board to get the temperature up:
     
     
    removing insulation lets temp drop again, and freq rise:
     
     
  5. Like
    bschwehn got a reaction from znoxx in Armbian for OrangePi PC2, AllWinner H5   
    FWIW, these messages seem to go away when building the dev branch without patch /patch/kernel/sunxi-dev/ths-29-sun4i-gpadc-iio-add-h5-thermal-zone.patch
     
    Not sure if this patch is compatible with the changes already done in the megous branch (like this patch)
     
    Still, throttling is done only down to 1104 MHz (not an issue for me personally, for me this throttle is enough for mine to not go above 81C @100% CPU usage for 10 minutes).
     
    Edit: Looks like I have it working now. I have basically added the patch ths-29-sun4i-gpadc-iio-add-h5-thermal-zone.patch directly to linux-mainline/orange-pi-5.0/arch/arm/boot/dts/sunxi-h3-h5.dtsi (instead of
    /arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi)

     
     
     
    Not sure why that should make a difference, but throttling now seems to take the trips I have configured (though it seems to use a different cooling map:
     
    ramp up:
     
     
    after insulating the board to get the temperature up:
     
     
    removing insulation lets temp drop again, and freq rise:
     
     
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines