Help with .dts compiling

Hey guys, I need help with compiling the Device tree files, could anyone help me with some detailed instructions of how to do so, I am a bit stuck, @Frank, @numbqq any idea, I have read this, Device Tree edit with Fenix, but is still confusing,

Any help is appreciated, Thanks :slight_smile:

If you can compile it for me here is the .dts file Thanks in advance
Confg:
image

what’s the project buddy?
:slightly_smiling_face:

Oh, you know, something a little special… :wink:

this is apparently classified information :grin:

Not really, It will be released soon, don’t you worry about it :smile:
Right now I need help compiling it first.

  1. Your new dts file should be placed in fenix/linux/arch/arm64/boot/dts/amlogic/kvim3_linux.dts
  2. Delete the old dtb file “kvim3_linux.dtb”
  3. Go to fenix root and type make kernel
  4. After compilation go to fenix/linux/arch/arm64/boot/dts/amlogic here you should find the newly compiled .dtb file
  5. Alternatively you can use make kernel-deb this will make .deb file that will replace the .dtb file in your khadas board.

I see you are trying to overclock the big cores to 2.6GHz… many have tried this but even a 50 MHz is not possible using this method

also your .dts is invalid… the opp voltage supported by VRM is
voltage-table = <1040000 0>,
<1030000 3>,
<1020000 6>,
<1010000 8>,
<1000000 11>,
<990000 14>,
<980000 17>,
<970000 20>,
<960000 23>,
<950000 26>,
<940000 29>,
<930000 31>,
<920000 34>,
<910000 37>,
<900000 40>,
<890000 43>,
<880000 45>,
<870000 48>,
<860000 51>,
<850000 54>,
<840000 56>,
<830000 59>,
<820000 62>,
<810000 65>,
<800000 68>,
<790000 70>,
<780000 73>,
<770000 76>,
<760000 79>,
<750000 81>,
<740000 84>,
<730000 87>,
<720000 89>,
<710000 92>,
<700000 95>,
<690000 98>,
<680000 100>;

Anyway good luck to you

3 Likes

Ok thank you @Archangel1235

@Electr1 If you edit the dts in kernel . You need to use this command to rebuild a new image

$ make kernel && make debs && make 

Or, just rebuild kernel and copy it to you board to replace the dtb file and zImage file in /boot

3 Likes

Thank you @Frank, but I think @Archangel1235 's method seems more easier.

@Electr1 Yes , if you just edit dts, you can use @Archangel1235 's method

Ok, @Frank thank you for your help,
Good day!