Xenial Mate (Pinebook) 20170505
#10
(05-09-2017, 09:34 AM)mtk Wrote: I changed the CPU frequency by rewriting /boot/pine64/sun50i-a64-pine64-pinebook.dtb.
Create a dts file with the dtc command of the device-tree-compiler package.
I rewritten the dts file and created the dtb file with the dtc command.

It became dtb which does not boot with device-tree-compiler package of PINEBOOK (Ubuntu 16.04.2 LTS aarch64).
Creating dts/dtb using Debian sid amd64 's device-tree-compiler package worked fine.

Code:
pinebook$ cp /boot/pine64/sun50i-a64-pine64-pinebook.dtb sun50i-a64-pine64-pinebook.dtb.org

Code:
debian$ sudo apt install device-tree-compiler
debian$ dtc -I dtb sun50i-a64-pine64-pinebook.dtb.org -O dts -o sun50i-a64-pine64-pinebook.dts
debian$ vi sun50i-a64-pine64-pinebook.dts
debian$ dtc -I dtb sun50i-a64-pine64-pinebook.dtb.org -O dts | diff -u - ./sun50i-a64-pine64-pinebook.dts
--- -   2017-05-09 15:06:37.370030389 +0000
+++ ./sun50i-a64-pine64-pinebook.dts    2017-05-08 18:55:23.000000000 +0000
@@ -2737,7 +2737,7 @@
                       status = "okay";
                       state_cnt = <0x7>;
                       cluster_num = <0x1>;
-                       state0 = <0x119400 0x4>;
+                       state0 = <0x148200 0x4>;
                       state1 = <0x10d880 0x4>;
                       state2 = <0xf6180 0x4>;
                       state3 = <0xc7380 0x4>;
@@ -3382,10 +3382,10 @@

       dvfs_table {
               compatible = "allwinner,dvfs_table";
-               max_freq = <0x44aa2000>;
+               max_freq = <0x501bd000>;
               min_freq = <0x1c9c3800>;
               lv_count = <0x8>;
-               lv1_freq = <0x44aa2000>;
+               lv1_freq = <0x501bd000>;
               lv1_volt = <0x514>;
               lv2_freq = <0x41cdb400>;
               lv2_volt = <0x4ec>;
debian$ dtc ./pine64pinebook.dts -o ./pine64pinebook.dtb


Code:
pinebook$ sudo cp ./pine64pinebook.dtb /boot/pine64/sun50i-a64-pine64-pinebook.dtb
pinebook$ sudo reboot

sun50i-a64-pine64-pinebook.dts https://gist.github.com/679c0f86d8c28507...9462dd2d10
sun50i-a64-pine64-pinebook.dtb.base64 https://gist.github.com/be63cad2c491875e...90ee4cd837

Please see here and report back.
You can find me on IRC, Discord and Twitter




Messages In This Thread
Xenial Mate (Pinebook) 20170505 - by pineadmin - 05-05-2017, 12:48 AM
RE: Ubuntu Mate (PINEBOOK) 20170505 - by pfeerick - 05-06-2017, 03:39 AM
RE: Ubuntu Mate (PINEBOOK) 20170505 - by ayufan - 05-06-2017, 03:29 AM
RE: Ubuntu Mate (PINEBOOK) 20170505 - by mspohr - 05-08-2017, 09:38 AM
RE: Ubuntu Mate (PINEBOOK) 20170505 - by Luke - 05-08-2017, 10:07 AM
RE: Ubuntu Mate (PINEBOOK) 20170505 - by mspohr - 05-09-2017, 09:50 AM
RE: Ubuntu Mate (PINEBOOK) 20170505 - by mtk - 05-09-2017, 09:34 AM
RE: Ubuntu Mate (PINEBOOK) 20170505 - by Luke - 05-09-2017, 09:52 AM
RE: Ubuntu Mate (PINEBOOK) 20170505 - by Luke - 05-10-2017, 10:34 AM
RE: Ubuntu Mate (PINEBOOK) 20170505 - by Luke - 05-10-2017, 12:33 PM
RE: Ubuntu Mate (PINEBOOK) 20170505 - by Luke - 05-11-2017, 05:56 AM
RE: Ubuntu Mate (PINEBOOK) 20170505 - by Luke - 05-12-2017, 03:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  DietPi OS for Pinebook MichaIng 3 7,288 03-11-2024, 05:02 PM
Last Post: oxoocoffee
  Slarm64 on Pinebook [Slackware Arm - 64 bit] KRT 46 72,263 09-26-2023, 03:18 PM
Last Post: mara
  Broke pinebook GUI, what to do, fix or install new? acruhl 2 1,656 07-13-2023, 05:43 PM
Last Post: acruhl
  Orignal PineBook jwp1000 1 1,254 07-10-2023, 07:44 AM
Last Post: tophneal
  Pinebook no longer boots rjtanner 12 6,042 04-13-2023, 01:09 PM
Last Post: tophneal
  Stock Debian on original Pinebook moonwalkers 1 3,854 01-29-2022, 10:37 PM
Last Post: cel
  Write image to eMMC - Pinebook 11.6" irongarment 4 4,883 01-04-2022, 09:22 PM
Last Post: irongarment
  E: The repository 'http://pinebook.kde.org.uk bionic Release' no longer has a Release pixelpaperyarn 3 6,065 05-07-2021, 10:20 AM
Last Post: tophneal
  pinebook.kde.org.uk no longer has release file?? supermassive 1 4,306 01-20-2021, 11:18 AM
Last Post: tophneal
Question Ran apt update on my Pinebook.. ford442 0 3,183 12-25-2020, 04:40 PM
Last Post: ford442

Forum Jump:


Users browsing this thread: 6 Guest(s)